@swell/apps-sdk 1.0.185 → 1.0.186

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.
@@ -0,0 +1,12 @@
1
+ import { Drop } from 'liquidjs';
2
+ import type { SwellRecord } from 'types/swell';
3
+ import { StorefrontResource } from '@/resources';
4
+ export declare class ShopifySwellContent extends Drop {
5
+ content: Record<string, string>;
6
+ description: string;
7
+ constructor(product?: StorefrontResource | SwellRecord);
8
+ toString(): string;
9
+ toObject(): Record<string, string>;
10
+ toJSON(): Record<string, string>;
11
+ toLiquid(): Record<string, string>;
12
+ }
@@ -1,4 +1,5 @@
1
1
  import { SHOPIFY_TO_SWELL_SORTING } from '@/compatibility/shopify-configs';
2
+ import type { ShopifySwellContent } from '@/compatibility/shopify-objects/content';
2
3
  import type { SwellData, ThemeSectionEnabledDisabled } from './swell';
3
4
  import type { ShopifyResource } from '../src/compatibility/shopify-objects/resource';
4
5
  import type { ShopifyCompatibility } from '../src/compatibility/shopify';
@@ -393,7 +394,7 @@ export interface ShopifyProduct {
393
394
  compare_at_price_max: number;
394
395
  compare_at_price_min: number;
395
396
  compare_at_price_varies: boolean;
396
- content: string;
397
+ content: ShopifySwellContent;
397
398
  created_at: string;
398
399
  description: string;
399
400
  featured_image?: ShopifyImage;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@swell/apps-sdk",
3
3
  "type": "module",
4
- "version": "1.0.185",
4
+ "version": "1.0.186",
5
5
  "description": "Swell SDK for building isomorphic apps.",
6
6
  "author": "Swell",
7
7
  "license": "MIT",