From 41843f35e7a4f2397ae085b67209bbdc0f5956e0 Mon Sep 17 00:00:00 2001 From: David Ball Date: Mon, 5 Aug 2024 19:33:23 -0400 Subject: [PATCH] fix: Images.Variants is an array of ImageType objects. --- package-lock.json | 4 ++-- package.json | 2 +- src/model/Images.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 0d7f084..40cfcbf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "amazon-pa-api5-node-ts", - "version": "2.1.7", + "version": "2.1.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "amazon-pa-api5-node-ts", - "version": "2.1.7", + "version": "2.1.8", "license": "Apache-2.0", "dependencies": { "superagent": "^9.0.0" diff --git a/package.json b/package.json index d1e37f5..ee5f522 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "amazon-pa-api5-node-ts", - "version": "2.1.7", + "version": "2.1.8", "description": "ProductAdvertisingAPI 5.0 NodeJS SDK rewritten in TypeScript.", "license": "Apache-2.0", "main": "dist/src/index", diff --git a/src/model/Images.ts b/src/model/Images.ts index e7ec41c..31d3a95 100644 --- a/src/model/Images.ts +++ b/src/model/Images.ts @@ -43,7 +43,7 @@ export class Images { /** * @member {Array.} Variants */ - public Variants?: ImageType; + public Variants?: ImageType[]; /** * Constructs a Images from a plain JavaScript object, optionally creating a new instance.