@whiplashmerch/whiplash-api-client 1.0.49 → 1.0.51
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/dist/client.esm.js +2 -2
- package/dist/client.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/client.esm.js
CHANGED
|
@@ -26319,7 +26319,7 @@ const getApiV21BatchedUnshippedCount = (client, id) => {
|
|
|
26319
26319
|
trait: 'batched_unshipped_order_count',
|
|
26320
26320
|
};
|
|
26321
26321
|
getApiV21ItemsIdCallTrait(client, traitsParams)
|
|
26322
|
-
.then((result) => {
|
|
26322
|
+
.then(({ result }) => {
|
|
26323
26323
|
resolve(result);
|
|
26324
26324
|
}).catch(reject);
|
|
26325
26325
|
});
|
|
@@ -26331,7 +26331,7 @@ const getApiItemQuantities = (client, id) => {
|
|
|
26331
26331
|
};
|
|
26332
26332
|
return new Promise((resolve, reject) => {
|
|
26333
26333
|
getApiV21ItemsIdTraits(client, params)
|
|
26334
|
-
.then((
|
|
26334
|
+
.then((result) => {
|
|
26335
26335
|
resolve(result);
|
|
26336
26336
|
}).catch(reject);
|
|
26337
26337
|
});
|