@tiledev/sdk-shopify 0.4.0 → 0.4.1

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/queries.d.ts CHANGED
@@ -25,7 +25,18 @@ export declare const CART_GET_QUERY = "\n \n \n \n fragment MoneyFields on M
25
25
  export declare const CART_LINES_ADD_MUTATION = "\n \n \n \n fragment MoneyFields on MoneyV2 {\n amount\n currencyCode\n }\n\n \n fragment ImageFields on Image {\n url\n altText\n width\n height\n }\n\n fragment VariantFields on ProductVariant {\n id\n title\n sku\n availableForSale\n quantityAvailable\n price { ...MoneyFields }\n compareAtPrice { ...MoneyFields }\n selectedOptions { name value }\n image { ...ImageFields }\n }\n\n \n fragment MoneyFields on MoneyV2 {\n amount\n currencyCode\n }\n\n fragment CartFields on Cart {\n id\n checkoutUrl\n totalQuantity\n note\n attributes { key value }\n buyerIdentity { countryCode email phone }\n cost {\n subtotalAmount { ...MoneyFields }\n totalAmount { ...MoneyFields }\n totalTaxAmount { ...MoneyFields }\n checkoutChargeAmount { ...MoneyFields }\n }\n discountCodes { code applicable }\n appliedGiftCards {\n id\n lastCharacters\n presentmentAmountUsed { ...MoneyFields }\n balance { ...MoneyFields }\n amountUsed { ...MoneyFields }\n }\n createdAt\n updatedAt\n lines(first: 250) {\n nodes {\n id\n quantity\n attributes { key value }\n cost {\n totalAmount { ...MoneyFields }\n amountPerQuantity { ...MoneyFields }\n compareAtAmountPerQuantity { ...MoneyFields }\n }\n merchandise {\n ... on ProductVariant {\n ...VariantFields\n product { id title handle }\n }\n }\n }\n }\n }\n\n mutation CartLinesAdd($cartId: ID!, $lines: [CartLineInput!]!) {\n cartLinesAdd(cartId: $cartId, lines: $lines) {\n cart { ...CartFields }\n userErrors { field message code }\n }\n }\n";
26
26
  export declare const CART_LINES_UPDATE_MUTATION = "\n \n \n \n fragment MoneyFields on MoneyV2 {\n amount\n currencyCode\n }\n\n \n fragment ImageFields on Image {\n url\n altText\n width\n height\n }\n\n fragment VariantFields on ProductVariant {\n id\n title\n sku\n availableForSale\n quantityAvailable\n price { ...MoneyFields }\n compareAtPrice { ...MoneyFields }\n selectedOptions { name value }\n image { ...ImageFields }\n }\n\n \n fragment MoneyFields on MoneyV2 {\n amount\n currencyCode\n }\n\n fragment CartFields on Cart {\n id\n checkoutUrl\n totalQuantity\n note\n attributes { key value }\n buyerIdentity { countryCode email phone }\n cost {\n subtotalAmount { ...MoneyFields }\n totalAmount { ...MoneyFields }\n totalTaxAmount { ...MoneyFields }\n checkoutChargeAmount { ...MoneyFields }\n }\n discountCodes { code applicable }\n appliedGiftCards {\n id\n lastCharacters\n presentmentAmountUsed { ...MoneyFields }\n balance { ...MoneyFields }\n amountUsed { ...MoneyFields }\n }\n createdAt\n updatedAt\n lines(first: 250) {\n nodes {\n id\n quantity\n attributes { key value }\n cost {\n totalAmount { ...MoneyFields }\n amountPerQuantity { ...MoneyFields }\n compareAtAmountPerQuantity { ...MoneyFields }\n }\n merchandise {\n ... on ProductVariant {\n ...VariantFields\n product { id title handle }\n }\n }\n }\n }\n }\n\n mutation CartLinesUpdate($cartId: ID!, $lines: [CartLineUpdateInput!]!) {\n cartLinesUpdate(cartId: $cartId, lines: $lines) {\n cart { ...CartFields }\n userErrors { field message code }\n }\n }\n";
