@settlemint/dalp-cli 2.1.7-main.23679177374 → 2.1.7-main.23683686514
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
|
@@ -83075,7 +83075,7 @@ var timestampSerializer = {
|
|
|
83075
83075
|
};
|
|
83076
83076
|
var package_default = {
|
|
83077
83077
|
name: "@settlemint/dalp-sdk",
|
|
83078
|
-
version: "2.1.7-main.
|
|
83078
|
+
version: "2.1.7-main.23683686514",
|
|
83079
83079
|
private: false,
|
|
83080
83080
|
description: "Fully typed SDK for the DALP tokenization platform API",
|
|
83081
83081
|
homepage: "https://settlemint.com",
|
|
@@ -83218,7 +83218,7 @@ function createDalpClient(config3) {
|
|
|
83218
83218
|
// package.json
|
|
83219
83219
|
var package_default2 = {
|
|
83220
83220
|
name: "@settlemint/dalp-cli",
|
|
83221
|
-
version: "2.1.7-main.
|
|
83221
|
+
version: "2.1.7-main.23683686514",
|
|
83222
83222
|
private: false,
|
|
83223
83223
|
description: "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
|
|
83224
83224
|
homepage: "https://settlemint.com",
|
|
@@ -87196,7 +87196,7 @@ var whoamiCommand = exports_Cli.create("whoami", {
|
|
|
87196
87196
|
}
|
|
87197
87197
|
});
|
|
87198
87198
|
|
|
87199
|
-
// ../../node_modules/.bun/@better-auth+api-key@1.5.6+
|
|
87199
|
+
// ../../node_modules/.bun/@better-auth+api-key@1.5.6+c96748cc0dcd5a89/node_modules/@better-auth/api-key/dist/error-codes-vwTWW2ez.mjs
|
|
87200
87200
|
init_error_codes();
|
|
87201
87201
|
var API_KEY_ERROR_CODES = defineErrorCodes({
|
|
87202
87202
|
INVALID_METADATA_TYPE: "metadata must be an object or undefined",
|
|
@@ -87232,7 +87232,7 @@ var API_KEY_ERROR_CODES = defineErrorCodes({
|
|
|
87232
87232
|
ORGANIZATION_PLUGIN_REQUIRED: "Organization plugin is required for organization-owned API keys. Please install and configure the organization plugin."
|
|
87233
87233
|
});
|
|
87234
87234
|
|
|
87235
|
-
// ../../node_modules/.bun/@better-auth+api-key@1.5.6+
|
|
87235
|
+
// ../../node_modules/.bun/@better-auth+api-key@1.5.6+c96748cc0dcd5a89/node_modules/@better-auth/api-key/dist/client.mjs
|
|
87236
87236
|
var apiKeyClient = () => {
|
|
87237
87237
|
return {
|
|
87238
87238
|
id: "api-key",
|
|
@@ -87246,7 +87246,7 @@ var apiKeyClient = () => {
|
|
|
87246
87246
|
};
|
|
87247
87247
|
};
|
|
87248
87248
|
|
|
87249
|
-
// ../../node_modules/.bun/@better-auth+passkey@1.5.6+
|
|
87249
|
+
// ../../node_modules/.bun/@better-auth+passkey@1.5.6+c96748cc0dcd5a89/node_modules/@better-auth/passkey/dist/error-codes-DJf-1Ecu.mjs
|
|
87250
87250
|
init_error_codes();
|
|
87251
87251
|
var PASSKEY_ERROR_CODES = defineErrorCodes({
|
|
87252
87252
|
CHALLENGE_NOT_FOUND: "Challenge not found",
|
|
@@ -87668,7 +87668,7 @@ async function startAuthentication(options) {
|
|
|
87668
87668
|
authenticatorAttachment: toAuthenticatorAttachment(credential.authenticatorAttachment)
|
|
87669
87669
|
};
|
|
87670
87670
|
}
|
|
87671
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
87671
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/client/broadcast-channel.mjs
|
|
87672
87672
|
var kBroadcastChannel = Symbol.for("better-auth:broadcast-channel");
|
|
87673
87673
|
var now = () => Math.floor(Date.now() / 1000);
|
|
87674
87674
|
var WindowBroadcastChannel = class {
|
|
@@ -87716,7 +87716,7 @@ function getGlobalBroadcastChannel(name = "better-auth.message") {
|
|
|
87716
87716
|
return globalThis[kBroadcastChannel];
|
|
87717
87717
|
}
|
|
87718
87718
|
|
|
87719
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
87719
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/client/focus-manager.mjs
|
|
87720
87720
|
var kFocusManager = Symbol.for("better-auth:focus-manager");
|
|
87721
87721
|
var WindowFocusManager = class {
|
|
87722
87722
|
listeners = /* @__PURE__ */ new Set;
|
|
@@ -87748,7 +87748,7 @@ function getGlobalFocusManager() {
|
|
|
87748
87748
|
return globalThis[kFocusManager];
|
|
87749
87749
|
}
|
|
87750
87750
|
|
|
87751
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
87751
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/client/online-manager.mjs
|
|
87752
87752
|
var kOnlineManager = Symbol.for("better-auth:online-manager");
|
|
87753
87753
|
var WindowOnlineManager = class {
|
|
87754
87754
|
listeners = /* @__PURE__ */ new Set;
|
|
@@ -87782,7 +87782,7 @@ function getGlobalOnlineManager() {
|
|
|
87782
87782
|
return globalThis[kOnlineManager];
|
|
87783
87783
|
}
|
|
87784
87784
|
|
|
87785
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
87785
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/client/parser.mjs
|
|
87786
87786
|
var PROTO_POLLUTION_PATTERNS = {
|
|
87787
87787
|
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*:/,
|
|
87788
87788
|
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*:/,
|
|
@@ -88008,7 +88008,7 @@ var onMount = ($store, initialize) => {
|
|
|
88008
88008
|
};
|
|
88009
88009
|
});
|
|
88010
88010
|
};
|
|
88011
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
88011
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/client/query.mjs
|
|
88012
88012
|
var isServer = () => typeof window === "undefined";
|
|
88013
88013
|
var useAuthQuery = (initializedAtom, path4, $fetch, options) => {
|
|
88014
88014
|
const value3 = atom({
|
|
@@ -88107,7 +88107,7 @@ var useAuthQuery = (initializedAtom, path4, $fetch, options) => {
|
|
|
88107
88107
|
return value3;
|
|
88108
88108
|
};
|
|
88109
88109
|
|
|
88110
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
88110
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/client/session-refresh.mjs
|
|
88111
88111
|
var now2 = () => Math.floor(Date.now() / 1000);
|
|
88112
88112
|
function normalizeSessionResponse(res) {
|
|
88113
88113
|
if (typeof res === "object" && res !== null && "data" in res && "error" in res)
|
|
@@ -88247,7 +88247,7 @@ function createSessionRefreshManager(opts) {
|
|
|
88247
88247
|
};
|
|
88248
88248
|
}
|
|
88249
88249
|
|
|
88250
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
88250
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/utils/wildcard.mjs
|
|
88251
88251
|
function escapeRegExpChar(char) {
|
|
88252
88252
|
if (char === "-" || char === "^" || char === "$" || char === "+" || char === "." || char === "(" || char === ")" || char === "|" || char === "[" || char === "]" || char === "{" || char === "}" || char === "*" || char === "?" || char === "\\")
|
|
88253
88253
|
return `\\${char}`;
|
|
@@ -88345,7 +88345,7 @@ function wildcardMatch(pattern, options) {
|
|
|
88345
88345
|
return fn;
|
|
88346
88346
|
}
|
|
88347
88347
|
|
|
88348
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
88348
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/utils/url.mjs
|
|
88349
88349
|
init_env();
|
|
88350
88350
|
init_error2();
|
|
88351
88351
|
function checkHasPath(url2) {
|
|
@@ -88445,7 +88445,7 @@ function getHost(url2) {
|
|
|
88445
88445
|
}
|
|
88446
88446
|
}
|
|
88447
88447
|
|
|
88448
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
88448
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/client/fetch-plugins.mjs
|
|
88449
88449
|
var redirectPlugin = {
|
|
88450
88450
|
id: "redirect",
|
|
88451
88451
|
name: "Redirect",
|
|
@@ -88461,7 +88461,7 @@ var redirectPlugin = {
|
|
|
88461
88461
|
} }
|
|
88462
88462
|
};
|
|
88463
88463
|
|
|
88464
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
88464
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/client/session-atom.mjs
|
|
88465
88465
|
function getSessionAtom($fetch, options) {
|
|
88466
88466
|
const $signal = atom(false);
|
|
88467
88467
|
const session = useAuthQuery($signal, "/get-session", $fetch, { method: "GET" });
|
|
@@ -89117,7 +89117,7 @@ var betterFetch = async (url2, options) => {
|
|
|
89117
89117
|
};
|
|
89118
89118
|
};
|
|
89119
89119
|
|
|
89120
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
89120
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/client/config.mjs
|
|
89121
89121
|
var resolvePublicAuthUrl = (basePath) => {
|
|
89122
89122
|
if (typeof process === "undefined")
|
|
89123
89123
|
return;
|
|
@@ -89227,12 +89227,12 @@ var getClientConfig = (options, loadEnv) => {
|
|
|
89227
89227
|
};
|
|
89228
89228
|
};
|
|
89229
89229
|
|
|
89230
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
89230
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/utils/is-atom.mjs
|
|
89231
89231
|
function isAtom(value3) {
|
|
89232
89232
|
return typeof value3 === "object" && value3 !== null && "get" in value3 && typeof value3.get === "function" && "lc" in value3 && typeof value3.lc === "number";
|
|
89233
89233
|
}
|
|
89234
89234
|
|
|
89235
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
89235
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/client/proxy.mjs
|
|
89236
89236
|
function getMethod2(path4, knownPathMethods, args) {
|
|
89237
89237
|
const method = knownPathMethods[path4];
|
|
89238
89238
|
const { fetchOptions, query: _query, ...body } = args || {};
|
|
@@ -89314,7 +89314,7 @@ function createDynamicPathProxy(routes, client, knownPathMethods, atoms, atomLis
|
|
|
89314
89314
|
return createProxy();
|
|
89315
89315
|
}
|
|
89316
89316
|
|
|
89317
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
89317
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/client/vanilla.mjs
|
|
89318
89318
|
init_string2();
|
|
89319
89319
|
function createAuthClient(options) {
|
|
89320
89320
|
const { pluginPathMethods, pluginsActions, pluginsAtoms, $fetch, atomListeners, $store } = getClientConfig(options);
|
|
@@ -89329,7 +89329,7 @@ function createAuthClient(options) {
|
|
|
89329
89329
|
}, $fetch, pluginPathMethods, pluginsAtoms, atomListeners);
|
|
89330
89330
|
}
|
|
89331
89331
|
|
|
89332
|
-
// ../../node_modules/.bun/@better-auth+passkey@1.5.6+
|
|
89332
|
+
// ../../node_modules/.bun/@better-auth+passkey@1.5.6+c96748cc0dcd5a89/node_modules/@better-auth/passkey/dist/client.mjs
|
|
89333
89333
|
var getPasskeyActions = ($fetch, { $listPasskeys, $store }) => {
|
|
89334
89334
|
const signInPasskey = async (opts, options) => {
|
|
89335
89335
|
const response = await $fetch("/passkey/generate-authenticate-options", {
|
|
@@ -89476,7 +89476,7 @@ var passkeyClient = () => {
|
|
|
89476
89476
|
};
|
|
89477
89477
|
};
|
|
89478
89478
|
|
|
89479
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
89479
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/plugins/additional-fields/client.mjs
|
|
89480
89480
|
var inferAdditionalFields = (schema) => {
|
|
89481
89481
|
return {
|
|
89482
89482
|
id: "additional-fields-client",
|
|
@@ -89484,7 +89484,7 @@ var inferAdditionalFields = (schema) => {
|
|
|
89484
89484
|
};
|
|
89485
89485
|
};
|
|
89486
89486
|
|
|
89487
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
89487
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/plugins/admin/error-codes.mjs
|
|
89488
89488
|
init_error_codes();
|
|
89489
89489
|
var ADMIN_ERROR_CODES = defineErrorCodes({
|
|
89490
89490
|
FAILED_TO_CREATE_USER: "Failed to create user",
|
|
@@ -89510,7 +89510,7 @@ var ADMIN_ERROR_CODES = defineErrorCodes({
|
|
|
89510
89510
|
INVALID_ROLE_TYPE: "Invalid role type"
|
|
89511
89511
|
});
|
|
89512
89512
|
|
|
89513
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
89513
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/plugins/access/access.mjs
|
|
89514
89514
|
init_error2();
|
|
89515
89515
|
function role(statements) {
|
|
89516
89516
|
return {
|
|
@@ -89560,7 +89560,7 @@ function createAccessControl(s) {
|
|
|
89560
89560
|
};
|
|
89561
89561
|
}
|
|
89562
89562
|
|
|
89563
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
89563
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/plugins/admin/access/statement.mjs
|
|
89564
89564
|
var defaultStatements = {
|
|
89565
89565
|
user: [
|
|
89566
89566
|
"create",
|
|
@@ -89608,7 +89608,7 @@ var defaultRoles = {
|
|
|
89608
89608
|
user: userAc
|
|
89609
89609
|
};
|
|
89610
89610
|
|
|
89611
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
89611
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/plugins/admin/has-permission.mjs
|
|
89612
89612
|
var hasPermission = (input) => {
|
|
89613
89613
|
if (input.userId && input.options?.adminUserIds?.includes(input.userId))
|
|
89614
89614
|
return true;
|
|
@@ -89622,7 +89622,7 @@ var hasPermission = (input) => {
|
|
|
89622
89622
|
return false;
|
|
89623
89623
|
};
|
|
89624
89624
|
|
|
89625
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
89625
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/plugins/admin/client.mjs
|
|
89626
89626
|
var adminClient = (options) => {
|
|
89627
89627
|
const roles3 = {
|
|
89628
89628
|
admin: adminAc,
|
|
@@ -89650,7 +89650,7 @@ var adminClient = (options) => {
|
|
|
89650
89650
|
};
|
|
89651
89651
|
};
|
|
89652
89652
|
|
|
89653
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
89653
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/plugins/anonymous/error-codes.mjs
|
|
89654
89654
|
init_error_codes();
|
|
89655
89655
|
var ANONYMOUS_ERROR_CODES = defineErrorCodes({
|
|
89656
89656
|
INVALID_EMAIL_FORMAT: "Email was not generated in a valid format",
|
|
@@ -89662,7 +89662,7 @@ var ANONYMOUS_ERROR_CODES = defineErrorCodes({
|
|
|
89662
89662
|
DELETE_ANONYMOUS_USER_DISABLED: "Deleting anonymous users is disabled"
|
|
89663
89663
|
});
|
|
89664
89664
|
|
|
89665
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
89665
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/client/plugins/infer-plugin.mjs
|
|
89666
89666
|
var InferServerPlugin = () => {
|
|
89667
89667
|
return {
|
|
89668
89668
|
id: "infer-server-plugin",
|
|
@@ -89670,12 +89670,12 @@ var InferServerPlugin = () => {
|
|
|
89670
89670
|
};
|
|
89671
89671
|
};
|
|
89672
89672
|
|
|
89673
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
89673
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/plugins/custom-session/client.mjs
|
|
89674
89674
|
var customSessionClient = () => {
|
|
89675
89675
|
return InferServerPlugin();
|
|
89676
89676
|
};
|
|
89677
89677
|
|
|
89678
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
89678
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/plugins/device-authorization/client.mjs
|
|
89679
89679
|
var deviceAuthorizationClient = () => {
|
|
89680
89680
|
return {
|
|
89681
89681
|
id: "device-authorization",
|
|
@@ -89690,7 +89690,7 @@ var deviceAuthorizationClient = () => {
|
|
|
89690
89690
|
};
|
|
89691
89691
|
};
|
|
89692
89692
|
|
|
89693
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
89693
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/plugins/email-otp/error-codes.mjs
|
|
89694
89694
|
init_error_codes();
|
|
89695
89695
|
var EMAIL_OTP_ERROR_CODES = defineErrorCodes({
|
|
89696
89696
|
OTP_EXPIRED: "OTP expired",
|
|
@@ -89698,7 +89698,7 @@ var EMAIL_OTP_ERROR_CODES = defineErrorCodes({
|
|
|
89698
89698
|
TOO_MANY_ATTEMPTS: "Too many attempts"
|
|
89699
89699
|
});
|
|
89700
89700
|
|
|
89701
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
89701
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/plugins/generic-oauth/error-codes.mjs
|
|
89702
89702
|
init_error_codes();
|
|
89703
89703
|
var GENERIC_OAUTH_ERROR_CODES = defineErrorCodes({
|
|
89704
89704
|
INVALID_OAUTH_CONFIGURATION: "Invalid OAuth configuration",
|
|
@@ -89711,11 +89711,11 @@ var GENERIC_OAUTH_ERROR_CODES = defineErrorCodes({
|
|
|
89711
89711
|
ISSUER_MISSING: "OAuth issuer parameter missing. The authorization server did not include the required iss parameter (RFC 9207)."
|
|
89712
89712
|
});
|
|
89713
89713
|
|
|
89714
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
89714
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/plugins/multi-session/error-codes.mjs
|
|
89715
89715
|
init_error_codes();
|
|
89716
89716
|
var MULTI_SESSION_ERROR_CODES = defineErrorCodes({ INVALID_SESSION_TOKEN: "Invalid session token" });
|
|
89717
89717
|
|
|
89718
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
89718
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/plugins/organization/error-codes.mjs
|
|
89719
89719
|
init_error_codes();
|
|
89720
89720
|
var ORGANIZATION_ERROR_CODES = defineErrorCodes({
|
|
89721
89721
|
YOU_ARE_NOT_ALLOWED_TO_CREATE_A_NEW_ORGANIZATION: "You are not allowed to create a new organization",
|
|
@@ -89777,7 +89777,7 @@ var ORGANIZATION_ERROR_CODES = defineErrorCodes({
|
|
|
89777
89777
|
ROLE_IS_ASSIGNED_TO_MEMBERS: "Cannot delete a role that is assigned to members. Please reassign the members to a different role first"
|
|
89778
89778
|
});
|
|
89779
89779
|
|
|
89780
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
89780
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/plugins/organization/access/statement.mjs
|
|
89781
89781
|
var defaultStatements2 = {
|
|
89782
89782
|
organization: ["update", "delete"],
|
|
89783
89783
|
member: [
|
|
@@ -89852,7 +89852,7 @@ var defaultRoles2 = {
|
|
|
89852
89852
|
member: memberAc
|
|
89853
89853
|
};
|
|
89854
89854
|
|
|
89855
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
89855
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/plugins/organization/permission.mjs
|
|
89856
89856
|
var hasPermissionFn = (input, acRoles) => {
|
|
89857
89857
|
if (!input.permissions)
|
|
89858
89858
|
return false;
|
|
@@ -89868,7 +89868,7 @@ var hasPermissionFn = (input, acRoles) => {
|
|
|
89868
89868
|
return false;
|
|
89869
89869
|
};
|
|
89870
89870
|
|
|
89871
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
89871
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/plugins/organization/client.mjs
|
|
89872
89872
|
var clientSideHasPermission = (input) => {
|
|
89873
89873
|
return hasPermissionFn(input, input.options.roles || defaultRoles2);
|
|
89874
89874
|
};
|
|
@@ -89958,7 +89958,7 @@ var organizationClient = (options) => {
|
|
|
89958
89958
|
};
|
|
89959
89959
|
};
|
|
89960
89960
|
|
|
89961
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
89961
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/plugins/phone-number/error-codes.mjs
|
|
89962
89962
|
init_error_codes();
|
|
89963
89963
|
var PHONE_NUMBER_ERROR_CODES = defineErrorCodes({
|
|
89964
89964
|
INVALID_PHONE_NUMBER: "Invalid phone number",
|
|
@@ -89975,7 +89975,7 @@ var PHONE_NUMBER_ERROR_CODES = defineErrorCodes({
|
|
|
89975
89975
|
TOO_MANY_ATTEMPTS: "Too many attempts"
|
|
89976
89976
|
});
|
|
89977
89977
|
|
|
89978
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
89978
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/plugins/two-factor/error-code.mjs
|
|
89979
89979
|
init_error_codes();
|
|
89980
89980
|
var TWO_FACTOR_ERROR_CODES = defineErrorCodes({
|
|
89981
89981
|
OTP_NOT_ENABLED: "OTP not enabled",
|
|
@@ -89989,7 +89989,7 @@ var TWO_FACTOR_ERROR_CODES = defineErrorCodes({
|
|
|
89989
89989
|
INVALID_TWO_FACTOR_COOKIE: "Invalid two factor cookie"
|
|
89990
89990
|
});
|
|
89991
89991
|
|
|
89992
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
89992
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/plugins/two-factor/client.mjs
|
|
89993
89993
|
var twoFactorClient = (options) => {
|
|
89994
89994
|
return {
|
|
89995
89995
|
id: "two-factor",
|
|
@@ -90026,7 +90026,7 @@ var twoFactorClient = (options) => {
|
|
|
90026
90026
|
};
|
|
90027
90027
|
};
|
|
90028
90028
|
|
|
90029
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
90029
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/plugins/username/error-codes.mjs
|
|
90030
90030
|
init_error_codes();
|
|
90031
90031
|
var USERNAME_ERROR_CODES = defineErrorCodes({
|
|
90032
90032
|
INVALID_USERNAME_OR_PASSWORD: "Invalid username or password",
|
|
@@ -90039,7 +90039,7 @@ var USERNAME_ERROR_CODES = defineErrorCodes({
|
|
|
90039
90039
|
INVALID_DISPLAY_USERNAME: "Display username is invalid"
|
|
90040
90040
|
});
|
|
90041
90041
|
|
|
90042
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
90042
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/crypto/random.mjs
|
|
90043
90043
|
init_random();
|
|
90044
90044
|
var generateRandomString = createRandomStringGenerator("a-z", "0-9", "A-Z", "-_");
|
|
90045
90045
|
|
|
@@ -93817,7 +93817,7 @@ function decodeJwt(jwt2) {
|
|
|
93817
93817
|
throw new JWTInvalid("Invalid JWT Claims Set");
|
|
93818
93818
|
return result;
|
|
93819
93819
|
}
|
|
93820
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
93820
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/crypto/jwt.mjs
|
|
93821
93821
|
async function signJWT(payload, secret, expiresIn = 3600) {
|
|
93822
93822
|
return await new SignJWT(payload).setProtectedHeader({ alg: "HS256" }).setIssuedAt().setExpirationTime(Math.floor(Date.now() / 1000) + expiresIn).sign(new TextEncoder().encode(secret));
|
|
93823
93823
|
}
|
|
@@ -93965,7 +93965,7 @@ async function symmetricDecodeJWT(token, secret, salt) {
|
|
|
93965
93965
|
}
|
|
93966
93966
|
}
|
|
93967
93967
|
|
|
93968
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
93968
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/crypto/password.mjs
|
|
93969
93969
|
init_error2();
|
|
93970
93970
|
|
|
93971
93971
|
// ../../node_modules/.bun/@better-auth+utils@0.3.1/node_modules/@better-auth/utils/dist/hex.mjs
|
|
@@ -94937,7 +94937,7 @@ var _poly1305_aead = (xorStream) => (key, nonce3, AAD) => {
|
|
|
94937
94937
|
var chacha20poly1305 = /* @__PURE__ */ wrapCipher({ blockSize: 64, nonceLength: 12, tagLength: 16 }, _poly1305_aead(chacha20));
|
|
94938
94938
|
var xchacha20poly1305 = /* @__PURE__ */ wrapCipher({ blockSize: 64, nonceLength: 24, tagLength: 16 }, _poly1305_aead(xchacha20));
|
|
94939
94939
|
|
|
94940
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
94940
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/crypto/index.mjs
|
|
94941
94941
|
var ENVELOPE_PREFIX = "$ba$";
|
|
94942
94942
|
function parseEnvelope(data2) {
|
|
94943
94943
|
if (!data2.startsWith(ENVELOPE_PREFIX))
|
|
@@ -94992,7 +94992,7 @@ var symmetricDecrypt = async ({ key, data: data2 }) => {
|
|
|
94992
94992
|
throw new Error("Cannot decrypt legacy bare-hex payload: no legacy secret available. Set BETTER_AUTH_SECRET for backwards compatibility.");
|
|
94993
94993
|
};
|
|
94994
94994
|
|
|
94995
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
94995
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/utils/date.mjs
|
|
94996
94996
|
var getDate = (span, unit = "ms") => {
|
|
94997
94997
|
return new Date(Date.now() + (unit === "sec" ? span * 1000 : span));
|
|
94998
94998
|
};
|
|
@@ -95068,7 +95068,7 @@ var verificationSchema = coreSchema.extend({
|
|
|
95068
95068
|
identifier: string2()
|
|
95069
95069
|
});
|
|
95070
95070
|
|
|
95071
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
95071
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/db/schema.mjs
|
|
95072
95072
|
init_error2();
|
|
95073
95073
|
|
|
95074
95074
|
// ../../node_modules/.bun/@better-auth+core@1.5.6+f307b0e0f909e7b8/node_modules/@better-auth/core/dist/utils/db.mjs
|
|
@@ -95082,7 +95082,7 @@ function filterOutputFields(data2, additionalFields) {
|
|
|
95082
95082
|
}), {});
|
|
95083
95083
|
}
|
|
95084
95084
|
|
|
95085
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
95085
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/db/schema.mjs
|
|
95086
95086
|
var cache2 = /* @__PURE__ */ new WeakMap;
|
|
95087
95087
|
function getFields(options, modelName, mode) {
|
|
95088
95088
|
const cacheKey = `${modelName}:${mode}`;
|
|
@@ -95215,12 +95215,12 @@ function mergeSchema(schema, newSchema) {
|
|
|
95215
95215
|
return schema;
|
|
95216
95216
|
}
|
|
95217
95217
|
|
|
95218
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
95218
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/utils/is-promise.mjs
|
|
95219
95219
|
function isPromise(obj) {
|
|
95220
95220
|
return !!obj && (typeof obj === "object" || typeof obj === "function") && typeof obj.then === "function";
|
|
95221
95221
|
}
|
|
95222
95222
|
|
|
95223
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
95223
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/cookies/session-store.mjs
|
|
95224
95224
|
init_json();
|
|
95225
95225
|
init_zod();
|
|
95226
95226
|
var ALLOWED_COOKIE_SIZE = 4096;
|
|
@@ -95404,7 +95404,7 @@ var getSessionQuerySchema = optional(object({
|
|
|
95404
95404
|
disableRefresh: exports_coerce.boolean().meta({ description: "Disable session refresh. Useful for checking session status, without updating the session" }).optional()
|
|
95405
95405
|
}));
|
|
95406
95406
|
|
|
95407
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
95407
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/utils/time.mjs
|
|
95408
95408
|
var SEC = 1000;
|
|
95409
95409
|
var MIN = SEC * 60;
|
|
95410
95410
|
var HOUR = MIN * 60;
|
|
@@ -95413,7 +95413,7 @@ var WEEK = DAY * 7;
|
|
|
95413
95413
|
var MONTH = DAY * 30;
|
|
95414
95414
|
var YEAR = DAY * 365.25;
|
|
95415
95415
|
|
|
95416
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
95416
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/cookies/index.mjs
|
|
95417
95417
|
init_env();
|
|
95418
95418
|
init_error2();
|
|
95419
95419
|
init_json();
|
|
@@ -95469,7 +95469,7 @@ var createHMAC = (algorithm = "SHA-256", encoding = "none") => {
|
|
|
95469
95469
|
return hmac2;
|
|
95470
95470
|
};
|
|
95471
95471
|
|
|
95472
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
95472
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/cookies/index.mjs
|
|
95473
95473
|
async function setCookieCache(ctx, session, dontRememberMe) {
|
|
95474
95474
|
if (!ctx.context.options.session?.cookieCache?.enabled)
|
|
95475
95475
|
return;
|
|
@@ -95568,7 +95568,7 @@ function deleteSessionCookie(ctx, skipDontRememberMe) {
|
|
|
95568
95568
|
expireCookie(ctx, ctx.context.authCookies.dontRememberToken);
|
|
95569
95569
|
}
|
|
95570
95570
|
|
|
95571
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
95571
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/state.mjs
|
|
95572
95572
|
init_error2();
|
|
95573
95573
|
init_zod();
|
|
95574
95574
|
var stateDataSchema = looseObject({
|
|
@@ -95827,10 +95827,10 @@ var queueAfterTransactionHook = async (hook) => {
|
|
|
95827
95827
|
});
|
|
95828
95828
|
};
|
|
95829
95829
|
|
|
95830
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
95830
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/api/state/oauth.mjs
|
|
95831
95831
|
var { get: getOAuthState, set: setOAuthState } = defineRequestState(() => null);
|
|
95832
95832
|
|
|
95833
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
95833
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/oauth2/state.mjs
|
|
95834
95834
|
init_error2();
|
|
95835
95835
|
async function generateState(c, link, additionalData) {
|
|
95836
95836
|
const callbackURL = c.body?.callbackURL || c.context.options.baseURL;
|
|
@@ -95877,10 +95877,10 @@ async function parseState(c) {
|
|
|
95877
95877
|
return parsedData;
|
|
95878
95878
|
}
|
|
95879
95879
|
|
|
95880
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
95880
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/utils/hide-metadata.mjs
|
|
95881
95881
|
var HIDE_METADATA = { scope: "server" };
|
|
95882
95882
|
|
|
95883
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
95883
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/utils/is-api-error.mjs
|
|
95884
95884
|
init_error2();
|
|
95885
95885
|
|
|
95886
95886
|
// ../../node_modules/.bun/better-call@1.3.2+3c5d820c62823f0b/node_modules/better-call/dist/index.mjs
|
|
@@ -96428,12 +96428,12 @@ createMiddleware.create = (opts) => {
|
|
|
96428
96428
|
return fn;
|
|
96429
96429
|
};
|
|
96430
96430
|
|
|
96431
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
96431
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/utils/is-api-error.mjs
|
|
96432
96432
|
function isAPIError2(error48) {
|
|
96433
96433
|
return error48 instanceof APIError || error48 instanceof APIError2 || error48?.name === "APIError";
|
|
96434
96434
|
}
|
|
96435
96435
|
|
|
96436
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
96436
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/auth/trusted-origins.mjs
|
|
96437
96437
|
var matchesOriginPattern = (url2, pattern, settings) => {
|
|
96438
96438
|
if (url2.startsWith("/")) {
|
|
96439
96439
|
if (settings?.allowRelativePaths)
|
|
@@ -96452,7 +96452,7 @@ var matchesOriginPattern = (url2, pattern, settings) => {
|
|
|
96452
96452
|
return protocol === "http:" || protocol === "https:" || !protocol ? pattern === getOrigin(url2) : url2.startsWith(pattern);
|
|
96453
96453
|
};
|
|
96454
96454
|
|
|
96455
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
96455
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/api/middlewares/origin-check.mjs
|
|
96456
96456
|
init_error2();
|
|
96457
96457
|
|
|
96458
96458
|
// ../../node_modules/.bun/@better-auth+core@1.5.6+f307b0e0f909e7b8/node_modules/@better-auth/core/dist/utils/url.mjs
|
|
@@ -96507,7 +96507,7 @@ function deprecate(fn, message2, logger2) {
|
|
|
96507
96507
|
};
|
|
96508
96508
|
}
|
|
96509
96509
|
|
|
96510
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
96510
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/api/middlewares/origin-check.mjs
|
|
96511
96511
|
function shouldSkipCSRFForBackwardCompat(ctx) {
|
|
96512
96512
|
return ctx.context.skipOriginCheck === true && ctx.context.options.advanced?.disableCSRFCheck === undefined;
|
|
96513
96513
|
}
|
|
@@ -96648,7 +96648,7 @@ async function validateFormCsrf(ctx) {
|
|
|
96648
96648
|
}
|
|
96649
96649
|
}
|
|
96650
96650
|
|
|
96651
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
96651
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/utils/get-request-ip.mjs
|
|
96652
96652
|
init_env();
|
|
96653
96653
|
|
|
96654
96654
|
// ../../node_modules/.bun/@better-auth+core@1.5.6+f307b0e0f909e7b8/node_modules/@better-auth/core/dist/utils/ip.mjs
|
|
@@ -96725,7 +96725,7 @@ function normalizeIP(ip, options = {}) {
|
|
|
96725
96725
|
return normalizeIPv6(ip, options.ipv6Subnet || 64);
|
|
96726
96726
|
}
|
|
96727
96727
|
|
|
96728
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
96728
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/utils/get-request-ip.mjs
|
|
96729
96729
|
var LOCALHOST_IP = "127.0.0.1";
|
|
96730
96730
|
function getIp(req, options) {
|
|
96731
96731
|
if (options.advanced?.ipAddress?.disableIpTracking)
|
|
@@ -96745,13 +96745,13 @@ function getIp(req, options) {
|
|
|
96745
96745
|
return null;
|
|
96746
96746
|
}
|
|
96747
96747
|
|
|
96748
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
96748
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/api/rate-limiter/index.mjs
|
|
96749
96749
|
init_json();
|
|
96750
96750
|
|
|
96751
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
96751
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/api/state/should-session-refresh.mjs
|
|
96752
96752
|
var { get: getShouldSkipSessionRefresh, set: setShouldSkipSessionRefresh } = defineRequestState(() => false);
|
|
96753
96753
|
|
|
96754
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
96754
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/_virtual/_rolldown/runtime.mjs
|
|
96755
96755
|
var __defProp3 = Object.defineProperty;
|
|
96756
96756
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
96757
96757
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
@@ -96785,7 +96785,7 @@ var __copyProps = (to, from2, except, desc) => {
|
|
|
96785
96785
|
};
|
|
96786
96786
|
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
96787
96787
|
|
|
96788
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
96788
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/db/get-schema.mjs
|
|
96789
96789
|
function getSchema(config3) {
|
|
96790
96790
|
const tables = getAuthTables(config3);
|
|
96791
96791
|
const schema = {};
|
|
@@ -96820,7 +96820,7 @@ function getSchema(config3) {
|
|
|
96820
96820
|
return schema;
|
|
96821
96821
|
}
|
|
96822
96822
|
|
|
96823
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
96823
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/db/field-converter.mjs
|
|
96824
96824
|
function convertToDB(fields, values) {
|
|
96825
96825
|
const result = values.id ? { id: values.id } : {};
|
|
96826
96826
|
for (const key in fields) {
|
|
@@ -96841,7 +96841,7 @@ function convertFromDB(fields, values) {
|
|
|
96841
96841
|
return result;
|
|
96842
96842
|
}
|
|
96843
96843
|
|
|
96844
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
96844
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/db/with-hooks.mjs
|
|
96845
96845
|
init_instrumentation();
|
|
96846
96846
|
function getWithHooks(adapter, ctx) {
|
|
96847
96847
|
const hooksEntries = ctx.hooks;
|
|
@@ -97055,7 +97055,7 @@ function getWithHooks(adapter, ctx) {
|
|
|
97055
97055
|
};
|
|
97056
97056
|
}
|
|
97057
97057
|
|
|
97058
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
97058
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/db/verification-token-storage.mjs
|
|
97059
97059
|
var defaultKeyHasher = async (identifier) => {
|
|
97060
97060
|
const hash4 = await createHash2("SHA-256").digest(new TextEncoder().encode(identifier));
|
|
97061
97061
|
return base64Url.encode(new Uint8Array(hash4), { padding: false });
|
|
@@ -97083,7 +97083,7 @@ function getStorageOption(identifier, config3) {
|
|
|
97083
97083
|
return config3;
|
|
97084
97084
|
}
|
|
97085
97085
|
|
|
97086
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
97086
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/db/internal-adapter.mjs
|
|
97087
97087
|
init_id2();
|
|
97088
97088
|
init_json();
|
|
97089
97089
|
function getTTLSeconds(expiresAt, now4 = Date.now()) {
|
|
@@ -97760,7 +97760,7 @@ var createInternalAdapter = (adapter, ctx) => {
|
|
|
97760
97760
|
};
|
|
97761
97761
|
};
|
|
97762
97762
|
|
|
97763
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
97763
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/db/to-zod.mjs
|
|
97764
97764
|
init_zod();
|
|
97765
97765
|
function toZodSchema({ fields, isClientSide }) {
|
|
97766
97766
|
const zodFields = Object.keys(fields).reduce((acc, key) => {
|
|
@@ -97789,7 +97789,7 @@ function toZodSchema({ fields, isClientSide }) {
|
|
|
97789
97789
|
}, {});
|
|
97790
97790
|
return object(zodFields);
|
|
97791
97791
|
}
|
|
97792
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
97792
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/db/index.mjs
|
|
97793
97793
|
var db_exports = /* @__PURE__ */ __exportAll({
|
|
97794
97794
|
convertFromDB: () => convertFromDB,
|
|
97795
97795
|
convertToDB: () => convertToDB,
|
|
@@ -97810,7 +97810,7 @@ var db_exports = /* @__PURE__ */ __exportAll({
|
|
|
97810
97810
|
});
|
|
97811
97811
|
__reExport(db_exports, exports_db);
|
|
97812
97812
|
|
|
97813
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
97813
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/api/routes/session.mjs
|
|
97814
97814
|
init_error2();
|
|
97815
97815
|
init_json();
|
|
97816
97816
|
init_zod();
|
|
@@ -98229,7 +98229,7 @@ var revokeOtherSessions = createAuthEndpoint("/revoke-other-sessions", {
|
|
|
98229
98229
|
return ctx.json({ status: true });
|
|
98230
98230
|
});
|
|
98231
98231
|
|
|
98232
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
98232
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/context/helpers.mjs
|
|
98233
98233
|
init_env();
|
|
98234
98234
|
async function getAwaitableValue(arr, item) {
|
|
98235
98235
|
if (!arr)
|
|
@@ -98241,7 +98241,7 @@ async function getAwaitableValue(arr, item) {
|
|
|
98241
98241
|
}
|
|
98242
98242
|
}
|
|
98243
98243
|
|
|
98244
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
98244
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/oauth2/utils.mjs
|
|
98245
98245
|
function isLikelyEncrypted(token) {
|
|
98246
98246
|
if (token.startsWith("$ba$"))
|
|
98247
98247
|
return true;
|
|
@@ -98269,7 +98269,7 @@ function setTokenUtil(token, ctx) {
|
|
|
98269
98269
|
return token;
|
|
98270
98270
|
}
|
|
98271
98271
|
|
|
98272
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
98272
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/api/routes/account.mjs
|
|
98273
98273
|
init_error2();
|
|
98274
98274
|
|
|
98275
98275
|
// ../../node_modules/.bun/@better-auth+core@1.5.6+f307b0e0f909e7b8/node_modules/@better-auth/core/dist/social-providers/apple.mjs
|
|
@@ -101477,7 +101477,7 @@ var socialProviders = {
|
|
|
101477
101477
|
var socialProviderList = Object.keys(socialProviders);
|
|
101478
101478
|
var SocialProviderListEnum = _enum2(socialProviderList).or(string2());
|
|
101479
101479
|
|
|
101480
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
101480
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/api/routes/account.mjs
|
|
101481
101481
|
init_zod();
|
|
101482
101482
|
var listUserAccounts = createAuthEndpoint("/list-accounts", {
|
|
101483
101483
|
method: "GET",
|
|
@@ -101993,7 +101993,7 @@ var accountInfo = createAuthEndpoint("/account-info", {
|
|
|
101993
101993
|
return ctx.json(info2);
|
|
101994
101994
|
});
|
|
101995
101995
|
|
|
101996
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
101996
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/api/routes/email-verification.mjs
|
|
101997
101997
|
init_error2();
|
|
101998
101998
|
init_zod();
|
|
101999
101999
|
async function createEmailVerificationToken(secret, email3, updateTo, expiresIn = 3600, extraPayload) {
|
|
@@ -102296,7 +102296,7 @@ var verifyEmail = createAuthEndpoint("/verify-email", {
|
|
|
102296
102296
|
});
|
|
102297
102297
|
});
|
|
102298
102298
|
|
|
102299
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
102299
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/oauth2/link-account.mjs
|
|
102300
102300
|
init_env();
|
|
102301
102301
|
async function handleOAuthUserInfo(c, opts) {
|
|
102302
102302
|
const { userInfo, account: account3, callbackURL, disableSignUp, overrideUserInfo } = opts;
|
|
@@ -102441,7 +102441,7 @@ Error: `, e);
|
|
|
102441
102441
|
};
|
|
102442
102442
|
}
|
|
102443
102443
|
|
|
102444
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
102444
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/api/routes/callback.mjs
|
|
102445
102445
|
init_json();
|
|
102446
102446
|
init_zod();
|
|
102447
102447
|
var schema = object({
|
|
@@ -102620,7 +102620,7 @@ var callbackOAuth = createAuthEndpoint("/callback/:id", {
|
|
|
102620
102620
|
throw c.redirect(toRedirectTo);
|
|
102621
102621
|
});
|
|
102622
102622
|
|
|
102623
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
102623
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/api/routes/error.mjs
|
|
102624
102624
|
init_env();
|
|
102625
102625
|
function sanitize(input) {
|
|
102626
102626
|
return input.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'").replace(/&(?!amp;|lt;|gt;|quot;|#39;|#x[0-9a-fA-F]+;|#[0-9]+;)/g, "&");
|
|
@@ -103003,7 +103003,7 @@ var error48 = createAuthEndpoint("/error", {
|
|
|
103003
103003
|
return new Response(html(c.context.options, safeCode, safeDescription), { headers: { "Content-Type": "text/html" } });
|
|
103004
103004
|
});
|
|
103005
103005
|
|
|
103006
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
103006
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/api/routes/ok.mjs
|
|
103007
103007
|
var ok = createAuthEndpoint("/ok", {
|
|
103008
103008
|
method: "GET",
|
|
103009
103009
|
metadata: {
|
|
@@ -103027,7 +103027,7 @@ var ok = createAuthEndpoint("/ok", {
|
|
|
103027
103027
|
return ctx.json({ ok: true });
|
|
103028
103028
|
});
|
|
103029
103029
|
|
|
103030
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
103030
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/utils/password.mjs
|
|
103031
103031
|
init_error2();
|
|
103032
103032
|
async function validatePassword(ctx, data2) {
|
|
103033
103033
|
const credentialAccount = (await ctx.context.internalAdapter.findAccounts(data2.userId))?.find((account3) => account3.providerId === "credential");
|
|
@@ -103040,7 +103040,7 @@ async function validatePassword(ctx, data2) {
|
|
|
103040
103040
|
});
|
|
103041
103041
|
}
|
|
103042
103042
|
|
|
103043
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
103043
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/api/routes/password.mjs
|
|
103044
103044
|
init_error2();
|
|
103045
103045
|
init_id2();
|
|
103046
103046
|
init_zod();
|
|
@@ -103238,7 +103238,7 @@ var verifyPassword2 = createAuthEndpoint("/verify-password", {
|
|
|
103238
103238
|
return ctx.json({ status: true });
|
|
103239
103239
|
});
|
|
103240
103240
|
|
|
103241
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
103241
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/api/routes/sign-in.mjs
|
|
103242
103242
|
init_error2();
|
|
103243
103243
|
init_zod();
|
|
103244
103244
|
var socialSignInBodySchema = object({
|
|
@@ -103267,7 +103267,7 @@ var socialSignInBodySchema = object({
|
|
|
103267
103267
|
additionalData: record(string2(), any()).optional().meta({ description: "Additional data to be passed through the OAuth flow" })
|
|
103268
103268
|
});
|
|
103269
103269
|
|
|
103270
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
103270
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/api/routes/sign-out.mjs
|
|
103271
103271
|
var signOut = createAuthEndpoint("/sign-out", {
|
|
103272
103272
|
method: "POST",
|
|
103273
103273
|
operationId: "signOut",
|
|
@@ -103295,7 +103295,7 @@ var signOut = createAuthEndpoint("/sign-out", {
|
|
|
103295
103295
|
return ctx.json({ success: true });
|
|
103296
103296
|
});
|
|
103297
103297
|
|
|
103298
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
103298
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/api/routes/sign-up.mjs
|
|
103299
103299
|
init_env();
|
|
103300
103300
|
init_error2();
|
|
103301
103301
|
init_id2();
|
|
@@ -103309,12 +103309,12 @@ var signUpEmailBodySchema = object({
|
|
|
103309
103309
|
rememberMe: boolean2().optional()
|
|
103310
103310
|
}).and(record(string2(), any()));
|
|
103311
103311
|
|
|
103312
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
103312
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/api/routes/update-session.mjs
|
|
103313
103313
|
init_error2();
|
|
103314
103314
|
init_zod();
|
|
103315
103315
|
var updateSessionBodySchema = record(string2().meta({ description: "Field name must be a string" }), any());
|
|
103316
103316
|
|
|
103317
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
103317
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/api/routes/update-user.mjs
|
|
103318
103318
|
init_error2();
|
|
103319
103319
|
init_zod();
|
|
103320
103320
|
var updateUserBodySchema = record(string2().meta({ description: "Field name must be a string" }), any());
|
|
@@ -103740,7 +103740,7 @@ var changeEmail = createAuthEndpoint("/change-email", {
|
|
|
103740
103740
|
return ctx.json({ status: true });
|
|
103741
103741
|
});
|
|
103742
103742
|
|
|
103743
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
103743
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/api/to-auth-endpoints.mjs
|
|
103744
103744
|
init_env();
|
|
103745
103745
|
init_error2();
|
|
103746
103746
|
init_instrumentation();
|
|
@@ -103751,26 +103751,26 @@ var defuReplaceArrays = createDefu((obj, key, value3) => {
|
|
|
103751
103751
|
}
|
|
103752
103752
|
});
|
|
103753
103753
|
|
|
103754
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
103754
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/api/index.mjs
|
|
103755
103755
|
init_env();
|
|
103756
103756
|
init_error2();
|
|
103757
103757
|
init_instrumentation();
|
|
103758
103758
|
|
|
103759
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
103759
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/db/adapter-base.mjs
|
|
103760
103760
|
init_env();
|
|
103761
103761
|
|
|
103762
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
103762
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/db/adapter-kysely.mjs
|
|
103763
103763
|
init_error2();
|
|
103764
103764
|
|
|
103765
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
103765
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/db/get-migration.mjs
|
|
103766
103766
|
init_env();
|
|
103767
103767
|
init_dist();
|
|
103768
103768
|
init_adapter();
|
|
103769
103769
|
|
|
103770
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
103770
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/context/secret-utils.mjs
|
|
103771
103771
|
init_error2();
|
|
103772
103772
|
|
|
103773
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
103773
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/context/create-context.mjs
|
|
103774
103774
|
init_env();
|
|
103775
103775
|
init_error2();
|
|
103776
103776
|
init_id2();
|
|
@@ -103779,14 +103779,14 @@ init_id2();
|
|
|
103779
103779
|
init_env();
|
|
103780
103780
|
init_random();
|
|
103781
103781
|
|
|
103782
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
103782
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/context/init.mjs
|
|
103783
103783
|
init_error2();
|
|
103784
103784
|
init_dist();
|
|
103785
103785
|
|
|
103786
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
103786
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/auth/base.mjs
|
|
103787
103787
|
init_error2();
|
|
103788
103788
|
|
|
103789
|
-
// ../../node_modules/.bun/better-auth@1.5.6+
|
|
103789
|
+
// ../../node_modules/.bun/better-auth@1.5.6+b19bff43f4f04392/node_modules/better-auth/dist/index.mjs
|
|
103790
103790
|
init_env();
|
|
103791
103791
|
init_error2();
|
|
103792
103792
|
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.23683686514",
|
|
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",
|