ggez-banking-sdk 0.0.73 → 0.0.74

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.
@@ -237,7 +237,7 @@ const useAuth = (baseUrl, nodeUrl, userInfo, tokenData, programId, geoCoordinate
237
237
  header: false,
238
238
  };
239
239
  let headers = headerConfig(headersData);
240
- const response = await restApi_1.default.restApi(nodeUrl, "get", "/api/promotion/" + promotionCode, headers);
240
+ const response = await restApi_1.default.restApi(nodeUrl, "get", "api/promotion/" + promotionCode, headers);
241
241
  return {
242
242
  response: response,
243
243
  newUser: null,
@@ -265,7 +265,7 @@ const useAuth = (baseUrl, nodeUrl, userInfo, tokenData, programId, geoCoordinate
265
265
  header: false,
266
266
  };
267
267
  let headers = headerConfig(headersData);
268
- const response = await restApi_1.default.restApi(nodeUrl, "put", "/api/promotion", headers, data);
268
+ const response = await restApi_1.default.restApi(nodeUrl, "put", "api/promotion", headers, data);
269
269
  return {
270
270
  response: response,
271
271
  newUser: null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ggez-banking-sdk",
3
- "version": "0.0.73",
3
+ "version": "0.0.74",
4
4
  "description": "A Node.js package to handle GGEZ Banking API endpoints, Simplify the process of managing CRUD operations with this efficient and easy-to-use package.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",