joshlei-cookies 2.5.0 → 3.0.0

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.
Files changed (2) hide show
  1. package/index.js +0 -1
  2. package/package.json +2 -5
package/index.js CHANGED
@@ -382,7 +382,6 @@ export const RemoveJSCookie = (name, options = {}) => {
382
382
  try {
383
383
  if (isBrowser) sessionStorage.removeItem(`jstudio_token_${name}`);
384
384
  } catch (e) {}
385
-
386
385
  CookieManager.remove(name, options);
387
386
  } catch (error) {
388
387
  throw new Error(`Failed to remove cookie: ${error.message}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "joshlei-cookies",
3
- "version": "2.5.0",
3
+ "version": "3.0.0",
4
4
  "description": "A secure cookie management library with built-in AES encryption for browser environments",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -32,10 +32,7 @@
32
32
  "exports": {
33
33
  ".": {
34
34
  "import": "./index.js",
35
- "types": "./index.d.ts"
35
+ "default": "./index.js"
36
36
  }
37
- },
38
- "dependencies": {
39
- "joshlei-cookies": "^1.0.0"
40
37
  }
41
38
  }