@playcademy/better-auth 0.0.15-beta.2 → 0.0.15
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/server.js +9 -9
- package/package.json +2 -2
package/dist/server.js
CHANGED
|
@@ -15177,7 +15177,7 @@ var defuReplaceArrays = createDefu((obj, key, value) => {
|
|
|
15177
15177
|
return true;
|
|
15178
15178
|
}
|
|
15179
15179
|
});
|
|
15180
|
-
// ../../node_modules/.bun/better-call@1.3.5+
|
|
15180
|
+
// ../../node_modules/.bun/better-call@1.3.5+68a1e3a0c4588df3/node_modules/better-call/dist/error.mjs
|
|
15181
15181
|
function isErrorStackTraceLimitWritable2() {
|
|
15182
15182
|
const desc = Object.getOwnPropertyDescriptor(Error, "stackTraceLimit");
|
|
15183
15183
|
if (desc === undefined)
|
|
@@ -15308,7 +15308,7 @@ var BetterCallError = class extends Error {
|
|
|
15308
15308
|
var kAPIErrorHeaderSymbol = Symbol.for("better-call:api-error-headers");
|
|
15309
15309
|
var APIError2 = makeErrorForHideStackFrame2(InternalAPIError2, Error);
|
|
15310
15310
|
|
|
15311
|
-
// ../../node_modules/.bun/better-call@1.3.5+
|
|
15311
|
+
// ../../node_modules/.bun/better-call@1.3.5+68a1e3a0c4588df3/node_modules/better-call/dist/utils.mjs
|
|
15312
15312
|
function isAPIError2(error3) {
|
|
15313
15313
|
return error3 instanceof APIError2 || error3?.name === "APIError";
|
|
15314
15314
|
}
|
|
@@ -15336,7 +15336,7 @@ function isRequest(obj) {
|
|
|
15336
15336
|
return obj instanceof Request || Object.prototype.toString.call(obj) === "[object Request]";
|
|
15337
15337
|
}
|
|
15338
15338
|
|
|
15339
|
-
// ../../node_modules/.bun/better-call@1.3.5+
|
|
15339
|
+
// ../../node_modules/.bun/better-call@1.3.5+68a1e3a0c4588df3/node_modules/better-call/dist/to-response.mjs
|
|
15340
15340
|
function isJSONSerializable3(value) {
|
|
15341
15341
|
if (value === undefined)
|
|
15342
15342
|
return false;
|
|
@@ -15493,7 +15493,7 @@ function getWebcryptoSubtle2() {
|
|
|
15493
15493
|
throw new Error("crypto.subtle must be defined");
|
|
15494
15494
|
}
|
|
15495
15495
|
|
|
15496
|
-
// ../../node_modules/.bun/better-call@1.3.5+
|
|
15496
|
+
// ../../node_modules/.bun/better-call@1.3.5+68a1e3a0c4588df3/node_modules/better-call/dist/crypto.mjs
|
|
15497
15497
|
var algorithm2 = {
|
|
15498
15498
|
name: "HMAC",
|
|
15499
15499
|
hash: "SHA-256"
|
|
@@ -15525,7 +15525,7 @@ var signCookieValue2 = async (value, secret) => {
|
|
|
15525
15525
|
return value;
|
|
15526
15526
|
};
|
|
15527
15527
|
|
|
15528
|
-
// ../../node_modules/.bun/better-call@1.3.5+
|
|
15528
|
+
// ../../node_modules/.bun/better-call@1.3.5+68a1e3a0c4588df3/node_modules/better-call/dist/cookies.mjs
|
|
15529
15529
|
var getCookieKey2 = (key, prefix) => {
|
|
15530
15530
|
let finalKey = key;
|
|
15531
15531
|
if (prefix)
|
|
@@ -15618,7 +15618,7 @@ var serializeSignedCookie2 = async (key, value, secret, opt) => {
|
|
|
15618
15618
|
return _serialize2(key, value, opt);
|
|
15619
15619
|
};
|
|
15620
15620
|
|
|
15621
|
-
// ../../node_modules/.bun/better-call@1.3.5+
|
|
15621
|
+
// ../../node_modules/.bun/better-call@1.3.5+68a1e3a0c4588df3/node_modules/better-call/dist/validator.mjs
|
|
15622
15622
|
async function runValidation2(options, context = {}) {
|
|
15623
15623
|
let request = {
|
|
15624
15624
|
body: context.body,
|
|
@@ -15672,7 +15672,7 @@ function fromError2(error3, validating) {
|
|
|
15672
15672
|
};
|
|
15673
15673
|
}
|
|
15674
15674
|
|
|
15675
|
-
// ../../node_modules/.bun/better-call@1.3.5+
|
|
15675
|
+
// ../../node_modules/.bun/better-call@1.3.5+68a1e3a0c4588df3/node_modules/better-call/dist/context.mjs
|
|
15676
15676
|
var createInternalContext2 = async (context, { options, path }) => {
|
|
15677
15677
|
const headers = new Headers;
|
|
15678
15678
|
let responseStatus = undefined;
|
|
@@ -15773,7 +15773,7 @@ var createInternalContext2 = async (context, { options, path }) => {
|
|
|
15773
15773
|
return internalContext;
|
|
15774
15774
|
};
|
|
15775
15775
|
|
|
15776
|
-
// ../../node_modules/.bun/better-call@1.3.5+
|
|
15776
|
+
// ../../node_modules/.bun/better-call@1.3.5+68a1e3a0c4588df3/node_modules/better-call/dist/endpoint.mjs
|
|
15777
15777
|
function createEndpoint(pathOrOptions, handlerOrOptions, handlerOrNever) {
|
|
15778
15778
|
const path = typeof pathOrOptions === "string" ? pathOrOptions : undefined;
|
|
15779
15779
|
const options = typeof handlerOrOptions === "object" ? handlerOrOptions : pathOrOptions;
|
|
@@ -15841,7 +15841,7 @@ createEndpoint.create = (opts) => {
|
|
|
15841
15841
|
};
|
|
15842
15842
|
};
|
|
15843
15843
|
|
|
15844
|
-
// ../../node_modules/.bun/better-call@1.3.5+
|
|
15844
|
+
// ../../node_modules/.bun/better-call@1.3.5+68a1e3a0c4588df3/node_modules/better-call/dist/middleware.mjs
|
|
15845
15845
|
function createMiddleware2(optionsOrHandler, handler) {
|
|
15846
15846
|
const internalHandler = async (inputCtx) => {
|
|
15847
15847
|
const context = inputCtx;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@playcademy/better-auth",
|
|
3
|
-
"version": "0.0.15
|
|
3
|
+
"version": "0.0.15",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./server": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@better-auth/utils": "^0.3.0",
|
|
27
27
|
"@better-fetch/fetch": "^1.1.18",
|
|
28
|
-
"@playcademy/sdk": "0.
|
|
28
|
+
"@playcademy/sdk": "0.11.0",
|
|
29
29
|
"better-auth": "1.3.33",
|
|
30
30
|
"better-call": "^1.0.19"
|
|
31
31
|
},
|