@namiml/web-sdk 1.5.5 → 1.5.7

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,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.5.7 (Feb 20, 2025)
4
+
5
+ ## Bugfixes
6
+ - Resolve additional type issue encountered with certain initial config files
7
+
8
+ ## 1.5.6 (Feb 19, 2025)
9
+
10
+ ## Bugfixes
11
+ - Resolve type issue encountered with certain initial config files
12
+
3
13
  ## 1.5.5 (January 16, 2025)
4
14
 
5
15
  ## Enhancements
@@ -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;
@@ -2,7 +2,7 @@ import { TCarouselContainer } from "src/types/components/containers";
2
2
  import { TBaseComponent, TContainerPosition } from "../../types/components";
3
3
  import { TSegmentPickerItem, TTextLikeComponent } from "../../types/components/elements";
4
4
  export declare function parseSize(value: string | number, scaleFactor: number): string;
5
- export declare function backgroundColor(value: string): string;
5
+ export declare function backgroundColor(value: string, fallback?: string): string;
6
6
  export declare function pickAndApplyBackgroundColor(component: TBaseComponent, inFocusedState?: boolean): string;
7
7
  export declare function flexDirection({ direction }: TBaseComponent): string;
8
8
  export declare function flexAlignments(component: TBaseComponent): string;