@plasmicpkgs/commerce-shopify 0.0.130 → 0.0.132

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,5 +1,5 @@
1
- import { SWRHook } from '@plasmicpkgs/commerce';
2
- import type { SearchProductsHook } from '@plasmicpkgs/commerce';
1
+ import { SWRHook, UseSearch } from "@plasmicpkgs/commerce";
2
+ import type { SearchProductsHook } from "@plasmicpkgs/commerce";
3
3
  export declare type SearchProductsInput = {
4
4
  search?: string;
5
5
  categoryId?: number;
@@ -8,6 +8,6 @@ export declare type SearchProductsInput = {
8
8
  locale?: string;
9
9
  count?: number;
10
10
  };
11
- declare const _default;
12
- export default _default;
11
+ declare const useSearchTyped: UseSearch<typeof handler>;
12
+ export default useSearchTyped;
13
13
  export declare const handler: SWRHook<SearchProductsHook>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasmicpkgs/commerce-shopify",
3
- "version": "0.0.130",
3
+ "version": "0.0.132",
4
4
  "description": "Plasmic registration calls for shopify commerce provider",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,31 +11,30 @@
11
11
  "scripts": {
12
12
  "build": "tsdx build",
13
13
  "start": "tsdx watch",
14
- "test": "tsdx test --passWithNoTests",
14
+ "test": "yarn --cwd=../../.. test --passWithNoTests",
15
15
  "lint": "tsdx lint",
16
16
  "prepare": "if-env PREPARE_NO_BUILD=true || yarn build",
17
17
  "size": "size-limit",
18
18
  "analyze": "size-limit --why"
19
19
  },
20
20
  "devDependencies": {
21
- "@plasmicapp/host": "1.0.130",
21
+ "@plasmicapp/host": "1.0.132",
22
22
  "@size-limit/preset-small-lib": "^4.11.0",
23
23
  "@types/js-cookie": "^3.0.1",
24
24
  "@types/node": "^14.0.26",
25
25
  "react": "^18.2.0",
26
26
  "react-dom": "^18.2.0",
27
27
  "size-limit": "^4.11.0",
28
- "tsdx": "^0.14.1",
29
- "typescript": "^3.9.7"
28
+ "tsdx": "^0.14.1"
30
29
  },
31
30
  "peerDependencies": {
32
31
  "@plasmicapp/host": ">=1.0.0",
33
32
  "react": ">=16.8.0"
34
33
  },
35
34
  "dependencies": {
36
- "@plasmicpkgs/commerce": "0.0.125",
35
+ "@plasmicpkgs/commerce": "0.0.127",
37
36
  "@types/react": "^18.0.27",
38
37
  "debounce": "^1.2.1"
39
38
  },
40
- "gitHead": "1d9faacaaac15e87767697dbdc4215504a358d02"
39
+ "gitHead": "4c8fe27e71b0ec287321fd2507d416ca2a1e579c"
41
40
  }