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

vanilli-shop-client

Package Overview
Dependencies
Maintainers
1
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vanilli-shop-client - npm Package Compare versions

Comparing version 1.5.4 to 1.5.5

1

dist/models/company.d.ts

@@ -8,2 +8,3 @@ export interface ICompanyProviderDto {

static getPublicKey(provider: ICompanyProviderDto): string | undefined;
static getShopKey(provider: ICompanyProviderDto): string | undefined;
}

@@ -10,0 +11,0 @@ export interface ICompanyProviderAuthDto {

@@ -12,4 +12,8 @@ "use strict";

};
CompanyProvider.getShopKey = function (provider) {
var _a, _b;
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;
};
return CompanyProvider;
}());
exports.CompanyProvider = CompanyProvider;

2

package.json
{
"name": "vanilli-shop-client",
"version": "1.5.4",
"version": "1.5.5",
"description": "Client for Vanilli Shop API",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -13,2 +13,6 @@ import {ProviderAuthEnum} from "./base";

}
static getShopKey(provider: ICompanyProviderDto): string | undefined {
return provider.auths?.find(x => x.type === ProviderAuthEnum.ShopId)?.value;
}
}

@@ -15,0 +19,0 @@

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