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.
- package/dist/helper/storage/cookiesHelper.d.ts +5 -5
- package/dist/helper/storage/cookiesHelper.js +1 -1
- package/dist/types/api/client/account.d.ts +0 -1
- package/dist/types/api/client/blockchain.d.ts +0 -1
- package/dist/types/api/client/ipAddressAndLocation.d.ts +0 -1
- package/dist/types/api/client/order.d.ts +0 -1
- package/dist/types/api/client/organization.d.ts +0 -1
- package/dist/types/api/client/transaction.d.ts +0 -1
- package/dist/types/api/client/user.d.ts +0 -1
- package/package.json +1 -1
|
@@ -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: () =>
|
|
27
|
-
onChangeHandler(changed: CookieInit[], callback: () =>
|
|
28
|
-
onDeleteHandler(deleted: CookieInit[], callback: () =>
|
|
29
|
-
addOnChangeEventListener(callback: () =>
|
|
30
|
-
removeOnChangeEventListener(callback: () =>
|
|
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
|
-
|
|
324
|
+
callback();
|
|
325
325
|
}
|
|
326
326
|
if (deletedCookie.name == "IID") {
|
|
327
327
|
this.SetIID();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ggez-banking-sdk",
|
|
3
|
-
"version": "0.1.
|
|
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",
|