@pintahub/shopify-api 2.1.0 → 2.1.1
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/AdminAPI.js +1 -1
- package/package.json +1 -1
package/dist/classes/AdminAPI.js
CHANGED
|
@@ -20,7 +20,6 @@ class AdminAPI {
|
|
|
20
20
|
if (legacy) {
|
|
21
21
|
this.client = this._createClient();
|
|
22
22
|
this.product = new products_1.AdminProductAPI(this.client);
|
|
23
|
-
this.metaobject = new metaobjects_1.AdminMetaObjectAPI(this.client);
|
|
24
23
|
this.order = new orders_1.AdminOrderAPI(this.client);
|
|
25
24
|
}
|
|
26
25
|
this.menus = new menus_1.AdminMenuAPI(this._createClient('2024-10'));
|
|
@@ -28,6 +27,7 @@ class AdminAPI {
|
|
|
28
27
|
this.customers = new customers_1.AdminCustomersAPI(this._createClient('2024-10'));
|
|
29
28
|
this.collections = new collections_1.AdminCollectionAPI(this._createClient('2024-10'));
|
|
30
29
|
this.files = new files_1.AdminFileAPI(this._createClient('2024-10'));
|
|
30
|
+
this.metaobject = new metaobjects_1.AdminMetaObjectAPI(this._createClient('2024-10'));
|
|
31
31
|
}
|
|
32
32
|
_createClient(apiVersion = '2023-10') {
|
|
33
33
|
const { shop, accessToken } = this.options;
|