@plasmicpkgs/commerce 0.0.181 → 0.0.183

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.
@@ -1,3 +1,4 @@
1
+ import { GlobalActionRegistration } from "@plasmicapp/host/registerGlobalContext";
1
2
  import React from "react";
2
3
  import { Product } from "./types/product";
3
4
  import { Category } from "./types/site";
@@ -22,44 +23,4 @@ export declare const useProductMediaContext: () => number | undefined;
22
23
  export declare function CartActionsProvider(props: React.PropsWithChildren<{
23
24
  globalContextName: string;
24
25
  }>): React.JSX.Element;
25
- export declare const globalActionsRegistrations: {
26
- addItem: {
27
- displayName: string;
28
- parameters: {
29
- productId: {
30
- displayName: string;
31
- type: string;
32
- };
33
- variantId: {
34
- displayName: string;
35
- type: string;
36
- };
37
- quantity: {
38
- displayName: string;
39
- type: string;
40
- };
41
- };
42
- };
43
- updateItem: {
44
- displayName: string;
45
- parameters: {
46
- lineItemId: {
47
- displayName: string;
48
- type: string;
49
- };
50
- quantity: {
51
- displayName: string;
52
- type: string;
53
- };
54
- };
55
- };
56
- removeItem: {
57
- displayName: string;
58
- parameters: {
59
- lineItemId: {
60
- displayName: string;
61
- type: string;
62
- };
63
- };
64
- };
65
- };
26
+ export declare const globalActionsRegistrations: Record<string, GlobalActionRegistration<any>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasmicpkgs/commerce",
3
- "version": "0.0.181",
3
+ "version": "0.0.183",
4
4
  "description": "Plasmic registration calls for commerce components",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "analyze": "size-limit --why"
19
19
  },
20
20
  "devDependencies": {
21
- "@plasmicapp/host": "1.0.183",
21
+ "@plasmicapp/host": "1.0.185",
22
22
  "@plasmicapp/query": "0.1.77",
23
23
  "@size-limit/preset-small-lib": "^4.11.0",
24
24
  "@types/debounce": "^1.2.1",
@@ -44,5 +44,5 @@
44
44
  "react-hook-form": "^7.28.0",
45
45
  "swr": "^1.2.2"
46
46
  },
47
- "gitHead": "13917fb48cac3563effd4fc5022009230ab0a25f"
47
+ "gitHead": "be71b41ad94d0db53100816e00d1519793409999"
48
48
  }