feeef 0.8.13 → 0.9.0

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/build/index.js CHANGED
@@ -339,6 +339,8 @@ var StoreInvitesRepository = class {
339
339
  this.client = client;
340
340
  this.resource = resource;
341
341
  }
342
+ client;
343
+ resource;
342
344
  /**
343
345
  * Lists invites for a store.
344
346
  * @param storeId - The store ID.
@@ -1177,6 +1179,7 @@ var PromoRepository = class {
1177
1179
  constructor(client) {
1178
1180
  this.client = client;
1179
1181
  }
1182
+ client;
1180
1183
  /**
1181
1184
  * Lists promos with optional pagination and validNow filter.
1182
1185
  */
@@ -2278,10 +2281,14 @@ var ShippingPriceStatus = /* @__PURE__ */ ((ShippingPriceStatus2) => {
2278
2281
  return ShippingPriceStatus2;
2279
2282
  })(ShippingPriceStatus || {});
2280
2283
  function getShippingPrice(prices, countryCode, stateCode, type) {
2284
+ console.log("0 [getShippingPrice]", { prices, countryCode, stateCode, type });
2281
2285
  const countryRates = prices[countryCode];
2286
+ console.log("1 [getShippingPrice] countryRates", countryRates);
2282
2287
  if (!countryRates) return null;
2283
2288
  const stateRates = countryRates[stateCode];
2289
+ console.log("2 [getShippingPrice] stateRates", stateRates);
2284
2290
  if (!stateRates) return null;
2291
+ console.log("3 [getShippingPrice] stateRates[type]", stateRates[type]);
2285
2292
  return stateRates[type] ?? null;
2286
2293
  }
2287
2294
  function isShippingAvailable(prices, countryCode, stateCode) {
@@ -4178,6 +4185,8 @@ var FeeefTransmitHttpClient = class {
4178
4185
  this.options = options;
4179
4186
  this.getAuthorizationHeader = getAuthorizationHeader;
4180
4187
  }
4188
+ options;
4189
+ getAuthorizationHeader;
4181
4190
  send(request) {
4182
4191
  return fetch(request);
4183
4192
  }