@mastra/auth-supabase 0.0.0-fix-generate-title-20250616171351 → 0.0.0-fix-9244-clickhouse-metadata-20251104220626
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 +65 -1
- package/LICENSE.md +12 -4
- package/README.md +4 -9
- package/dist/index.cjs +14 -1405
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +15 -1
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +14 -234
- package/dist/index.js.map +1 -0
- package/package.json +24 -10
- package/.turbo/turbo-build.log +0 -30
- package/dist/_tsup-dts-rollup.d.cts +0 -18
- package/dist/_tsup-dts-rollup.d.ts +0 -18
- 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 -152
- package/src/index.ts +0 -55
- package/tsconfig.json +0 -5
- package/vitest.config.ts +0 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,70 @@
|
|
|
1
1
|
# @mastra/auth-supabase
|
|
2
2
|
|
|
3
|
-
## 0.0.0-fix-
|
|
3
|
+
## 0.0.0-fix-9244-clickhouse-metadata-20251104220626
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- Experimental auth -> auth ([#9660](https://github.com/mastra-ai/mastra/pull/9660))
|
|
8
|
+
|
|
9
|
+
- Mark as stable ([`83d5942`](https://github.com/mastra-ai/mastra/commit/83d5942669ce7bba4a6ca4fd4da697a10eb5ebdc))
|
|
10
|
+
|
|
11
|
+
## 0.10.6
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Update package.json and README ([#7886](https://github.com/mastra-ai/mastra/pull/7886))
|
|
16
|
+
|
|
17
|
+
## 0.10.6-alpha.0
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Update package.json and README ([#7886](https://github.com/mastra-ai/mastra/pull/7886))
|
|
22
|
+
|
|
23
|
+
## 0.10.5
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- de3cbc6: Update the `package.json` file to include additional fields like `repository`, `homepage` or `files`.
|
|
28
|
+
|
|
29
|
+
## 0.10.5-alpha.0
|
|
30
|
+
|
|
31
|
+
### Patch Changes
|
|
32
|
+
|
|
33
|
+
- [#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`.
|
|
34
|
+
|
|
35
|
+
## 0.10.4
|
|
36
|
+
|
|
37
|
+
### Patch Changes
|
|
38
|
+
|
|
39
|
+
- [`c6113ed`](https://github.com/mastra-ai/mastra/commit/c6113ed7f9df297e130d94436ceee310273d6430) Thanks [@wardpeet](https://github.com/wardpeet)! - Fix peerdpes for @mastra/core
|
|
40
|
+
|
|
41
|
+
## 0.10.3
|
|
42
|
+
|
|
43
|
+
### Patch Changes
|
|
44
|
+
|
|
45
|
+
- 4a406ec: fixes TypeScript declaration file imports to ensure proper ESM compatibility
|
|
46
|
+
|
|
47
|
+
## 0.10.3-alpha.0
|
|
48
|
+
|
|
49
|
+
### Patch Changes
|
|
50
|
+
|
|
51
|
+
- 4a406ec: fixes TypeScript declaration file imports to ensure proper ESM compatibility
|
|
52
|
+
|
|
53
|
+
## 0.10.2
|
|
54
|
+
|
|
55
|
+
### Patch Changes
|
|
56
|
+
|
|
57
|
+
- 2d7098e: dependencies updates:
|
|
58
|
+
- Updated dependency [`@supabase/supabase-js@^2.50.3` ↗︎](https://www.npmjs.com/package/@supabase/supabase-js/v/2.50.3) (from `^2.50.0`, in `dependencies`)
|
|
59
|
+
|
|
60
|
+
## 0.10.2-alpha.0
|
|
61
|
+
|
|
62
|
+
### Patch Changes
|
|
63
|
+
|
|
64
|
+
- 2d7098e: dependencies updates:
|
|
65
|
+
- Updated dependency [`@supabase/supabase-js@^2.50.3` ↗︎](https://www.npmjs.com/package/@supabase/supabase-js/v/2.50.3) (from `^2.50.0`, in `dependencies`)
|
|
66
|
+
|
|
67
|
+
## 0.10.1
|
|
4
68
|
|
|
5
69
|
### Patch Changes
|
|
6
70
|
|
package/LICENSE.md
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
# Apache License 2.0
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Copyright (c) 2025 Kepler Software, Inc.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
you may not use this file except in compliance with the License.
|
|
7
|
+
You may obtain a copy of the License at
|
|
6
8
|
|
|
7
|
-
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
See the License for the specific language governing permissions and
|
|
15
|
+
limitations under the License.
|
package/README.md
CHANGED
|
@@ -15,14 +15,14 @@ pnpm add @mastra/auth-supabase
|
|
|
15
15
|
## Usage
|
|
16
16
|
|
|
17
17
|
```typescript
|
|
18
|
-
import { Mastra } from '@mastra/core';
|
|
18
|
+
import { Mastra } from '@mastra/core/mastra';
|
|
19
19
|
import { MastraAuthSupabase } from '@mastra/auth-supabase';
|
|
20
20
|
|
|
21
21
|
// Initialize with environment variables
|
|
22
|
-
const
|
|
22
|
+
const supabaseAuth = new MastraAuthSupabase();
|
|
23
23
|
|
|
24
24
|
// Or initialize with explicit configuration
|
|
25
|
-
const
|
|
25
|
+
const supabaseAuth = new MastraAuthSupabase({
|
|
26
26
|
url: 'your-supabase-url',
|
|
27
27
|
anonKey: 'your-supabase-anon-key',
|
|
28
28
|
});
|
|
@@ -31,7 +31,7 @@ const auth = new MastraAuthSupabase({
|
|
|
31
31
|
const mastra = new Mastra({
|
|
32
32
|
...
|
|
33
33
|
server: {
|
|
34
|
-
|
|
34
|
+
auth: supabaseAuth,
|
|
35
35
|
},
|
|
36
36
|
});
|
|
37
37
|
```
|
|
@@ -41,7 +41,6 @@ const mastra = new Mastra({
|
|
|
41
41
|
The package can be configured in two ways:
|
|
42
42
|
|
|
43
43
|
1. **Environment Variables**:
|
|
44
|
-
|
|
45
44
|
- `SUPABASE_URL`: Your Supabase project URL
|
|
46
45
|
- `SUPABASE_ANON_KEY`: Your Supabase anonymous key
|
|
47
46
|
|
|
@@ -75,7 +74,3 @@ Checks if a user has the required permissions (currently checks for admin status
|
|
|
75
74
|
- Node.js 16 or higher
|
|
76
75
|
- Supabase project with authentication enabled
|
|
77
76
|
- Supabase URL and anonymous key
|
|
78
|
-
|
|
79
|
-
## License
|
|
80
|
-
|
|
81
|
-
Elastic-2.0
|