ggez-banking-sdk 0.3.7 → 0.3.8
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.
|
@@ -52,8 +52,11 @@ class CookiesHelper {
|
|
|
52
52
|
}
|
|
53
53
|
buildCookieName(key) {
|
|
54
54
|
try {
|
|
55
|
-
const encryptedKey = this.cipherHelper.EncryptByProgramID(
|
|
56
|
-
|
|
55
|
+
// const encryptedKey = this.cipherHelper.EncryptByProgramID(
|
|
56
|
+
// key,
|
|
57
|
+
// this.programId,
|
|
58
|
+
// );
|
|
59
|
+
return `${key}-${this.programId}`;
|
|
57
60
|
}
|
|
58
61
|
catch (error) {
|
|
59
62
|
this.errorHandler(error);
|
|
@@ -477,7 +480,8 @@ class CookiesHelper {
|
|
|
477
480
|
async onChangeHandler(changed, params) {
|
|
478
481
|
const eventType = "change";
|
|
479
482
|
for (const changedCookie of changed) {
|
|
480
|
-
const cookieName = this.parseCookieName(changedCookie.name);
|
|
483
|
+
// const cookieName = this.parseCookieName(changedCookie.name);
|
|
484
|
+
const cookieName = changedCookie.name;
|
|
481
485
|
this.clearCacheForKey(cookieName);
|
|
482
486
|
switch (cookieName) {
|
|
483
487
|
case "IID": {
|
|
@@ -516,7 +520,8 @@ class CookiesHelper {
|
|
|
516
520
|
async onDeleteHandler(deleted, params) {
|
|
517
521
|
const eventType = "delete";
|
|
518
522
|
for (const deletedCookie of deleted) {
|
|
519
|
-
const cookieName = this.parseCookieName(deletedCookie.name);
|
|
523
|
+
// const cookieName = this.parseCookieName(deletedCookie.name);
|
|
524
|
+
const cookieName = deletedCookie.name;
|
|
520
525
|
this.clearCacheForKey(cookieName);
|
|
521
526
|
switch (cookieName) {
|
|
522
527
|
case "IID":
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ggez-banking-sdk",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.8",
|
|
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",
|