ggez-banking-sdk 0.0.26 → 0.0.27

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.
@@ -104,7 +104,7 @@ const useAuth = (baseUrl, nodeUrl, userInfo, tokenData, programId, geoCoordinate
104
104
  let headers = headerConfig(headersData);
105
105
  try {
106
106
  const response = yield restApi_1.default.restApi(baseUrl, "POST", "oauth/token", headers, data);
107
- if (response.data.result === "success" && response.data.access_token) {
107
+ if (response.data.access_token) {
108
108
  return {
109
109
  response: response,
110
110
  newUser: {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ggez-banking-sdk",
3
- "version": "0.0.26",
3
+ "version": "0.0.27",
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",