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

@figuredev/orders-sdk

Package Overview
Dependencies
Maintainers
9
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.13.1 to 0.13.2

3

CHANGELOG.md

@@ -6,2 +6,5 @@ # Changelog

## 0.13.2
- Fixed typings
## 0.13.1

@@ -8,0 +11,0 @@ - Added `SDK.getCustomerById` to get a loyalty program transaction by id

4

lib/index.d.ts

@@ -56,4 +56,4 @@ import { Maybe } from "@figurepos/fgr-lib-backend/lib/types";

constructor(config: OrdersClientConfig);
placeOrder(order: OrderInputDTO, ctx: UserContext): Promise<unknown>;
getOrderForTable(ctx: UserContext, assignmentId: Maybe<string>): Promise<unknown>;
placeOrder(order: OrderInputDTO, ctx: UserContext): Promise<void>;
getOrderForTable(ctx: UserContext, assignmentId: Maybe<string>): Promise<OrderDTO>;
getOrder(ctx: UserContext, id: string): Promise<OrderDTO>;

@@ -60,0 +60,0 @@ getOrdersPreviews(ctx: UserContext, params: GetOrdersPreviewsParams): Promise<OrderPreviewDTO[]>;

@@ -21,3 +21,3 @@ "use strict";

return __awaiter(this, void 0, void 0, function* () {
return this.post(ctx, "/order/v3", { order: order });
yield this.post(ctx, "/order/v3", { order: order });
});

@@ -24,0 +24,0 @@ }

{
"name": "@figuredev/orders-sdk",
"version": "0.13.1",
"version": "0.13.2",
"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