@anker-in/shopify-react 0.1.1-beta.32 → 0.1.1-beta.33

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.
@@ -42,5 +42,18 @@ interface UserContextAdapter {
42
42
  };
43
43
  isLoggedIn: boolean;
44
44
  }
45
+ /**
46
+ * Performance adapter interface for tracking performance metrics
47
+ */
48
+ interface PerformanceAdapter {
49
+ /**
50
+ * Start tracking a performance event
51
+ */
52
+ addToCartStart(): void;
53
+ /**
54
+ * End tracking a performance event
55
+ */
56
+ addToCartEnd(): void;
57
+ }
45
58
 
46
- export type { CookieAdapter as C, RouterAdapter as R, UserContextAdapter as U, CookieOptions as a };
59
+ export type { CookieAdapter as C, PerformanceAdapter as P, RouterAdapter as R, UserContextAdapter as U, CookieOptions as a };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anker-in/shopify-react",
3
- "version": "0.1.1-beta.32",
3
+ "version": "0.1.1-beta.33",
4
4
  "description": "React hooks and components for Shopify SDK",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",