@dotdev/apparel21-sdk
Advanced tools
Comparing version 0.0.23 to 0.0.24
@@ -5,2 +5,8 @@ # Changelog | ||
### [0.0.24](https://gitlab.com/dotdevv/packages/apparel21-sdk/compare/v0.0.23...v0.0.24) (2021-08-26) | ||
### Bug Fixes | ||
- only download colour references when colourReferences option provided ([f520053](https://gitlab.com/dotdevv/packages/apparel21-sdk/commit/f520053a4596dbbe0811e2363c1d65cd46e2ae1e)) | ||
### [0.0.23](https://gitlab.com/dotdevv/packages/apparel21-sdk/compare/v0.0.22...v0.0.23) (2021-08-26) | ||
@@ -7,0 +13,0 @@ |
@@ -77,3 +77,3 @@ "use strict"; | ||
// the colours, which is really slow but unavoidable | ||
if (this.client.versionLt('2021.2')) { | ||
if (options.colourReferences && this.client.versionLt('2021.2')) { | ||
Product.Clrs[0].Clr = await Promise.all(Product.Clrs[0].Clr.map(async (colour) => { | ||
@@ -80,0 +80,0 @@ const colourId = parseInt(colour.Id[0]); |
{ | ||
"name": "@dotdev/apparel21-sdk", | ||
"version": "0.0.23", | ||
"version": "0.0.24", | ||
"license": "UNLICENSED", | ||
@@ -5,0 +5,0 @@ "description": "Apparel21 Interface Library", |
Sorry, the diff of this file is not supported yet
208377