vanilli-shop-client
Advanced tools
Comparing version 1.5.5 to 1.5.6
@@ -8,3 +8,3 @@ export interface ICompanyProviderDto { | ||
static getPublicKey(provider: ICompanyProviderDto): string | undefined; | ||
static getShopKey(provider: ICompanyProviderDto): string | undefined; | ||
static getShopId(provider: ICompanyProviderDto): string | undefined; | ||
} | ||
@@ -11,0 +11,0 @@ export interface ICompanyProviderAuthDto { |
@@ -12,3 +12,3 @@ "use strict"; | ||
}; | ||
CompanyProvider.getShopKey = function (provider) { | ||
CompanyProvider.getShopId = function (provider) { | ||
var _a, _b; | ||
@@ -15,0 +15,0 @@ return (_b = (_a = provider.auths) === null || _a === void 0 ? void 0 : _a.find(function (x) { return x.type === base_1.ProviderAuthEnum.ShopId; })) === null || _b === void 0 ? void 0 : _b.value; |
{ | ||
"name": "vanilli-shop-client", | ||
"version": "1.5.5", | ||
"version": "1.5.6", | ||
"description": "Client for Vanilli Shop API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -14,3 +14,3 @@ import {ProviderAuthEnum} from "./base"; | ||
static getShopKey(provider: ICompanyProviderDto): string | undefined { | ||
static getShopId(provider: ICompanyProviderDto): string | undefined { | ||
return provider.auths?.find(x => x.type === ProviderAuthEnum.ShopId)?.value; | ||
@@ -17,0 +17,0 @@ } |
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
262143