@meshagent/meshagent-react-auth 0.36.1 → 0.36.3
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.
- package/CHANGELOG.md +10 -0
- package/dist/cjs/use-login-scope.js +2 -2
- package/dist/esm/use-login-scope.js +2 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## [0.36.3]
|
|
2
|
+
- Storage client now supports move operations and emits file moved events.
|
|
3
|
+
- Secrets client now supports existence checks.
|
|
4
|
+
- Project user add calls now omit permission fields unless explicitly set.
|
|
5
|
+
- Updated JS toolchain dependencies: esbuild 0.28.0, jest 30.3.0, mocha 12.0.0-beta-9.2, @tailwindcss/vite 4.2.2, @vitejs/plugin-react 6.0.1, vite 8.0.7.
|
|
6
|
+
|
|
7
|
+
## [0.36.2]
|
|
8
|
+
- Breaking: Removed share-connect API from the TypeScript client (`connectShare` / RoomShareConnectionInfo).
|
|
9
|
+
- OAuth helpers now default requested scope to `profile` (TS auth + React auth).
|
|
10
|
+
|
|
1
11
|
## [0.36.1]
|
|
2
12
|
- Stability
|
|
3
13
|
|
|
@@ -51,7 +51,7 @@ async function buildOAuthAuthorizeUrl(params) {
|
|
|
51
51
|
await cache.saveVerifier(pair.codeVerifier);
|
|
52
52
|
const query = new URLSearchParams({
|
|
53
53
|
...(params.extraQueryParams ?? {}),
|
|
54
|
-
scope: params.scope ?? "
|
|
54
|
+
scope: params.scope ?? "profile",
|
|
55
55
|
client_id: params.oauthClientId,
|
|
56
56
|
code_challenge: pair.codeChallenge,
|
|
57
57
|
response_type: "code",
|
|
@@ -119,7 +119,7 @@ function useLoginScope(options) {
|
|
|
119
119
|
toUrl(options.serverUrl).toString(),
|
|
120
120
|
toUrl(options.callbackUrl).toString(),
|
|
121
121
|
options.oauthClientId,
|
|
122
|
-
options.scope ?? "
|
|
122
|
+
options.scope ?? "profile",
|
|
123
123
|
extraQueryParamsKey,
|
|
124
124
|
autoSignIn,
|
|
125
125
|
authSnapshot.accessToken,
|
|
@@ -47,7 +47,7 @@ export async function buildOAuthAuthorizeUrl(params) {
|
|
|
47
47
|
await cache.saveVerifier(pair.codeVerifier);
|
|
48
48
|
const query = new URLSearchParams({
|
|
49
49
|
...(params.extraQueryParams ?? {}),
|
|
50
|
-
scope: params.scope ?? "
|
|
50
|
+
scope: params.scope ?? "profile",
|
|
51
51
|
client_id: params.oauthClientId,
|
|
52
52
|
code_challenge: pair.codeChallenge,
|
|
53
53
|
response_type: "code",
|
|
@@ -115,7 +115,7 @@ export function useLoginScope(options) {
|
|
|
115
115
|
toUrl(options.serverUrl).toString(),
|
|
116
116
|
toUrl(options.callbackUrl).toString(),
|
|
117
117
|
options.oauthClientId,
|
|
118
|
-
options.scope ?? "
|
|
118
|
+
options.scope ?? "profile",
|
|
119
119
|
extraQueryParamsKey,
|
|
120
120
|
autoSignIn,
|
|
121
121
|
authSnapshot.accessToken,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meshagent/meshagent-react-auth",
|
|
3
|
-
"version": "0.36.
|
|
3
|
+
"version": "0.36.3",
|
|
4
4
|
"description": "Meshagent React Auth Helpers",
|
|
5
5
|
"homepage": "https://github.com/meshagent/meshagent-react-auth",
|
|
6
6
|
"scripts": {
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"CHANGELOG.md"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@meshagent/meshagent": "^0.36.
|
|
30
|
-
"@meshagent/meshagent-ts-auth": "^0.36.
|
|
29
|
+
"@meshagent/meshagent": "^0.36.3",
|
|
30
|
+
"@meshagent/meshagent-ts-auth": "^0.36.3",
|
|
31
31
|
"@tanstack/react-query": "^5.95.2",
|
|
32
32
|
"@tanstack/react-query-devtools": "^5.95.2",
|
|
33
33
|
"react": "^19.1.8",
|
|
@@ -42,4 +42,4 @@
|
|
|
42
42
|
"overrides": {
|
|
43
43
|
"rollup": "4.52.5"
|
|
44
44
|
}
|
|
45
|
-
}
|
|
45
|
+
}
|