@ns8/ns8-shopify-switches
Advanced tools
Comparing version 1.0.27 to 1.0.28
@@ -86,3 +86,3 @@ "use strict"; | ||
const shopifyTransactionList = await client.transaction.list(order_id); | ||
const { id, name, currency, billing_address, shipping_address, customer, total_price, line_items = [], } = shopifyOrder; | ||
const { id, name, currency, billing_address, shipping_address, customer, total_price, line_items = [], created_at, } = shopifyOrder; | ||
return new ns8_protect_models_1.Order({ | ||
@@ -98,2 +98,3 @@ name, | ||
customer: mapCustomer(customer), | ||
orderCreatedAt: new Date(created_at), | ||
totalPrice: parseFloat(total_price), | ||
@@ -100,0 +101,0 @@ transactions: mapTransactions(shopifyTransactionList), |
{ | ||
"name": "@ns8/ns8-shopify-switches", | ||
"version": "1.0.27", | ||
"version": "1.0.28", | ||
"description": "Custom switches for the shopify integration", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
14694
184