@be-link/ecommerce-client-backend-service-node-sdk 0.1.36 → 0.1.37

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/utils/http.js +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/ecommerce-client-backend-service-node-sdk",
3
- "version": "0.1.36",
3
+ "version": "0.1.37",
4
4
  "description": "EcommerceClientBackendService Node.js SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
package/utils/http.js CHANGED
@@ -97,6 +97,7 @@ async function callApi(url, request) {
97
97
  'x-belink-pandora-roleid': pandoraRoleId,
98
98
  'x-real-ip': realIp,
99
99
  Connection: 'keep-alive',
100
+ 'Content-Type': 'application/json;charset=utf-8',
100
101
  },
101
102
  timeout: HTTP_CONFIG.requestTimeout,
102
103
  httpAgent,