@artisan-commerce/analytics-web 0.2.0-canary.69 → 0.2.0-canary.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,15 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.2.0-canary.70](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/analytics-web@0.2.0-canary.69...@artisan-commerce/analytics-web@0.2.0-canary.70) (2022-04-11)
7
+
8
+
9
+ ### Features
10
+
11
+ * **builders:** make the builders's additionalInfo generic ([7b6e974](https://bitbucket.org/tradesystem/artisn_sdk/commit/7b6e97435a09d39b01727aa81c703cbbaf3bfecb))
12
+
13
+
14
+
6
15
  ## [0.2.0-canary.69](https://bitbucket.org/tradesystem/artisn_sdk/compare/@artisan-commerce/analytics-web@0.2.0-canary.68...@artisan-commerce/analytics-web@0.2.0-canary.69) (2022-04-05)
7
16
 
8
17
  **Note:** Version bump only for package @artisan-commerce/analytics-web
@@ -39,7 +39,7 @@ const getState$2 = () => {
39
39
 
40
40
  var name = "@artisan-commerce/analytics-web";
41
41
  var description = "Artisn commerce analytics web library";
42
- var version = "0.2.0-canary.68";
42
+ var version = "0.2.0-canary.69";
43
43
  var main = "./dist/bundle.cjs.js";
44
44
  var module$1 = "./dist/bundle.esm.js";
45
45
  var types = "./dist/bundle.d.ts";
@@ -80,9 +80,9 @@ var dependencies = {
80
80
  "snake-case": "^3.0.4"
81
81
  };
82
82
  var devDependencies = {
83
- "@artisan-commerce/products": "0.9.0-canary.42",
84
- "@artisan-commerce/shopping-cart": "0.12.0-canary.65",
85
- "@artisan-commerce/types": "0.14.0-canary.33"
83
+ "@artisan-commerce/products": "0.9.0-canary.43",
84
+ "@artisan-commerce/shopping-cart": "0.12.0-canary.66",
85
+ "@artisan-commerce/types": "0.14.0-canary.34"
86
86
  };
87
87
  var peerDependencies = {
88
88
  "@artisan-commerce/products": "*",
@@ -14014,11 +14014,11 @@ var __spreadValues = (a, b) => {
14014
14014
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
14015
14015
  const updateActiveVendor = (vendor) => {
14016
14016
  const vendorType = typeof vendor;
14017
- if (vendorType !== "number" && vendorType !== "object" && vendorType !== "undefined") {
14018
- return logMessage("The type of vendor must be a number or Vendor type", "severe");
14017
+ if (vendorType !== "string" && vendor !== -1 && vendorType !== "object" && vendorType !== "undefined") {
14018
+ return logMessage("The type of vendor must be a string, -1 or Vendor type", "severe");
14019
14019
  }
14020
14020
  const oldState = getState$1();
14021
- if (typeof vendor === "number" || typeof vendor === "undefined") {
14021
+ if (typeof vendor === "string" || typeof vendor === "undefined" || vendor === -1) {
14022
14022
  setState(__spreadProps(__spreadValues({}, oldState), {
14023
14023
  activeVendor: vendor,
14024
14024
  meta: __spreadProps(__spreadValues({}, oldState.meta), { vendorName: void 0, vendorId: vendor })