@artisan-commerce/products 0.8.2 → 0.8.3-canary.0

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,14 @@
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.8.3-canary.0](https://bitbucket.org/tradesystem/artisan_sdk/compare/@artisan-commerce/products@0.8.2...@artisan-commerce/products@0.8.3-canary.0) (2021-07-30)
7
+
8
+ **Note:** Version bump only for package @artisan-commerce/products
9
+
10
+
11
+
12
+
13
+
6
14
  ### [0.8.2](https://bitbucket.org/tradesystem/artisan_sdk/compare/@artisan-commerce/products@0.8.2-canary.18...@artisan-commerce/products@0.8.2) (2021-07-30)
7
15
 
8
16
  **Note:** Version bump only for package @artisan-commerce/products
@@ -1,3 +1,21 @@
1
- import { RegisterModifiersForm } from "./registerModifiersForm.types";
2
- export declare const registerModifiersForm: RegisterModifiersForm;
3
- export declare const unsuscriber: (productId: string) => void;
1
+ import { Product } from "@artisan-commerce/types";
2
+ import { ModifiersFormCallback } from "./registerModifiersForm.types";
3
+ import { ModifiersFormUnsuscriber } from "./registerModifiersForm.types";
4
+ /**
5
+ * Creates a product modifiers form listener that handles the input change
6
+ * events automatically.
7
+ *
8
+ * @param {Product} product The product that will be listened
9
+ * @param {ModifiersFormCallback} callback Returns a snapshot of the current
10
+ * state of the form
11
+ * @returns {ModifiersFormUnsuscriber} Returns a function that when called it
12
+ * stops listening to the form
13
+ */
14
+ export declare const registerModifiersForm: (product: Product, callback: ModifiersFormCallback) => ModifiersFormUnsuscriber;
15
+ /**
16
+ * Function that when called it stops listening to the form.
17
+ *
18
+ * @param {string} productId The id of the product that will be deleted from the
19
+ * form
20
+ */
21
+ export declare const unsuscriber: (productId: Product["productId"]) => void;
@@ -1,4 +1,4 @@
1
- import { CartProduct, Product } from "@artisan-commerce/types";
1
+ import { CartProduct } from "@artisan-commerce/types";
2
2
  import { ValidateRenderer } from "../validateProduct/validateProduct.types";
3
3
  import { ModifierTypes, RendererStatus } from "../../types/modifiers.types";
4
4
  import { ModifierGroupRenderer } from "../../types/modifiers.types";
@@ -14,7 +14,6 @@ export interface ModifiersFormInternal extends ModifiersForm {
14
14
  export declare type ModifiersFormCallback = (form: ModifiersForm) => void;
15
15
  export declare type ModifiersFormUnsuscriber = () => void;
16
16
  export declare type HandleChangeFunction = (amount: number) => void;
17
- export declare type RegisterModifiersForm = (product: Product, callback: ModifiersFormCallback) => ModifiersFormUnsuscriber;
18
17
  export interface BuildModifierRendererConfig {
19
18
  rootId: string;
20
19
  min: number;
package/build/report.json CHANGED
@@ -1 +1 @@
1
- [{"label":"main.bundle.js","isAsset":true,"statSize":195953,"parsedSize":98840,"gzipSize":18618,"groups":[{"label":"state/build","path":"./state/build","statSize":1789,"groups":[{"id":0,"label":"main.bundle.js","path":"./state/build/main.bundle.js","statSize":1789,"parsedSize":1589,"gzipSize":701}],"parsedSize":1589,"gzipSize":701},{"label":"cache/build","path":"./cache/build","statSize":31467,"groups":[{"id":1,"label":"main.bundle.js","path":"./cache/build/main.bundle.js","statSize":31467,"parsedSize":31171,"gzipSize":9682}],"parsedSize":31171,"gzipSize":9682},{"label":"home/circleci/repo/node_modules","path":"./home/circleci/repo/node_modules","statSize":60750,"groups":[{"label":"charenc","path":"./home/circleci/repo/node_modules/charenc","statSize":850,"groups":[{"id":2,"label":"charenc.js","path":"./home/circleci/repo/node_modules/charenc/charenc.js","statSize":850,"parsedSize":426,"gzipSize":231}],"parsedSize":426,"gzipSize":231},{"label":"sha1","path":"./home/circleci/repo/node_modules/sha1","statSize":2124,"groups":[{"id":3,"label":"sha1.js","path":"./home/circleci/repo/node_modules/sha1/sha1.js","statSize":2124,"parsedSize":946,"gzipSize":624}],"parsedSize":946,"gzipSize":624},{"label":"node-libs-browser/node_modules/buffer","path":"./home/circleci/repo/node_modules/node-libs-browser/node_modules/buffer","statSize":48590,"groups":[{"id":5,"label":"index.js","path":"./home/circleci/repo/node_modules/node-libs-browser/node_modules/buffer/index.js","statSize":48590,"parsedSize":19823,"gzipSize":5835}],"parsedSize":19823,"gzipSize":5835},{"label":"base64-js","path":"./home/circleci/repo/node_modules/base64-js","statSize":3932,"groups":[{"id":7,"label":"index.js","path":"./home/circleci/repo/node_modules/base64-js/index.js","statSize":3932,"parsedSize":1406,"gzipSize":744}],"parsedSize":1406,"gzipSize":744},{"label":"ieee754","path":"./home/circleci/repo/node_modules/ieee754","statSize":2154,"groups":[{"id":8,"label":"index.js","path":"./home/circleci/repo/node_modules/ieee754/index.js","statSize":2154,"parsedSize":972,"gzipSize":573}],"parsedSize":972,"gzipSize":573},{"label":"isarray","path":"./home/circleci/repo/node_modules/isarray","statSize":132,"groups":[{"id":9,"label":"index.js","path":"./home/circleci/repo/node_modules/isarray/index.js","statSize":132,"parsedSize":104,"gzipSize":109}],"parsedSize":104,"gzipSize":109},{"label":"crypt","path":"./home/circleci/repo/node_modules/crypt","statSize":2968,"groups":[{"id":10,"label":"crypt.js","path":"./home/circleci/repo/node_modules/crypt/crypt.js","statSize":2968,"parsedSize":1273,"gzipSize":646}],"parsedSize":1273,"gzipSize":646}],"parsedSize":24950,"gzipSize":7900},{"label":"auth/build","path":"./auth/build","statSize":1417,"groups":[{"id":4,"label":"main.bundle.js","path":"./auth/build/main.bundle.js","statSize":1417,"parsedSize":1220,"gzipSize":542}],"parsedSize":1220,"gzipSize":542},{"label":"buildin","path":"./buildin","statSize":472,"groups":[{"id":6,"label":"global.js","path":"./buildin/global.js","statSize":472,"parsedSize":144,"gzipSize":129}],"parsedSize":144,"gzipSize":129},{"label":"src","path":"./src","statSize":100058,"groups":[{"id":12,"label":"index.ts + 31 modules (concatenated)","path":"./src/index.ts + 31 modules (concatenated)","statSize":100058,"parsedSize":38597,"gzipSize":8399,"concatenated":true,"groups":[{"label":"src","path":"./src/index.ts + 31 modules (concatenated)/src","statSize":100038,"groups":[{"id":null,"label":"index.ts","path":"./src/index.ts + 31 modules (concatenated)/src/index.ts","statSize":1062,"parsedSize":409,"gzipSize":89,"inaccurateSizes":true},{"label":"utils","path":"./src/index.ts + 31 modules (concatenated)/src/utils","statSize":64659,"groups":[{"label":"assertions","path":"./src/index.ts + 31 modules (concatenated)/src/utils/assertions","statSize":2866,"groups":[{"id":null,"label":"assertions.utils.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/assertions/assertions.utils.ts","statSize":2866,"parsedSize":1105,"gzipSize":240,"inaccurateSizes":true}],"parsedSize":1105,"gzipSize":240,"inaccurateSizes":true},{"label":"questionsAndAnswers","path":"./src/index.ts + 31 modules (concatenated)/src/utils/questionsAndAnswers","statSize":1822,"groups":[{"id":null,"label":"questionsAndAnswers.utils.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/questionsAndAnswers/questionsAndAnswers.utils.ts","statSize":1822,"parsedSize":702,"gzipSize":152,"inaccurateSizes":true}],"parsedSize":702,"gzipSize":152,"inaccurateSizes":true},{"label":"transformers","path":"./src/index.ts + 31 modules (concatenated)/src/utils/transformers","statSize":7489,"groups":[{"id":null,"label":"transformers.utils.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/transformers/transformers.utils.ts","statSize":6538,"parsedSize":2522,"gzipSize":548,"inaccurateSizes":true},{"id":null,"label":"api.transformer.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/transformers/api.transformer.ts","statSize":951,"parsedSize":366,"gzipSize":79,"inaccurateSizes":true}],"parsedSize":2888,"gzipSize":628,"inaccurateSizes":true},{"label":"caculations","path":"./src/index.ts + 31 modules (concatenated)/src/utils/caculations","statSize":4693,"groups":[{"id":null,"label":"calculations.utils.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/caculations/calculations.utils.ts","statSize":4693,"parsedSize":1810,"gzipSize":393,"inaccurateSizes":true}],"parsedSize":1810,"gzipSize":393,"inaccurateSizes":true},{"id":null,"label":"common.utils.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/common.utils.ts","statSize":383,"parsedSize":147,"gzipSize":32,"inaccurateSizes":true},{"label":"modifiers","path":"./src/index.ts + 31 modules (concatenated)/src/utils/modifiers","statSize":25665,"groups":[{"id":null,"label":"common.utils.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/modifiers/common.utils.ts","statSize":7654,"parsedSize":2952,"gzipSize":642,"inaccurateSizes":true},{"id":null,"label":"updateRenderer.utils.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/modifiers/updateRenderer.utils.ts","statSize":5469,"parsedSize":2109,"gzipSize":459,"inaccurateSizes":true},{"id":null,"label":"form.utils.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/modifiers/form.utils.ts","statSize":2534,"parsedSize":977,"gzipSize":212,"inaccurateSizes":true},{"id":null,"label":"rendererTraversal.utils.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/modifiers/rendererTraversal.utils.ts","statSize":2970,"parsedSize":1145,"gzipSize":249,"inaccurateSizes":true},{"id":null,"label":"renderer.utils.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/modifiers/renderer.utils.ts","statSize":5132,"parsedSize":1979,"gzipSize":430,"inaccurateSizes":true},{"id":null,"label":"handleChange.utils.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/modifiers/handleChange.utils.ts","statSize":1906,"parsedSize":735,"gzipSize":159,"inaccurateSizes":true}],"parsedSize":9900,"gzipSize":2154,"inaccurateSizes":true},{"label":"http","path":"./src/index.ts + 31 modules (concatenated)/src/utils/http","statSize":15385,"groups":[{"id":null,"label":"http.utils.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/http/http.utils.ts","statSize":4637,"parsedSize":1788,"gzipSize":389,"inaccurateSizes":true},{"id":null,"label":"purge.utils.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/http/purge.utils.ts","statSize":5967,"parsedSize":2301,"gzipSize":500,"inaccurateSizes":true},{"id":null,"label":"request.utils.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/http/request.utils.ts","statSize":4781,"parsedSize":1844,"gzipSize":401,"inaccurateSizes":true}],"parsedSize":5934,"gzipSize":1291,"inaccurateSizes":true},{"id":null,"label":"services.utils.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/services.utils.ts","statSize":6258,"parsedSize":2414,"gzipSize":525,"inaccurateSizes":true},{"label":"state","path":"./src/index.ts + 31 modules (concatenated)/src/utils/state","statSize":98,"groups":[{"id":null,"label":"state.utils.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/state/state.utils.ts","statSize":98,"parsedSize":37,"gzipSize":8,"inaccurateSizes":true}],"parsedSize":37,"gzipSize":8,"inaccurateSizes":true}],"parsedSize":24941,"gzipSize":5427,"inaccurateSizes":true},{"label":"lib","path":"./src/index.ts + 31 modules (concatenated)/src/lib","statSize":22478,"groups":[{"label":"getCategories","path":"./src/index.ts + 31 modules (concatenated)/src/lib/getCategories","statSize":109,"groups":[{"id":null,"label":"getCategories.ts","path":"./src/index.ts + 31 modules (concatenated)/src/lib/getCategories/getCategories.ts","statSize":109,"parsedSize":42,"gzipSize":9,"inaccurateSizes":true}],"parsedSize":42,"gzipSize":9,"inaccurateSizes":true},{"label":"getProductDetails","path":"./src/index.ts + 31 modules (concatenated)/src/lib/getProductDetails","statSize":4989,"groups":[{"id":null,"label":"getProductDetails.ts","path":"./src/index.ts + 31 modules (concatenated)/src/lib/getProductDetails/getProductDetails.ts","statSize":4989,"parsedSize":1924,"gzipSize":418,"inaccurateSizes":true}],"parsedSize":1924,"gzipSize":418,"inaccurateSizes":true},{"label":"getProducts","path":"./src/index.ts + 31 modules (concatenated)/src/lib/getProducts","statSize":4084,"groups":[{"id":null,"label":"getProducts.ts","path":"./src/index.ts + 31 modules (concatenated)/src/lib/getProducts/getProducts.ts","statSize":4084,"parsedSize":1575,"gzipSize":342,"inaccurateSizes":true}],"parsedSize":1575,"gzipSize":342,"inaccurateSizes":true},{"label":"getRecommendedProducts","path":"./src/index.ts + 31 modules (concatenated)/src/lib/getRecommendedProducts","statSize":129,"groups":[{"id":null,"label":"getRecommendedProducts.ts","path":"./src/index.ts + 31 modules (concatenated)/src/lib/getRecommendedProducts/getRecommendedProducts.ts","statSize":129,"parsedSize":49,"gzipSize":10,"inaccurateSizes":true}],"parsedSize":49,"gzipSize":10,"inaccurateSizes":true},{"label":"getRelatedProducts","path":"./src/index.ts + 31 modules (concatenated)/src/lib/getRelatedProducts","statSize":121,"groups":[{"id":null,"label":"getRelatedProducts.ts","path":"./src/index.ts + 31 modules (concatenated)/src/lib/getRelatedProducts/getRelatedProducts.ts","statSize":121,"parsedSize":46,"gzipSize":10,"inaccurateSizes":true}],"parsedSize":46,"gzipSize":10,"inaccurateSizes":true},{"label":"getStoreDetails","path":"./src/index.ts + 31 modules (concatenated)/src/lib/getStoreDetails","statSize":4245,"groups":[{"id":null,"label":"getStoreDetails.ts","path":"./src/index.ts + 31 modules (concatenated)/src/lib/getStoreDetails/getStoreDetails.ts","statSize":4245,"parsedSize":1637,"gzipSize":356,"inaccurateSizes":true}],"parsedSize":1637,"gzipSize":356,"inaccurateSizes":true},{"label":"registerModifiersForm","path":"./src/index.ts + 31 modules (concatenated)/src/lib/registerModifiersForm","statSize":2993,"groups":[{"id":null,"label":"registerModifiersForm.ts","path":"./src/index.ts + 31 modules (concatenated)/src/lib/registerModifiersForm/registerModifiersForm.ts","statSize":2993,"parsedSize":1154,"gzipSize":251,"inaccurateSizes":true}],"parsedSize":1154,"gzipSize":251,"inaccurateSizes":true},{"label":"validateProduct","path":"./src/index.ts + 31 modules (concatenated)/src/lib/validateProduct","statSize":4085,"groups":[{"id":null,"label":"validateProduct.ts","path":"./src/index.ts + 31 modules (concatenated)/src/lib/validateProduct/validateProduct.ts","statSize":4085,"parsedSize":1575,"gzipSize":342,"inaccurateSizes":true}],"parsedSize":1575,"gzipSize":342,"inaccurateSizes":true},{"label":"initProducts","path":"./src/index.ts + 31 modules (concatenated)/src/lib/initProducts","statSize":1723,"groups":[{"id":null,"label":"initProducts.ts","path":"./src/index.ts + 31 modules (concatenated)/src/lib/initProducts/initProducts.ts","statSize":1723,"parsedSize":664,"gzipSize":144,"inaccurateSizes":true}],"parsedSize":664,"gzipSize":144,"inaccurateSizes":true}],"parsedSize":8670,"gzipSize":1886,"inaccurateSizes":true},{"label":"services","path":"./src/index.ts + 31 modules (concatenated)/src/services","statSize":8566,"groups":[{"label":"fetchProductDetails","path":"./src/index.ts + 31 modules (concatenated)/src/services/fetchProductDetails","statSize":2858,"groups":[{"id":null,"label":"fetchProductDetails.service.tsx","path":"./src/index.ts + 31 modules (concatenated)/src/services/fetchProductDetails/fetchProductDetails.service.tsx","statSize":2858,"parsedSize":1102,"gzipSize":239,"inaccurateSizes":true}],"parsedSize":1102,"gzipSize":239,"inaccurateSizes":true},{"label":"fetchProducts","path":"./src/index.ts + 31 modules (concatenated)/src/services/fetchProducts","statSize":2852,"groups":[{"id":null,"label":"fetchProducts.service.tsx","path":"./src/index.ts + 31 modules (concatenated)/src/services/fetchProducts/fetchProducts.service.tsx","statSize":2852,"parsedSize":1100,"gzipSize":239,"inaccurateSizes":true}],"parsedSize":1100,"gzipSize":239,"inaccurateSizes":true},{"label":"fetchStoreDetails","path":"./src/index.ts + 31 modules (concatenated)/src/services/fetchStoreDetails","statSize":2856,"groups":[{"id":null,"label":"fetchStoreDetails.service.tsx","path":"./src/index.ts + 31 modules (concatenated)/src/services/fetchStoreDetails/fetchStoreDetails.service.tsx","statSize":2856,"parsedSize":1101,"gzipSize":239,"inaccurateSizes":true}],"parsedSize":1101,"gzipSize":239,"inaccurateSizes":true}],"parsedSize":3304,"gzipSize":719,"inaccurateSizes":true},{"label":"errors","path":"./src/index.ts + 31 modules (concatenated)/src/errors","statSize":2427,"groups":[{"id":null,"label":"api.errors.ts","path":"./src/index.ts + 31 modules (concatenated)/src/errors/api.errors.ts","statSize":2427,"parsedSize":936,"gzipSize":203,"inaccurateSizes":true}],"parsedSize":936,"gzipSize":203,"inaccurateSizes":true},{"label":"config","path":"./src/index.ts + 31 modules (concatenated)/src/config","statSize":846,"groups":[{"id":null,"label":"constants.ts","path":"./src/index.ts + 31 modules (concatenated)/src/config/constants.ts","statSize":846,"parsedSize":326,"gzipSize":71,"inaccurateSizes":true}],"parsedSize":326,"gzipSize":71,"inaccurateSizes":true}],"parsedSize":38589,"gzipSize":8397,"inaccurateSizes":true}]}],"parsedSize":38597,"gzipSize":8399}]},{"label":"vendors.bundle.js","isAsset":true,"statSize":30,"parsedSize":1196,"gzipSize":540,"groups":[{"label":"src","path":"./src","statSize":30,"groups":[{"id":11,"label":"vendors.ts","path":"./src/vendors.ts","statSize":30,"parsedSize":36,"gzipSize":56}],"parsedSize":36,"gzipSize":56}]}]
1
+ [{"label":"main.bundle.js","isAsset":true,"statSize":196494,"parsedSize":98840,"gzipSize":18618,"groups":[{"label":"state/build","path":"./state/build","statSize":1789,"groups":[{"id":0,"label":"main.bundle.js","path":"./state/build/main.bundle.js","statSize":1789,"parsedSize":1589,"gzipSize":701}],"parsedSize":1589,"gzipSize":701},{"label":"cache/build","path":"./cache/build","statSize":31467,"groups":[{"id":1,"label":"main.bundle.js","path":"./cache/build/main.bundle.js","statSize":31467,"parsedSize":31171,"gzipSize":9682}],"parsedSize":31171,"gzipSize":9682},{"label":"home/circleci/repo/node_modules","path":"./home/circleci/repo/node_modules","statSize":60750,"groups":[{"label":"charenc","path":"./home/circleci/repo/node_modules/charenc","statSize":850,"groups":[{"id":2,"label":"charenc.js","path":"./home/circleci/repo/node_modules/charenc/charenc.js","statSize":850,"parsedSize":426,"gzipSize":231}],"parsedSize":426,"gzipSize":231},{"label":"sha1","path":"./home/circleci/repo/node_modules/sha1","statSize":2124,"groups":[{"id":3,"label":"sha1.js","path":"./home/circleci/repo/node_modules/sha1/sha1.js","statSize":2124,"parsedSize":946,"gzipSize":624}],"parsedSize":946,"gzipSize":624},{"label":"node-libs-browser/node_modules/buffer","path":"./home/circleci/repo/node_modules/node-libs-browser/node_modules/buffer","statSize":48590,"groups":[{"id":5,"label":"index.js","path":"./home/circleci/repo/node_modules/node-libs-browser/node_modules/buffer/index.js","statSize":48590,"parsedSize":19823,"gzipSize":5835}],"parsedSize":19823,"gzipSize":5835},{"label":"base64-js","path":"./home/circleci/repo/node_modules/base64-js","statSize":3932,"groups":[{"id":7,"label":"index.js","path":"./home/circleci/repo/node_modules/base64-js/index.js","statSize":3932,"parsedSize":1406,"gzipSize":744}],"parsedSize":1406,"gzipSize":744},{"label":"ieee754","path":"./home/circleci/repo/node_modules/ieee754","statSize":2154,"groups":[{"id":8,"label":"index.js","path":"./home/circleci/repo/node_modules/ieee754/index.js","statSize":2154,"parsedSize":972,"gzipSize":573}],"parsedSize":972,"gzipSize":573},{"label":"isarray","path":"./home/circleci/repo/node_modules/isarray","statSize":132,"groups":[{"id":9,"label":"index.js","path":"./home/circleci/repo/node_modules/isarray/index.js","statSize":132,"parsedSize":104,"gzipSize":109}],"parsedSize":104,"gzipSize":109},{"label":"crypt","path":"./home/circleci/repo/node_modules/crypt","statSize":2968,"groups":[{"id":10,"label":"crypt.js","path":"./home/circleci/repo/node_modules/crypt/crypt.js","statSize":2968,"parsedSize":1273,"gzipSize":646}],"parsedSize":1273,"gzipSize":646}],"parsedSize":24950,"gzipSize":7900},{"label":"auth/build","path":"./auth/build","statSize":1417,"groups":[{"id":4,"label":"main.bundle.js","path":"./auth/build/main.bundle.js","statSize":1417,"parsedSize":1220,"gzipSize":542}],"parsedSize":1220,"gzipSize":542},{"label":"buildin","path":"./buildin","statSize":472,"groups":[{"id":6,"label":"global.js","path":"./buildin/global.js","statSize":472,"parsedSize":144,"gzipSize":129}],"parsedSize":144,"gzipSize":129},{"label":"src","path":"./src","statSize":100599,"groups":[{"id":12,"label":"index.ts + 31 modules (concatenated)","path":"./src/index.ts + 31 modules (concatenated)","statSize":100599,"parsedSize":38597,"gzipSize":8399,"concatenated":true,"groups":[{"label":"src","path":"./src/index.ts + 31 modules (concatenated)/src","statSize":100579,"groups":[{"id":null,"label":"index.ts","path":"./src/index.ts + 31 modules (concatenated)/src/index.ts","statSize":1062,"parsedSize":407,"gzipSize":88,"inaccurateSizes":true},{"label":"utils","path":"./src/index.ts + 31 modules (concatenated)/src/utils","statSize":64659,"groups":[{"label":"assertions","path":"./src/index.ts + 31 modules (concatenated)/src/utils/assertions","statSize":2866,"groups":[{"id":null,"label":"assertions.utils.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/assertions/assertions.utils.ts","statSize":2866,"parsedSize":1099,"gzipSize":239,"inaccurateSizes":true}],"parsedSize":1099,"gzipSize":239,"inaccurateSizes":true},{"label":"questionsAndAnswers","path":"./src/index.ts + 31 modules (concatenated)/src/utils/questionsAndAnswers","statSize":1822,"groups":[{"id":null,"label":"questionsAndAnswers.utils.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/questionsAndAnswers/questionsAndAnswers.utils.ts","statSize":1822,"parsedSize":699,"gzipSize":152,"inaccurateSizes":true}],"parsedSize":699,"gzipSize":152,"inaccurateSizes":true},{"label":"transformers","path":"./src/index.ts + 31 modules (concatenated)/src/utils/transformers","statSize":7489,"groups":[{"id":null,"label":"transformers.utils.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/transformers/transformers.utils.ts","statSize":6538,"parsedSize":2508,"gzipSize":545,"inaccurateSizes":true},{"id":null,"label":"api.transformer.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/transformers/api.transformer.ts","statSize":951,"parsedSize":364,"gzipSize":79,"inaccurateSizes":true}],"parsedSize":2873,"gzipSize":625,"inaccurateSizes":true},{"label":"caculations","path":"./src/index.ts + 31 modules (concatenated)/src/utils/caculations","statSize":4693,"groups":[{"id":null,"label":"calculations.utils.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/caculations/calculations.utils.ts","statSize":4693,"parsedSize":1800,"gzipSize":391,"inaccurateSizes":true}],"parsedSize":1800,"gzipSize":391,"inaccurateSizes":true},{"id":null,"label":"common.utils.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/common.utils.ts","statSize":383,"parsedSize":146,"gzipSize":31,"inaccurateSizes":true},{"label":"modifiers","path":"./src/index.ts + 31 modules (concatenated)/src/utils/modifiers","statSize":25665,"groups":[{"id":null,"label":"common.utils.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/modifiers/common.utils.ts","statSize":7654,"parsedSize":2936,"gzipSize":639,"inaccurateSizes":true},{"id":null,"label":"updateRenderer.utils.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/modifiers/updateRenderer.utils.ts","statSize":5469,"parsedSize":2098,"gzipSize":456,"inaccurateSizes":true},{"id":null,"label":"form.utils.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/modifiers/form.utils.ts","statSize":2534,"parsedSize":972,"gzipSize":211,"inaccurateSizes":true},{"id":null,"label":"rendererTraversal.utils.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/modifiers/rendererTraversal.utils.ts","statSize":2970,"parsedSize":1139,"gzipSize":247,"inaccurateSizes":true},{"id":null,"label":"renderer.utils.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/modifiers/renderer.utils.ts","statSize":5132,"parsedSize":1969,"gzipSize":428,"inaccurateSizes":true},{"id":null,"label":"handleChange.utils.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/modifiers/handleChange.utils.ts","statSize":1906,"parsedSize":731,"gzipSize":159,"inaccurateSizes":true}],"parsedSize":9846,"gzipSize":2142,"inaccurateSizes":true},{"label":"http","path":"./src/index.ts + 31 modules (concatenated)/src/utils/http","statSize":15385,"groups":[{"id":null,"label":"http.utils.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/http/http.utils.ts","statSize":4637,"parsedSize":1779,"gzipSize":387,"inaccurateSizes":true},{"id":null,"label":"purge.utils.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/http/purge.utils.ts","statSize":5967,"parsedSize":2289,"gzipSize":498,"inaccurateSizes":true},{"id":null,"label":"request.utils.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/http/request.utils.ts","statSize":4781,"parsedSize":1834,"gzipSize":399,"inaccurateSizes":true}],"parsedSize":5902,"gzipSize":1284,"inaccurateSizes":true},{"id":null,"label":"services.utils.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/services.utils.ts","statSize":6258,"parsedSize":2401,"gzipSize":522,"inaccurateSizes":true},{"label":"state","path":"./src/index.ts + 31 modules (concatenated)/src/utils/state","statSize":98,"groups":[{"id":null,"label":"state.utils.ts","path":"./src/index.ts + 31 modules (concatenated)/src/utils/state/state.utils.ts","statSize":98,"parsedSize":37,"gzipSize":8,"inaccurateSizes":true}],"parsedSize":37,"gzipSize":8,"inaccurateSizes":true}],"parsedSize":24807,"gzipSize":5398,"inaccurateSizes":true},{"label":"lib","path":"./src/index.ts + 31 modules (concatenated)/src/lib","statSize":23019,"groups":[{"label":"getCategories","path":"./src/index.ts + 31 modules (concatenated)/src/lib/getCategories","statSize":109,"groups":[{"id":null,"label":"getCategories.ts","path":"./src/index.ts + 31 modules (concatenated)/src/lib/getCategories/getCategories.ts","statSize":109,"parsedSize":41,"gzipSize":9,"inaccurateSizes":true}],"parsedSize":41,"gzipSize":9,"inaccurateSizes":true},{"label":"getProductDetails","path":"./src/index.ts + 31 modules (concatenated)/src/lib/getProductDetails","statSize":4989,"groups":[{"id":null,"label":"getProductDetails.ts","path":"./src/index.ts + 31 modules (concatenated)/src/lib/getProductDetails/getProductDetails.ts","statSize":4989,"parsedSize":1914,"gzipSize":416,"inaccurateSizes":true}],"parsedSize":1914,"gzipSize":416,"inaccurateSizes":true},{"label":"getProducts","path":"./src/index.ts + 31 modules (concatenated)/src/lib/getProducts","statSize":4084,"groups":[{"id":null,"label":"getProducts.ts","path":"./src/index.ts + 31 modules (concatenated)/src/lib/getProducts/getProducts.ts","statSize":4084,"parsedSize":1566,"gzipSize":340,"inaccurateSizes":true}],"parsedSize":1566,"gzipSize":340,"inaccurateSizes":true},{"label":"getRecommendedProducts","path":"./src/index.ts + 31 modules (concatenated)/src/lib/getRecommendedProducts","statSize":129,"groups":[{"id":null,"label":"getRecommendedProducts.ts","path":"./src/index.ts + 31 modules (concatenated)/src/lib/getRecommendedProducts/getRecommendedProducts.ts","statSize":129,"parsedSize":49,"gzipSize":10,"inaccurateSizes":true}],"parsedSize":49,"gzipSize":10,"inaccurateSizes":true},{"label":"getRelatedProducts","path":"./src/index.ts + 31 modules (concatenated)/src/lib/getRelatedProducts","statSize":121,"groups":[{"id":null,"label":"getRelatedProducts.ts","path":"./src/index.ts + 31 modules (concatenated)/src/lib/getRelatedProducts/getRelatedProducts.ts","statSize":121,"parsedSize":46,"gzipSize":10,"inaccurateSizes":true}],"parsedSize":46,"gzipSize":10,"inaccurateSizes":true},{"label":"getStoreDetails","path":"./src/index.ts + 31 modules (concatenated)/src/lib/getStoreDetails","statSize":4245,"groups":[{"id":null,"label":"getStoreDetails.ts","path":"./src/index.ts + 31 modules (concatenated)/src/lib/getStoreDetails/getStoreDetails.ts","statSize":4245,"parsedSize":1628,"gzipSize":354,"inaccurateSizes":true}],"parsedSize":1628,"gzipSize":354,"inaccurateSizes":true},{"label":"registerModifiersForm","path":"./src/index.ts + 31 modules (concatenated)/src/lib/registerModifiersForm","statSize":3534,"groups":[{"id":null,"label":"registerModifiersForm.ts","path":"./src/index.ts + 31 modules (concatenated)/src/lib/registerModifiersForm/registerModifiersForm.ts","statSize":3534,"parsedSize":1355,"gzipSize":295,"inaccurateSizes":true}],"parsedSize":1355,"gzipSize":295,"inaccurateSizes":true},{"label":"validateProduct","path":"./src/index.ts + 31 modules (concatenated)/src/lib/validateProduct","statSize":4085,"groups":[{"id":null,"label":"validateProduct.ts","path":"./src/index.ts + 31 modules (concatenated)/src/lib/validateProduct/validateProduct.ts","statSize":4085,"parsedSize":1567,"gzipSize":341,"inaccurateSizes":true}],"parsedSize":1567,"gzipSize":341,"inaccurateSizes":true},{"label":"initProducts","path":"./src/index.ts + 31 modules (concatenated)/src/lib/initProducts","statSize":1723,"groups":[{"id":null,"label":"initProducts.ts","path":"./src/index.ts + 31 modules (concatenated)/src/lib/initProducts/initProducts.ts","statSize":1723,"parsedSize":661,"gzipSize":143,"inaccurateSizes":true}],"parsedSize":661,"gzipSize":143,"inaccurateSizes":true}],"parsedSize":8831,"gzipSize":1921,"inaccurateSizes":true},{"label":"services","path":"./src/index.ts + 31 modules (concatenated)/src/services","statSize":8566,"groups":[{"label":"fetchProductDetails","path":"./src/index.ts + 31 modules (concatenated)/src/services/fetchProductDetails","statSize":2858,"groups":[{"id":null,"label":"fetchProductDetails.service.tsx","path":"./src/index.ts + 31 modules (concatenated)/src/services/fetchProductDetails/fetchProductDetails.service.tsx","statSize":2858,"parsedSize":1096,"gzipSize":238,"inaccurateSizes":true}],"parsedSize":1096,"gzipSize":238,"inaccurateSizes":true},{"label":"fetchProducts","path":"./src/index.ts + 31 modules (concatenated)/src/services/fetchProducts","statSize":2852,"groups":[{"id":null,"label":"fetchProducts.service.tsx","path":"./src/index.ts + 31 modules (concatenated)/src/services/fetchProducts/fetchProducts.service.tsx","statSize":2852,"parsedSize":1094,"gzipSize":238,"inaccurateSizes":true}],"parsedSize":1094,"gzipSize":238,"inaccurateSizes":true},{"label":"fetchStoreDetails","path":"./src/index.ts + 31 modules (concatenated)/src/services/fetchStoreDetails","statSize":2856,"groups":[{"id":null,"label":"fetchStoreDetails.service.tsx","path":"./src/index.ts + 31 modules (concatenated)/src/services/fetchStoreDetails/fetchStoreDetails.service.tsx","statSize":2856,"parsedSize":1095,"gzipSize":238,"inaccurateSizes":true}],"parsedSize":1095,"gzipSize":238,"inaccurateSizes":true}],"parsedSize":3286,"gzipSize":715,"inaccurateSizes":true},{"label":"errors","path":"./src/index.ts + 31 modules (concatenated)/src/errors","statSize":2427,"groups":[{"id":null,"label":"api.errors.ts","path":"./src/index.ts + 31 modules (concatenated)/src/errors/api.errors.ts","statSize":2427,"parsedSize":931,"gzipSize":202,"inaccurateSizes":true}],"parsedSize":931,"gzipSize":202,"inaccurateSizes":true},{"label":"config","path":"./src/index.ts + 31 modules (concatenated)/src/config","statSize":846,"groups":[{"id":null,"label":"constants.ts","path":"./src/index.ts + 31 modules (concatenated)/src/config/constants.ts","statSize":846,"parsedSize":324,"gzipSize":70,"inaccurateSizes":true}],"parsedSize":324,"gzipSize":70,"inaccurateSizes":true}],"parsedSize":38589,"gzipSize":8397,"inaccurateSizes":true}]}],"parsedSize":38597,"gzipSize":8399}]},{"label":"vendors.bundle.js","isAsset":true,"statSize":30,"parsedSize":1196,"gzipSize":540,"groups":[{"label":"src","path":"./src","statSize":30,"groups":[{"id":11,"label":"vendors.ts","path":"./src/vendors.ts","statSize":30,"parsedSize":36,"gzipSize":56}],"parsedSize":36,"gzipSize":56}]}]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@artisan-commerce/products",
3
3
  "description": "Artisan's product management library",
4
- "version": "0.8.2",
4
+ "version": "0.8.3-canary.0",
5
5
  "main": "./build/main.bundle.js",
6
6
  "types": "./build/index.d.ts",
7
7
  "files": [
@@ -80,5 +80,5 @@
80
80
  "webpack-dev-server": "^3.11.0",
81
81
  "webpack-merge": "^5.0.9"
82
82
  },
83
- "gitHead": "67d5892dc7a40d6ba5f1c7bbbdf6423d97899ac3"
83
+ "gitHead": "5b4656619ff1761a33dfd4beafcbc4cb74eea6d0"
84
84
  }