@shipengine/alchemy 1.0.3 → 1.0.4

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.
Files changed (3) hide show
  1. package/index.js +3 -0
  2. package/index.mjs +3 -0
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -7702,6 +7702,9 @@ class RateCardsAPI {
7702
7702
  };
7703
7703
  this.download = (rateCardId) => {
7704
7704
  return this.client.get(`/v1/rate_cards/${rateCardId}/rates/download`, {
7705
+ headers: {
7706
+ Accept: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
7707
+ },
7705
7708
  responseType: "blob"
7706
7709
  });
7707
7710
  };
package/index.mjs CHANGED
@@ -7680,6 +7680,9 @@ class RateCardsAPI {
7680
7680
  };
7681
7681
  this.download = (rateCardId) => {
7682
7682
  return this.client.get(`/v1/rate_cards/${rateCardId}/rates/download`, {
7683
+ headers: {
7684
+ Accept: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
7685
+ },
7683
7686
  responseType: "blob"
7684
7687
  });
7685
7688
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/alchemy",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {