@pintahub/shopify-api 1.8.6 → 1.8.7

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.
@@ -35,7 +35,6 @@ class AppendMedia extends ActionBuilder_1.ActionBuilder {
35
35
  };
36
36
  })
37
37
  };
38
- console.log('args', JSON.stringify(newArgs, null, 2));
39
38
  const { data, errors } = yield this.client.request(query, {
40
39
  variables: newArgs
41
40
  });
@@ -10,6 +10,7 @@ export interface CreateProductMediaInput extends Record<string, any> {
10
10
  media: Array<MediaObject>;
11
11
  }
12
12
  export interface CreateProductMediaOutput extends Record<string, any> {
13
+ media: Array<Record<string, any>>;
13
14
  }
14
15
  export declare class CreateProductMedia extends ActionBuilder<AdminApiClient, CreateProductMediaInput, CreateProductMediaOutput> {
15
16
  run(args: CreateProductMediaInput): Promise<CreateProductMediaOutput>;
@@ -24,7 +24,7 @@ const handleErrors = (errors) => __awaiter(void 0, void 0, void 0, function* ()
24
24
  }
25
25
  }
26
26
  }
27
- console.log('errors', errors);
27
+ // console.log('errors', errors)
28
28
  if (message) {
29
29
  throw new Error(message);
30
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pintahub/shopify-api",
3
- "version": "1.8.6",
3
+ "version": "1.8.7",
4
4
  "description": "",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
@@ -11,6 +11,7 @@
11
11
  "devDependencies": {
12
12
  "@types/bluebird": "^3.5.42",
13
13
  "@types/node": "^20.10.4",
14
+ "bluebird": "^3.7.2",
14
15
  "dotenv": "^16.3.1"
15
16
  },
16
17
  "dependencies": {