react-token-manager 1.0.6 → 1.0.7

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/README.md +1 -1
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -172,7 +172,7 @@ console.log(tokens.access_token) // 'abc'
172
172
  console.log(tokens.refresh_token) // 'xyz'
173
173
  ```
174
174
 
175
- ##Using Cookies
175
+ ## Using Cookies
176
176
  ```bash
177
177
  configureTokenManager({ storage: 'cookie' })
178
178
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-token-manager",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "A simple React library to manage JWT tokens",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -16,12 +16,13 @@
16
16
  "react-dom": "^19.2.3"
17
17
  },
18
18
  "dependencies": {
19
+ "@types/react-dom": "^19.2.3",
19
20
  "js-cookie": "^3.0.5",
20
21
  "jwt-decode": "^4.0.0"
21
22
  },
22
23
  "devDependencies": {
23
24
  "@types/js-cookie": "^3.0.6",
24
- "@types/react": "^18.2.7",
25
+ "@types/react": "^19.2.14",
25
26
  "tsup": "^8.5.1",
26
27
  "typescript": "^5.9.3"
27
28
  }