@namiml/web-sdk 1.7.2 → 1.7.3

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 CHANGED
@@ -1,5 +1,20 @@
1
1
  # Nami Web SDK Changelog
2
2
 
3
+ ## 1.7.3
4
+ **Release Date:** October 13, 2025
5
+
6
+ ### Bug Fixes
7
+ - Fix issue with hidden components not being hidden
8
+ - Fix issue with deeplink handler
9
+ - Fix issue preventing black bar and double scrolling in certain situations
10
+
11
+ ### Enhancements
12
+ - Swipe and animation improements
13
+ - Support for custom carousel indicators
14
+ - Add support for launch id to group flow transitions
15
+ - Add support for disabled field on toggle switch
16
+ - Add `NamiCampaignManager.isFlow` for checking if a placement is a flow or not
17
+
3
18
  ## 1.7.2
4
19
  **Release Date:** September 17, 2025
5
20
 
@@ -18,6 +18,7 @@ declare class PaywallComponent extends LitElement {
18
18
  private value;
19
19
  private animation;
20
20
  private _originalBodyStyles;
21
+ private _originalDocumentStyles;
21
22
  private _swipeHandler;
22
23
  constructor(type: string | undefined, value: string, context: NamiPaywallLaunchContext);
23
24
  setPaywallData(): void;
@@ -23,6 +23,15 @@ export declare class NamiCampaignManager {
23
23
  * @returns {boolean} True if the campaign is available, False otherwise.
24
24
  */
25
25
  static isCampaignAvailable(label: string): boolean;
26
+ /**
27
+ * Checks if a campaign is a Flow campaign for a given argument.
28
+ * The argument can be a label string, or a deeplink URL.
29
+ *
30
+ * @param label - The label of the campaign to check. Can be a label string.
31
+ * @param withUrl - The deeplink URL of the campaign to check.
32
+ * @returns {boolean} True if the campaign is a Flow campaign, False otherwise.
33
+ */
34
+ static isFlow(label?: string, withUrl?: string): boolean;
26
35
  /**
27
36
  * Fetches the latest active campaigns for the current device.
28
37
  *