@dotdev/apparel21-sdk
Advanced tools
Comparing version 0.0.70 to 0.0.71
import { Product, ProductSimple, ProductColourNote } from '../common/types'; | ||
export declare const formatProducts: (products: any[], referenceTypes?: never[]) => Product[]; | ||
export declare const formatProductsSimple: (products: any[]) => ProductSimple[]; | ||
export declare const formatProductsSimple: (products?: any[]) => ProductSimple[]; | ||
export declare const formatProductColourNotes: (colourNotes: any[]) => ProductColourNote[]; |
@@ -114,3 +114,3 @@ "use strict"; | ||
})); | ||
exports.formatProductsSimple = (products) => products.map((product) => ({ | ||
exports.formatProductsSimple = (products = []) => products.map((product) => ({ | ||
id: parseInt(product.Id[0], 10), | ||
@@ -117,0 +117,0 @@ productCode: parseInt(product.Code[0], 10), |
{ | ||
"name": "@dotdev/apparel21-sdk", | ||
"version": "0.0.70", | ||
"version": "0.0.71", | ||
"license": "UNLICENSED", | ||
@@ -5,0 +5,0 @@ "description": "Apparel21 Interface Library", |
Sorry, the diff of this file is not supported yet
215259