Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@figuredev/orders-sdk

Package Overview
Dependencies
Maintainers
6
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@figuredev/orders-sdk - npm Package Compare versions

Comparing version 0.12.22 to 0.12.23

lib/inventory.d.ts

5

lib/index.d.ts

@@ -0,1 +1,2 @@

import { InventoryInfoDTO } from "./inventory";
import { OrderDTO } from "./orderV3";

@@ -26,3 +27,7 @@ import { IsoDateTime } from "./types";

checkOrderExists(ctx: UserContext, id: string): Promise<boolean>;
getInventoryInfo(ctx: UserContext, params: {
locationId: string;
productIds?: string[];
}): Promise<InventoryInfoDTO[]>;
}
export {};

@@ -76,4 +76,20 @@ "use strict";

}
getInventoryInfo(ctx, params) {
return __awaiter(this, void 0, void 0, function* () {
return yield axios_1.default
.request({
baseURL: this.config.baseUrl,
method: "GET",
url: `/inventory/info`,
headers: this.prepareHeaders(ctx),
params: {
locationId: params.locationId,
productIds: params.productIds,
},
})
.then((r) => { var _a; return (_a = r.data) !== null && _a !== void 0 ? _a : []; });
});
}
}
exports.OrdersClient = OrdersClient;
//# sourceMappingURL=index.js.map

2

package.json
{
"name": "@figuredev/orders-sdk",
"version": "0.12.22",
"version": "0.12.23",
"license": "ISC",

@@ -5,0 +5,0 @@ "files": [

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc