@namiml/web-sdk 1.5.4 → 1.5.6
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 +10 -0
- package/README.md +1 -3
- package/dist/components/ContextProvider.d.ts +2 -2
- package/dist/components/containers/Container.d.ts +0 -5
- package/dist/components/elements/Button.d.ts +3 -1
- package/dist/nami-web.cjs +12 -12
- package/dist/nami-web.js +12 -12
- package/dist/nami-web.mjs +12 -12
- package/dist/nami-web.umd.js +13 -13
- package/dist/services/storage.service.d.ts +2 -0
- package/dist/types/components/index.d.ts +12 -9
- package/dist/types/externals/config.d.ts +1 -0
- package/dist/types/externals/paywall.d.ts +1 -0
- package/dist/types/paywall.d.ts +2 -2
- package/dist/utils/const.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.5.6 (Feb 19, 2025)
|
|
4
|
+
|
|
5
|
+
## Bugfixes
|
|
6
|
+
- Resolve type issue encountered with certain initial onfig files
|
|
7
|
+
|
|
8
|
+
## 1.5.5 (January 16, 2025)
|
|
9
|
+
|
|
10
|
+
## Enhancements
|
|
11
|
+
- Add optional `purchaseChannel` to `NamiConfiguration` to pass through to `NamiPaywallEvent` analytics
|
|
12
|
+
|
|
3
13
|
## 1.5.4 (November 29, 2024)
|
|
4
14
|
|
|
5
15
|
## Bugfixes
|
package/README.md
CHANGED
|
@@ -13,9 +13,7 @@ Nami is easy subscriptions & in-app purchases, with powerful built-in paywalls a
|
|
|
13
13
|
- Conduct paywall A/B tests, to improve your conversion rate.
|
|
14
14
|
- Robust subscription analytics, webhooks, and much more.
|
|
15
15
|
|
|
16
|
-
Requires an account with Nami.
|
|
17
|
-
|
|
18
|
-
See https://www.namiml.com for more details and to create a free account.
|
|
16
|
+
Requires an account with Nami ML. See https://www.namiml.com/pricing for more details and to create a free account.
|
|
19
17
|
|
|
20
18
|
## Getting started with Nami's Web SDK
|
|
21
19
|
|
|
@@ -23,10 +23,10 @@ declare class ContextProvider implements ReactiveController {
|
|
|
23
23
|
getCurrentGroupId(): string;
|
|
24
24
|
getCurrentGroupName(): string;
|
|
25
25
|
setSelectedProdcuts(products: {
|
|
26
|
-
[currentGroupId: string]: string;
|
|
26
|
+
[currentGroupId: string]: string | null;
|
|
27
27
|
}): void;
|
|
28
28
|
selectedProducts(): {
|
|
29
|
-
[currentGroupId: string]: string;
|
|
29
|
+
[currentGroupId: string]: string | null;
|
|
30
30
|
};
|
|
31
31
|
setPaywall(paywall: IPaywall, context?: TPaywallLaunchContext, campaign?: NamiCampaign): void;
|
|
32
32
|
getSelectedPaywall(): IPaywall | undefined;
|
|
@@ -7,11 +7,6 @@ export declare class NamiContainer extends NamiElement {
|
|
|
7
7
|
inFocusedState: boolean;
|
|
8
8
|
scaleFactor: number;
|
|
9
9
|
constructor();
|
|
10
|
-
connectedCallback(): void;
|
|
11
|
-
disconnectedCallback(): void;
|
|
12
|
-
private _handleFocusChanged;
|
|
13
|
-
private _handleFocus;
|
|
14
|
-
private _handleBlur;
|
|
15
10
|
protected styles(): CSSResult;
|
|
16
11
|
render(): any[];
|
|
17
12
|
}
|
|
@@ -6,10 +6,12 @@ export declare class NamiButton extends NamiElement {
|
|
|
6
6
|
inFocusedState: boolean;
|
|
7
7
|
scaleFactor: number;
|
|
8
8
|
constructor();
|
|
9
|
+
connectedCallback(): void;
|
|
10
|
+
disconnectedCallback(): void;
|
|
9
11
|
updated(): void;
|
|
10
12
|
private _handleFocus;
|
|
11
13
|
private _handleBlur;
|
|
12
|
-
private
|
|
14
|
+
private _dispatchFocusChange;
|
|
13
15
|
private _handleClick;
|
|
14
16
|
protected styles(): CSSResult;
|
|
15
17
|
render(): any[] | import("lit-html").TemplateResult<1>;
|