@neondatabase/auth 0.1.0-beta.4 → 0.1.0-beta.6
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/dist/{adapter-core-C12KoaiU.d.mts → adapter-core-CTmuBvuA.d.mts} +92 -498
- package/dist/{adapter-core-BDOw-gBC.mjs → adapter-core-FGGtjVtJ.mjs} +2 -4
- package/dist/{better-auth-react-adapter-FnBHa2nr.mjs → better-auth-react-adapter-C-jXL6Ba.mjs} +1 -1
- package/dist/{better-auth-react-adapter-BXL48HIU.d.mts → better-auth-react-adapter-Dx3CfB7p.d.mts} +88 -88
- package/dist/better-auth-types-BSQToNou.d.mts +9 -0
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +1 -4
- package/dist/{neon-auth-C9XTFffv.mjs → neon-auth-CgnFwwHq.mjs} +1 -1
- package/dist/next/index.d.mts +3 -176
- package/dist/next/index.mjs +3 -9
- package/dist/react/adapters/index.d.mts +3 -3
- package/dist/react/adapters/index.mjs +1 -3
- package/dist/react/index.d.mts +4 -4
- package/dist/react/index.mjs +2 -4
- package/dist/react/ui/index.d.mts +1 -1
- package/dist/react/ui/index.mjs +1 -1
- package/dist/{supabase-adapter-crabDnl2.d.mts → supabase-adapter-CiWRH5H6.d.mts} +1 -2
- package/dist/{supabase-adapter-ggmqWgPe.mjs → supabase-adapter-yCWWsIii.mjs} +45 -123
- package/dist/types/index.d.mts +8 -0
- package/dist/types/index.mjs +3 -0
- package/dist/{ui-BQAaHqx4.mjs → ui-DAV9H8gz.mjs} +27 -12
- package/dist/vanilla/adapters/index.d.mts +3 -3
- package/dist/vanilla/adapters/index.mjs +1 -3
- package/dist/vanilla/index.d.mts +3 -3
- package/dist/vanilla/index.mjs +1 -3
- package/package.json +5 -1
- /package/dist/{adapters-CivF9wql.mjs → adapters-C4sibmzW.mjs} +0 -0
- /package/dist/{adapters-Dkx0zoMR.mjs → adapters-D7Wxk4MT.mjs} +0 -0
- /package/dist/{index-DuDD6cIY.d.mts → index-BFF7W17u.d.mts} +0 -0
- /package/dist/{index-C-svZlpj.d.mts → index-BXxhKmeA.d.mts} +0 -0
- /package/dist/{index-UW23fDSn.d.mts → index-sBeFMSCP.d.mts} +0 -0
|
@@ -10,25 +10,40 @@ var __defProp = Object.defineProperty;
|
|
|
10
10
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
11
11
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
12
12
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
13
|
-
var __export = (all) => {
|
|
13
|
+
var __export = (all, symbols) => {
|
|
14
14
|
let target = {};
|
|
15
|
-
for (var name in all)
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
for (var name in all) {
|
|
16
|
+
__defProp(target, name, {
|
|
17
|
+
get: all[name],
|
|
18
|
+
enumerable: true
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
if (symbols) {
|
|
22
|
+
__defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
23
|
+
}
|
|
19
24
|
return target;
|
|
20
25
|
};
|
|
21
26
|
var __copyProps = (to, from, except, desc) => {
|
|
22
|
-
if (from && typeof from === "object" || typeof from === "function")
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
28
|
+
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
29
|
+
key = keys[i];
|
|
30
|
+
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
31
|
+
__defProp(to, key, {
|
|
32
|
+
get: ((k) => from[k]).bind(null, key),
|
|
33
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
}
|
|
28
37
|
}
|
|
29
38
|
return to;
|
|
30
39
|
};
|
|
31
|
-
var __reExport = (target, mod, secondTarget
|
|
40
|
+
var __reExport = (target, mod, secondTarget, symbols) => {
|
|
41
|
+
if (symbols) {
|
|
42
|
+
__defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
43
|
+
secondTarget && __defProp(secondTarget, Symbol.toStringTag, { value: "Module" });
|
|
44
|
+
}
|
|
45
|
+
__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default");
|
|
46
|
+
};
|
|
32
47
|
|
|
33
48
|
//#endregion
|
|
34
49
|
//#region ../auth-ui/dist/index.mjs
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../../adapter-core-
|
|
2
|
-
import { a as BetterAuthVanillaAdapter, c as BetterAuthVanillaAdapterOptions, i as SupabaseAuthAdapterOptions, n as SupabaseAuthAdapterBuilder, o as BetterAuthVanillaAdapterBuilder, r as SupabaseAuthAdapterInstance, s as BetterAuthVanillaAdapterInstance, t as SupabaseAuthAdapter } from "../../supabase-adapter-
|
|
3
|
-
import "../../index-
|
|
1
|
+
import "../../adapter-core-CTmuBvuA.mjs";
|
|
2
|
+
import { a as BetterAuthVanillaAdapter, c as BetterAuthVanillaAdapterOptions, i as SupabaseAuthAdapterOptions, n as SupabaseAuthAdapterBuilder, o as BetterAuthVanillaAdapterBuilder, r as SupabaseAuthAdapterInstance, s as BetterAuthVanillaAdapterInstance, t as SupabaseAuthAdapter } from "../../supabase-adapter-CiWRH5H6.mjs";
|
|
3
|
+
import "../../index-BXxhKmeA.mjs";
|
|
4
4
|
export { BetterAuthVanillaAdapter, BetterAuthVanillaAdapterBuilder, BetterAuthVanillaAdapterInstance, BetterAuthVanillaAdapterOptions, SupabaseAuthAdapter, SupabaseAuthAdapterBuilder, SupabaseAuthAdapterInstance, SupabaseAuthAdapterOptions };
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import "../../adapter-
|
|
2
|
-
import { n as BetterAuthVanillaAdapter, t as SupabaseAuthAdapter } from "../../supabase-adapter-ggmqWgPe.mjs";
|
|
3
|
-
import "../../adapters-CivF9wql.mjs";
|
|
1
|
+
import { n as BetterAuthVanillaAdapter, t as SupabaseAuthAdapter } from "../../supabase-adapter-yCWWsIii.mjs";
|
|
4
2
|
|
|
5
3
|
export { BetterAuthVanillaAdapter, SupabaseAuthAdapter };
|
package/dist/vanilla/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../adapter-core-
|
|
2
|
-
import { a as BetterAuthVanillaAdapter, c as BetterAuthVanillaAdapterOptions, i as SupabaseAuthAdapterOptions, n as SupabaseAuthAdapterBuilder, o as BetterAuthVanillaAdapterBuilder, r as SupabaseAuthAdapterInstance, s as BetterAuthVanillaAdapterInstance, t as SupabaseAuthAdapter } from "../supabase-adapter-
|
|
3
|
-
import "../index-
|
|
1
|
+
import "../adapter-core-CTmuBvuA.mjs";
|
|
2
|
+
import { a as BetterAuthVanillaAdapter, c as BetterAuthVanillaAdapterOptions, i as SupabaseAuthAdapterOptions, n as SupabaseAuthAdapterBuilder, o as BetterAuthVanillaAdapterBuilder, r as SupabaseAuthAdapterInstance, s as BetterAuthVanillaAdapterInstance, t as SupabaseAuthAdapter } from "../supabase-adapter-CiWRH5H6.mjs";
|
|
3
|
+
import "../index-BXxhKmeA.mjs";
|
|
4
4
|
export { BetterAuthVanillaAdapter, BetterAuthVanillaAdapterBuilder, BetterAuthVanillaAdapterInstance, BetterAuthVanillaAdapterOptions, SupabaseAuthAdapter, SupabaseAuthAdapterBuilder, SupabaseAuthAdapterInstance, SupabaseAuthAdapterOptions };
|
package/dist/vanilla/index.mjs
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import "../adapter-
|
|
2
|
-
import { n as BetterAuthVanillaAdapter, t as SupabaseAuthAdapter } from "../supabase-adapter-ggmqWgPe.mjs";
|
|
3
|
-
import "../adapters-CivF9wql.mjs";
|
|
1
|
+
import { n as BetterAuthVanillaAdapter, t as SupabaseAuthAdapter } from "../supabase-adapter-yCWWsIii.mjs";
|
|
4
2
|
|
|
5
3
|
export { BetterAuthVanillaAdapter, SupabaseAuthAdapter };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neondatabase/auth",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.6",
|
|
4
4
|
"description": "TypeScript SDK for Neon Auth - authentication for PostgreSQL with multiple adapter support",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -39,6 +39,10 @@
|
|
|
39
39
|
"types": "./dist/index.d.mts",
|
|
40
40
|
"default": "./dist/index.mjs"
|
|
41
41
|
},
|
|
42
|
+
"./types": {
|
|
43
|
+
"types": "./dist/types/index.d.mts",
|
|
44
|
+
"default": "./dist/types/index.mjs"
|
|
45
|
+
},
|
|
42
46
|
"./react": {
|
|
43
47
|
"types": "./dist/react/index.d.mts",
|
|
44
48
|
"default": "./dist/react/index.mjs"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|