Skip to content

Commit

Permalink
Update storefront-order to version 1.0.0-beta3
Browse files Browse the repository at this point in the history
  • Loading branch information
emipallares committed Dec 10, 2024
1 parent 6912d9d commit 79be9c3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@dropins/storefront-auth": "1.0.0-beta2",
"@dropins/storefront-cart": "1.0.0-beta2",
"@dropins/storefront-checkout": "1.0.0-beta1",
"@dropins/storefront-order": "1.0.0-beta2",
"@dropins/storefront-order": "1.0.0-beta3",
"@dropins/storefront-pdp": "1.0.0-beta3",
"@dropins/tools": "^0.37.0"
}
Expand Down
3 changes: 2 additions & 1 deletion scripts/__dropins__/storefront-order/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import{c as H,r as q}from"./chunks/requestGuestOrderCancel.js";import{f as E,h a
available_actions
status
number
token
id
order_date
carrier
Expand Down Expand Up @@ -89,4 +90,4 @@ import{c as H,r as q}from"./chunks/requestGuestOrderCancel.js";import{f as E,h a
${h}
${f}
${C}
`,k=async t=>{if(!t)throw new Error("No cart ID found");return E(S,{variables:{cartId:t}}).then(r=>{var a;(a=r.errors)!=null&&a.length&&_(r.errors);const e=N(r);return e&&(u.emit("order/placed",e),u.emit("cart/reset",void 0),L(t,e)),e}).catch(R)};export{H as cancelOrder,ce as config,Te as confirmCancelOrder,Re as confirmGuestReturn,E as fetchGraphQl,W as getAttributesForm,ee as getAttributesList,V as getConfig,oe as getCustomer,ie as getCustomerOrdersReturn,ne as getGuestOrder,ue as getOrderDetailsById,Ee as getStoreConfig,de as guestOrderByToken,le as initialize,k as placeOrder,Y as removeFetchGraphQlHeader,De as reorderItems,q as requestGuestOrderCancel,te as requestGuestReturn,re as requestReturn,z as setEndpoint,j as setFetchGraphQlHeader,J as setFetchGraphQlHeaders};
`,$=async t=>{if(!t)throw new Error("No cart ID found");return E(S,{variables:{cartId:t}}).then(r=>{var a;(a=r.errors)!=null&&a.length&&_(r.errors);const e=N(r);return e&&(u.emit("order/placed",e),u.emit("cart/reset",void 0),L(t,e)),e}).catch(R)};export{H as cancelOrder,ce as config,Te as confirmCancelOrder,Re as confirmGuestReturn,E as fetchGraphQl,W as getAttributesForm,ee as getAttributesList,V as getConfig,oe as getCustomer,ie as getCustomerOrdersReturn,ne as getGuestOrder,ue as getOrderDetailsById,Ee as getStoreConfig,de as guestOrderByToken,le as initialize,$ as placeOrder,Y as removeFetchGraphQlHeader,De as reorderItems,q as requestGuestOrderCancel,te as requestGuestReturn,re as requestReturn,z as setEndpoint,j as setFetchGraphQlHeader,J as setFetchGraphQlHeaders};
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ export declare const transformMockOrderInput: {
available_actions: string[];
status: string;
number: string;
token: string;
id: string;
order_date: string;
carrier: string;
Expand Down

0 comments on commit 79be9c3

Please sign in to comment.