@shipengine/js-api 0.8.0 → 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/index.js +5 -1
- package/index.mjs +5 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -5226,7 +5226,11 @@ class ShipmentsAPI {
|
|
|
5226
5226
|
);
|
|
5227
5227
|
};
|
|
5228
5228
|
this.create = (shipment) => __async$1(this, null, function* () {
|
|
5229
|
-
return this.client.post("/v1/shipments",
|
|
5229
|
+
return this.client.post("/v1/shipments", {
|
|
5230
|
+
shipments: [
|
|
5231
|
+
__spreadValues$1({}, shipment)
|
|
5232
|
+
]
|
|
5233
|
+
});
|
|
5230
5234
|
});
|
|
5231
5235
|
this.client = client;
|
|
5232
5236
|
}
|
package/index.mjs
CHANGED
|
@@ -5222,7 +5222,11 @@ class ShipmentsAPI {
|
|
|
5222
5222
|
);
|
|
5223
5223
|
};
|
|
5224
5224
|
this.create = (shipment) => __async$1(this, null, function* () {
|
|
5225
|
-
return this.client.post("/v1/shipments",
|
|
5225
|
+
return this.client.post("/v1/shipments", {
|
|
5226
|
+
shipments: [
|
|
5227
|
+
__spreadValues$1({}, shipment)
|
|
5228
|
+
]
|
|
5229
|
+
});
|
|
5226
5230
|
});
|
|
5227
5231
|
this.client = client;
|
|
5228
5232
|
}
|