@streamlayer/react 1.10.0 → 1.11.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.
Files changed (53) hide show
  1. package/lib/cjs/masters2.js +1 -1
  2. package/lib/cjs/provider.js +60 -52
  3. package/lib/cjs/useStreamLayerApp2.js +1 -1
  4. package/lib/classic/app/advertisement.d.ts +18 -0
  5. package/lib/classic/app/app.d.ts +19 -0
  6. package/lib/classic/app/auth.d.ts +4 -0
  7. package/lib/classic/app/event.d.ts +4 -0
  8. package/lib/classic/app/insight.d.ts +13 -0
  9. package/lib/classic/app/masters.d.ts +28 -0
  10. package/lib/classic/app/notification.d.ts +5 -0
  11. package/lib/classic/app/points.d.ts +3 -0
  12. package/lib/classic/app/provider.d.ts +43 -0
  13. package/lib/classic/app/useStreamLayerApp.d.ts +19 -0
  14. package/lib/classic/cjs/advertisement.js +1 -0
  15. package/lib/classic/cjs/auth.js +1 -0
  16. package/lib/classic/cjs/gamification-feature.js +1 -0
  17. package/lib/classic/cjs/gamification-feature2.js +1 -0
  18. package/lib/classic/cjs/index.js +1 -0
  19. package/lib/classic/cjs/insight.js +1 -0
  20. package/lib/classic/cjs/masters.js +1 -0
  21. package/lib/classic/cjs/masters2.js +9 -0
  22. package/lib/classic/cjs/notification.js +1 -0
  23. package/lib/classic/cjs/points.js +1 -0
  24. package/lib/classic/cjs/provider.js +195 -0
  25. package/lib/classic/cjs/useStreamLayerApp.js +1 -0
  26. package/lib/classic/cjs/useStreamLayerApp2.js +17 -0
  27. package/lib/classic/es/advertisement.js +755 -0
  28. package/lib/classic/es/auth.js +11 -0
  29. package/lib/classic/es/gamification-feature.js +4 -0
  30. package/lib/classic/es/gamification-feature2.js +4 -0
  31. package/lib/classic/es/index.js +16 -0
  32. package/lib/classic/es/insight.js +75 -0
  33. package/lib/classic/es/masters.js +8 -0
  34. package/lib/classic/es/masters2.js +1066 -0
  35. package/lib/classic/es/notification.js +468 -0
  36. package/lib/classic/es/points.js +59 -0
  37. package/lib/classic/es/provider.js +24526 -0
  38. package/lib/classic/es/useStreamLayerApp.js +5 -0
  39. package/lib/classic/es/useStreamLayerApp2.js +18023 -0
  40. package/lib/classic/index.d.ts +14 -0
  41. package/lib/classic/masters.d.ts +5 -0
  42. package/lib/classic/style.css +1 -0
  43. package/lib/dist/cjs/gamification-feature2.js +1 -1
  44. package/lib/dist/cjs/masters.js +56 -48
  45. package/lib/dist/es/gamification-feature2.js +10 -10
  46. package/lib/dist/es/index.js +3 -3
  47. package/lib/dist/es/masters.js +6601 -6554
  48. package/lib/es/index.js +1 -1
  49. package/lib/es/masters2.js +22 -22
  50. package/lib/es/notification.js +18 -18
  51. package/lib/es/provider.js +4727 -4679
  52. package/lib/es/useStreamLayerApp2.js +1 -1
  53. package/package.json +49 -13
