@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/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { ISkuMenu, TInitialState } from "src/types/paywall";
|
|
1
|
+
import { InitiateStateGroup, ISkuMenu, TInitialState } from "src/types/paywall";
|
|
2
2
|
import { NamiProductDetails } from "src/types/externals/product";
|
|
3
3
|
import { PaywallSKU } from "src/types/sku";
|
|
4
|
+
import { NamiPaywallLaunchContext } from "src/nami-web";
|
|
4
5
|
export declare function currentSku(productDetails: NamiProductDetails[], initialState: TInitialState, skuMenus: ISkuMenu[], skus: PaywallSKU[]): {
|
|
5
6
|
[key: string]: any;
|
|
6
7
|
};
|
|
@@ -11,3 +12,4 @@ export declare function getSkuSmartTextValue(productDetail?: NamiProductDetails
|
|
|
11
12
|
export declare function checkAnySkuHasTrialOffer(productDetails: NamiProductDetails[], skuMenus: ISkuMenu[], productGroups: string[]): boolean;
|
|
12
13
|
export declare function checkAnySkuHasPromoOffer(productDetails: NamiProductDetails[], skuMenus: ISkuMenu[], productGroups: string[]): boolean;
|
|
13
14
|
export declare function productDetail(details: NamiProductDetails[] | undefined, skuName: string): NamiProductDetails | null;
|
|
15
|
+
export declare function launchContext(groups: InitiateStateGroup[], stateLaunch: NamiPaywallLaunchContext, context?: NamiPaywallLaunchContext): NamiPaywallLaunchContext;
|