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

@figuredev/business-config-sdk

Package Overview
Dependencies
Maintainers
5
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@figuredev/business-config-sdk - npm Package Compare versions

Comparing version 0.10.1 to 0.10.2

3

lib/index.d.ts

@@ -39,3 +39,2 @@ import { UserContext } from "./utils";

locationIds?: string[];
code?: string;
};

@@ -57,3 +56,3 @@ export declare class BusinessConfigClient {

getAssignments(ctx: UserContext, params: GetAssignmentsQueryParams): Promise<AssignmentDTO[]>;
retrievePricingForPromoCode(ctx: UserContext, promoCode: string): Promise<PricingDTO | null>;
getPricingByPromoCode(ctx: UserContext, promoCode: string): Promise<PricingDTO | null>;
getPricing(ctx: UserContext, id: string): Promise<PricingDTO | null>;

@@ -60,0 +59,0 @@ getPrinters(ctx: UserContext, params?: GetPrintersQueryParams): Promise<PrinterDTO[]>;

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

}
retrievePricingForPromoCode(ctx, promoCode) {
getPricingByPromoCode(ctx, promoCode) {
return __awaiter(this, void 0, void 0, function* () {

@@ -111,7 +111,4 @@ return yield axios_1.default

method: "POST",
url: "/pricing/promo-code",
url: `/pricing/promo-code/${promoCode}`,
headers: this.prepareHeaders(ctx),
data: {
promoCode: promoCode,
},
})

@@ -118,0 +115,0 @@ .then((r) => r.data);

{
"name": "@figuredev/business-config-sdk",
"version": "0.10.1",
"version": "0.10.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