@pintahub/shopify-api 2.3.9 → 2.4.0

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.
@@ -11,15 +11,15 @@ const customers_1 = require("./storefront/customers");
11
11
  class StorefrontAPI {
12
12
  constructor(options) {
13
13
  this.options = options;
14
- this.client = this._createClient('2023-10');
14
+ this.client = this._createClient('2025-10');
15
15
  this.page = new pages_1.PageAPI(this.client);
16
16
  this.shop = new shop_1.ShopAPI(this.client);
17
17
  this.product = new products_1.ProductAPI(this.client);
18
18
  this.cart = new cart_1.CartAPI(this.client);
19
19
  this.posts = new posts_1.PostsAPI(this.client);
20
- this.customers = new customers_1.CustomersAPI(this._createClient('2024-10'));
20
+ this.customers = new customers_1.CustomersAPI(this._createClient('2025-10'));
21
21
  }
22
- _createClient(version = '2023-10') {
22
+ _createClient(version = '2025-10') {
23
23
  const { shop, accessToken } = this.options;
24
24
  return (0, storefront_api_client_1.createStorefrontApiClient)({
25
25
  storeDomain: shop,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pintahub/shopify-api",
3
- "version": "2.3.9",
3
+ "version": "2.4.0",
4
4
  "description": "",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",