@porulle/adapter-shopify 0.68.1 → 0.68.3
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/index.js +3 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/src/index.ts +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@porulle/adapter-shopify",
|
|
3
|
-
"version": "0.68.
|
|
3
|
+
"version": "0.68.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"zod": "^4.1.11",
|
|
19
|
-
"@porulle/core": "0.68.
|
|
19
|
+
"@porulle/core": "0.68.3"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@types/node": "^24.5.2",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"miniflare": "4.20260722.1",
|
|
27
27
|
"typescript": "5.9.2",
|
|
28
28
|
"vitest": "^3.2.4",
|
|
29
|
-
"@porulle/
|
|
30
|
-
"@porulle/
|
|
29
|
+
"@porulle/typescript-config": "0.1.0",
|
|
30
|
+
"@porulle/eslint-config": "0.1.0"
|
|
31
31
|
},
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public"
|
package/src/index.ts
CHANGED
|
@@ -252,6 +252,9 @@ export function shopifyConnector(options: ShopifyConnectorOptions): ChannelConne
|
|
|
252
252
|
lineItems: slice.lines.map((line) => ({
|
|
253
253
|
variantId: shopifyGid("ProductVariant", line.externalVariantId),
|
|
254
254
|
quantity: line.quantity,
|
|
255
|
+
// Defaults to false in orderCreate, which shows the order as "Shipping not required"
|
|
256
|
+
// although it carries the shopper's address. Every slice has one, so every line ships.
|
|
257
|
+
requiresShipping: true,
|
|
255
258
|
priceSet: money(line.unitPrice, slice.currency),
|
|
256
259
|
})),
|
|
257
260
|
transactions: [{ kind: "SALE", status: "SUCCESS", gateway: SOURCE_NAME, amountSet: money(slice.grandTotal, slice.currency) }],
|