@soorya-u/better-auth-desktop 0.1.1 → 0.1.2
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/adapters/electrobun.mjs +2 -2
- package/dist/adapters/electron.mjs +2 -2
- package/dist/{client-CWgaf2aA.mjs → client-CvnA-_xx.mjs} +1 -1
- package/dist/client.mjs +1 -1
- package/dist/core/index.mjs +1 -1
- package/dist/index.mjs +2 -2
- package/dist/server/index.mjs +1 -1
- package/dist/{version-D6UEvd2R.mjs → version-C6KnA6nF.mjs} +1 -1
- package/dist/web/index.mjs +1 -1
- package/package.json +1 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as PACKAGE_VERSION } from "../version-
|
|
2
|
-
import { t as createDesktopCookieLayer } from "../client-
|
|
1
|
+
import { t as PACKAGE_VERSION } from "../version-C6KnA6nF.mjs";
|
|
2
|
+
import { t as createDesktopCookieLayer } from "../client-CvnA-_xx.mjs";
|
|
3
3
|
import { i as fetchUserImage, r as startAuthFlow, t as buildAuthUrl } from "../exchange-D93Uwk6_.mjs";
|
|
4
4
|
import { t as keychainStorage } from "../storage-DR69vdzj.mjs";
|
|
5
5
|
import { BrowserView, Utils } from "electrobun/bun";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as PACKAGE_VERSION } from "../version-
|
|
2
|
-
import { t as createDesktopCookieLayer } from "../client-
|
|
1
|
+
import { t as PACKAGE_VERSION } from "../version-C6KnA6nF.mjs";
|
|
2
|
+
import { t as createDesktopCookieLayer } from "../client-CvnA-_xx.mjs";
|
|
3
3
|
import { i as fetchUserImage, r as startAuthFlow, t as buildAuthUrl } from "../exchange-D93Uwk6_.mjs";
|
|
4
4
|
import { Buffer } from "node:buffer";
|
|
5
5
|
import { createServer } from "node:http";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PACKAGE_VERSION } from "./version-
|
|
1
|
+
import { t as PACKAGE_VERSION } from "./version-C6KnA6nF.mjs";
|
|
2
2
|
import { cookieNameRegex, parseSetCookieHeader } from "better-auth/cookies";
|
|
3
3
|
//#region src/core/cookies.ts
|
|
4
4
|
function getSetCookie(header, prevCookie) {
|
package/dist/client.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as desktopClient } from "./client-
|
|
1
|
+
import { n as desktopClient } from "./client-CvnA-_xx.mjs";
|
|
2
2
|
export { desktopClient };
|
package/dist/core/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as desktopClient, t as createDesktopCookieLayer } from "../client-
|
|
1
|
+
import { n as desktopClient, t as createDesktopCookieLayer } from "../client-CvnA-_xx.mjs";
|
|
2
2
|
import { a as parseLoopbackUrl, i as isAllowedLoopbackPort, n as buildLoopbackUrl, r as generateNonce, t as LOOPBACK_HOST } from "../loopback-CNOfW74-.mjs";
|
|
3
3
|
import { a as normalizeUserOutput, i as fetchUserImage, n as exchangeToken, r as startAuthFlow } from "../exchange-D93Uwk6_.mjs";
|
|
4
4
|
import { t as keychainStorage } from "../storage-DR69vdzj.mjs";
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as PACKAGE_VERSION } from "./version-
|
|
2
|
-
import { n as desktopClient, t as createDesktopCookieLayer } from "./client-
|
|
1
|
+
import { t as PACKAGE_VERSION } from "./version-C6KnA6nF.mjs";
|
|
2
|
+
import { n as desktopClient, t as createDesktopCookieLayer } from "./client-CvnA-_xx.mjs";
|
|
3
3
|
import { a as parseLoopbackUrl, i as isAllowedLoopbackPort, n as buildLoopbackUrl, r as generateNonce, t as LOOPBACK_HOST } from "./loopback-CNOfW74-.mjs";
|
|
4
4
|
import { a as normalizeUserOutput, i as fetchUserImage, n as exchangeToken, r as startAuthFlow } from "./exchange-D93Uwk6_.mjs";
|
|
5
5
|
import { t as keychainStorage } from "./storage-DR69vdzj.mjs";
|
package/dist/server/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PACKAGE_VERSION } from "../version-
|
|
1
|
+
import { t as PACKAGE_VERSION } from "../version-C6KnA6nF.mjs";
|
|
2
2
|
import { a as parseLoopbackUrl } from "../loopback-CNOfW74-.mjs";
|
|
3
3
|
import { setSessionCookie } from "better-auth/cookies";
|
|
4
4
|
import { APIError, BASE_ERROR_CODES } from "@better-auth/core/error";
|
package/dist/web/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soorya-u/better-auth-desktop",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Loopback-based desktop auth for Better Auth. Framework-agnostic server + core with thin Electrobun and Electron adapters; OAuth hand-off via a 127.0.0.1 loopback navigation (no custom URL scheme).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -119,9 +119,6 @@
|
|
|
119
119
|
]
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
|
-
"dependencies": {
|
|
123
|
-
"zod": "^4.3.6"
|
|
124
|
-
},
|
|
125
122
|
"devDependencies": {
|
|
126
123
|
"@arethetypeswrong/cli": "^0.18.4",
|
|
127
124
|
"@biomejs/biome": "^2.5.1",
|