@namiml/web-sdk 1.3.1 → 1.3.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.
@@ -130,16 +130,17 @@ export type TInitialState = {
130
130
  fullScreenPresentation?: boolean;
131
131
  isLoggedIn?: boolean;
132
132
  [key: string]: any;
133
- groups: {
134
- id: string;
135
- displayName: string;
136
- ref: string;
137
- }[];
133
+ groups: InitiateStateGroup[];
138
134
  currentGroupId: string;
139
135
  selectedProducts: {
140
136
  [currentGroupId: string]: string;
141
137
  };
142
138
  };
139
+ export type InitiateStateGroup = {
140
+ id: string;
141
+ displayName: string;
142
+ ref: string;
143
+ };
143
144
  export type TPaywallMedia = {
144
145
  id: string;
145
146
  content: string | null;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@namiml/web-sdk",
3
3
  "type": "module",
4
- "version": "1.3.1",
4
+ "version": "1.3.2",
5
5
  "source": "src/nami-web.ts",
6
6
  "description": "Nami Web SDK makes subscriptions & in-app purchases easy, with powerful built-in paywalls and A/B testing",
7
7
  "scripts": {
@@ -97,5 +97,5 @@
97
97
  "resolutions": {
98
98
  "@esm-bundle/chai": "4.3.4-fix.0"
99
99
  },
100
- "packageManager": "yarn@4.4.0+sha512.91d93b445d9284e7ed52931369bc89a663414e5582d00eea45c67ddc459a2582919eece27c412d6ffd1bd0793ff35399381cb229326b961798ce4f4cc60ddfdb"
100
+ "packageManager": "yarn@4.4.0"
101
101
  }