@pintahub/shopify-api 1.8.6 → 1.8.8
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.
- package/dist/classes/admin/products/AppendMedia.js +0 -1
- package/dist/classes/admin/products/CreateProductMedia.d.ts +1 -0
- package/dist/classes/admin/products/GetProduct.js +3 -3
- package/dist/classes/storefront/products/GetProduct.js +2 -2
- package/dist/utils/handleErrors.js +1 -1
- package/package.json +2 -1
|
@@ -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>;
|
|
@@ -29,7 +29,7 @@ class GetProduct extends ActionBuilder_1.ActionBuilder {
|
|
|
29
29
|
featuredImage {
|
|
30
30
|
id
|
|
31
31
|
altText
|
|
32
|
-
url
|
|
32
|
+
url
|
|
33
33
|
width
|
|
34
34
|
height
|
|
35
35
|
}
|
|
@@ -66,10 +66,10 @@ class GetProduct extends ActionBuilder_1.ActionBuilder {
|
|
|
66
66
|
type
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
images(first:
|
|
69
|
+
images(first: 100) {
|
|
70
70
|
nodes {
|
|
71
71
|
id
|
|
72
|
-
url
|
|
72
|
+
url
|
|
73
73
|
height
|
|
74
74
|
altText
|
|
75
75
|
width
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pintahub/shopify-api",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.8",
|
|
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": {
|