obi-sdk 0.12.5 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/modular/chunks/index-c25ba599.js +6 -0
- package/dist/modular/chunks/index-c25ba599.js.map +1 -0
- package/dist/modular/chunks/{obi-widget-d4244993.js → obi-widget-5c728b05.js} +3569 -663
- package/dist/modular/chunks/obi-widget-5c728b05.js.map +1 -0
- package/dist/modular/index.js +1 -1
- package/dist/modular/ui.js +10 -10
- package/dist/obi-sdk.standalone.iife.js +1576 -265
- package/dist/obi-sdk.standalone.iife.js.map +1 -1
- package/dist/react.es.js +9236 -6281
- package/dist/react.es.js.map +1 -1
- package/dist/react.umd.js +1662 -303
- package/dist/react.umd.js.map +1 -1
- package/dist/ui/components/courses/courses.d.ts +1 -0
- package/dist/ui/components/obi-widget/obi-widget.d.ts +13 -1
- package/package.json +4 -3
- package/dist/modular/chunks/index-4cdc2bce.js +0 -6
- package/dist/modular/chunks/index-4cdc2bce.js.map +0 -1
- package/dist/modular/chunks/obi-widget-d4244993.js.map +0 -1
- package/dist/ui/components/session-start-modal/index.d.ts +0 -1
- package/dist/ui/components/session-start-modal/session-start-modal.d.ts +0 -17
|
@@ -4,7 +4,7 @@ import "../courses";
|
|
|
4
4
|
import "../audio-equalizer";
|
|
5
5
|
import "../dot-loader";
|
|
6
6
|
import "../searching-loader";
|
|
7
|
-
import "
|
|
7
|
+
import "@obi/obi-components";
|
|
8
8
|
export declare class ObiWidget extends LitElement {
|
|
9
9
|
private apiKey;
|
|
10
10
|
private isActive;
|
|
@@ -16,6 +16,10 @@ export declare class ObiWidget extends LitElement {
|
|
|
16
16
|
private storedActiveState;
|
|
17
17
|
private showCourseModal;
|
|
18
18
|
private showSessionStartModal;
|
|
19
|
+
private showShareMicModal;
|
|
20
|
+
private micShareEnabled;
|
|
21
|
+
private showVoiceGuidanceModal;
|
|
22
|
+
private voiceGuidanceEnabled;
|
|
19
23
|
private selectedCourse;
|
|
20
24
|
private isHovering;
|
|
21
25
|
private navVisible;
|
|
@@ -24,6 +28,7 @@ export declare class ObiWidget extends LitElement {
|
|
|
24
28
|
private databaseConfig;
|
|
25
29
|
private configLoaded;
|
|
26
30
|
private configAllInCode;
|
|
31
|
+
private primaryColor;
|
|
27
32
|
private sessionToken;
|
|
28
33
|
private roomToken;
|
|
29
34
|
private roomUrl;
|
|
@@ -58,6 +63,13 @@ export declare class ObiWidget extends LitElement {
|
|
|
58
63
|
private handleCourseSelectEvent;
|
|
59
64
|
private handleUrlSessionEvent;
|
|
60
65
|
private handleSessionStart;
|
|
66
|
+
private handleSessionModalStart;
|
|
67
|
+
private handleSessionModalClose;
|
|
68
|
+
private handleSessionModalError;
|
|
69
|
+
private handleShareMicModalContinue;
|
|
70
|
+
private handleShareMicModalClose;
|
|
71
|
+
private handleVoiceGuidanceModalContinue;
|
|
72
|
+
private handleVoiceGuidanceModalClose;
|
|
61
73
|
/**
|
|
62
74
|
* Check if there's an existing session stored in localStorage
|
|
63
75
|
* and attempt to reconnect if a valid session is found
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "obi-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "JavaScript SDK for Obi",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/obi-sdk.umd.js",
|
|
@@ -43,9 +43,10 @@
|
|
|
43
43
|
"lit": "^3.0.0",
|
|
44
44
|
"ts-pattern": "^5.7.0",
|
|
45
45
|
"zod": "^3.22.0",
|
|
46
|
+
"@obi/obi-client": "0.7.0",
|
|
46
47
|
"@obi/obi-session": "0.3.8",
|
|
47
|
-
"@obi/
|
|
48
|
-
"@obi/
|
|
48
|
+
"@obi/obi-components": "0.1.0",
|
|
49
|
+
"@obi/utils": "0.2.0"
|
|
49
50
|
},
|
|
50
51
|
"peerDependencies": {
|
|
51
52
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-4cdc2bce.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|