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.0 to 0.13.1

CHANGELOG.md

2

lib/index.d.ts

@@ -10,2 +10,3 @@ import { Maybe } from "@figurepos/fgr-lib-backend/lib/types";

import { UserContext } from "./utils";
import { CustomerDTO } from "./customer";
declare type OrdersClientConfig = {

@@ -71,2 +72,3 @@ baseUrl: string;

getPreparedFileUploadUrl(ctx: UserContext, filename: string, fileType: string, fileUploadType: FileUploadTypeDTO): Promise<PreparedFileUploadDTO | null>;
getCustomerById(ctx: UserContext, id: string): Promise<CustomerDTO>;
private prepareHeaders;

@@ -73,0 +75,0 @@ private post;

@@ -146,2 +146,5 @@ "use strict";

}
getCustomerById(ctx, id) {
return this.get(ctx, `/customer/${id}`);
}
prepareHeaders(ctx) {

@@ -148,0 +151,0 @@ return Object.assign(Object.assign(Object.assign({ "fgr-service-token": this.config.secret }, (ctx.accountId ? { "twbrds-account-id": ctx.accountId } : null)), (ctx.locationId ? { "twbrds-location-id": ctx.locationId } : null)), (ctx.terminalId ? { "twbrds-terminal-id": ctx.terminalId } : null));

2

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