@longvansoftware/service-js-client 1.0.5 → 1.0.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.
@@ -22,9 +22,11 @@ class SDK {
22
22
  this.environment = environment;
23
23
  this.token = null;
24
24
  (0, helpers_1.validateStorefrontAccessToken)(storefrontAccessToken);
25
- const endpoints = environment == "live"
26
- ? config_1.environmentEndpoints.live
27
- : config_1.environmentEndpoints.dev;
25
+ console.log("environment", environment);
26
+ const endpoints = config_1.environmentEndpoints.live;
27
+ // environment == "live"
28
+ // ? environmentEndpoints.live
29
+ // : environmentEndpoints.dev;
28
30
  //console.log("🚀 ~ SDK ~ endpoints:", endpoints.computing);
29
31
  this.product = new index_1.ProductService(endpoints.product, orgId, storeId);
30
32
  this.auth = new index_2.AuthService(endpoints.auth, orgId, storeId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@longvansoftware/service-js-client",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "main": "dist/src/index.js",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "files": [