@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.
- package/CHANGELOG.md +6 -0
- package/dist/components/utils/state.d.ts +3 -1
- package/dist/nami-web.cjs +2 -2
- package/dist/nami-web.d.ts +6 -5
- package/dist/nami-web.js +2 -2
- package/dist/nami-web.mjs +2 -2
- package/dist/nami-web.umd.js +2 -2
- package/dist/types/paywall.d.ts +6 -5
- package/package.json +2 -2
package/dist/types/paywall.d.ts
CHANGED
|
@@ -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.
|
|
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
|
|
100
|
+
"packageManager": "yarn@4.4.0"
|
|
101
101
|
}
|