@@ -17978,7 +17978,7 @@ const sE = ({
17978
17978
  f = !0;
17979
17979
  };
17980
17980
  const T = tE(e, n, a, {
17981
- version: "1.10.0",
17981
+ version: "1.11.1",
17982
17982
  onDeepLinkHandled: s,
17983
17983
  videoPlayerController: o,
17984
17984
  onContentActivate: r,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamlayer/react",
3
- "version": "1.10.0",
3
+ "version": "1.11.1",
4
4
  "type": "module",
5
5
  "author": "StreamLayer, Inc (https://streamlayer.io)",
6
6
  "maintainers": [
@@ -12,6 +12,41 @@
12
12
  "main": "./lib/cjs/index.js",
13
13
  "types": "./lib/index.d.ts",
14
14
  "exports": {
15
+ "./classic": {
16
+ "module": "./lib/classic/es/index.js",
17
+ "require": "./lib/classic/cjs/index.js",
18
+ "types": "./lib/classic/index.d.ts"
19
+ },
20
+ "./classic/auth": {
21
+ "module": "./lib/classic/es/auth.js",
22
+ "require": "./lib/classic/cjs/auth.js",
23
+ "types": "./lib/classic/app/auth.d.ts"
24
+ },
25
+ "./classic/points": {
26
+ "module": "./lib/classic/es/points.js",
27
+ "require": "./lib/classic/cjs/points.js",
28
+ "types": "./lib/classic/app/points.d.ts"
29
+ },
30
+ "./classic/advertisement": {
31
+ "module": "./lib/classic/es/advertisement.js",
32
+ "require": "./lib/classic/cjs/advertisement.js",
33
+ "types": "./lib/classic/app/advertisement.d.ts"
34
+ },
35
+ "./classic/insight": {
36
+ "module": "./lib/classic/es/insight.js",
37
+ "require": "./lib/classic/cjs/insight.js",
38
+ "types": "./lib/classic/app/insight.d.ts"
39
+ },
40
+ "./classic/notification": {
41
+ "module": "./lib/classic/es/notification.js",
42
+ "require": "./lib/classic/cjs/notification.js",
43
+ "types": "./lib/classic/app/notification.d.ts"
44
+ },
45
+ "./classic/useStreamLayerApp": {
46
+ "module": "./lib/classic/es/useStreamLayerApp.js",
47
+ "require": "./lib/classic/cjs/useStreamLayerApp.js",
48
+ "types": "./lib/classic/app/useStreamLayerApp.d.ts"
49
+ },
15
50
  ".": {
16
51
  "module": "./lib/es/index.js",
17
52
  "require": "./lib/cjs/index.js",
@@ -88,17 +123,18 @@
88
123
  }
89
124
  ],
90
125
  "dependencies": {
91
- "@streamlayer/feature-gamification": "^1.13.0",
92
- "@streamlayer/sdk-web": "^1.7.0",
93
- "@streamlayer/sdk-web-analytics": "^1.5.4",
94
- "@streamlayer/sdk-web-api": "^1.6.17",
95
- "@streamlayer/sdk-web-core": "^1.9.0",
96
- "@streamlayer/sdk-web-features": "^1.0.38",
97
- "@streamlayer/sdk-web-interfaces": "^1.4.4",
98
- "@streamlayer/sdk-web-logger": "^1.0.38",
99
- "@streamlayer/sdk-web-notifications": "^1.3.0",
100
- "@streamlayer/sdk-web-storage": "^1.0.38",
101
- "@streamlayer/sdk-web-types": "^1.9.0"
126
+ "@streamlayer/sdk-web": "^1.7.2",
127
+ "@streamlayer/sdk-web-analytics": "^1.5.6",
128
+ "@streamlayer/feature-gamification": "^1.13.2",
129
+ "@streamlayer/sdk-web-api": "^1.6.19",
130
+ "@streamlayer/sdk-web-core": "^1.9.2",
131
+ "@streamlayer/sdk-web-features": "^1.0.40",
132
+ "@streamlayer/sdk-web-interfaces": "^1.4.6",
133
+ "@streamlayer/sdk-web-logger": "^1.0.40",
134
+ "@streamlayer/sdk-web-notifications": "^1.3.2",
135
+ "@streamlayer/sdk-web-storage": "^1.0.40",
136
+ "@streamlayer/react-polyfills": "^0.1.0",
137
+ "@streamlayer/sdk-web-types": "^1.9.2"
102
138
  },
103
139
  "peerDependencies": {
104
140
  "@bufbuild/protobuf": "^1.10.0",
@@ -154,7 +190,7 @@
154
190
  "size-limit": "^11.1.6",
155
191
  "url-loader": "^4.1.1",
156
192
  "vite-plugin-dts": "^4.2.3",
157
- "@streamlayer/react-ui": "^1.15.0"
193
+ "@streamlayer/react-ui": "^1.16.1"
158
194
  },
159
195
  "scripts": {
160
196
  "size-limit": "size-limit"