obi-sdk 0.12.1 → 0.12.2
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-ff86c70a.js +6 -0
- package/dist/modular/chunks/index-ff86c70a.js.map +1 -0
- package/dist/modular/chunks/{obi-widget-b64f0c73.js → obi-widget-33113e44.js} +66 -13
- package/dist/modular/chunks/{obi-widget-b64f0c73.js.map → obi-widget-33113e44.js.map} +1 -1
- package/dist/modular/index.js +1 -1
- package/dist/modular/ui.js +10 -10
- package/dist/obi-sdk.standalone.iife.js +63 -15
- package/dist/obi-sdk.standalone.iife.js.map +1 -1
- package/dist/react.es.js +991 -939
- package/dist/react.es.js.map +1 -1
- package/dist/react.umd.js +98 -50
- package/dist/react.umd.js.map +1 -1
- package/dist/ui/components/courses/courses.d.ts +2 -0
- package/package.json +5 -5
- package/dist/modular/chunks/index-74e2d1b3.js +0 -6
- package/dist/modular/chunks/index-74e2d1b3.js.map +0 -1
|
@@ -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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "obi-sdk",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.2",
|
|
4
4
|
"description": "JavaScript SDK for Obi",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/obi-sdk.umd.js",
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"lit": "^3.0.0",
|
|
43
43
|
"ts-pattern": "^5.7.0",
|
|
44
44
|
"zod": "^3.22.0",
|
|
45
|
-
"@obi/obi-
|
|
45
|
+
"@obi/obi-client": "0.6.0",
|
|
46
46
|
"@obi/utils": "0.2.0",
|
|
47
|
-
"@obi/obi-
|
|
47
|
+
"@obi/obi-session": "0.3.6"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
|
|
@@ -101,9 +101,9 @@
|
|
|
101
101
|
"clean": "rimraf dist",
|
|
102
102
|
"storybook": "storybook dev -p 6006",
|
|
103
103
|
"build-storybook": "storybook build",
|
|
104
|
-
"test": "vitest",
|
|
104
|
+
"test": "vitest run",
|
|
105
105
|
"test:ui": "vitest --ui",
|
|
106
|
-
"test:
|
|
106
|
+
"test:watch": "vitest",
|
|
107
107
|
"test:coverage": "vitest run --coverage"
|
|
108
108
|
}
|
|
109
109
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-74e2d1b3.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|