@inappstory/react-sdk 1.0.1 → 1.1.0-rc.1

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.
@@ -27,6 +27,7 @@ export type SharePanel<CustomTargets extends string = never> = Partial<{
27
27
  label: string;
28
28
  svgSrc: {
29
29
  baseState: string;
30
+ doneState: string
30
31
  };
31
32
  };
32
33
  downloadButton: {
package/package.json CHANGED
@@ -1,11 +1,21 @@
1
1
  {
2
2
  "name": "@inappstory/react-sdk",
3
- "version": "1.0.1",
3
+ "version": "1.1.0-rc.1",
4
4
  "description": "React SDK",
5
- "main": "dist/index.js",
5
+ "main": "dist/index.umd.js",
6
+ "module": "dist/index.esm.mjs",
6
7
  "types": "dist/types/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/types/index.d.ts",
11
+ "require": "./dist/index.umd.js",
12
+ "import": "./dist/index.esm.mjs",
13
+ "default": "./dist/index.umd.js"
14
+ }
15
+ },
7
16
  "files": [
8
- "dist"
17
+ "dist",
18
+ "plugins"
9
19
  ],
10
20
  "license": "MIT",
11
21
  "keywords": [
@@ -27,7 +37,7 @@
27
37
  },
28
38
  "bugs": "https://github.com/inappstory/react-web-sdk/issues",
29
39
  "dependencies": {
30
- "@inappstory/slide-api": "0.0.10",
40
+ "@inappstory/slide-api": "^0.0.13",
31
41
  "@inappstory/video-player": "^1.0.1",
32
42
  "bowser": "^2.4.0",
33
43
  "classnames": "^2.5.1",