@dropins/storefront-order 1.0.6-beta2 → 1.0.6-beta3
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,6 +1,6 @@
|
|
|
1
1
|
/*! Copyright 2025 Adobe
|
|
2
2
|
All Rights Reserved. */
|
|
3
|
-
import{h as
|
|
3
|
+
import{h as E}from"./network-error.js";import{RETURNS_FRAGMENT as a,PRODUCT_DETAILS_FRAGMENT as T,PRICE_DETAILS_FRAGMENT as _,GIFT_CARD_DETAILS_FRAGMENT as o,ORDER_ITEM_DETAILS_FRAGMENT as c,GIFT_MESSAGE_FRAGMENT as G,GIFT_WRAPPING_FRAGMENT as n}from"../fragments.js";import{t as u}from"./initialize.js";import{f as A}from"./fetch-graphql.js";const S=`
|
|
4
4
|
query GET_CUSTOMER_ORDERS_RETURN($currentPage: Int, $pageSize: Int) {
|
|
5
5
|
customer {
|
|
6
6
|
returns(currentPage: $currentPage, pageSize: $pageSize) {
|
|
@@ -13,9 +13,11 @@ import{h as R}from"./network-error.js";import{RETURNS_FRAGMENT as E,PRODUCT_DETA
|
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
${
|
|
16
|
+
${a}
|
|
17
17
|
${T}
|
|
18
18
|
${_}
|
|
19
19
|
${o}
|
|
20
20
|
${c}
|
|
21
|
-
|
|
21
|
+
${G}
|
|
22
|
+
${n}
|
|
23
|
+
`,I=async(e=10,R=1)=>await A(S,{method:"GET",cache:"force-cache",variables:{pageSize:e,currentPage:R}}).then(r=>{var t;return u((t=r==null?void 0:r.data)==null?void 0:t.customer.returns)}).catch(E);export{I as g};
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name": "@dropins/storefront-order", "version": "1.0.6-
|
|
1
|
+
{"name": "@dropins/storefront-order", "version": "1.0.6-beta3", "@dropins/tools": "~1.1.0", "license": "SEE LICENSE IN LICENSE.md"}
|