arky-sdk 0.7.121 → 0.7.122

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.cjs CHANGED
@@ -430,29 +430,6 @@ var createStorefrontApi = (apiConfig, updateCustomerSession) => {
430
430
  }
431
431
  },
432
432
  order: {
433
- getQuote(params, options) {
434
- const store_id = params.store_id || apiConfig.storeId;
435
- const { location, store_id: _store_id, items, market, ...rest } = params;
436
- const shipping_address = location ? {
437
- country: location.country || "",
438
- state: location.state || "",
439
- city: location.city || "",
440
- postal_code: location.postal_code || "",
441
- name: "",
442
- street1: "",
443
- street2: null
444
- } : rest.shipping_address;
445
- return apiConfig.httpClient.post(
446
- `${base(store_id)}/orders/quote`,
447
- {
448
- ...rest,
449
- items: normalizeOrderQuoteItems(items),
450
- shipping_address,
451
- market: market || apiConfig.market
452
- },
453
- options
454
- );
455
- },
456
433
  get(params, options) {
457
434
  const store_id = params.store_id || apiConfig.storeId;
458
435
  return apiConfig.httpClient.get(