ggez-banking-sdk 0.2.13 → 0.2.14

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.
@@ -39,9 +39,7 @@ class CookiesHelper {
39
39
  isSecureContext() {
40
40
  if (typeof window === "undefined")
41
41
  return false;
42
- return (window.location.protocol === "https:" ||
43
- window.location.hostname === "localhost" ||
44
- window.location.hostname === "127.0.0.1");
42
+ return window.location.protocol === "https:";
45
43
  }
46
44
  /**
47
45
  * Fallback method to set cookie using document.cookie
@@ -370,7 +368,7 @@ class CookiesHelper {
370
368
  domain: this.domain,
371
369
  expires: expireTime,
372
370
  path: "/",
373
- sameSite: "lax",
371
+ sameSite: "none",
374
372
  secure: isSecure,
375
373
  });
376
374
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ggez-banking-sdk",
3
- "version": "0.2.13",
3
+ "version": "0.2.14",
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",