obi-sdk 0.6.8 → 0.7.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/sentry.d.ts CHANGED
@@ -15,7 +15,7 @@ interface SentryContext {
15
15
  [key: string]: any;
16
16
  }
17
17
  export declare function captureException(error: any, context?: SentryContext): void;
18
- export declare function captureMessage(message: string, level?: 'info' | 'warning' | 'error', context?: SentryContext): void;
18
+ export declare function captureMessage(message: string, level?: "info" | "warning" | "error", context?: SentryContext): void;
19
19
  export declare function trackEvent(eventType: string, eventData?: Record<string, any>, componentName?: string): void;
20
20
  export declare function setGlobalContext(context: Partial<SentryContext>): void;
21
21
  /**
@@ -48,6 +48,7 @@ export declare class ObiWidget extends LitElement {
48
48
  */
49
49
  private handleSessionCreationFailure;
50
50
  private connectObi;
51
+ private handleCloseModals;
51
52
  private handleCourseSelectEvent;
52
53
  private handleUrlSessionEvent;
53
54
  private handleSessionStart;
@@ -5,7 +5,11 @@ export declare class SessionStartModal extends LitElement {
5
5
  session: CourseData;
6
6
  onStart?: (sessionToken: string) => void;
7
7
  onClose?: () => void;
8
+ private isLoading;
9
+ private error;
10
+ private startAttempts;
8
11
  private handleStart;
12
+ private showError;
9
13
  private handleClose;
10
14
  render(): import("lit").TemplateResult<1>;
11
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "obi-sdk",
3
- "version": "0.6.8",
3
+ "version": "0.7.0",
4
4
  "description": "JavaScript SDK for Obi",
5
5
  "type": "module",
6
6
  "main": "dist/obi-sdk.umd.js",
@@ -1,6 +0,0 @@
1
- import { O } from "./obi-widget-46e82ee8.js";
2
- import "./types-e0297e7b.js";
3
- export {
4
- O as ObiWidget
5
- };
6
- //# sourceMappingURL=index-fa4a7611.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-fa4a7611.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}