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.8 to 1.5.9

4

dist/api/category-api.js

@@ -63,3 +63,3 @@ "use strict";

var _this = _super !== null && _super.apply(this, arguments) || this;
_this.endpoint = _this.RootEndpoint + "/categories?active=true";
_this.endpoint = _this.RootEndpoint + "/categories";
return _this;

@@ -70,3 +70,3 @@ }

return __generator(this, function (_a) {
return [2 /*return*/, axios_1.default.get(this.endpoint)];
return [2 /*return*/, axios_1.default.get(this.endpoint + "?active=true")];
});

@@ -73,0 +73,0 @@ });

{
"name": "vanilli-shop-client",
"version": "1.5.8",
"version": "1.5.9",
"description": "Client for Vanilli Shop API",

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

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

export default class CategoryApi extends RootApi {
private readonly endpoint = `${this.RootEndpoint}/categories?active=true`;
private readonly endpoint = `${this.RootEndpoint}/categories`;
async getCategories(): Promise<AxiosResponse> {
return Axios.get(this.endpoint);
return Axios.get(`${this.endpoint}?active=true`);
}

@@ -11,0 +11,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