@figuredev/business-config-sdk
Advanced tools
Comparing version 0.9.10 to 0.9.11
@@ -32,2 +32,5 @@ import { UserContext } from "./utils"; | ||
}; | ||
export declare type GetSchematizedQueryParams = { | ||
locationId?: string; | ||
}; | ||
export declare class BusinessConfigClient { | ||
@@ -51,4 +54,4 @@ private config; | ||
getSettings(ctx: UserContext, params: GetSettingsQueryParams): Promise<SettingDTO[]>; | ||
getSchematized(ctx: UserContext): Promise<Record<string, SchematizedPageGroup>>; | ||
getSchematized(ctx: UserContext, params?: GetSchematizedQueryParams): Promise<Record<string, SchematizedPageGroup>>; | ||
} | ||
export {}; |
@@ -148,3 +148,3 @@ "use strict"; | ||
} | ||
getSchematized(ctx) { | ||
getSchematized(ctx, params) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
@@ -157,2 +157,3 @@ return yield axios_1.default | ||
headers: this.prepareHeaders(ctx), | ||
params: params | ||
}) | ||
@@ -159,0 +160,0 @@ .then((r) => r.data); |
{ | ||
"name": "@figuredev/business-config-sdk", | ||
"version": "0.9.10", | ||
"version": "0.9.11", | ||
"license": "ISC", | ||
@@ -5,0 +5,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
21896
461
0