@meshagent/meshagent-ts-auth 0.36.2 → 0.37.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.
- package/CHANGELOG.md +13 -0
- package/README.md +17 -9
- package/dist/browser/ma-auth.global.js +1524 -424
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
## [0.37.0]
|
|
2
|
+
- Breaking: Database client now supports `json`, `uuid`, `list`, and `struct` types with typed wrappers (DatabaseJson/DatabaseStruct/DatabaseExpression/DatabaseDate/DatabaseUuid); list/struct values must be wrapped and update now takes `values` only.
|
|
3
|
+
- Breaking: Containers build now streams build contexts (start/data chunks) with `mountPath`/`chunks` and removes `start_build`.
|
|
4
|
+
- Breaking: Toolkit/hosting refactor replaces RemoteToolkit with startHostedToolkit/HostedToolkit, removes ToolkitConfiguration and `supports_context`, and updates React/Tailwind helpers to start hosted toolkits.
|
|
5
|
+
- Participant tokens now include LLM grants and richer grant serialization (including allowed toolkits and extra payload preservation), and schema helpers add `json`/`uuid` data types.
|
|
6
|
+
- The JS SDK now exports its version constant for client-side visibility.
|
|
7
|
+
|
|
8
|
+
## [0.36.3]
|
|
9
|
+
- Storage client now supports move operations and emits file moved events.
|
|
10
|
+
- Secrets client now supports existence checks.
|
|
11
|
+
- Project user add calls now omit permission fields unless explicitly set.
|
|
12
|
+
- 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.
|
|
13
|
+
|
|
1
14
|
## [0.36.2]
|
|
2
15
|
- Breaking: Removed share-connect API from the TypeScript client (`connectShare` / RoomShareConnectionInfo).
|
|
3
16
|
- OAuth helpers now default requested scope to `profile` (TS auth + React auth).
|
package/README.md
CHANGED
|
@@ -31,20 +31,28 @@ The starter tests focus on the areas most likely to break in day-to-day auth wor
|
|
|
31
31
|
|
|
32
32
|
Add new regression tests in `test/*.test.ts` as issues come up.
|
|
33
33
|
|
|
34
|
-
## Before You
|
|
34
|
+
## Before You Get Started
|
|
35
35
|
|
|
36
|
-
|
|
36
|
+
Create an OAuth client in Meshagent Studio and register your callback URL.
|
|
37
37
|
|
|
38
|
-
1. Sign in to
|
|
39
|
-
2.
|
|
40
|
-
3.
|
|
41
|
-
4.
|
|
38
|
+
1. Sign in to https://studio.meshagent.com.
|
|
39
|
+
2. Select your project
|
|
40
|
+
3. Open "OAuth Clients" at the bottom of the left menu
|
|
41
|
+
4. Click "New OAuth Client" button at the top
|
|
42
|
+
5. Add
|
|
43
|
+
- name for the client id (e.g. "My App")
|
|
44
|
+
- enter "email" for the scope
|
|
45
|
+
- add redirect URIs (e.g. "http://localhost:3000/")
|
|
46
|
+
6. Upon successful creation, you will see the client id and client secret. Click "Copy" button to copy the client id and client secret to clipboard. You will need them later when you run the app.
|
|
42
47
|
|
|
43
|
-
You will use:
|
|
44
48
|
|
|
45
|
-
|
|
49
|
+
You will need these values throughout the examples:
|
|
50
|
+
|
|
46
51
|
- `oauthClientId`: the OAuth client ID from Studio
|
|
47
|
-
- `callbackUrl`: the URL Meshagent redirects back to after login
|
|
52
|
+
- `callbackUrl`: the URL Meshagent redirects back to after login - this must match the redirect URI you registered in Studio
|
|
53
|
+
|
|
54
|
+
Optional
|
|
55
|
+
- `serverUrl`: your Meshagent API base URL, uses `https://api.meshagent.com` as default
|
|
48
56
|
|
|
49
57
|
## What The Package Stores
|
|
50
58
|
|