@ic-reactor/react 3.5.0 → 3.6.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/README.md +2 -3
  2. package/package.json +10 -10
package/README.md CHANGED
@@ -137,9 +137,9 @@ const mutation = updateProfile.useMutation({
137
137
  ## Identity Attributes / OpenID email and profile values
138
138
 
139
139
  `createAuthHooks(clientManager)` exposes `useIdentityAttributes()` for signed
140
- identity attributes from `@icp-sdk/auth` v6. Existing `useAuth()`, `login()`,
140
+ identity attributes from `@icp-sdk/auth` v7. Existing `useAuth()`, `login()`,
141
141
  `logout()`, and `useUserPrincipal()` consumers keep the same IC Reactor API, but
142
- the configured auth client must support the v6 constructor/sign-in API.
142
+ the configured auth client must support the v7 constructor/sign-in/sign-out API.
143
143
 
144
144
  ```tsx
145
145
  import { createAuthHooks } from "@ic-reactor/react"
@@ -162,7 +162,6 @@ function RegisterWithOpenIdProvider() {
162
162
  nonce,
163
163
  openIdProvider: "microsoft",
164
164
  keys: ["email", "name"],
165
- identityProvider: "https://beta.id.ai/authorize",
166
165
  windowOpenerFeatures: popupCenter(),
167
166
  })
168
167
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ic-reactor/react",
3
- "version": "3.5.0",
3
+ "version": "3.6.0",
4
4
  "description": "IC Reactor React Library",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -42,10 +42,10 @@
42
42
  "author": "Behrad Deylami",
43
43
  "license": "MIT",
44
44
  "dependencies": {
45
- "@ic-reactor/core": "^3.5.0"
45
+ "@ic-reactor/core": "^3.6.0"
46
46
  },
47
47
  "peerDependencies": {
48
- "@icp-sdk/auth": "^6.0.0",
48
+ "@icp-sdk/auth": "^7.0.0",
49
49
  "@tanstack/react-query": "^5.0.0",
50
50
  "react": ">=18.0.0",
51
51
  "react-dom": ">=18.0.0"
@@ -56,21 +56,21 @@
56
56
  }
57
57
  },
58
58
  "devDependencies": {
59
- "@icp-sdk/auth": "^6.0.0",
60
- "@icp-sdk/core": "^5.3.1",
59
+ "@icp-sdk/auth": "^7.0.0",
60
+ "@icp-sdk/core": "^5.4.0",
61
61
  "@size-limit/preset-small-lib": "^12.1.0",
62
- "@tanstack/react-query": "^5.100.5",
62
+ "@tanstack/react-query": "^5.100.10",
63
63
  "@testing-library/dom": "^10.4.1",
64
64
  "@testing-library/jest-dom": "^6.9.1",
65
65
  "@testing-library/react": "^16.3.2",
66
66
  "@types/react": "^19.2.14",
67
67
  "@types/react-dom": "^19.2.3",
68
68
  "fake-indexeddb": "^6.2.5",
69
- "jsdom": "^29.1.0",
70
- "react": "^19.2.5",
71
- "react-dom": "^19.2.5",
69
+ "jsdom": "^29.1.1",
70
+ "react": "^19.2.6",
71
+ "react-dom": "^19.2.6",
72
72
  "size-limit": "^12.1.0",
73
- "vitest": "^4.1.5"
73
+ "vitest": "^4.1.6"
74
74
  },
75
75
  "size-limit": [
76
76
  {