obi-sdk 0.12.1 → 0.12.3

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.
@@ -0,0 +1 @@
1
+ export {};
@@ -4,6 +4,7 @@ export type CourseData = {
4
4
  name: string;
5
5
  description: string;
6
6
  duration?: number;
7
+ order?: number;
7
8
  };
8
9
  export declare class Course extends LitElement {
9
10
  static styles: import("lit").CSSResult;
@@ -11,6 +12,7 @@ export declare class Course extends LitElement {
11
12
  name: string;
12
13
  description: string;
13
14
  duration: number;
15
+ order: number;
14
16
  selected: boolean;
15
17
  constructor();
16
18
  private handleClick;
@@ -0,0 +1 @@
1
+ export {};
@@ -8,6 +8,8 @@ export declare class SessionStartModal extends LitElement {
8
8
  private isLoading;
9
9
  private error;
10
10
  private startAttempts;
11
+ disconnectedCallback(): void;
12
+ private _resetState;
11
13
  private handleStart;
12
14
  private showError;
13
15
  private handleClose;
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "obi-sdk",
3
- "version": "0.12.1",
3
+ "version": "0.12.3",
4
4
  "description": "JavaScript SDK for Obi",
5
5
  "type": "module",
6
6
  "main": "dist/obi-sdk.umd.js",
@@ -38,13 +38,14 @@
38
38
  "@lit/react": "^1.0.7",
39
39
  "@sentry/browser": "^9.23.0",
40
40
  "@sentry/vite-plugin": "^3.5.0",
41
+ "@types/jsdom": "^21.1.7",
41
42
  "html2canvas-pro": "^1.5.11",
42
43
  "lit": "^3.0.0",
43
44
  "ts-pattern": "^5.7.0",
44
45
  "zod": "^3.22.0",
45
- "@obi/obi-session": "0.3.6",
46
- "@obi/utils": "0.2.0",
47
- "@obi/obi-client": "0.6.0"
46
+ "@obi/obi-client": "0.6.0",
47
+ "@obi/obi-session": "0.3.7",
48
+ "@obi/utils": "0.2.0"
48
49
  },
49
50
  "peerDependencies": {
50
51
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
@@ -101,9 +102,9 @@
101
102
  "clean": "rimraf dist",
102
103
  "storybook": "storybook dev -p 6006",
103
104
  "build-storybook": "storybook build",
104
- "test": "vitest",
105
+ "test": "vitest run",
105
106
  "test:ui": "vitest --ui",
106
- "test:run": "vitest run",
107
+ "test:watch": "vitest",
107
108
  "test:coverage": "vitest run --coverage"
108
109
  }
109
110
  }
@@ -1,6 +0,0 @@
1
- import { O } from "./obi-widget-b64f0c73.js";
2
- import "./types-e0297e7b.js";
3
- export {
4
- O as ObiWidget
5
- };
6
- //# sourceMappingURL=index-74e2d1b3.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-74e2d1b3.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}