ggez-banking-sdk 0.0.25 → 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.
@@ -21,7 +21,7 @@ declare const Helper: (userInfo: any) => {
21
21
  dataSignInDeviceEncoded: (values: LoginDeviceCredentialInterface, programId: string) => string;
22
22
  dataSignInUrlEncodedWithGoogle: (values: LoginWithGoogleInterface, programId: string) => string;
23
23
  dataTokenUrlEncoded: (values: LimitedTokenInterface) => {
24
- installation_id: string;
24
+ installationId: string;
25
25
  };
26
26
  };
27
27
  };
@@ -243,7 +243,7 @@ const Helper = (userInfo) => {
243
243
  };
244
244
  const dataTokenUrlEncoded = (values) => {
245
245
  const data = {
246
- installation_id: values.installationId,
246
+ installationId: values.installationId,
247
247
  };
248
248
  return data;
249
249
  };
@@ -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.25",
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",