@namiml/web-sdk 1.5.9 → 1.5.10

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.
@@ -4,6 +4,7 @@ export type TImageComponent = TBaseComponent & {
4
4
  url?: string | null;
5
5
  aspectRatio?: number;
6
6
  imageCropping?: "fill" | "fit";
7
+ alt?: string | null;
7
8
  };
8
9
  export type TSegmentPicker = TBaseComponent & {
9
10
  component: "segmentPicker";
@@ -1,11 +1,11 @@
1
1
  export declare enum LaunchCampaignError {
2
- DEFAULT_CAMPAIGN_NOT_FOUND = 0,
3
- LABELED_CAMPAIGN_NOT_FOUND = 1,
4
- CAMPAIGN_DATA_NOT_FOUND = 2,
5
- PAYWALL_ALREADY_DISPLAYED = 3,
6
- SDK_NOT_INITIALIZED = 4,
7
- PAYWALL_COULD_NOT_DISPLAY = 5,
8
- URL_CAMPAIGN_NOT_FOUND = 6,
9
- PRODUCT_DATA_NOT_FOUND = 7,
10
- PRODUCT_GROUPS_NOT_FOUND = 8
2
+ DEFAULT_CAMPAIGN_NOT_FOUND = "Default campaign not found",
3
+ LABELED_CAMPAIGN_NOT_FOUND = "Labeled campaign not found",
4
+ CAMPAIGN_DATA_NOT_FOUND = "Campaign data not found",
5
+ PAYWALL_ALREADY_DISPLAYED = "Paywall is already being displayed",
6
+ SDK_NOT_INITIALIZED = "SDK has not been initialized",
7
+ PAYWALL_COULD_NOT_DISPLAY = "Failed to display paywall",
8
+ URL_CAMPAIGN_NOT_FOUND = "URL campaign not found",
9
+ PRODUCT_DATA_NOT_FOUND = "Product data not found",
10
+ PRODUCT_GROUPS_NOT_FOUND = "Product groups not found"
11
11
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@namiml/web-sdk",
3
3
  "type": "module",
4
- "version": "1.5.9",
4
+ "version": "1.5.10",
5
5
  "source": "src/nami-web.ts",
6
6
  "description": "Nami Web SDK makes subscriptions & in-app purchases easy, with powerful built-in paywalls and A/B testing",
7
7
  "scripts": {