@swell/apps-sdk 1.0.157 → 1.0.159

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.
@@ -6,6 +6,7 @@ import type { SwellThemeConfig, SwellThemePreload } from 'types/swell';
6
6
  * Uses a single batch loading strategy for optimal performance.
7
7
  */
8
8
  export declare class ThemeLoader {
9
+ private static cache;
9
10
  private swell;
10
11
  private configs;
11
12
  constructor(swell: Swell);
@@ -69,4 +70,12 @@ export declare class ThemeLoader {
69
70
  * Generate a Swell API query filter for this theme version.
70
71
  */
71
72
  private themeVersionQueryFilter;
73
+ /**
74
+ * Build cache key with tenant isolation for metadata
75
+ */
76
+ private buildMetadataCacheKey;
77
+ /**
78
+ * Get or create the theme cache instance
79
+ */
80
+ private getCache;
72
81
  }
@@ -616,7 +616,7 @@ export interface ShopifyArticle {
616
616
  }
617
617
  export interface ShopifyBlog {
618
618
  all_tags: string[];
619
- articles: ShopifyArticle[];
619
+ articles: SwellStorefrontCollection<ShopifyResource<ShopifyArticle>>;
620
620
  articles_count: number;
621
621
  'comments_enabled?': boolean;
622
622
  handle: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@swell/apps-sdk",
3
3
  "type": "module",
4
- "version": "1.0.157",
4
+ "version": "1.0.159",
5
5
  "description": "Swell SDK for building isomorphic apps.",
6
6
  "author": "Swell",
7
7
  "license": "MIT",