@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/nami-web.d.ts
CHANGED
|
@@ -596,16 +596,17 @@ type TInitialState = {
|
|
|
596
596
|
fullScreenPresentation?: boolean;
|
|
597
597
|
isLoggedIn?: boolean;
|
|
598
598
|
[key: string]: any;
|
|
599
|
-
groups:
|
|
600
|
-
id: string;
|
|
601
|
-
displayName: string;
|
|
602
|
-
ref: string;
|
|
603
|
-
}[];
|
|
599
|
+
groups: InitiateStateGroup[];
|
|
604
600
|
currentGroupId: string;
|
|
605
601
|
selectedProducts: {
|
|
606
602
|
[currentGroupId: string]: string;
|
|
607
603
|
};
|
|
608
604
|
};
|
|
605
|
+
type InitiateStateGroup = {
|
|
606
|
+
id: string;
|
|
607
|
+
displayName: string;
|
|
608
|
+
ref: string;
|
|
609
|
+
};
|
|
609
610
|
type PaywallResultHandler = (success: boolean, error?: LaunchCampaignError) => void;
|
|
610
611
|
interface IConfig {
|
|
611
612
|
id: string;
|