@settlemint/dalp-cli 2.1.7-main.23633310734 → 2.1.7-main.23635369242
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/dalp.js +101 -101
- package/package.json +1 -1
package/dist/dalp.js
CHANGED
|
@@ -79857,7 +79857,7 @@ var timestampSerializer = {
|
|
|
79857
79857
|
};
|
|
79858
79858
|
var package_default = {
|
|
79859
79859
|
name: "@settlemint/dalp-sdk",
|
|
79860
|
-
version: "2.1.7-main.
|
|
79860
|
+
version: "2.1.7-main.23635369242",
|
|
79861
79861
|
private: false,
|
|
79862
79862
|
description: "Fully typed SDK for the DALP tokenization platform API",
|
|
79863
79863
|
homepage: "https://settlemint.com",
|
|
@@ -80000,7 +80000,7 @@ function createDalpClient(config3) {
|
|
|
80000
80000
|
// package.json
|
|
80001
80001
|
var package_default2 = {
|
|
80002
80002
|
name: "@settlemint/dalp-cli",
|
|
80003
|
-
version: "2.1.7-main.
|
|
80003
|
+
version: "2.1.7-main.23635369242",
|
|
80004
80004
|
private: false,
|
|
80005
80005
|
description: "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
|
|
80006
80006
|
homepage: "https://settlemint.com",
|
|
@@ -83978,7 +83978,7 @@ var whoamiCommand = exports_Cli.create("whoami", {
|
|
|
83978
83978
|
}
|
|
83979
83979
|
});
|
|
83980
83980
|
|
|
83981
|
-
// ../../node_modules/.bun/@better-auth+api-key@1.5.5+
|
|
83981
|
+
// ../../node_modules/.bun/@better-auth+api-key@1.5.5+9ce0e935ce1428aa/node_modules/@better-auth/api-key/dist/error-codes-vwTWW2ez.mjs
|
|
83982
83982
|
init_error_codes();
|
|
83983
83983
|
var API_KEY_ERROR_CODES = defineErrorCodes({
|
|
83984
83984
|
INVALID_METADATA_TYPE: "metadata must be an object or undefined",
|
|
@@ -84014,7 +84014,7 @@ var API_KEY_ERROR_CODES = defineErrorCodes({
|
|
|
84014
84014
|
ORGANIZATION_PLUGIN_REQUIRED: "Organization plugin is required for organization-owned API keys. Please install and configure the organization plugin."
|
|
84015
84015
|
});
|
|
84016
84016
|
|
|
84017
|
-
// ../../node_modules/.bun/@better-auth+api-key@1.5.5+
|
|
84017
|
+
// ../../node_modules/.bun/@better-auth+api-key@1.5.5+9ce0e935ce1428aa/node_modules/@better-auth/api-key/dist/client.mjs
|
|
84018
84018
|
var apiKeyClient = () => {
|
|
84019
84019
|
return {
|
|
84020
84020
|
id: "api-key",
|
|
@@ -84028,7 +84028,7 @@ var apiKeyClient = () => {
|
|
|
84028
84028
|
};
|
|
84029
84029
|
};
|
|
84030
84030
|
|
|
84031
|
-
// ../../node_modules/.bun/@better-auth+passkey@1.5.5+
|
|
84031
|
+
// ../../node_modules/.bun/@better-auth+passkey@1.5.5+9ce0e935ce1428aa/node_modules/@better-auth/passkey/dist/error-codes-Dvu2mv33.mjs
|
|
84032
84032
|
init_error_codes();
|
|
84033
84033
|
var PASSKEY_ERROR_CODES = defineErrorCodes({
|
|
84034
84034
|
CHALLENGE_NOT_FOUND: "Challenge not found",
|
|
@@ -84446,7 +84446,7 @@ async function startAuthentication(options) {
|
|
|
84446
84446
|
authenticatorAttachment: toAuthenticatorAttachment(credential.authenticatorAttachment)
|
|
84447
84447
|
};
|
|
84448
84448
|
}
|
|
84449
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
84449
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/client/broadcast-channel.mjs
|
|
84450
84450
|
var kBroadcastChannel = Symbol.for("better-auth:broadcast-channel");
|
|
84451
84451
|
var now = () => Math.floor(Date.now() / 1000);
|
|
84452
84452
|
var WindowBroadcastChannel = class {
|
|
@@ -84494,7 +84494,7 @@ function getGlobalBroadcastChannel(name = "better-auth.message") {
|
|
|
84494
84494
|
return globalThis[kBroadcastChannel];
|
|
84495
84495
|
}
|
|
84496
84496
|
|
|
84497
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
84497
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/client/focus-manager.mjs
|
|
84498
84498
|
var kFocusManager = Symbol.for("better-auth:focus-manager");
|
|
84499
84499
|
var WindowFocusManager = class {
|
|
84500
84500
|
listeners = /* @__PURE__ */ new Set;
|
|
@@ -84526,7 +84526,7 @@ function getGlobalFocusManager() {
|
|
|
84526
84526
|
return globalThis[kFocusManager];
|
|
84527
84527
|
}
|
|
84528
84528
|
|
|
84529
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
84529
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/client/online-manager.mjs
|
|
84530
84530
|
var kOnlineManager = Symbol.for("better-auth:online-manager");
|
|
84531
84531
|
var WindowOnlineManager = class {
|
|
84532
84532
|
listeners = /* @__PURE__ */ new Set;
|
|
@@ -84560,7 +84560,7 @@ function getGlobalOnlineManager() {
|
|
|
84560
84560
|
return globalThis[kOnlineManager];
|
|
84561
84561
|
}
|
|
84562
84562
|
|
|
84563
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
84563
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/client/parser.mjs
|
|
84564
84564
|
var PROTO_POLLUTION_PATTERNS = {
|
|
84565
84565
|
proto: /"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,
|
|
84566
84566
|
constructor: /"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,
|
|
@@ -84786,7 +84786,7 @@ var onMount = ($store, initialize) => {
|
|
|
84786
84786
|
};
|
|
84787
84787
|
});
|
|
84788
84788
|
};
|
|
84789
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
84789
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/client/query.mjs
|
|
84790
84790
|
var isServer = () => typeof window === "undefined";
|
|
84791
84791
|
var useAuthQuery = (initializedAtom, path4, $fetch, options) => {
|
|
84792
84792
|
const value3 = atom({
|
|
@@ -84885,7 +84885,7 @@ var useAuthQuery = (initializedAtom, path4, $fetch, options) => {
|
|
|
84885
84885
|
return value3;
|
|
84886
84886
|
};
|
|
84887
84887
|
|
|
84888
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
84888
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/client/session-refresh.mjs
|
|
84889
84889
|
var now2 = () => Math.floor(Date.now() / 1000);
|
|
84890
84890
|
var FOCUS_REFETCH_RATE_LIMIT_SECONDS = 5;
|
|
84891
84891
|
function createSessionRefreshManager(opts) {
|
|
@@ -85019,7 +85019,7 @@ function createSessionRefreshManager(opts) {
|
|
|
85019
85019
|
};
|
|
85020
85020
|
}
|
|
85021
85021
|
|
|
85022
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
85022
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/utils/wildcard.mjs
|
|
85023
85023
|
function escapeRegExpChar(char) {
|
|
85024
85024
|
if (char === "-" || char === "^" || char === "$" || char === "+" || char === "." || char === "(" || char === ")" || char === "|" || char === "[" || char === "]" || char === "{" || char === "}" || char === "*" || char === "?" || char === "\\")
|
|
85025
85025
|
return `\\${char}`;
|
|
@@ -85117,7 +85117,7 @@ function wildcardMatch(pattern, options) {
|
|
|
85117
85117
|
return fn;
|
|
85118
85118
|
}
|
|
85119
85119
|
|
|
85120
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
85120
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/utils/url.mjs
|
|
85121
85121
|
init_env();
|
|
85122
85122
|
init_error2();
|
|
85123
85123
|
function checkHasPath(url2) {
|
|
@@ -85217,7 +85217,7 @@ function getHost(url2) {
|
|
|
85217
85217
|
}
|
|
85218
85218
|
}
|
|
85219
85219
|
|
|
85220
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
85220
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/client/fetch-plugins.mjs
|
|
85221
85221
|
var redirectPlugin = {
|
|
85222
85222
|
id: "redirect",
|
|
85223
85223
|
name: "Redirect",
|
|
@@ -85233,7 +85233,7 @@ var redirectPlugin = {
|
|
|
85233
85233
|
} }
|
|
85234
85234
|
};
|
|
85235
85235
|
|
|
85236
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
85236
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/client/session-atom.mjs
|
|
85237
85237
|
function getSessionAtom($fetch, options) {
|
|
85238
85238
|
const $signal = atom(false);
|
|
85239
85239
|
const session = useAuthQuery($signal, "/get-session", $fetch, { method: "GET" });
|
|
@@ -85889,7 +85889,7 @@ var betterFetch = async (url2, options) => {
|
|
|
85889
85889
|
};
|
|
85890
85890
|
};
|
|
85891
85891
|
|
|
85892
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
85892
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/client/config.mjs
|
|
85893
85893
|
var resolvePublicAuthUrl = (basePath) => {
|
|
85894
85894
|
if (typeof process === "undefined")
|
|
85895
85895
|
return;
|
|
@@ -85999,12 +85999,12 @@ var getClientConfig = (options, loadEnv) => {
|
|
|
85999
85999
|
};
|
|
86000
86000
|
};
|
|
86001
86001
|
|
|
86002
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86002
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/utils/is-atom.mjs
|
|
86003
86003
|
function isAtom(value3) {
|
|
86004
86004
|
return typeof value3 === "object" && value3 !== null && "get" in value3 && typeof value3.get === "function" && "lc" in value3 && typeof value3.lc === "number";
|
|
86005
86005
|
}
|
|
86006
86006
|
|
|
86007
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86007
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/client/proxy.mjs
|
|
86008
86008
|
function getMethod2(path4, knownPathMethods, args) {
|
|
86009
86009
|
const method = knownPathMethods[path4];
|
|
86010
86010
|
const { fetchOptions, query: _query, ...body } = args || {};
|
|
@@ -86086,7 +86086,7 @@ function createDynamicPathProxy(routes, client, knownPathMethods, atoms, atomLis
|
|
|
86086
86086
|
return createProxy();
|
|
86087
86087
|
}
|
|
86088
86088
|
|
|
86089
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86089
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/client/vanilla.mjs
|
|
86090
86090
|
init_string2();
|
|
86091
86091
|
function createAuthClient(options) {
|
|
86092
86092
|
const { pluginPathMethods, pluginsActions, pluginsAtoms, $fetch, atomListeners, $store } = getClientConfig(options);
|
|
@@ -86101,7 +86101,7 @@ function createAuthClient(options) {
|
|
|
86101
86101
|
}, $fetch, pluginPathMethods, pluginsAtoms, atomListeners);
|
|
86102
86102
|
}
|
|
86103
86103
|
|
|
86104
|
-
// ../../node_modules/.bun/@better-auth+passkey@1.5.5+
|
|
86104
|
+
// ../../node_modules/.bun/@better-auth+passkey@1.5.5+9ce0e935ce1428aa/node_modules/@better-auth/passkey/dist/client.mjs
|
|
86105
86105
|
var getPasskeyActions = ($fetch, { $listPasskeys, $store }) => {
|
|
86106
86106
|
const signInPasskey = async (opts, options) => {
|
|
86107
86107
|
const response = await $fetch("/passkey/generate-authenticate-options", {
|
|
@@ -86248,7 +86248,7 @@ var passkeyClient = () => {
|
|
|
86248
86248
|
};
|
|
86249
86249
|
};
|
|
86250
86250
|
|
|
86251
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86251
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/plugins/additional-fields/client.mjs
|
|
86252
86252
|
var inferAdditionalFields = (schema) => {
|
|
86253
86253
|
return {
|
|
86254
86254
|
id: "additional-fields-client",
|
|
@@ -86256,7 +86256,7 @@ var inferAdditionalFields = (schema) => {
|
|
|
86256
86256
|
};
|
|
86257
86257
|
};
|
|
86258
86258
|
|
|
86259
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86259
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/plugins/admin/error-codes.mjs
|
|
86260
86260
|
init_error_codes();
|
|
86261
86261
|
var ADMIN_ERROR_CODES = defineErrorCodes({
|
|
86262
86262
|
FAILED_TO_CREATE_USER: "Failed to create user",
|
|
@@ -86282,7 +86282,7 @@ var ADMIN_ERROR_CODES = defineErrorCodes({
|
|
|
86282
86282
|
INVALID_ROLE_TYPE: "Invalid role type"
|
|
86283
86283
|
});
|
|
86284
86284
|
|
|
86285
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86285
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/plugins/access/access.mjs
|
|
86286
86286
|
init_error2();
|
|
86287
86287
|
function role(statements) {
|
|
86288
86288
|
return {
|
|
@@ -86332,7 +86332,7 @@ function createAccessControl(s) {
|
|
|
86332
86332
|
};
|
|
86333
86333
|
}
|
|
86334
86334
|
|
|
86335
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86335
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/plugins/admin/access/statement.mjs
|
|
86336
86336
|
var defaultStatements = {
|
|
86337
86337
|
user: [
|
|
86338
86338
|
"create",
|
|
@@ -86380,7 +86380,7 @@ var defaultRoles = {
|
|
|
86380
86380
|
user: userAc
|
|
86381
86381
|
};
|
|
86382
86382
|
|
|
86383
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86383
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/plugins/admin/has-permission.mjs
|
|
86384
86384
|
var hasPermission = (input) => {
|
|
86385
86385
|
if (input.userId && input.options?.adminUserIds?.includes(input.userId))
|
|
86386
86386
|
return true;
|
|
@@ -86394,7 +86394,7 @@ var hasPermission = (input) => {
|
|
|
86394
86394
|
return false;
|
|
86395
86395
|
};
|
|
86396
86396
|
|
|
86397
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86397
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/plugins/admin/client.mjs
|
|
86398
86398
|
var adminClient = (options) => {
|
|
86399
86399
|
const roles3 = {
|
|
86400
86400
|
admin: adminAc,
|
|
@@ -86422,7 +86422,7 @@ var adminClient = (options) => {
|
|
|
86422
86422
|
};
|
|
86423
86423
|
};
|
|
86424
86424
|
|
|
86425
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86425
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/plugins/anonymous/error-codes.mjs
|
|
86426
86426
|
init_error_codes();
|
|
86427
86427
|
var ANONYMOUS_ERROR_CODES = defineErrorCodes({
|
|
86428
86428
|
INVALID_EMAIL_FORMAT: "Email was not generated in a valid format",
|
|
@@ -86434,7 +86434,7 @@ var ANONYMOUS_ERROR_CODES = defineErrorCodes({
|
|
|
86434
86434
|
DELETE_ANONYMOUS_USER_DISABLED: "Deleting anonymous users is disabled"
|
|
86435
86435
|
});
|
|
86436
86436
|
|
|
86437
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86437
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/client/plugins/infer-plugin.mjs
|
|
86438
86438
|
var InferServerPlugin = () => {
|
|
86439
86439
|
return {
|
|
86440
86440
|
id: "infer-server-plugin",
|
|
@@ -86442,12 +86442,12 @@ var InferServerPlugin = () => {
|
|
|
86442
86442
|
};
|
|
86443
86443
|
};
|
|
86444
86444
|
|
|
86445
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86445
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/plugins/custom-session/client.mjs
|
|
86446
86446
|
var customSessionClient = () => {
|
|
86447
86447
|
return InferServerPlugin();
|
|
86448
86448
|
};
|
|
86449
86449
|
|
|
86450
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86450
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/plugins/device-authorization/client.mjs
|
|
86451
86451
|
var deviceAuthorizationClient = () => {
|
|
86452
86452
|
return {
|
|
86453
86453
|
id: "device-authorization",
|
|
@@ -86462,7 +86462,7 @@ var deviceAuthorizationClient = () => {
|
|
|
86462
86462
|
};
|
|
86463
86463
|
};
|
|
86464
86464
|
|
|
86465
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86465
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/plugins/email-otp/error-codes.mjs
|
|
86466
86466
|
init_error_codes();
|
|
86467
86467
|
var EMAIL_OTP_ERROR_CODES = defineErrorCodes({
|
|
86468
86468
|
OTP_EXPIRED: "OTP expired",
|
|
@@ -86470,7 +86470,7 @@ var EMAIL_OTP_ERROR_CODES = defineErrorCodes({
|
|
|
86470
86470
|
TOO_MANY_ATTEMPTS: "Too many attempts"
|
|
86471
86471
|
});
|
|
86472
86472
|
|
|
86473
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86473
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/plugins/generic-oauth/error-codes.mjs
|
|
86474
86474
|
init_error_codes();
|
|
86475
86475
|
var GENERIC_OAUTH_ERROR_CODES = defineErrorCodes({
|
|
86476
86476
|
INVALID_OAUTH_CONFIGURATION: "Invalid OAuth configuration",
|
|
@@ -86483,11 +86483,11 @@ var GENERIC_OAUTH_ERROR_CODES = defineErrorCodes({
|
|
|
86483
86483
|
ISSUER_MISSING: "OAuth issuer parameter missing. The authorization server did not include the required iss parameter (RFC 9207)."
|
|
86484
86484
|
});
|
|
86485
86485
|
|
|
86486
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86486
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/plugins/multi-session/error-codes.mjs
|
|
86487
86487
|
init_error_codes();
|
|
86488
86488
|
var MULTI_SESSION_ERROR_CODES = defineErrorCodes({ INVALID_SESSION_TOKEN: "Invalid session token" });
|
|
86489
86489
|
|
|
86490
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86490
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/plugins/organization/error-codes.mjs
|
|
86491
86491
|
init_error_codes();
|
|
86492
86492
|
var ORGANIZATION_ERROR_CODES = defineErrorCodes({
|
|
86493
86493
|
YOU_ARE_NOT_ALLOWED_TO_CREATE_A_NEW_ORGANIZATION: "You are not allowed to create a new organization",
|
|
@@ -86549,7 +86549,7 @@ var ORGANIZATION_ERROR_CODES = defineErrorCodes({
|
|
|
86549
86549
|
ROLE_IS_ASSIGNED_TO_MEMBERS: "Cannot delete a role that is assigned to members. Please reassign the members to a different role first"
|
|
86550
86550
|
});
|
|
86551
86551
|
|
|
86552
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86552
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/plugins/organization/access/statement.mjs
|
|
86553
86553
|
var defaultStatements2 = {
|
|
86554
86554
|
organization: ["update", "delete"],
|
|
86555
86555
|
member: [
|
|
@@ -86624,7 +86624,7 @@ var defaultRoles2 = {
|
|
|
86624
86624
|
member: memberAc
|
|
86625
86625
|
};
|
|
86626
86626
|
|
|
86627
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86627
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/plugins/organization/permission.mjs
|
|
86628
86628
|
var hasPermissionFn = (input, acRoles) => {
|
|
86629
86629
|
if (!input.permissions)
|
|
86630
86630
|
return false;
|
|
@@ -86640,7 +86640,7 @@ var hasPermissionFn = (input, acRoles) => {
|
|
|
86640
86640
|
return false;
|
|
86641
86641
|
};
|
|
86642
86642
|
|
|
86643
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86643
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/plugins/organization/client.mjs
|
|
86644
86644
|
var clientSideHasPermission = (input) => {
|
|
86645
86645
|
return hasPermissionFn(input, input.options.roles || defaultRoles2);
|
|
86646
86646
|
};
|
|
@@ -86730,7 +86730,7 @@ var organizationClient = (options) => {
|
|
|
86730
86730
|
};
|
|
86731
86731
|
};
|
|
86732
86732
|
|
|
86733
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86733
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/plugins/phone-number/error-codes.mjs
|
|
86734
86734
|
init_error_codes();
|
|
86735
86735
|
var PHONE_NUMBER_ERROR_CODES = defineErrorCodes({
|
|
86736
86736
|
INVALID_PHONE_NUMBER: "Invalid phone number",
|
|
@@ -86747,7 +86747,7 @@ var PHONE_NUMBER_ERROR_CODES = defineErrorCodes({
|
|
|
86747
86747
|
TOO_MANY_ATTEMPTS: "Too many attempts"
|
|
86748
86748
|
});
|
|
86749
86749
|
|
|
86750
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86750
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/plugins/two-factor/error-code.mjs
|
|
86751
86751
|
init_error_codes();
|
|
86752
86752
|
var TWO_FACTOR_ERROR_CODES = defineErrorCodes({
|
|
86753
86753
|
OTP_NOT_ENABLED: "OTP not enabled",
|
|
@@ -86761,7 +86761,7 @@ var TWO_FACTOR_ERROR_CODES = defineErrorCodes({
|
|
|
86761
86761
|
INVALID_TWO_FACTOR_COOKIE: "Invalid two factor cookie"
|
|
86762
86762
|
});
|
|
86763
86763
|
|
|
86764
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86764
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/plugins/two-factor/client.mjs
|
|
86765
86765
|
var twoFactorClient = (options) => {
|
|
86766
86766
|
return {
|
|
86767
86767
|
id: "two-factor",
|
|
@@ -86794,7 +86794,7 @@ var twoFactorClient = (options) => {
|
|
|
86794
86794
|
};
|
|
86795
86795
|
};
|
|
86796
86796
|
|
|
86797
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86797
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/plugins/username/error-codes.mjs
|
|
86798
86798
|
init_error_codes();
|
|
86799
86799
|
var USERNAME_ERROR_CODES = defineErrorCodes({
|
|
86800
86800
|
INVALID_USERNAME_OR_PASSWORD: "Invalid username or password",
|
|
@@ -86807,7 +86807,7 @@ var USERNAME_ERROR_CODES = defineErrorCodes({
|
|
|
86807
86807
|
INVALID_DISPLAY_USERNAME: "Display username is invalid"
|
|
86808
86808
|
});
|
|
86809
86809
|
|
|
86810
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86810
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/crypto/random.mjs
|
|
86811
86811
|
init_random();
|
|
86812
86812
|
var generateRandomString = createRandomStringGenerator("a-z", "0-9", "A-Z", "-_");
|
|
86813
86813
|
|
|
@@ -90585,7 +90585,7 @@ function decodeJwt(jwt2) {
|
|
|
90585
90585
|
throw new JWTInvalid("Invalid JWT Claims Set");
|
|
90586
90586
|
return result;
|
|
90587
90587
|
}
|
|
90588
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
90588
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/crypto/jwt.mjs
|
|
90589
90589
|
async function signJWT(payload, secret, expiresIn = 3600) {
|
|
90590
90590
|
return await new SignJWT(payload).setProtectedHeader({ alg: "HS256" }).setIssuedAt().setExpirationTime(Math.floor(Date.now() / 1000) + expiresIn).sign(new TextEncoder().encode(secret));
|
|
90591
90591
|
}
|
|
@@ -90733,7 +90733,7 @@ async function symmetricDecodeJWT(token, secret, salt) {
|
|
|
90733
90733
|
}
|
|
90734
90734
|
}
|
|
90735
90735
|
|
|
90736
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
90736
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/crypto/password.mjs
|
|
90737
90737
|
init_error2();
|
|
90738
90738
|
|
|
90739
90739
|
// ../../node_modules/.bun/@better-auth+utils@0.3.1/node_modules/@better-auth/utils/dist/hex.mjs
|
|
@@ -91705,7 +91705,7 @@ var _poly1305_aead = (xorStream) => (key, nonce3, AAD) => {
|
|
|
91705
91705
|
var chacha20poly1305 = /* @__PURE__ */ wrapCipher({ blockSize: 64, nonceLength: 12, tagLength: 16 }, _poly1305_aead(chacha20));
|
|
91706
91706
|
var xchacha20poly1305 = /* @__PURE__ */ wrapCipher({ blockSize: 64, nonceLength: 24, tagLength: 16 }, _poly1305_aead(xchacha20));
|
|
91707
91707
|
|
|
91708
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
91708
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/crypto/index.mjs
|
|
91709
91709
|
var ENVELOPE_PREFIX = "$ba$";
|
|
91710
91710
|
function parseEnvelope(data2) {
|
|
91711
91711
|
if (!data2.startsWith(ENVELOPE_PREFIX))
|
|
@@ -91760,7 +91760,7 @@ var symmetricDecrypt = async ({ key, data: data2 }) => {
|
|
|
91760
91760
|
throw new Error("Cannot decrypt legacy bare-hex payload: no legacy secret available. Set BETTER_AUTH_SECRET for backwards compatibility.");
|
|
91761
91761
|
};
|
|
91762
91762
|
|
|
91763
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
91763
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/utils/date.mjs
|
|
91764
91764
|
var getDate = (span, unit = "ms") => {
|
|
91765
91765
|
return new Date(Date.now() + (unit === "sec" ? span * 1000 : span));
|
|
91766
91766
|
};
|
|
@@ -91836,7 +91836,7 @@ var verificationSchema = coreSchema.extend({
|
|
|
91836
91836
|
identifier: string2()
|
|
91837
91837
|
});
|
|
91838
91838
|
|
|
91839
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
91839
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/db/schema.mjs
|
|
91840
91840
|
init_error2();
|
|
91841
91841
|
|
|
91842
91842
|
// ../../node_modules/.bun/@better-auth+core@1.5.5+9ce0b2c039e580c5/node_modules/@better-auth/core/dist/utils/db.mjs
|
|
@@ -91850,7 +91850,7 @@ function filterOutputFields(data2, additionalFields) {
|
|
|
91850
91850
|
}), {});
|
|
91851
91851
|
}
|
|
91852
91852
|
|
|
91853
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
91853
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/db/schema.mjs
|
|
91854
91854
|
var cache2 = /* @__PURE__ */ new WeakMap;
|
|
91855
91855
|
function getFields(options, modelName, mode) {
|
|
91856
91856
|
const cacheKey = `${modelName}:${mode}`;
|
|
@@ -91983,12 +91983,12 @@ function mergeSchema(schema, newSchema) {
|
|
|
91983
91983
|
return schema;
|
|
91984
91984
|
}
|
|
91985
91985
|
|
|
91986
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
91986
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/utils/is-promise.mjs
|
|
91987
91987
|
function isPromise(obj) {
|
|
91988
91988
|
return !!obj && (typeof obj === "object" || typeof obj === "function") && typeof obj.then === "function";
|
|
91989
91989
|
}
|
|
91990
91990
|
|
|
91991
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
91991
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/cookies/session-store.mjs
|
|
91992
91992
|
init_json();
|
|
91993
91993
|
init_zod();
|
|
91994
91994
|
var ALLOWED_COOKIE_SIZE = 4096;
|
|
@@ -92172,7 +92172,7 @@ var getSessionQuerySchema = optional(object({
|
|
|
92172
92172
|
disableRefresh: exports_coerce.boolean().meta({ description: "Disable session refresh. Useful for checking session status, without updating the session" }).optional()
|
|
92173
92173
|
}));
|
|
92174
92174
|
|
|
92175
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
92175
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/utils/time.mjs
|
|
92176
92176
|
var SEC = 1000;
|
|
92177
92177
|
var MIN = SEC * 60;
|
|
92178
92178
|
var HOUR = MIN * 60;
|
|
@@ -92181,7 +92181,7 @@ var WEEK = DAY * 7;
|
|
|
92181
92181
|
var MONTH = DAY * 30;
|
|
92182
92182
|
var YEAR = DAY * 365.25;
|
|
92183
92183
|
|
|
92184
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
92184
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/cookies/index.mjs
|
|
92185
92185
|
init_env();
|
|
92186
92186
|
init_error2();
|
|
92187
92187
|
init_json();
|
|
@@ -92237,7 +92237,7 @@ var createHMAC = (algorithm = "SHA-256", encoding = "none") => {
|
|
|
92237
92237
|
return hmac2;
|
|
92238
92238
|
};
|
|
92239
92239
|
|
|
92240
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
92240
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/cookies/index.mjs
|
|
92241
92241
|
async function setCookieCache(ctx, session, dontRememberMe) {
|
|
92242
92242
|
if (!ctx.context.options.session?.cookieCache?.enabled)
|
|
92243
92243
|
return;
|
|
@@ -92336,7 +92336,7 @@ function deleteSessionCookie(ctx, skipDontRememberMe) {
|
|
|
92336
92336
|
expireCookie(ctx, ctx.context.authCookies.dontRememberToken);
|
|
92337
92337
|
}
|
|
92338
92338
|
|
|
92339
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
92339
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/state.mjs
|
|
92340
92340
|
init_error2();
|
|
92341
92341
|
init_zod();
|
|
92342
92342
|
var stateDataSchema = looseObject({
|
|
@@ -92595,10 +92595,10 @@ var queueAfterTransactionHook = async (hook) => {
|
|
|
92595
92595
|
});
|
|
92596
92596
|
};
|
|
92597
92597
|
|
|
92598
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
92598
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/api/state/oauth.mjs
|
|
92599
92599
|
var { get: getOAuthState, set: setOAuthState } = defineRequestState(() => null);
|
|
92600
92600
|
|
|
92601
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
92601
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/oauth2/state.mjs
|
|
92602
92602
|
init_error2();
|
|
92603
92603
|
async function generateState(c, link, additionalData) {
|
|
92604
92604
|
const callbackURL = c.body?.callbackURL || c.context.options.baseURL;
|
|
@@ -92645,10 +92645,10 @@ async function parseState(c) {
|
|
|
92645
92645
|
return parsedData;
|
|
92646
92646
|
}
|
|
92647
92647
|
|
|
92648
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
92648
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/utils/hide-metadata.mjs
|
|
92649
92649
|
var HIDE_METADATA = { scope: "server" };
|
|
92650
92650
|
|
|
92651
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
92651
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/utils/is-api-error.mjs
|
|
92652
92652
|
init_error2();
|
|
92653
92653
|
|
|
92654
92654
|
// ../../node_modules/.bun/better-call@1.3.2+3c5d820c62823f0b/node_modules/better-call/dist/index.mjs
|
|
@@ -93196,12 +93196,12 @@ createMiddleware.create = (opts) => {
|
|
|
93196
93196
|
return fn;
|
|
93197
93197
|
};
|
|
93198
93198
|
|
|
93199
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
93199
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/utils/is-api-error.mjs
|
|
93200
93200
|
function isAPIError2(error48) {
|
|
93201
93201
|
return error48 instanceof APIError || error48 instanceof APIError2 || error48?.name === "APIError";
|
|
93202
93202
|
}
|
|
93203
93203
|
|
|
93204
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
93204
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/auth/trusted-origins.mjs
|
|
93205
93205
|
var matchesOriginPattern = (url2, pattern, settings) => {
|
|
93206
93206
|
if (url2.startsWith("/")) {
|
|
93207
93207
|
if (settings?.allowRelativePaths)
|
|
@@ -93220,7 +93220,7 @@ var matchesOriginPattern = (url2, pattern, settings) => {
|
|
|
93220
93220
|
return protocol === "http:" || protocol === "https:" || !protocol ? pattern === getOrigin(url2) : url2.startsWith(pattern);
|
|
93221
93221
|
};
|
|
93222
93222
|
|
|
93223
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
93223
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/api/middlewares/origin-check.mjs
|
|
93224
93224
|
init_error2();
|
|
93225
93225
|
|
|
93226
93226
|
// ../../node_modules/.bun/@better-auth+core@1.5.5+9ce0b2c039e580c5/node_modules/@better-auth/core/dist/utils/url.mjs
|
|
@@ -93275,7 +93275,7 @@ function deprecate(fn, message2, logger2) {
|
|
|
93275
93275
|
};
|
|
93276
93276
|
}
|
|
93277
93277
|
|
|
93278
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
93278
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/api/middlewares/origin-check.mjs
|
|
93279
93279
|
function shouldSkipCSRFForBackwardCompat(ctx) {
|
|
93280
93280
|
return ctx.context.skipOriginCheck === true && ctx.context.options.advanced?.disableCSRFCheck === undefined;
|
|
93281
93281
|
}
|
|
@@ -93410,7 +93410,7 @@ async function validateFormCsrf(ctx) {
|
|
|
93410
93410
|
}
|
|
93411
93411
|
}
|
|
93412
93412
|
|
|
93413
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
93413
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/utils/get-request-ip.mjs
|
|
93414
93414
|
init_env();
|
|
93415
93415
|
|
|
93416
93416
|
// ../../node_modules/.bun/@better-auth+core@1.5.5+9ce0b2c039e580c5/node_modules/@better-auth/core/dist/utils/ip.mjs
|
|
@@ -93487,7 +93487,7 @@ function normalizeIP(ip, options = {}) {
|
|
|
93487
93487
|
return normalizeIPv6(ip, options.ipv6Subnet || 64);
|
|
93488
93488
|
}
|
|
93489
93489
|
|
|
93490
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
93490
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/utils/get-request-ip.mjs
|
|
93491
93491
|
var LOCALHOST_IP = "127.0.0.1";
|
|
93492
93492
|
function getIp(req, options) {
|
|
93493
93493
|
if (options.advanced?.ipAddress?.disableIpTracking)
|
|
@@ -93507,13 +93507,13 @@ function getIp(req, options) {
|
|
|
93507
93507
|
return null;
|
|
93508
93508
|
}
|
|
93509
93509
|
|
|
93510
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
93510
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/api/rate-limiter/index.mjs
|
|
93511
93511
|
init_json();
|
|
93512
93512
|
|
|
93513
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
93513
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/api/state/should-session-refresh.mjs
|
|
93514
93514
|
var { get: getShouldSkipSessionRefresh, set: setShouldSkipSessionRefresh } = defineRequestState(() => false);
|
|
93515
93515
|
|
|
93516
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
93516
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/_virtual/_rolldown/runtime.mjs
|
|
93517
93517
|
var __defProp3 = Object.defineProperty;
|
|
93518
93518
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
93519
93519
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
@@ -93547,7 +93547,7 @@ var __copyProps = (to, from2, except, desc) => {
|
|
|
93547
93547
|
};
|
|
93548
93548
|
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
93549
93549
|
|
|
93550
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
93550
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/db/get-schema.mjs
|
|
93551
93551
|
function getSchema(config3) {
|
|
93552
93552
|
const tables = getAuthTables(config3);
|
|
93553
93553
|
const schema = {};
|
|
@@ -93582,7 +93582,7 @@ function getSchema(config3) {
|
|
|
93582
93582
|
return schema;
|
|
93583
93583
|
}
|
|
93584
93584
|
|
|
93585
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
93585
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/db/field-converter.mjs
|
|
93586
93586
|
function convertToDB(fields, values) {
|
|
93587
93587
|
const result = values.id ? { id: values.id } : {};
|
|
93588
93588
|
for (const key in fields) {
|
|
@@ -93603,7 +93603,7 @@ function convertFromDB(fields, values) {
|
|
|
93603
93603
|
return result;
|
|
93604
93604
|
}
|
|
93605
93605
|
|
|
93606
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
93606
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/db/with-hooks.mjs
|
|
93607
93607
|
function getWithHooks(adapter, ctx) {
|
|
93608
93608
|
const hooks = ctx.hooks;
|
|
93609
93609
|
async function createWithHooks(data2, model, customCreateFn) {
|
|
@@ -93776,7 +93776,7 @@ function getWithHooks(adapter, ctx) {
|
|
|
93776
93776
|
};
|
|
93777
93777
|
}
|
|
93778
93778
|
|
|
93779
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
93779
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/db/verification-token-storage.mjs
|
|
93780
93780
|
var defaultKeyHasher = async (identifier) => {
|
|
93781
93781
|
const hash4 = await createHash2("SHA-256").digest(new TextEncoder().encode(identifier));
|
|
93782
93782
|
return base64Url.encode(new Uint8Array(hash4), { padding: false });
|
|
@@ -93804,7 +93804,7 @@ function getStorageOption(identifier, config3) {
|
|
|
93804
93804
|
return config3;
|
|
93805
93805
|
}
|
|
93806
93806
|
|
|
93807
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
93807
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/db/internal-adapter.mjs
|
|
93808
93808
|
init_id2();
|
|
93809
93809
|
init_json();
|
|
93810
93810
|
function getTTLSeconds(expiresAt, now4 = Date.now()) {
|
|
@@ -94481,7 +94481,7 @@ var createInternalAdapter = (adapter, ctx) => {
|
|
|
94481
94481
|
};
|
|
94482
94482
|
};
|
|
94483
94483
|
|
|
94484
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
94484
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/db/to-zod.mjs
|
|
94485
94485
|
init_zod();
|
|
94486
94486
|
function toZodSchema({ fields, isClientSide }) {
|
|
94487
94487
|
const zodFields = Object.keys(fields).reduce((acc, key) => {
|
|
@@ -94510,7 +94510,7 @@ function toZodSchema({ fields, isClientSide }) {
|
|
|
94510
94510
|
}, {});
|
|
94511
94511
|
return object(zodFields);
|
|
94512
94512
|
}
|
|
94513
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
94513
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/db/index.mjs
|
|
94514
94514
|
var db_exports = /* @__PURE__ */ __exportAll({
|
|
94515
94515
|
convertFromDB: () => convertFromDB,
|
|
94516
94516
|
convertToDB: () => convertToDB,
|
|
@@ -94531,7 +94531,7 @@ var db_exports = /* @__PURE__ */ __exportAll({
|
|
|
94531
94531
|
});
|
|
94532
94532
|
__reExport(db_exports, exports_db);
|
|
94533
94533
|
|
|
94534
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
94534
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/api/routes/session.mjs
|
|
94535
94535
|
init_error2();
|
|
94536
94536
|
init_json();
|
|
94537
94537
|
init_zod();
|
|
@@ -94950,7 +94950,7 @@ var revokeOtherSessions = createAuthEndpoint("/revoke-other-sessions", {
|
|
|
94950
94950
|
return ctx.json({ status: true });
|
|
94951
94951
|
});
|
|
94952
94952
|
|
|
94953
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
94953
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/context/helpers.mjs
|
|
94954
94954
|
init_env();
|
|
94955
94955
|
async function getAwaitableValue(arr, item) {
|
|
94956
94956
|
if (!arr)
|
|
@@ -94962,7 +94962,7 @@ async function getAwaitableValue(arr, item) {
|
|
|
94962
94962
|
}
|
|
94963
94963
|
}
|
|
94964
94964
|
|
|
94965
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
94965
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/oauth2/utils.mjs
|
|
94966
94966
|
function isLikelyEncrypted(token) {
|
|
94967
94967
|
if (token.startsWith("$ba$"))
|
|
94968
94968
|
return true;
|
|
@@ -94990,7 +94990,7 @@ function setTokenUtil(token, ctx) {
|
|
|
94990
94990
|
return token;
|
|
94991
94991
|
}
|
|
94992
94992
|
|
|
94993
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
94993
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/api/routes/account.mjs
|
|
94994
94994
|
init_error2();
|
|
94995
94995
|
|
|
94996
94996
|
// ../../node_modules/.bun/@better-auth+core@1.5.5+9ce0b2c039e580c5/node_modules/@better-auth/core/dist/social-providers/apple.mjs
|
|
@@ -98099,7 +98099,7 @@ var socialProviders = {
|
|
|
98099
98099
|
var socialProviderList = Object.keys(socialProviders);
|
|
98100
98100
|
var SocialProviderListEnum = _enum2(socialProviderList).or(string2());
|
|
98101
98101
|
|
|
98102
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
98102
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/api/routes/account.mjs
|
|
98103
98103
|
init_zod();
|
|
98104
98104
|
var listUserAccounts = createAuthEndpoint("/list-accounts", {
|
|
98105
98105
|
method: "GET",
|
|
@@ -98615,7 +98615,7 @@ var accountInfo = createAuthEndpoint("/account-info", {
|
|
|
98615
98615
|
return ctx.json(info2);
|
|
98616
98616
|
});
|
|
98617
98617
|
|
|
98618
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
98618
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/api/routes/email-verification.mjs
|
|
98619
98619
|
init_error2();
|
|
98620
98620
|
init_zod();
|
|
98621
98621
|
async function createEmailVerificationToken(secret, email3, updateTo, expiresIn = 3600, extraPayload) {
|
|
@@ -98918,7 +98918,7 @@ var verifyEmail = createAuthEndpoint("/verify-email", {
|
|
|
98918
98918
|
});
|
|
98919
98919
|
});
|
|
98920
98920
|
|
|
98921
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
98921
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/oauth2/link-account.mjs
|
|
98922
98922
|
init_env();
|
|
98923
98923
|
async function handleOAuthUserInfo(c, opts) {
|
|
98924
98924
|
const { userInfo, account: account3, callbackURL, disableSignUp, overrideUserInfo } = opts;
|
|
@@ -99063,7 +99063,7 @@ Error: `, e);
|
|
|
99063
99063
|
};
|
|
99064
99064
|
}
|
|
99065
99065
|
|
|
99066
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
99066
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/api/routes/callback.mjs
|
|
99067
99067
|
init_json();
|
|
99068
99068
|
init_zod();
|
|
99069
99069
|
var schema = object({
|
|
@@ -99242,7 +99242,7 @@ var callbackOAuth = createAuthEndpoint("/callback/:id", {
|
|
|
99242
99242
|
throw c.redirect(toRedirectTo);
|
|
99243
99243
|
});
|
|
99244
99244
|
|
|
99245
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
99245
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/api/routes/error.mjs
|
|
99246
99246
|
init_env();
|
|
99247
99247
|
function sanitize(input) {
|
|
99248
99248
|
return input.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'").replace(/&(?!amp;|lt;|gt;|quot;|#39;|#x[0-9a-fA-F]+;|#[0-9]+;)/g, "&");
|
|
@@ -99625,7 +99625,7 @@ var error48 = createAuthEndpoint("/error", {
|
|
|
99625
99625
|
return new Response(html(c.context.options, safeCode, safeDescription), { headers: { "Content-Type": "text/html" } });
|
|
99626
99626
|
});
|
|
99627
99627
|
|
|
99628
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
99628
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/api/routes/ok.mjs
|
|
99629
99629
|
var ok = createAuthEndpoint("/ok", {
|
|
99630
99630
|
method: "GET",
|
|
99631
99631
|
metadata: {
|
|
@@ -99649,7 +99649,7 @@ var ok = createAuthEndpoint("/ok", {
|
|
|
99649
99649
|
return ctx.json({ ok: true });
|
|
99650
99650
|
});
|
|
99651
99651
|
|
|
99652
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
99652
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/utils/password.mjs
|
|
99653
99653
|
init_error2();
|
|
99654
99654
|
async function validatePassword(ctx, data2) {
|
|
99655
99655
|
const credentialAccount = (await ctx.context.internalAdapter.findAccounts(data2.userId))?.find((account3) => account3.providerId === "credential");
|
|
@@ -99662,7 +99662,7 @@ async function validatePassword(ctx, data2) {
|
|
|
99662
99662
|
});
|
|
99663
99663
|
}
|
|
99664
99664
|
|
|
99665
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
99665
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/api/routes/password.mjs
|
|
99666
99666
|
init_error2();
|
|
99667
99667
|
init_id2();
|
|
99668
99668
|
init_zod();
|
|
@@ -99860,7 +99860,7 @@ var verifyPassword2 = createAuthEndpoint("/verify-password", {
|
|
|
99860
99860
|
return ctx.json({ status: true });
|
|
99861
99861
|
});
|
|
99862
99862
|
|
|
99863
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
99863
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/api/routes/sign-in.mjs
|
|
99864
99864
|
init_error2();
|
|
99865
99865
|
init_zod();
|
|
99866
99866
|
var socialSignInBodySchema = object({
|
|
@@ -99889,7 +99889,7 @@ var socialSignInBodySchema = object({
|
|
|
99889
99889
|
additionalData: record(string2(), any()).optional().meta({ description: "Additional data to be passed through the OAuth flow" })
|
|
99890
99890
|
});
|
|
99891
99891
|
|
|
99892
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
99892
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/api/routes/sign-out.mjs
|
|
99893
99893
|
var signOut = createAuthEndpoint("/sign-out", {
|
|
99894
99894
|
method: "POST",
|
|
99895
99895
|
operationId: "signOut",
|
|
@@ -99917,7 +99917,7 @@ var signOut = createAuthEndpoint("/sign-out", {
|
|
|
99917
99917
|
return ctx.json({ success: true });
|
|
99918
99918
|
});
|
|
99919
99919
|
|
|
99920
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
99920
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/api/routes/sign-up.mjs
|
|
99921
99921
|
init_env();
|
|
99922
99922
|
init_error2();
|
|
99923
99923
|
init_id2();
|
|
@@ -99931,12 +99931,12 @@ var signUpEmailBodySchema = object({
|
|
|
99931
99931
|
rememberMe: boolean2().optional()
|
|
99932
99932
|
}).and(record(string2(), any()));
|
|
99933
99933
|
|
|
99934
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
99934
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/api/routes/update-session.mjs
|
|
99935
99935
|
init_error2();
|
|
99936
99936
|
init_zod();
|
|
99937
99937
|
var updateSessionBodySchema = record(string2().meta({ description: "Field name must be a string" }), any());
|
|
99938
99938
|
|
|
99939
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
99939
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/api/routes/update-user.mjs
|
|
99940
99940
|
init_error2();
|
|
99941
99941
|
init_zod();
|
|
99942
99942
|
var updateUserBodySchema = record(string2().meta({ description: "Field name must be a string" }), any());
|
|
@@ -100362,7 +100362,7 @@ var changeEmail = createAuthEndpoint("/change-email", {
|
|
|
100362
100362
|
return ctx.json({ status: true });
|
|
100363
100363
|
});
|
|
100364
100364
|
|
|
100365
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
100365
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/api/to-auth-endpoints.mjs
|
|
100366
100366
|
init_env();
|
|
100367
100367
|
init_error2();
|
|
100368
100368
|
var defuReplaceArrays = createDefu((obj, key, value3) => {
|
|
@@ -100372,25 +100372,25 @@ var defuReplaceArrays = createDefu((obj, key, value3) => {
|
|
|
100372
100372
|
}
|
|
100373
100373
|
});
|
|
100374
100374
|
|
|
100375
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
100375
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/api/index.mjs
|
|
100376
100376
|
init_env();
|
|
100377
100377
|
init_error2();
|
|
100378
100378
|
|
|
100379
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
100379
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/db/adapter-base.mjs
|
|
100380
100380
|
init_env();
|
|
100381
100381
|
|
|
100382
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
100382
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/db/adapter-kysely.mjs
|
|
100383
100383
|
init_error2();
|
|
100384
100384
|
|
|
100385
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
100385
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/db/get-migration.mjs
|
|
100386
100386
|
init_env();
|
|
100387
100387
|
init_dist();
|
|
100388
100388
|
init_adapter();
|
|
100389
100389
|
|
|
100390
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
100390
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/context/secret-utils.mjs
|
|
100391
100391
|
init_error2();
|
|
100392
100392
|
|
|
100393
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
100393
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/context/create-context.mjs
|
|
100394
100394
|
init_env();
|
|
100395
100395
|
init_error2();
|
|
100396
100396
|
init_id2();
|
|
@@ -100399,14 +100399,14 @@ init_id2();
|
|
|
100399
100399
|
init_env();
|
|
100400
100400
|
init_random();
|
|
100401
100401
|
|
|
100402
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
100402
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/context/init.mjs
|
|
100403
100403
|
init_error2();
|
|
100404
100404
|
init_dist();
|
|
100405
100405
|
|
|
100406
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
100406
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/auth/base.mjs
|
|
100407
100407
|
init_error2();
|
|
100408
100408
|
|
|
100409
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
100409
|
+
// ../../node_modules/.bun/better-auth@1.5.5+f996869f4a68410b/node_modules/better-auth/dist/index.mjs
|
|
100410
100410
|
init_env();
|
|
100411
100411
|
init_error2();
|
|
100412
100412
|
init_error_codes();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@settlemint/dalp-cli",
|
|
3
|
-
"version": "2.1.7-main.
|
|
3
|
+
"version": "2.1.7-main.23635369242",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
|
|
6
6
|
"homepage": "https://settlemint.com",
|