@mastra/auth-auth0 0.0.0-ai-v5-20250729181825 → 0.0.0-allow-to-pass-a-mastra-url-instance-20251105224938
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 +53 -1
- package/README.md +2 -6
- package/dist/index.cjs +14 -1419
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +17 -1
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +14 -248
- package/dist/index.js.map +1 -0
- package/package.json +24 -7
- package/dist/_tsup-dts-rollup.d.cts +0 -20
- package/dist/_tsup-dts-rollup.d.ts +0 -20
- package/dist/chunk-JLXWUSDO.js +0 -972
- package/dist/chunk-N62AETLJ.js +0 -7
- package/dist/getMachineId-bsd-IPBZSYCM.js +0 -21
- package/dist/getMachineId-darwin-UJH25LDA.js +0 -22
- package/dist/getMachineId-linux-YF3RLZNP.js +0 -17
- package/dist/getMachineId-unsupported-UOUTBEEW.js +0 -9
- package/dist/getMachineId-win-PKATJI4A.js +0 -23
- package/dist/index.d.cts +0 -1
- package/eslint.config.js +0 -6
- package/src/index.test.ts +0 -112
- package/src/index.ts +0 -49
- package/tsconfig.json +0 -5
- package/vitest.config.ts +0 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,58 @@
|
|
|
1
1
|
# @mastra/auth-auth0
|
|
2
2
|
|
|
3
|
-
## 0.0.0-
|
|
3
|
+
## 0.0.0-allow-to-pass-a-mastra-url-instance-20251105224938
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- Bump minimum required Node.js version to 22.13.0 ([#9706](https://github.com/mastra-ai/mastra/pull/9706))
|
|
8
|
+
|
|
9
|
+
- Experimental auth -> auth ([#9660](https://github.com/mastra-ai/mastra/pull/9660))
|
|
10
|
+
|
|
11
|
+
- Mark as stable ([`83d5942`](https://github.com/mastra-ai/mastra/commit/83d5942669ce7bba4a6ca4fd4da697a10eb5ebdc))
|
|
12
|
+
|
|
13
|
+
## 0.10.5
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Update package.json and README ([#7886](https://github.com/mastra-ai/mastra/pull/7886))
|
|
18
|
+
|
|
19
|
+
## 0.10.5-alpha.0
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Update package.json and README ([#7886](https://github.com/mastra-ai/mastra/pull/7886))
|
|
24
|
+
|
|
25
|
+
## 0.10.4
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- de3cbc6: Update the `package.json` file to include additional fields like `repository`, `homepage` or `files`.
|
|
30
|
+
|
|
31
|
+
## 0.10.4-alpha.0
|
|
32
|
+
|
|
33
|
+
### Patch Changes
|
|
34
|
+
|
|
35
|
+
- [#7343](https://github.com/mastra-ai/mastra/pull/7343) [`de3cbc6`](https://github.com/mastra-ai/mastra/commit/de3cbc61079211431bd30487982ea3653517278e) Thanks [@LekoArts](https://github.com/LekoArts)! - Update the `package.json` file to include additional fields like `repository`, `homepage` or `files`.
|
|
36
|
+
|
|
37
|
+
## 0.10.3
|
|
38
|
+
|
|
39
|
+
### Patch Changes
|
|
40
|
+
|
|
41
|
+
- [`c6113ed`](https://github.com/mastra-ai/mastra/commit/c6113ed7f9df297e130d94436ceee310273d6430) Thanks [@wardpeet](https://github.com/wardpeet)! - Fix peerdpes for @mastra/core
|
|
42
|
+
|
|
43
|
+
## 0.10.2
|
|
44
|
+
|
|
45
|
+
### Patch Changes
|
|
46
|
+
|
|
47
|
+
- 4a406ec: fixes TypeScript declaration file imports to ensure proper ESM compatibility
|
|
48
|
+
|
|
49
|
+
## 0.10.2-alpha.0
|
|
50
|
+
|
|
51
|
+
### Patch Changes
|
|
52
|
+
|
|
53
|
+
- 4a406ec: fixes TypeScript declaration file imports to ensure proper ESM compatibility
|
|
54
|
+
|
|
55
|
+
## 0.10.1
|
|
4
56
|
|
|
5
57
|
### Patch Changes
|
|
6
58
|
|
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ pnpm add @mastra/auth-auth0
|
|
|
15
15
|
## Usage
|
|
16
16
|
|
|
17
17
|
```typescript
|
|
18
|
-
import { Mastra } from '@mastra/core';
|
|
18
|
+
import { Mastra } from '@mastra/core/mastra';
|
|
19
19
|
import { MastraAuthAuth0 } from '@mastra/auth-auth0';
|
|
20
20
|
|
|
21
21
|
// Initialize with options
|
|
@@ -31,7 +31,7 @@ const auth0Provider = new MastraAuthAuth0();
|
|
|
31
31
|
const mastra = new Mastra({
|
|
32
32
|
...
|
|
33
33
|
server: {
|
|
34
|
-
|
|
34
|
+
auth: auth0Provider,
|
|
35
35
|
},
|
|
36
36
|
});
|
|
37
37
|
```
|
|
@@ -83,7 +83,3 @@ const isAuthorized = await auth0Provider.authorizeUser(user);
|
|
|
83
83
|
- Node.js 16 or higher
|
|
84
84
|
- Auth0 account and configured application
|
|
85
85
|
- Valid Auth0 domain and API identifier
|
|
86
|
-
|
|
87
|
-
## License
|
|
88
|
-
|
|
89
|
-
MIT
|