obi-sdk 0.4.4 → 0.5.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/README.md +0 -1
- package/dist/core/init.d.ts +1 -1
- package/dist/loader.d.ts +0 -1
- package/dist/modular/chunks/index-66be3d4f.js +6 -0
- package/dist/modular/chunks/index-66be3d4f.js.map +1 -0
- package/dist/modular/chunks/{obi-widget-f540f7e0.js → obi-widget-3bb30929.js} +519 -135
- package/dist/modular/chunks/obi-widget-3bb30929.js.map +1 -0
- package/dist/modular/index.js +36 -51
- package/dist/modular/index.js.map +1 -1
- package/dist/modular/ui.js +10 -10
- package/dist/modular/ui.js.map +1 -1
- package/dist/obi-sdk.es.js +555 -184
- package/dist/obi-sdk.es.js.map +1 -1
- package/dist/obi-sdk.standalone.iife.js +360 -127
- package/dist/obi-sdk.standalone.iife.js.map +1 -1
- package/dist/obi-sdk.umd.js +347 -114
- package/dist/obi-sdk.umd.js.map +1 -1
- package/dist/ui/components/courses/course-modal.d.ts +3 -0
- package/dist/ui/components/courses/courses.d.ts +4 -2
- package/dist/ui/components/obi-widget/index.d.ts +1 -0
- package/dist/ui/components/{obi-widget.d.ts → obi-widget/obi-widget.d.ts} +11 -6
- package/dist/utils/color.d.ts +12 -0
- package/dist/utils/index.d.ts +1 -0
- package/package.json +11 -3
- package/dist/modular/chunks/obi-widget-f540f7e0.js.map +0 -1
- package/dist/ui/components/session-start-modal/session-start-modal.stories.d.ts +0 -37
package/README.md
CHANGED
|
@@ -23,7 +23,6 @@ The loader accepts the following configuration options:
|
|
|
23
23
|
| `isActive` | boolean | `true` | Whether to show the widget. Set to `false` to disable the widget for specific users |
|
|
24
24
|
| `linkOnlyAccess` | boolean | `false` | Hide the widget unless accessed via a session link. Perfect for trial periods where only customers with direct links should see the widget |
|
|
25
25
|
| `primaryColor` | string | - | Custom primary color for the widget UI (CSS color value) |
|
|
26
|
-
| `secondaryColor` | string | - | Custom secondary color for the widget UI (CSS color value) |
|
|
27
26
|
|
|
28
27
|
## Installation
|
|
29
28
|
|
package/dist/core/init.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function initializeObiWidget(): void
|
|
1
|
+
export declare function initializeObiWidget(): Promise<void>;
|
package/dist/loader.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-66be3d4f.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|