ggez-banking-sdk 0.1.161 → 0.1.163

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.
@@ -23,10 +23,10 @@ declare class CookiesHelper {
23
23
  GET(key: string): string | undefined;
24
24
  SET(key: string, value: string, expires?: Date): void;
25
25
  REMOVE(key: string): void;
26
- cookieEventHandler(e: CookieChangeEvent, callback: () => Promise<void>): void;
27
- onChangeHandler(changed: CookieInit[], callback: () => Promise<void>): Promise<void>;
28
- onDeleteHandler(deleted: CookieInit[], callback: () => Promise<void>): Promise<void>;
29
- addOnChangeEventListener(callback: () => Promise<void>): void;
30
- removeOnChangeEventListener(callback: () => Promise<void>): void;
26
+ cookieEventHandler(e: CookieChangeEvent, callback: () => void): void;
27
+ onChangeHandler(changed: CookieInit[], callback: () => void): Promise<void>;
28
+ onDeleteHandler(deleted: CookieInit[], callback: () => void): Promise<void>;
29
+ addOnChangeEventListener(callback: () => void): void;
30
+ removeOnChangeEventListener(callback: () => void): void;
31
31
  }
32
32
  export { CookiesHelper };
@@ -321,7 +321,7 @@ class CookiesHelper {
321
321
  async onDeleteHandler(deleted, callback) {
322
322
  const deletedCookie = deleted[0];
323
323
  if (["DEK", "USR", "IID", "access_token", "jwt_token"].includes(deletedCookie.name)) {
324
- await callback();
324
+ callback();
325
325
  }
326
326
  if (deletedCookie.name == "IID") {
327
327
  this.SetIID();
@@ -1,7 +1,6 @@
1
1
  type AccountClientData = {
2
2
  token: string;
3
3
  baseUrl: string;
4
- userInfo: any;
5
4
  lang?: string;
6
5
  installationId?: string;
7
6
  };
@@ -1,7 +1,6 @@
1
1
  type BlockchainClientData = {
2
2
  token: string;
3
3
  baseUrl: string;
4
- userInfo: any;
5
4
  lang?: string;
6
5
  installationId?: string;
7
6
  };
@@ -1,7 +1,6 @@
1
1
  type IPAddressAndLocationClientData = {
2
2
  token: string;
3
3
  baseUrl: string;
4
- userInfo: any;
5
4
  lang?: string;
6
5
  installationId?: string;
7
6
  };
@@ -1,7 +1,6 @@
1
1
  type OrderClientData = {
2
2
  token: string;
3
3
  baseUrl: string;
4
- userInfo: any;
5
4
  lang?: string;
6
5
  installationId?: string;
7
6
  };
@@ -2,7 +2,6 @@ type OrganizationClientData = {
2
2
  token: string;
3
3
  baseUrl: string;
4
4
  userId: number;
5
- userInfo: any;
6
5
  lang?: string;
7
6
  installationId?: string;
8
7
  };
@@ -1,7 +1,6 @@
1
1
  type TransactionClientData = {
2
2
  token: string;
3
3
  baseUrl: string;
4
- userInfo: any;
5
4
  lang?: string;
6
5
  installationId?: string;
7
6
  };
@@ -1,6 +1,5 @@
1
1
  type UserClientData = {
2
2
  token: string;
3
- userInfo: any;
4
3
  userId: number;
5
4
  baseUrl: string;
6
5
  nodeUrl: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ggez-banking-sdk",
3
- "version": "0.1.161",
3
+ "version": "0.1.163",
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
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",