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.7.8 to 1.7.9

1

dist/api/order-api.d.ts

@@ -7,2 +7,3 @@ import RootApi from "./root-api";

createOrder(order: IOrderDto): Promise<AxiosResponse>;
getJwt(request: any): Promise<AxiosResponse>;
}

@@ -72,4 +72,11 @@ "use strict";

};
OrderApi.prototype.getJwt = function (request) {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
return [2 /*return*/, this.makePostCall("".concat(this.endpoint, "/jwt"), request)];
});
});
};
return OrderApi;
}(root_api_1.default));
exports.default = OrderApi;

@@ -6,3 +6,4 @@ import BaseStore from "./base-store";

resetOrder(): void;
getJwt(request: any): Promise<string>;
private initOrder;
}

@@ -128,2 +128,12 @@ "use strict";

};
OrderStore.prototype.getJwt = function (request) {
return __awaiter(this, void 0, void 0, function () {
return __generator(this, function (_a) {
switch (_a.label) {
case 0: return [4 /*yield*/, this.rootStore.orderStore.getJwt(request)];
case 1: return [2 /*return*/, _a.sent()];
}
});
});
};
OrderStore.prototype.initOrder = function (order) {

@@ -130,0 +140,0 @@ var _a, _b, _c, _d;

2

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

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

@@ -11,2 +11,6 @@ import RootApi from "./root-api";

}
async getJwt(request: any): Promise<AxiosResponse> {
return this.makePostCall(`${this.endpoint}/jwt`, request);
}
}

@@ -64,2 +64,6 @@ import BaseStore from "./base-store";

async getJwt(request: any): Promise<string> {
return await this.rootStore.orderStore.getJwt(request);
}
private initOrder(order: IOrderDto): IOrderDto {

@@ -66,0 +70,0 @@ const rootStore = this.rootStore;

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