@swell/apps-sdk 1.0.62 → 1.0.64

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.
@@ -117,6 +117,7 @@ export declare class ShopifyCompatibility {
117
117
  getQueryParamsMap(): ShopifyQueryParamsMap;
118
118
  getAllCountryOptionTags(geoSettings: SwellRecord): any;
119
119
  isScriptFormActionUrl(url: string): boolean;
120
+ isScriptUrl(url: string): boolean;
120
121
  needRedirectToPageStart(formId: string): boolean;
121
122
  isCheckoutForm(formId: string): boolean;
122
123
  }
@@ -40,6 +40,7 @@ export interface SwellAppShopifyCompatibilityConfig {
40
40
  checkout_form?: string;
41
41
  redirect_to_page_start_forms?: string[];
42
42
  script_actions_routes?: Record<string, string>;
43
+ script_routes?: Record<string, string>;
43
44
  };
44
45
  }
45
46
  export interface SwellAppStorefrontThemePage {
@@ -145,6 +146,7 @@ export interface ThemeSettings {
145
146
  export interface ThemeSettingsBlock {
146
147
  type: string;
147
148
  settings: ThemeSettings;
149
+ disabled?: boolean;
148
150
  }
149
151
  export interface ThemeSectionBase {
150
152
  id: string;
@@ -153,6 +155,7 @@ export interface ThemeSectionBase {
153
155
  blocks?: ThemeSettingsBlock[];
154
156
  block_order?: string[];
155
157
  custom_css?: string;
158
+ disabled?: boolean;
156
159
  }
157
160
  export interface ThemeSectionSettings extends ThemeSettings {
158
161
  section: ThemeSectionBase;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@swell/apps-sdk",
3
3
  "type": "module",
4
- "version": "1.0.62",
4
+ "version": "1.0.64",
5
5
  "description": "Swell SDK for building isomorphic apps.",
6
6
  "author": "Swell",
7
7
  "license": "MIT",