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.8.3 to 1.8.4

1

dist/models/order.d.ts

@@ -18,2 +18,3 @@ import { ICustomerDto } from "./customer";

countryId?: number;
countryName?: string;
methodId?: number;

@@ -20,0 +21,0 @@ address?: string;

5

dist/stores/order-store.js

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

OrderStore.prototype.initOrder = function (order) {
var _a, _b, _c, _d;
var _a, _b, _c, _d, _e;
var rootStore = this.rootStore;

@@ -163,3 +163,4 @@ var shippingStore = rootStore.shippingStore;

order.shipping.countryId = (_c = rootStore.countryStore.selectedCountry) === null || _c === void 0 ? void 0 : _c.id;
order.shipping.methodId = (_d = shippingStore.selectedMethod) === null || _d === void 0 ? void 0 : _d.methodId;
order.shipping.countryName = (_d = rootStore.countryStore.selectedCountry) === null || _d === void 0 ? void 0 : _d.name;
order.shipping.methodId = (_e = shippingStore.selectedMethod) === null || _e === void 0 ? void 0 : _e.methodId;
order.shipping.pickupPoint = shippingStore.selectedPickupPoint;

@@ -166,0 +167,0 @@ order.items = rootStore.cartStore.cartItems.map(function (item) {

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

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

@@ -21,2 +21,3 @@ import {ICustomerDto} from "./customer";

countryId?: number,
countryName?: string,
methodId?: number,

@@ -23,0 +24,0 @@ address?: string,

@@ -81,2 +81,3 @@ import BaseStore from "./base-store";

order.shipping.countryId = rootStore.countryStore.selectedCountry?.id;
order.shipping.countryName = rootStore.countryStore.selectedCountry?.name;
order.shipping.methodId = shippingStore.selectedMethod?.methodId;

@@ -83,0 +84,0 @@ order.shipping.pickupPoint = shippingStore.selectedPickupPoint;

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