27
27
  export declare const CART_LINES_REMOVE_MUTATION = "\n \n \n \n fragment MoneyFields on MoneyV2 {\n amount\n currencyCode\n }\n\n \n fragment ImageFields on Image {\n url\n altText\n width\n height\n }\n\n fragment VariantFields on ProductVariant {\n id\n title\n sku\n availableForSale\n quantityAvailable\n price { ...MoneyFields }\n compareAtPrice { ...MoneyFields }\n selectedOptions { name value }\n image { ...ImageFields }\n }\n\n \n fragment MoneyFields on MoneyV2 {\n amount\n currencyCode\n }\n\n fragment CartFields on Cart {\n id\n checkoutUrl\n totalQuantity\n note\n attributes { key value }\n buyerIdentity { countryCode email phone }\n cost {\n subtotalAmount { ...MoneyFields }\n totalAmount { ...MoneyFields }\n totalTaxAmount { ...MoneyFields }\n checkoutChargeAmount { ...MoneyFields }\n }\n discountCodes { code applicable }\n appliedGiftCards {\n id\n lastCharacters\n presentmentAmountUsed { ...MoneyFields }\n balance { ...MoneyFields }\n amountUsed { ...MoneyFields }\n }\n createdAt\n updatedAt\n lines(first: 250) {\n nodes {\n id\n quantity\n attributes { key value }\n cost {\n totalAmount { ...MoneyFields }\n amountPerQuantity { ...MoneyFields }\n compareAtAmountPerQuantity { ...MoneyFields }\n }\n merchandise {\n ... on ProductVariant {\n ...VariantFields\n product { id title handle }\n }\n }\n }\n }\n }\n\n mutation CartLinesRemove($cartId: ID!, $lineIds: [ID!]!) {\n cartLinesRemove(cartId: $cartId, lineIds: $lineIds) {\n cart { ...CartFields }\n userErrors { field message code }\n }\n }\n";
