fix: Images.Variants is an array of ImageType objects.

This commit is contained in:
David Ball 2024-08-05 19:33:23 -04:00
parent 9aaeaa9979
commit 41843f35e7
3 changed files with 4 additions and 4 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "amazon-pa-api5-node-ts", "name": "amazon-pa-api5-node-ts",
"version": "2.1.7", "version": "2.1.8",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "amazon-pa-api5-node-ts", "name": "amazon-pa-api5-node-ts",
"version": "2.1.7", "version": "2.1.8",
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"superagent": "^9.0.0" "superagent": "^9.0.0"

View File

@ -1,6 +1,6 @@
{ {
"name": "amazon-pa-api5-node-ts", "name": "amazon-pa-api5-node-ts",
"version": "2.1.7", "version": "2.1.8",
"description": "ProductAdvertisingAPI 5.0 NodeJS SDK rewritten in TypeScript.", "description": "ProductAdvertisingAPI 5.0 NodeJS SDK rewritten in TypeScript.",
"license": "Apache-2.0", "license": "Apache-2.0",
"main": "dist/src/index", "main": "dist/src/index",

View File

@ -43,7 +43,7 @@ export class Images {
/** /**
* @member {Array.<module:model/ImageType>} Variants * @member {Array.<module:model/ImageType>} Variants
*/ */
public Variants?: ImageType; public Variants?: ImageType[];
/** /**
* Constructs a <code>Images</code> from a plain JavaScript object, optionally creating a new instance. * Constructs a <code>Images</code> from a plain JavaScript object, optionally creating a new instance.