@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.
- package/index.js +5 -1
- package/index.mjs +5 -1
- 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",
|
|
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",
|
|
7647
|
+
return this.client.post("/v1/shipments", {
|
|
7648
|
+
shipments: [
|
|
7649
|
+
__spreadValues$3({}, shipment)
|
|
7650
|
+
]
|
|
7651
|
+
});
|
|
7648
7652
|
});
|
|
7649
7653
|
this.client = client;
|
|
7650
7654
|
}
|