ggez-banking-sdk 0.0.14 → 0.0.15

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,6 +22,7 @@ declare const Helper: (userInfo: any) => {
22
22
  dataSignInUrlEncodedWithGoogle: (values: LoginWithGoogleInterface, programId: string) => string;
23
23
  dataTokenUrlEncoded: (values: LimitedTokenInterface) => {
24
24
  installation_id: string;
25
+ generate_jwt: boolean;
25
26
  };
26
27
  };
27
28
  };
@@ -244,6 +244,7 @@ const Helper = (userInfo) => {
244
244
  const dataTokenUrlEncoded = (values) => {
245
245
  const data = {
246
246
  installation_id: values.installationId,
247
+ generate_jwt: true,
247
248
  };
248
249
  return data;
249
250
  };
@@ -1,6 +1,6 @@
1
1
  import { CreateDocumentInterface } from "../interfaces/bankingSystemInterface";
2
2
  import { IGeoCoordinates, UserInfo } from "../interfaces/interface";
3
- export declare const useDocument: (token: string, userInfo: UserInfo, userId: string, baseUrl: string, geoCoordinates: IGeoCoordinates, lang?: string) => {
3
+ export declare const useDocument: (token: string, userInfo: UserInfo, userId: string, baseUrl: string, geoCoordinates?: IGeoCoordinates, lang?: string) => {
4
4
  CreateDocument: (values: CreateDocumentInterface) => Promise<{
5
5
  response: import("axios").AxiosResponse<any, any>;
6
6
  newUser: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ggez-banking-sdk",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
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",