@shipengine/alchemy 0.4.16 → 0.4.17

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 +5 -1
  2. package/index.mjs +5 -1
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -7666,7 +7666,11 @@ class ShipmentsAPI {
7666
7666
  );
7667
7667
  };
7668
7668
  this.create = (shipment) => __async$l(this, null, function* () {
7669
- return this.client.post("/v1/shipments", __spreadValues$3({}, shipment));
7669
+ return this.client.post("/v1/shipments", {
7670
+ shipments: [
7671
+ __spreadValues$3({}, shipment)
7672
+ ]
7673
+ });
7670
7674
  });
7671
7675
  this.client = client;
7672
7676
  }
package/index.mjs CHANGED
@@ -7644,7 +7644,11 @@ class ShipmentsAPI {
7644
7644
  );
7645
7645
  };
7646
7646
  this.create = (shipment) => __async$l(this, null, function* () {
7647
- return this.client.post("/v1/shipments", __spreadValues$3({}, shipment));
7647
+ return this.client.post("/v1/shipments", {
7648
+ shipments: [
7649
+ __spreadValues$3({}, shipment)
7650
+ ]
7651
+ });
7648
7652
  });
7649
7653
  this.client = client;
7650
7654
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/alchemy",
3
- "version": "0.4.16",
3
+ "version": "0.4.17",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {