@inappstory/js-sdk 3.4.12 → 3.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.
@@ -51,7 +51,7 @@ export declare class InAppStoryManager {
51
51
 
52
52
  constructor(config: InAppStoryManagerConfig);
53
53
  static getInstance(): InAppStoryManager;
54
- static use(plugin: any, options?: any): void;
54
+ static use(plugin: Plugin, options?: any): void;
55
55
 
56
56
  destroy(): void;
57
57
  showOnboardingStories(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inappstory/js-sdk",
3
- "version": "3.4.12",
3
+ "version": "3.5.0",
4
4
  "description": "JS SDK",
5
5
  "keywords": [
6
6
  "stories",
@@ -29,8 +29,12 @@
29
29
  "default": "./dist/index.umd.js"
30
30
  },
31
31
  "./plugins/dotLottie": {
32
- "types": "./plugins/dotLottie/dotLottie.d.ts",
33
- "default": "./plugins/dotLottie/dotLottie.umd.js"
32
+ "types": "./plugins/dotLottie/iasDotLottiePlugin.d.ts",
33
+ "default": "./plugins/dotLottie/iasDotLottiePlugin.umd.js"
34
+ },
35
+ "./plugins/videoOnDemand": {
36
+ "types": "./plugins/videoOnDemand/iasVideoOnDemandPlugin.d.ts",
37
+ "default": "./plugins/videoOnDemand/iasVideoOnDemandPlugin.umd.js"
34
38
  }
35
39
  },
36
40
  "main": "dist/index.umd.js",
@@ -50,22 +54,9 @@
50
54
  "Samsung >= 5"
51
55
  ],
52
56
  "dependencies": {
53
- "@inappstory/slide-api": "^0.0.29",
54
- "@inappstory/video-player": "^1.0.1",
55
- "async-mutex": "^0.5.0",
56
- "bowser": "^2.11.0",
57
- "classnames": "^2.5.1",
58
- "css-font-parser": "^2.0.1",
59
- "deepmerge": "^4.3.1",
60
- "lit": "^3.2.1",
61
- "lodash": "^4.17.21",
62
- "mobx": "^6.9.0",
63
- "mobx-react-lite": "^4.1.0",
64
- "parse-css-sides": "^3.0.1",
57
+ "@inappstory/react-sdk": "^1.5.9",
65
58
  "react": "^18.2.0",
66
- "react-dom": "^18.2.0",
67
- "react-input-mask": "^2.0.4",
68
- "uuid": "^10.0.0"
59
+ "react-dom": "^18.2.0"
69
60
  },
70
61
  "devDependencies": {}
71
62
  }
@@ -0,0 +1,8 @@
1
+ export declare class IasDotLottiePlugin {
2
+ name: string;
3
+ install(storyManager: any): void;
4
+ uninstall(): void;
5
+ }
6
+
7
+ declare const pluginInstance: IasDotLottiePlugin;
8
+ export default pluginInstance;