28
- export declare const CART_DISCOUNT_CODES_UPDATE_MUTATION = "\n \n \n \n fragment MoneyFields on MoneyV2 {\n amount\n currencyCode\n }\n\n \n fragment ImageFields on Image {\n url\n altText\n width\n height\n }\n\n fragment VariantFields on ProductVariant {\n id\n title\n sku\n availableForSale\n quantityAvailable\n price { ...MoneyFields }\n compareAtPrice { ...MoneyFields }\n selectedOptions { name value }\n image { ...ImageFields }\n }\n\n \n fragment MoneyFields on MoneyV2 {\n amount\n currencyCode\n }\n\n fragment CartFields on Cart {\n id\n checkoutUrl\n totalQuantity\n note\n attributes { key value }\n buyerIdentity { countryCode email phone }\n cost {\n subtotalAmount { ...MoneyFields }\n totalAmount { ...MoneyFields }\n totalTaxAmount { ...MoneyFields }\n checkoutChargeAmount { ...MoneyFields }\n }\n discountCodes { code applicable }\n appliedGiftCards {\n id\n lastCharacters\n presentmentAmountUsed { ...MoneyFields }\n balance { ...MoneyFields }\n amountUsed { ...MoneyFields }\n }\n createdAt\n updatedAt\n lines(first: 250) {\n nodes {\n id\n quantity\n attributes { key value }\n cost {\n totalAmount { ...MoneyFields }\n amountPerQuantity { ...MoneyFields }\n compareAtAmountPerQuantity { ...MoneyFields }\n }\n merchandise {\n ... on ProductVariant {\n ...VariantFields\n product { id title handle }\n }\n }\n }\n }\n }\n\n mutation CartDiscountCodesUpdate($cartId: ID!, $discountCodes: [String!]) {\n cartDiscountCodesUpdate(cartId: $cartId, discountCodes: $discountCodes) {\n cart { ...CartFields }\n userErrors { field message code }\n }\n }\n";
28
+ /**
29
+ * The cart's discount codes — the whole set, not an addition: this REPLACES whatever the cart
30
+ * carries, so a caller adding one has to send the existing ones back alongside it.
31
+ *
32
+ * **`discountCodes` is `[String!]!`, not `[String!]`.** Same trap as `$note` below, and it bit
33
+ * harder because it is less obviously a required field: a nullable variable is rejected outright
34
+ * with `Nullability mismatch on variable $discountCodes and argument discountCodes
35
+ * ([String!] / [String!]!)`, and Shopify refuses the document before reading its variables — so
36
+ * EVERY code failed, valid or not, on every app built on this SDK. Clearing the set is `[]`, which
37
+ * is a value rather than a null, so nothing is lost by requiring it.
38
+ */
39
+ export declare const CART_DISCOUNT_CODES_UPDATE_MUTATION = "\n \n \n \n fragment MoneyFields on MoneyV2 {\n amount\n currencyCode\n }\n\n \n fragment ImageFields on Image {\n url\n altText\n width\n height\n }\n\n fragment VariantFields on ProductVariant {\n id\n title\n sku\n availableForSale\n quantityAvailable\n price { ...MoneyFields }\n compareAtPrice { ...MoneyFields }\n selectedOptions { name value }\n image { ...ImageFields }\n }\n\n \n fragment MoneyFields on MoneyV2 {\n amount\n currencyCode\n }\n\n fragment CartFields on Cart {\n id\n checkoutUrl\n totalQuantity\n note\n attributes { key value }\n buyerIdentity { countryCode email phone }\n cost {\n subtotalAmount { ...MoneyFields }\n totalAmount { ...MoneyFields }\n totalTaxAmount { ...MoneyFields }\n checkoutChargeAmount { ...MoneyFields }\n }\n discountCodes { code applicable }\n appliedGiftCards {\n id\n lastCharacters\n presentmentAmountUsed { ...MoneyFields }\n balance { ...MoneyFields }\n amountUsed { ...MoneyFields }\n }\n createdAt\n updatedAt\n lines(first: 250) {\n nodes {\n id\n quantity\n attributes { key value }\n cost {\n totalAmount { ...MoneyFields }\n amountPerQuantity { ...MoneyFields }\n compareAtAmountPerQuantity { ...MoneyFields }\n }\n merchandise {\n ... on ProductVariant {\n ...VariantFields\n product { id title handle }\n }\n }\n }\n }\n }\n\n mutation CartDiscountCodesUpdate($cartId: ID!, $discountCodes: [String!]!) {\n cartDiscountCodesUpdate(cartId: $cartId, discountCodes: $discountCodes) {\n cart { ...CartFields }\n userErrors { field message code }\n }\n }\n";
29
40
  /**
30
41
  * The shopper's order note. It rides the cart to the order, where the merchant reads it beside the
31
42
  * line items — so it is content, not a cart attribute, and Shopify gives it its own mutation.
@@ -1 +1 @@
1
- {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../src/queries.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,+EAK1B,CAAC;AAEF,eAAO,MAAM,cAAc,4FAO1B,CAAC;AAEF,eAAO,MAAM,gBAAgB,mbAc5B,CAAC;AAwCF;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,cAM/B,CAAC;AAEF,eAAO,MAAM,eAAe,cAiB3B,CAAC;AAEF,eAAO,MAAM,mBAAmB,uPAU/B,CAAC;AAEF,eAAO,MAAM,aAAa,oiDA6CzB,CAAC;AAEF,eAAO,MAAM,gBAAgB,oLAa5B,CAAC;AAEF,eAAO,MAAM,iBAAiB,kWAW7B,CAAC;AAIF,eAAO,MAAM,iBAAiB,cAQ5B,CAAC;AAEH,eAAO,MAAM,oBAAoB,cAK/B,CAAC;AAEH,eAAO,MAAM,gBAAgB,cAK3B,CAAC;AAEH,eAAO,MAAM,2BAA2B,cAKtC,CAAC;AAEH,eAAO,MAAM,sBAAsB,glBAQlC,CAAC;AAEF,eAAO,MAAM,0BAA0B,2WAKtC,CAAC;AAEF,eAAO,MAAM,uBAAuB,cAkBlC,CAAC;AAEH,eAAO,MAAM,mBAAmB,cAiC9B,CAAC;AAEH,eAAO,MAAM,oBAAoB,0sDAQhC,CAAC;AAEF,eAAO,MAAM,cAAc,inDAK1B,CAAC;AAEF,eAAO,M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oC,uyDAQhD,CAAC;AAEF;8EAC8E;AAC9E,eAAO,MAAM,uBAAuB,mGAMnC,CAAC;AAEF,eAAO,MAAM,wBAAwB,2iBAQpC,CAAC;AAEF,eAAO,MAAM,qCAAqC,0PAOjD,CAAC;AAEF,eAAO,MAAM,qCAAqC,oOAOjD,CAAC;AAEF,eAAO,MAAM,cAAc,+dAK1B,CAAC;AAEF,eAAO,MAAM,yBAAyB,yJAMrC,CAAC;AAEF,eAAO,MAAM,wBAAwB,8mBAQpC,CAAC;AAIF,eAAO,MAAM,cAAc,uuCAyC1B,CAAC;AAEF,eAAO,MAAM,qBAAqB,kkDAUjC,CAAC;AAEF,eAAO,MAAM,0BAA0B,68CAStC,CAAC;AAIF,eAAO,MAAM,aAAa,4EAMzB,CAAC;AAEF,eAAO,MAAM,gBAAgB,ocAqB5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,6YAQ5B,CAAC;AAEF,eAAO,MAAM,oBAAoB,8KAKhC,CAAC;AAEF,eAAO,MAAM,mBAAmB,ozBAU/B,CAAC;AAEF,eAAO,MAAM,4BAA4B,yoBAOxC,CAAC;AAIF,iFAAiF;AACjF,eAAO,MAAM,oBAAoB,cAQ/B,CAAC;AAEH,eAAO,MAAM,UAAU,0IAUtB,CAAC;AAEF,gGAAgG;AAChG,eAAO,MAAM,uBAAuB,u8BAuBnC,CAAC"}
package/dist/queries.js CHANGED
@@ -321,9 +321,20 @@ exports.CART_LINES_REMOVE_MUTATION = `
321
321
  }
322
322
  }
323
323
  `;
324
+ /**
325
+ * The cart's discount codes — the whole set, not an addition: this REPLACES whatever the cart
326
+ * carries, so a caller adding one has to send the existing ones back alongside it.
327
+ *
328
+ * **`discountCodes` is `[String!]!`, not `[String!]`.** Same trap as `$note` below, and it bit
329
+ * harder because it is less obviously a required field: a nullable variable is rejected outright
330
+ * with `Nullability mismatch on variable $discountCodes and argument discountCodes
331
+ * ([String!] / [String!]!)`, and Shopify refuses the document before reading its variables — so
332
+ * EVERY code failed, valid or not, on every app built on this SDK. Clearing the set is `[]`, which
333
+ * is a value rather than a null, so nothing is lost by requiring it.
334
+ */
324
335
  exports.CART_DISCOUNT_CODES_UPDATE_MUTATION = `
325
336
  ${exports.CART_FRAGMENT}
326
- mutation CartDiscountCodesUpdate($cartId: ID!, $discountCodes: [String!]) {
337
+ mutation CartDiscountCodesUpdate($cartId: ID!, $discountCodes: [String!]!) {
327
338
  cartDiscountCodesUpdate(cartId: $cartId, discountCodes: $discountCodes) {
328
339
  cart { ...CartFields }
329
340
  userErrors { field message code }
@@ -1 +1 @@
1
- {"version":3,"file":"queries.js","sourceRoot":"","sources":["../src/queries.ts"],"names":[],"mappings":";;;AAAA,6CAAgE;AAEnD,QAAA,cAAc,GAAiB;;;;;CAK3C,CAAC;AAEW,QAAA,cAAc,GAAiB;;;;;;;CAO3C,CAAC;AAEW,QAAA,gBAAgB,GAAiB;IAC1C,sBAAc;IACd,sBAAc;;;;;;;;;;;;CAYjB,CAAC;AAEF;;;;;GAKG;AACH,MAAM,mBAAmB,GAAG,GAAG,EAAE,CAAC,aAAa,CAAC;IAC5C,wBAAgB;;MAEd,IAAA,+BAAkB,GAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BzB,CAAC;AAEF;;;;GAIG;AACI,MAAM,mBAAmB,GAAG,GAAG,EAAE,CAAC,aAAa,CAAC;IACnD,mBAAmB,EAAE;;;;;CAKxB,CAAC;AANW,QAAA,mBAAmB,uBAM9B;AAEK,MAAM,eAAe,GAAG,GAAG,EAAE,CAAC,aAAa,CAAC;IAC/C,mBAAmB,EAAE;;;;;;;;;;;;;;;;CAgBxB,CAAC;AAjBW,QAAA,eAAe,mBAiB1B;AAEW,QAAA,mBAAmB,GAAiB;IAC7C,sBAAc;;;;;;;;;CASjB,CAAC;AAEW,QAAA,aAAa,GAAiB;IACvC,wBAAgB;IAChB,sBAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2CjB,CAAC;AAEW,QAAA,g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iB;;;;;;CAMtD,CAAC;AAEW,QAAA,wBAAwB,GAAiB;IAClD,yBAAiB;;;;;;;CAOpB,CAAC;AAEF,SAAS;AAEI,QAAA,cAAc,GAAiB;IACxC,sBAAc;IACd,sBAAc;IACd,wBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCnB,CAAC;AAEW,QAAA,qBAAqB,GAAiB;IAC/C,sBAAc;;;;;;;;;CASjB,CAAC;AAEW,QAAA,0BAA0B,GAAiB;IACpD,sBAAc;;;;;;;;CAQjB,CAAC;AAEF,mBAAmB;AAEN,QAAA,aAAa,GAAiB;;;;;;CAM1C,CAAC;AAEW,QAAA,gBAAgB,GAAiB;IAC1C,sBAAc;IACd,qBAAa;;;;;;;;;;;;;;;;;;;CAmBhB,CAAC;AAEW,QAAA,gBAAgB,GAAiB;IAC1C,qBAAa;;;;;;;CAOhB,CAAC;AAEW,QAAA,oBAAoB,GAAiB;IAC9C,qBAAa;;;;CAIhB,CAAC;AAEW,QAAA,mBAAmB,GAAiB;IAC7C,wBAAgB;;;;;;;;;CASnB,CAAC;AAEW,QAAA,4BAA4B,GAAiB;IACtD,wBAAgB;;;;;;CAMnB,CAAC;AAEF,2CAA2C;AAE3C,iFAAiF;AACpE,QAAA,oBAAoB,GAAG,IAAA,yBAAY,EAAC,GAAG,EAAE,CAAC,aAAa,CAAC;IACjE,IAAA,2BAAmB,GAAE;;;;;;;CAOxB,CAAC,CAAC;AAEU,QAAA,UAAU,GAAiB;;;;;;;;;;CAUvC,CAAC;AAEF,gGAAgG;AACnF,QAAA,uBAAuB,GAAiB;IACjD,wBAAgB;;;;;;;;;;;;;;;;;;;;;;CAsBnB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiledev/sdk-shopify",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Type-safe Shopify Storefront API client for React Native (web, iOS, Android). Products, collections, cart, customer session, blogs, a local-storage-backed wishlist, and configurable shopper alerts. Zero deps beyond fetch.",
5
5
  "license": "MIT",
6
6
  "sideEffects": false,