@plasmicpkgs/commerce-shopify 0.0.151 → 0.0.154
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.
- package/dist/commerce-shopify.cjs.development.js +26 -26
- package/dist/commerce-shopify.cjs.development.js.map +1 -1
- package/dist/commerce-shopify.cjs.production.min.js +1 -1
- package/dist/commerce-shopify.cjs.production.min.js.map +1 -1
- package/dist/commerce-shopify.esm.js +27 -27
- package/dist/commerce-shopify.esm.js.map +1 -1
- package/dist/shopify.d.ts +0 -1
- package/dist/utils/normalize.d.ts +4 -4
- package/dist/utils/queries/get-checkout-query.d.ts +1 -1
- package/package.json +4 -4
package/dist/shopify.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { Product } from
|
|
2
|
-
import type { Cart } from
|
|
3
|
-
import { Collection } from
|
|
4
|
-
import { Category } from
|
|
1
|
+
import type { Product } from "@plasmicpkgs/commerce";
|
|
2
|
+
import type { Cart } from "../types/cart";
|
|
3
|
+
import { Collection } from "../schema";
|
|
4
|
+
import { Category } from "../types/site";
|
|
5
5
|
export declare function normalizeProduct({ id, title: name, vendor, images, variants, description, descriptionHtml, handle, priceRange, options, metafields, ...rest }: any): Product;
|
|
6
6
|
export declare function normalizeCart(checkout: any): Cart;
|
|
7
7
|
export declare const normalizeCategory: ({ title: name, handle, id, products, }: Collection) => Category;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const checkoutDetailsFragment = "\n fragment checkoutDetails on Checkout {\n id\n webUrl\n subtotalPriceV2 {\n amount\n currencyCode\n }\n totalTaxV2 {\n amount\n currencyCode\n }\n totalPriceV2 {\n amount\n currencyCode\n }\n completedAt\n createdAt\n taxesIncluded\n lineItems(first: 250) {\n pageInfo {\n hasNextPage\n hasPreviousPage\n }\n edges {\n node {\n id\n title\n variant {\n id\n sku\n title\n selectedOptions {\n name\n value\n }\n image {\n originalSrc\n altText\n width\n height\n }\n priceV2 {\n amount\n currencyCode\n }\n compareAtPriceV2 {\n amount\n currencyCode\n }\n product {\n handle\n }\n }\n quantity\n }\n }\n }\n }\n";
|
|
1
|
+
export declare const checkoutDetailsFragment = "\n fragment checkoutDetails on Checkout {\n id\n webUrl\n subtotalPriceV2 {\n amount\n currencyCode\n }\n totalTaxV2 {\n amount\n currencyCode\n }\n totalPriceV2 {\n amount\n currencyCode\n }\n completedAt\n createdAt\n taxesIncluded\n lineItems(first: 250) {\n pageInfo {\n hasNextPage\n hasPreviousPage\n }\n edges {\n node {\n id\n title\n variant {\n id\n sku\n title\n selectedOptions {\n name\n value\n }\n image {\n originalSrc\n altText\n width\n height\n }\n priceV2 {\n amount\n currencyCode\n }\n compareAtPriceV2 {\n amount\n currencyCode\n }\n product {\n id\n handle\n }\n }\n quantity\n }\n }\n }\n }\n";
|
|
2
2
|
declare const getCheckoutQuery: string;
|
|
3
3
|
export default getCheckoutQuery;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasmicpkgs/commerce-shopify",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.154",
|
|
4
4
|
"description": "Plasmic registration calls for shopify commerce provider",
|
|
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.
|
|
21
|
+
"@plasmicapp/host": "1.0.153",
|
|
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",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"react": ">=16.8.0"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@plasmicpkgs/commerce": "0.0.
|
|
35
|
+
"@plasmicpkgs/commerce": "0.0.149",
|
|
36
36
|
"@types/react": "^18.0.27",
|
|
37
37
|
"debounce": "^1.2.1"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "e3f13d75d61fb16c49f9166dca3b7e744e754c09"
|
|
40
40
|
}
|