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.11.0 to 0.12.0

CHANGELOG.md

6

lib/index.d.ts

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

import { TerminalDTO, TerminalPreviewDTO } from "./terminal";
import { SchematizedTabsDTO } from "./schematized";
import { SchematizedLayoutDTO, SchematizedLayoutsDTO } from "./schematized";
import { EmployeeDTO } from "./employee";

@@ -64,3 +64,5 @@ import { PromotionDTO } from "./promotion";

getSettings(ctx: UserContext, params: GetSettingsQueryParams): Promise<SettingDTO[]>;
getSchematized(ctx: UserContext, params?: GetSchematizedQueryParams): Promise<SchematizedTabsDTO>;
/** @deprecated in favor of getSchematizedLayouts **/
getSchematized(ctx: UserContext, params?: GetSchematizedQueryParams): Promise<SchematizedLayoutDTO>;
getSchematizedLayouts(ctx: UserContext, params?: GetSchematizedQueryParams): Promise<SchematizedLayoutsDTO>;
getPromotions(ctx: UserContext, params?: GetPromotionsQueryParams): Promise<PromotionDTO[]>;

@@ -67,0 +69,0 @@ getPromotionById(ctx: UserContext, id: string): Promise<PromotionDTO>;

@@ -196,2 +196,3 @@ "use strict";

}
/** @deprecated in favor of getSchematizedLayouts **/
getSchematized(ctx, params) {

@@ -203,2 +204,15 @@ return __awaiter(this, void 0, void 0, function* () {

method: "GET",
url: "/schematized",
headers: this.prepareHeaders(ctx),
params: params,
})
.then((r) => r.data);
});
}
getSchematizedLayouts(ctx, params) {
return __awaiter(this, void 0, void 0, function* () {
return yield axios_1.default
.request({
baseURL: this.config.baseUrl,
method: "GET",
url: "/schematized/v2",

@@ -205,0 +219,0 @@ headers: this.prepareHeaders(ctx),

@@ -44,4 +44,4 @@ export declare enum SchematizedTileType {

};
export declare type SchematizedTabsDTO = {
tabs: SchematizedLayoutDTO[];
export declare type SchematizedLayoutsDTO = {
layouts: SchematizedLayoutDTO[];
};
{
"name": "@figuredev/business-config-sdk",
"version": "0.11.0",
"version": "0.12.0",
"license": "ISC",

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

@@ -7,8 +7,9 @@ ## Business Config Service SDK

2. Increment version in package.json
3. Call `npm publish --access public`
1. small fixes - patch version 0.0.x
2. breaking changes - minor version 0.x.0
3. Document your changes in `CHANGELOG.md`
4. Call `npm publish --access public`
### CHANGELOG
#### v0.11.0
1. `SDK.getSchematized()` return value changed. Now it returns tabs object.
For a list of changes see `CHANGELOG.md`.

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