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.
@@ -5,6 +5,7 @@ export type CourseData = {
5
5
  description: string;
6
6
  duration?: number;
7
7
  order?: number;
8
+ agentName?: string;
8
9
  };
9
10
  export declare class Course extends LitElement {
10
11
  static styles: import("lit").CSSResult;
@@ -4,7 +4,7 @@ import "../courses";
4
4
  import "../audio-equalizer";
5
5
  import "../dot-loader";
6
6
  import "../searching-loader";
7
- import "../session-start-modal";
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.12.5",
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/utils": "0.2.0",
48
- "@obi/obi-client": "0.7.0"
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,6 +0,0 @@
1
- import { O } from "./obi-widget-d4244993.js";
2
- import "./types-f38a47f6.js";
3
- export {
4
- O as ObiWidget
5
- };
6
- //# sourceMappingURL=index-4cdc2bce.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-4cdc2bce.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}