@settlemint/dalp-cli 2.1.7-main.23501616988 → 2.1.7-main.23511062166
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 +111 -106
- package/package.json +1 -1
package/dist/dalp.js
CHANGED
|
@@ -65332,7 +65332,8 @@ var StatsAssetsOutputSchema = exports_external.object({
|
|
|
65332
65332
|
valueBreakdownByClass: exports_external.record(exports_external.string(), bigDecimal()),
|
|
65333
65333
|
tokensCreatedCount: exports_external.number().int(),
|
|
65334
65334
|
tokensLaunchedCount: exports_external.number().int(),
|
|
65335
|
-
pendingLaunchesCount: exports_external.number().int()
|
|
65335
|
+
pendingLaunchesCount: exports_external.number().int(),
|
|
65336
|
+
conversionReliable: exports_external.boolean()
|
|
65336
65337
|
});
|
|
65337
65338
|
var StatsClaimsStatsOutputSchema = exports_external.object({
|
|
65338
65339
|
range: StatsResolvedRangeSchema,
|
|
@@ -65372,7 +65373,8 @@ var StatsPortfolioOutputSchema = exports_external.object({
|
|
|
65372
65373
|
data: exports_external.array(exports_external.object({
|
|
65373
65374
|
timestamp: timestamp(),
|
|
65374
65375
|
totalValueInBaseCurrency: exports_external.number()
|
|
65375
|
-
}))
|
|
65376
|
+
})),
|
|
65377
|
+
conversionReliable: exports_external.boolean()
|
|
65376
65378
|
});
|
|
65377
65379
|
var StatsPortfolioDetailsInputSchema = exports_external.object({}).strict();
|
|
65378
65380
|
var StatsPortfolioDetailsTypeBreakdownSchema = exports_external.object({
|
|
@@ -65407,14 +65409,16 @@ var StatsPortfolioDetailsOutputSchema = exports_external.object({
|
|
|
65407
65409
|
holdingsBreakdownByClass: exports_external.record(exports_external.string(), exports_external.number().int().min(0)).meta({
|
|
65408
65410
|
description: "Holdings count per asset class. Keys match valueBreakdownByClass.",
|
|
65409
65411
|
examples: [{ fixedIncome: 5, cashEquivalent: 2 }]
|
|
65410
|
-
})
|
|
65412
|
+
}),
|
|
65413
|
+
conversionReliable: exports_external.boolean()
|
|
65411
65414
|
});
|
|
65412
65415
|
var StatsSystemValueHistoryOutputSchema = exports_external.object({
|
|
65413
65416
|
range: StatsResolvedRangeSchema,
|
|
65414
65417
|
data: exports_external.array(exports_external.object({
|
|
65415
65418
|
timestamp: timestamp(),
|
|
65416
65419
|
totalValueInBaseCurrency: exports_external.number()
|
|
65417
|
-
}))
|
|
65420
|
+
})),
|
|
65421
|
+
conversionReliable: exports_external.boolean()
|
|
65418
65422
|
});
|
|
65419
65423
|
var StatsTopicSchemeClaimsCoverageOutputSchema = exports_external.object({
|
|
65420
65424
|
totalActiveTopicSchemes: exports_external.number(),
|
|
@@ -65470,7 +65474,8 @@ var StatsTrustedIssuerStatsStateOutputSchema = exports_external.object({
|
|
|
65470
65474
|
});
|
|
65471
65475
|
var StatsValueInputSchema = exports_external.object({}).strict();
|
|
65472
65476
|
var StatsValueOutputSchema = exports_external.object({
|
|
65473
|
-
totalValue: bigDecimal()
|
|
65477
|
+
totalValue: bigDecimal(),
|
|
65478
|
+
conversionReliable: exports_external.boolean()
|
|
65474
65479
|
});
|
|
65475
65480
|
var statsAssets = v1Contract.route({
|
|
65476
65481
|
method: "GET",
|
|
@@ -79504,7 +79509,7 @@ var timestampSerializer = {
|
|
|
79504
79509
|
};
|
|
79505
79510
|
var package_default = {
|
|
79506
79511
|
name: "@settlemint/dalp-sdk",
|
|
79507
|
-
version: "2.1.7-main.
|
|
79512
|
+
version: "2.1.7-main.23511062166",
|
|
79508
79513
|
private: false,
|
|
79509
79514
|
description: "Fully typed SDK for the DALP tokenization platform API",
|
|
79510
79515
|
homepage: "https://settlemint.com",
|
|
@@ -79647,7 +79652,7 @@ function createDalpClient(config3) {
|
|
|
79647
79652
|
// package.json
|
|
79648
79653
|
var package_default2 = {
|
|
79649
79654
|
name: "@settlemint/dalp-cli",
|
|
79650
|
-
version: "2.1.7-main.
|
|
79655
|
+
version: "2.1.7-main.23511062166",
|
|
79651
79656
|
private: false,
|
|
79652
79657
|
description: "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
|
|
79653
79658
|
homepage: "https://settlemint.com",
|
|
@@ -83573,7 +83578,7 @@ var whoamiCommand = exports_Cli.create("whoami", {
|
|
|
83573
83578
|
}
|
|
83574
83579
|
});
|
|
83575
83580
|
|
|
83576
|
-
// ../../node_modules/.bun/@better-auth+api-key@1.5.5+
|
|
83581
|
+
// ../../node_modules/.bun/@better-auth+api-key@1.5.5+e6141e43777f5000/node_modules/@better-auth/api-key/dist/error-codes-vwTWW2ez.mjs
|
|
83577
83582
|
init_error_codes();
|
|
83578
83583
|
var API_KEY_ERROR_CODES = defineErrorCodes({
|
|
83579
83584
|
INVALID_METADATA_TYPE: "metadata must be an object or undefined",
|
|
@@ -83609,7 +83614,7 @@ var API_KEY_ERROR_CODES = defineErrorCodes({
|
|
|
83609
83614
|
ORGANIZATION_PLUGIN_REQUIRED: "Organization plugin is required for organization-owned API keys. Please install and configure the organization plugin."
|
|
83610
83615
|
});
|
|
83611
83616
|
|
|
83612
|
-
// ../../node_modules/.bun/@better-auth+api-key@1.5.5+
|
|
83617
|
+
// ../../node_modules/.bun/@better-auth+api-key@1.5.5+e6141e43777f5000/node_modules/@better-auth/api-key/dist/client.mjs
|
|
83613
83618
|
var apiKeyClient = () => {
|
|
83614
83619
|
return {
|
|
83615
83620
|
id: "api-key",
|
|
@@ -83623,7 +83628,7 @@ var apiKeyClient = () => {
|
|
|
83623
83628
|
};
|
|
83624
83629
|
};
|
|
83625
83630
|
|
|
83626
|
-
// ../../node_modules/.bun/@better-auth+passkey@1.5.5+
|
|
83631
|
+
// ../../node_modules/.bun/@better-auth+passkey@1.5.5+e6141e43777f5000/node_modules/@better-auth/passkey/dist/error-codes-Dvu2mv33.mjs
|
|
83627
83632
|
init_error_codes();
|
|
83628
83633
|
var PASSKEY_ERROR_CODES = defineErrorCodes({
|
|
83629
83634
|
CHALLENGE_NOT_FOUND: "Challenge not found",
|
|
@@ -84041,7 +84046,7 @@ async function startAuthentication(options) {
|
|
|
84041
84046
|
authenticatorAttachment: toAuthenticatorAttachment(credential.authenticatorAttachment)
|
|
84042
84047
|
};
|
|
84043
84048
|
}
|
|
84044
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
84049
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/client/broadcast-channel.mjs
|
|
84045
84050
|
var kBroadcastChannel = Symbol.for("better-auth:broadcast-channel");
|
|
84046
84051
|
var now = () => Math.floor(Date.now() / 1000);
|
|
84047
84052
|
var WindowBroadcastChannel = class {
|
|
@@ -84089,7 +84094,7 @@ function getGlobalBroadcastChannel(name = "better-auth.message") {
|
|
|
84089
84094
|
return globalThis[kBroadcastChannel];
|
|
84090
84095
|
}
|
|
84091
84096
|
|
|
84092
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
84097
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/client/focus-manager.mjs
|
|
84093
84098
|
var kFocusManager = Symbol.for("better-auth:focus-manager");
|
|
84094
84099
|
var WindowFocusManager = class {
|
|
84095
84100
|
listeners = /* @__PURE__ */ new Set;
|
|
@@ -84121,7 +84126,7 @@ function getGlobalFocusManager() {
|
|
|
84121
84126
|
return globalThis[kFocusManager];
|
|
84122
84127
|
}
|
|
84123
84128
|
|
|
84124
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
84129
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/client/online-manager.mjs
|
|
84125
84130
|
var kOnlineManager = Symbol.for("better-auth:online-manager");
|
|
84126
84131
|
var WindowOnlineManager = class {
|
|
84127
84132
|
listeners = /* @__PURE__ */ new Set;
|
|
@@ -84155,7 +84160,7 @@ function getGlobalOnlineManager() {
|
|
|
84155
84160
|
return globalThis[kOnlineManager];
|
|
84156
84161
|
}
|
|
84157
84162
|
|
|
84158
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
84163
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/client/parser.mjs
|
|
84159
84164
|
var PROTO_POLLUTION_PATTERNS = {
|
|
84160
84165
|
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*:/,
|
|
84161
84166
|
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*:/,
|
|
@@ -84381,7 +84386,7 @@ var onMount = ($store, initialize) => {
|
|
|
84381
84386
|
};
|
|
84382
84387
|
});
|
|
84383
84388
|
};
|
|
84384
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
84389
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/client/query.mjs
|
|
84385
84390
|
var isServer = () => typeof window === "undefined";
|
|
84386
84391
|
var useAuthQuery = (initializedAtom, path4, $fetch, options) => {
|
|
84387
84392
|
const value3 = atom({
|
|
@@ -84480,7 +84485,7 @@ var useAuthQuery = (initializedAtom, path4, $fetch, options) => {
|
|
|
84480
84485
|
return value3;
|
|
84481
84486
|
};
|
|
84482
84487
|
|
|
84483
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
84488
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/client/session-refresh.mjs
|
|
84484
84489
|
var now2 = () => Math.floor(Date.now() / 1000);
|
|
84485
84490
|
var FOCUS_REFETCH_RATE_LIMIT_SECONDS = 5;
|
|
84486
84491
|
function createSessionRefreshManager(opts) {
|
|
@@ -84614,7 +84619,7 @@ function createSessionRefreshManager(opts) {
|
|
|
84614
84619
|
};
|
|
84615
84620
|
}
|
|
84616
84621
|
|
|
84617
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
84622
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/utils/wildcard.mjs
|
|
84618
84623
|
function escapeRegExpChar(char) {
|
|
84619
84624
|
if (char === "-" || char === "^" || char === "$" || char === "+" || char === "." || char === "(" || char === ")" || char === "|" || char === "[" || char === "]" || char === "{" || char === "}" || char === "*" || char === "?" || char === "\\")
|
|
84620
84625
|
return `\\${char}`;
|
|
@@ -84712,7 +84717,7 @@ function wildcardMatch(pattern, options) {
|
|
|
84712
84717
|
return fn;
|
|
84713
84718
|
}
|
|
84714
84719
|
|
|
84715
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
84720
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/utils/url.mjs
|
|
84716
84721
|
init_env();
|
|
84717
84722
|
init_error2();
|
|
84718
84723
|
function checkHasPath(url2) {
|
|
@@ -84812,7 +84817,7 @@ function getHost(url2) {
|
|
|
84812
84817
|
}
|
|
84813
84818
|
}
|
|
84814
84819
|
|
|
84815
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
84820
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/client/fetch-plugins.mjs
|
|
84816
84821
|
var redirectPlugin = {
|
|
84817
84822
|
id: "redirect",
|
|
84818
84823
|
name: "Redirect",
|
|
@@ -84828,7 +84833,7 @@ var redirectPlugin = {
|
|
|
84828
84833
|
} }
|
|
84829
84834
|
};
|
|
84830
84835
|
|
|
84831
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
84836
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/client/session-atom.mjs
|
|
84832
84837
|
function getSessionAtom($fetch, options) {
|
|
84833
84838
|
const $signal = atom(false);
|
|
84834
84839
|
const session = useAuthQuery($signal, "/get-session", $fetch, { method: "GET" });
|
|
@@ -85484,7 +85489,7 @@ var betterFetch = async (url2, options) => {
|
|
|
85484
85489
|
};
|
|
85485
85490
|
};
|
|
85486
85491
|
|
|
85487
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
85492
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/client/config.mjs
|
|
85488
85493
|
var resolvePublicAuthUrl = (basePath) => {
|
|
85489
85494
|
if (typeof process === "undefined")
|
|
85490
85495
|
return;
|
|
@@ -85594,12 +85599,12 @@ var getClientConfig = (options, loadEnv) => {
|
|
|
85594
85599
|
};
|
|
85595
85600
|
};
|
|
85596
85601
|
|
|
85597
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
85602
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/utils/is-atom.mjs
|
|
85598
85603
|
function isAtom(value3) {
|
|
85599
85604
|
return typeof value3 === "object" && value3 !== null && "get" in value3 && typeof value3.get === "function" && "lc" in value3 && typeof value3.lc === "number";
|
|
85600
85605
|
}
|
|
85601
85606
|
|
|
85602
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
85607
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/client/proxy.mjs
|
|
85603
85608
|
function getMethod2(path4, knownPathMethods, args) {
|
|
85604
85609
|
const method = knownPathMethods[path4];
|
|
85605
85610
|
const { fetchOptions, query: _query, ...body } = args || {};
|
|
@@ -85681,7 +85686,7 @@ function createDynamicPathProxy(routes, client, knownPathMethods, atoms, atomLis
|
|
|
85681
85686
|
return createProxy();
|
|
85682
85687
|
}
|
|
85683
85688
|
|
|
85684
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
85689
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/client/vanilla.mjs
|
|
85685
85690
|
init_string2();
|
|
85686
85691
|
function createAuthClient(options) {
|
|
85687
85692
|
const { pluginPathMethods, pluginsActions, pluginsAtoms, $fetch, atomListeners, $store } = getClientConfig(options);
|
|
@@ -85696,7 +85701,7 @@ function createAuthClient(options) {
|
|
|
85696
85701
|
}, $fetch, pluginPathMethods, pluginsAtoms, atomListeners);
|
|
85697
85702
|
}
|
|
85698
85703
|
|
|
85699
|
-
// ../../node_modules/.bun/@better-auth+passkey@1.5.5+
|
|
85704
|
+
// ../../node_modules/.bun/@better-auth+passkey@1.5.5+e6141e43777f5000/node_modules/@better-auth/passkey/dist/client.mjs
|
|
85700
85705
|
var getPasskeyActions = ($fetch, { $listPasskeys, $store }) => {
|
|
85701
85706
|
const signInPasskey = async (opts, options) => {
|
|
85702
85707
|
const response = await $fetch("/passkey/generate-authenticate-options", {
|
|
@@ -85843,7 +85848,7 @@ var passkeyClient = () => {
|
|
|
85843
85848
|
};
|
|
85844
85849
|
};
|
|
85845
85850
|
|
|
85846
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
85851
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/plugins/additional-fields/client.mjs
|
|
85847
85852
|
var inferAdditionalFields = (schema) => {
|
|
85848
85853
|
return {
|
|
85849
85854
|
id: "additional-fields-client",
|
|
@@ -85851,7 +85856,7 @@ var inferAdditionalFields = (schema) => {
|
|
|
85851
85856
|
};
|
|
85852
85857
|
};
|
|
85853
85858
|
|
|
85854
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
85859
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/plugins/admin/error-codes.mjs
|
|
85855
85860
|
init_error_codes();
|
|
85856
85861
|
var ADMIN_ERROR_CODES = defineErrorCodes({
|
|
85857
85862
|
FAILED_TO_CREATE_USER: "Failed to create user",
|
|
@@ -85877,7 +85882,7 @@ var ADMIN_ERROR_CODES = defineErrorCodes({
|
|
|
85877
85882
|
INVALID_ROLE_TYPE: "Invalid role type"
|
|
85878
85883
|
});
|
|
85879
85884
|
|
|
85880
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
85885
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/plugins/access/access.mjs
|
|
85881
85886
|
init_error2();
|
|
85882
85887
|
function role(statements) {
|
|
85883
85888
|
return {
|
|
@@ -85927,7 +85932,7 @@ function createAccessControl(s) {
|
|
|
85927
85932
|
};
|
|
85928
85933
|
}
|
|
85929
85934
|
|
|
85930
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
85935
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/plugins/admin/access/statement.mjs
|
|
85931
85936
|
var defaultStatements = {
|
|
85932
85937
|
user: [
|
|
85933
85938
|
"create",
|
|
@@ -85975,7 +85980,7 @@ var defaultRoles = {
|
|
|
85975
85980
|
user: userAc
|
|
85976
85981
|
};
|
|
85977
85982
|
|
|
85978
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
85983
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/plugins/admin/has-permission.mjs
|
|
85979
85984
|
var hasPermission = (input) => {
|
|
85980
85985
|
if (input.userId && input.options?.adminUserIds?.includes(input.userId))
|
|
85981
85986
|
return true;
|
|
@@ -85989,7 +85994,7 @@ var hasPermission = (input) => {
|
|
|
85989
85994
|
return false;
|
|
85990
85995
|
};
|
|
85991
85996
|
|
|
85992
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
85997
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/plugins/admin/client.mjs
|
|
85993
85998
|
var adminClient = (options) => {
|
|
85994
85999
|
const roles3 = {
|
|
85995
86000
|
admin: adminAc,
|
|
@@ -86017,7 +86022,7 @@ var adminClient = (options) => {
|
|
|
86017
86022
|
};
|
|
86018
86023
|
};
|
|
86019
86024
|
|
|
86020
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86025
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/plugins/anonymous/error-codes.mjs
|
|
86021
86026
|
init_error_codes();
|
|
86022
86027
|
var ANONYMOUS_ERROR_CODES = defineErrorCodes({
|
|
86023
86028
|
INVALID_EMAIL_FORMAT: "Email was not generated in a valid format",
|
|
@@ -86029,7 +86034,7 @@ var ANONYMOUS_ERROR_CODES = defineErrorCodes({
|
|
|
86029
86034
|
DELETE_ANONYMOUS_USER_DISABLED: "Deleting anonymous users is disabled"
|
|
86030
86035
|
});
|
|
86031
86036
|
|
|
86032
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86037
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/client/plugins/infer-plugin.mjs
|
|
86033
86038
|
var InferServerPlugin = () => {
|
|
86034
86039
|
return {
|
|
86035
86040
|
id: "infer-server-plugin",
|
|
@@ -86037,12 +86042,12 @@ var InferServerPlugin = () => {
|
|
|
86037
86042
|
};
|
|
86038
86043
|
};
|
|
86039
86044
|
|
|
86040
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86045
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/plugins/custom-session/client.mjs
|
|
86041
86046
|
var customSessionClient = () => {
|
|
86042
86047
|
return InferServerPlugin();
|
|
86043
86048
|
};
|
|
86044
86049
|
|
|
86045
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86050
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/plugins/device-authorization/client.mjs
|
|
86046
86051
|
var deviceAuthorizationClient = () => {
|
|
86047
86052
|
return {
|
|
86048
86053
|
id: "device-authorization",
|
|
@@ -86057,7 +86062,7 @@ var deviceAuthorizationClient = () => {
|
|
|
86057
86062
|
};
|
|
86058
86063
|
};
|
|
86059
86064
|
|
|
86060
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86065
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/plugins/email-otp/error-codes.mjs
|
|
86061
86066
|
init_error_codes();
|
|
86062
86067
|
var EMAIL_OTP_ERROR_CODES = defineErrorCodes({
|
|
86063
86068
|
OTP_EXPIRED: "OTP expired",
|
|
@@ -86065,7 +86070,7 @@ var EMAIL_OTP_ERROR_CODES = defineErrorCodes({
|
|
|
86065
86070
|
TOO_MANY_ATTEMPTS: "Too many attempts"
|
|
86066
86071
|
});
|
|
86067
86072
|
|
|
86068
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86073
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/plugins/generic-oauth/error-codes.mjs
|
|
86069
86074
|
init_error_codes();
|
|
86070
86075
|
var GENERIC_OAUTH_ERROR_CODES = defineErrorCodes({
|
|
86071
86076
|
INVALID_OAUTH_CONFIGURATION: "Invalid OAuth configuration",
|
|
@@ -86078,11 +86083,11 @@ var GENERIC_OAUTH_ERROR_CODES = defineErrorCodes({
|
|
|
86078
86083
|
ISSUER_MISSING: "OAuth issuer parameter missing. The authorization server did not include the required iss parameter (RFC 9207)."
|
|
86079
86084
|
});
|
|
86080
86085
|
|
|
86081
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86086
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/plugins/multi-session/error-codes.mjs
|
|
86082
86087
|
init_error_codes();
|
|
86083
86088
|
var MULTI_SESSION_ERROR_CODES = defineErrorCodes({ INVALID_SESSION_TOKEN: "Invalid session token" });
|
|
86084
86089
|
|
|
86085
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86090
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/plugins/organization/error-codes.mjs
|
|
86086
86091
|
init_error_codes();
|
|
86087
86092
|
var ORGANIZATION_ERROR_CODES = defineErrorCodes({
|
|
86088
86093
|
YOU_ARE_NOT_ALLOWED_TO_CREATE_A_NEW_ORGANIZATION: "You are not allowed to create a new organization",
|
|
@@ -86144,7 +86149,7 @@ var ORGANIZATION_ERROR_CODES = defineErrorCodes({
|
|
|
86144
86149
|
ROLE_IS_ASSIGNED_TO_MEMBERS: "Cannot delete a role that is assigned to members. Please reassign the members to a different role first"
|
|
86145
86150
|
});
|
|
86146
86151
|
|
|
86147
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86152
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/plugins/organization/access/statement.mjs
|
|
86148
86153
|
var defaultStatements2 = {
|
|
86149
86154
|
organization: ["update", "delete"],
|
|
86150
86155
|
member: [
|
|
@@ -86219,7 +86224,7 @@ var defaultRoles2 = {
|
|
|
86219
86224
|
member: memberAc
|
|
86220
86225
|
};
|
|
86221
86226
|
|
|
86222
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86227
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/plugins/organization/permission.mjs
|
|
86223
86228
|
var hasPermissionFn = (input, acRoles) => {
|
|
86224
86229
|
if (!input.permissions)
|
|
86225
86230
|
return false;
|
|
@@ -86235,7 +86240,7 @@ var hasPermissionFn = (input, acRoles) => {
|
|
|
86235
86240
|
return false;
|
|
86236
86241
|
};
|
|
86237
86242
|
|
|
86238
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86243
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/plugins/organization/client.mjs
|
|
86239
86244
|
var clientSideHasPermission = (input) => {
|
|
86240
86245
|
return hasPermissionFn(input, input.options.roles || defaultRoles2);
|
|
86241
86246
|
};
|
|
@@ -86325,7 +86330,7 @@ var organizationClient = (options) => {
|
|
|
86325
86330
|
};
|
|
86326
86331
|
};
|
|
86327
86332
|
|
|
86328
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86333
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/plugins/phone-number/error-codes.mjs
|
|
86329
86334
|
init_error_codes();
|
|
86330
86335
|
var PHONE_NUMBER_ERROR_CODES = defineErrorCodes({
|
|
86331
86336
|
INVALID_PHONE_NUMBER: "Invalid phone number",
|
|
@@ -86342,7 +86347,7 @@ var PHONE_NUMBER_ERROR_CODES = defineErrorCodes({
|
|
|
86342
86347
|
TOO_MANY_ATTEMPTS: "Too many attempts"
|
|
86343
86348
|
});
|
|
86344
86349
|
|
|
86345
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86350
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/plugins/two-factor/error-code.mjs
|
|
86346
86351
|
init_error_codes();
|
|
86347
86352
|
var TWO_FACTOR_ERROR_CODES = defineErrorCodes({
|
|
86348
86353
|
OTP_NOT_ENABLED: "OTP not enabled",
|
|
@@ -86356,7 +86361,7 @@ var TWO_FACTOR_ERROR_CODES = defineErrorCodes({
|
|
|
86356
86361
|
INVALID_TWO_FACTOR_COOKIE: "Invalid two factor cookie"
|
|
86357
86362
|
});
|
|
86358
86363
|
|
|
86359
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86364
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/plugins/two-factor/client.mjs
|
|
86360
86365
|
var twoFactorClient = (options) => {
|
|
86361
86366
|
return {
|
|
86362
86367
|
id: "two-factor",
|
|
@@ -86389,7 +86394,7 @@ var twoFactorClient = (options) => {
|
|
|
86389
86394
|
};
|
|
86390
86395
|
};
|
|
86391
86396
|
|
|
86392
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86397
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/plugins/username/error-codes.mjs
|
|
86393
86398
|
init_error_codes();
|
|
86394
86399
|
var USERNAME_ERROR_CODES = defineErrorCodes({
|
|
86395
86400
|
INVALID_USERNAME_OR_PASSWORD: "Invalid username or password",
|
|
@@ -86402,7 +86407,7 @@ var USERNAME_ERROR_CODES = defineErrorCodes({
|
|
|
86402
86407
|
INVALID_DISPLAY_USERNAME: "Display username is invalid"
|
|
86403
86408
|
});
|
|
86404
86409
|
|
|
86405
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
86410
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/crypto/random.mjs
|
|
86406
86411
|
init_random();
|
|
86407
86412
|
var generateRandomString = createRandomStringGenerator("a-z", "0-9", "A-Z", "-_");
|
|
86408
86413
|
|
|
@@ -90180,7 +90185,7 @@ function decodeJwt(jwt2) {
|
|
|
90180
90185
|
throw new JWTInvalid("Invalid JWT Claims Set");
|
|
90181
90186
|
return result;
|
|
90182
90187
|
}
|
|
90183
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
90188
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/crypto/jwt.mjs
|
|
90184
90189
|
async function signJWT(payload, secret, expiresIn = 3600) {
|
|
90185
90190
|
return await new SignJWT(payload).setProtectedHeader({ alg: "HS256" }).setIssuedAt().setExpirationTime(Math.floor(Date.now() / 1000) + expiresIn).sign(new TextEncoder().encode(secret));
|
|
90186
90191
|
}
|
|
@@ -90328,7 +90333,7 @@ async function symmetricDecodeJWT(token, secret, salt) {
|
|
|
90328
90333
|
}
|
|
90329
90334
|
}
|
|
90330
90335
|
|
|
90331
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
90336
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/crypto/password.mjs
|
|
90332
90337
|
init_error2();
|
|
90333
90338
|
|
|
90334
90339
|
// ../../node_modules/.bun/@better-auth+utils@0.3.1/node_modules/@better-auth/utils/dist/hex.mjs
|
|
@@ -91300,7 +91305,7 @@ var _poly1305_aead = (xorStream) => (key, nonce3, AAD) => {
|
|
|
91300
91305
|
var chacha20poly1305 = /* @__PURE__ */ wrapCipher({ blockSize: 64, nonceLength: 12, tagLength: 16 }, _poly1305_aead(chacha20));
|
|
91301
91306
|
var xchacha20poly1305 = /* @__PURE__ */ wrapCipher({ blockSize: 64, nonceLength: 24, tagLength: 16 }, _poly1305_aead(xchacha20));
|
|
91302
91307
|
|
|
91303
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
91308
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/crypto/index.mjs
|
|
91304
91309
|
var ENVELOPE_PREFIX = "$ba$";
|
|
91305
91310
|
function parseEnvelope(data2) {
|
|
91306
91311
|
if (!data2.startsWith(ENVELOPE_PREFIX))
|
|
@@ -91355,7 +91360,7 @@ var symmetricDecrypt = async ({ key, data: data2 }) => {
|
|
|
91355
91360
|
throw new Error("Cannot decrypt legacy bare-hex payload: no legacy secret available. Set BETTER_AUTH_SECRET for backwards compatibility.");
|
|
91356
91361
|
};
|
|
91357
91362
|
|
|
91358
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
91363
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/utils/date.mjs
|
|
91359
91364
|
var getDate = (span, unit = "ms") => {
|
|
91360
91365
|
return new Date(Date.now() + (unit === "sec" ? span * 1000 : span));
|
|
91361
91366
|
};
|
|
@@ -91431,7 +91436,7 @@ var verificationSchema = coreSchema.extend({
|
|
|
91431
91436
|
identifier: string2()
|
|
91432
91437
|
});
|
|
91433
91438
|
|
|
91434
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
91439
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/db/schema.mjs
|
|
91435
91440
|
init_error2();
|
|
91436
91441
|
|
|
91437
91442
|
// ../../node_modules/.bun/@better-auth+core@1.5.5+9ce0b2c039e580c5/node_modules/@better-auth/core/dist/utils/db.mjs
|
|
@@ -91445,7 +91450,7 @@ function filterOutputFields(data2, additionalFields) {
|
|
|
91445
91450
|
}), {});
|
|
91446
91451
|
}
|
|
91447
91452
|
|
|
91448
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
91453
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/db/schema.mjs
|
|
91449
91454
|
var cache2 = /* @__PURE__ */ new WeakMap;
|
|
91450
91455
|
function getFields(options, modelName, mode) {
|
|
91451
91456
|
const cacheKey = `${modelName}:${mode}`;
|
|
@@ -91578,12 +91583,12 @@ function mergeSchema(schema, newSchema) {
|
|
|
91578
91583
|
return schema;
|
|
91579
91584
|
}
|
|
91580
91585
|
|
|
91581
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
91586
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/utils/is-promise.mjs
|
|
91582
91587
|
function isPromise(obj) {
|
|
91583
91588
|
return !!obj && (typeof obj === "object" || typeof obj === "function") && typeof obj.then === "function";
|
|
91584
91589
|
}
|
|
91585
91590
|
|
|
91586
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
91591
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/cookies/session-store.mjs
|
|
91587
91592
|
init_json();
|
|
91588
91593
|
init_zod();
|
|
91589
91594
|
var ALLOWED_COOKIE_SIZE = 4096;
|
|
@@ -91767,7 +91772,7 @@ var getSessionQuerySchema = optional(object({
|
|
|
91767
91772
|
disableRefresh: exports_coerce.boolean().meta({ description: "Disable session refresh. Useful for checking session status, without updating the session" }).optional()
|
|
91768
91773
|
}));
|
|
91769
91774
|
|
|
91770
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
91775
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/utils/time.mjs
|
|
91771
91776
|
var SEC = 1000;
|
|
91772
91777
|
var MIN = SEC * 60;
|
|
91773
91778
|
var HOUR = MIN * 60;
|
|
@@ -91776,7 +91781,7 @@ var WEEK = DAY * 7;
|
|
|
91776
91781
|
var MONTH = DAY * 30;
|
|
91777
91782
|
var YEAR = DAY * 365.25;
|
|
91778
91783
|
|
|
91779
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
91784
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/cookies/index.mjs
|
|
91780
91785
|
init_env();
|
|
91781
91786
|
init_error2();
|
|
91782
91787
|
init_json();
|
|
@@ -91832,7 +91837,7 @@ var createHMAC = (algorithm = "SHA-256", encoding = "none") => {
|
|
|
91832
91837
|
return hmac2;
|
|
91833
91838
|
};
|
|
91834
91839
|
|
|
91835
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
91840
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/cookies/index.mjs
|
|
91836
91841
|
async function setCookieCache(ctx, session, dontRememberMe) {
|
|
91837
91842
|
if (!ctx.context.options.session?.cookieCache?.enabled)
|
|
91838
91843
|
return;
|
|
@@ -91931,7 +91936,7 @@ function deleteSessionCookie(ctx, skipDontRememberMe) {
|
|
|
91931
91936
|
expireCookie(ctx, ctx.context.authCookies.dontRememberToken);
|
|
91932
91937
|
}
|
|
91933
91938
|
|
|
91934
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
91939
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/state.mjs
|
|
91935
91940
|
init_error2();
|
|
91936
91941
|
init_zod();
|
|
91937
91942
|
var stateDataSchema = looseObject({
|
|
@@ -92190,10 +92195,10 @@ var queueAfterTransactionHook = async (hook) => {
|
|
|
92190
92195
|
});
|
|
92191
92196
|
};
|
|
92192
92197
|
|
|
92193
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
92198
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/api/state/oauth.mjs
|
|
92194
92199
|
var { get: getOAuthState, set: setOAuthState } = defineRequestState(() => null);
|
|
92195
92200
|
|
|
92196
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
92201
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/oauth2/state.mjs
|
|
92197
92202
|
init_error2();
|
|
92198
92203
|
async function generateState(c, link, additionalData) {
|
|
92199
92204
|
const callbackURL = c.body?.callbackURL || c.context.options.baseURL;
|
|
@@ -92240,10 +92245,10 @@ async function parseState(c) {
|
|
|
92240
92245
|
return parsedData;
|
|
92241
92246
|
}
|
|
92242
92247
|
|
|
92243
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
92248
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/utils/hide-metadata.mjs
|
|
92244
92249
|
var HIDE_METADATA = { scope: "server" };
|
|
92245
92250
|
|
|
92246
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
92251
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/utils/is-api-error.mjs
|
|
92247
92252
|
init_error2();
|
|
92248
92253
|
|
|
92249
92254
|
// ../../node_modules/.bun/better-call@1.3.2+3c5d820c62823f0b/node_modules/better-call/dist/index.mjs
|
|
@@ -92791,12 +92796,12 @@ createMiddleware.create = (opts) => {
|
|
|
92791
92796
|
return fn;
|
|
92792
92797
|
};
|
|
92793
92798
|
|
|
92794
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
92799
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/utils/is-api-error.mjs
|
|
92795
92800
|
function isAPIError2(error48) {
|
|
92796
92801
|
return error48 instanceof APIError || error48 instanceof APIError2 || error48?.name === "APIError";
|
|
92797
92802
|
}
|
|
92798
92803
|
|
|
92799
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
92804
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/auth/trusted-origins.mjs
|
|
92800
92805
|
var matchesOriginPattern = (url2, pattern, settings) => {
|
|
92801
92806
|
if (url2.startsWith("/")) {
|
|
92802
92807
|
if (settings?.allowRelativePaths)
|
|
@@ -92815,7 +92820,7 @@ var matchesOriginPattern = (url2, pattern, settings) => {
|
|
|
92815
92820
|
return protocol === "http:" || protocol === "https:" || !protocol ? pattern === getOrigin(url2) : url2.startsWith(pattern);
|
|
92816
92821
|
};
|
|
92817
92822
|
|
|
92818
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
92823
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/api/middlewares/origin-check.mjs
|
|
92819
92824
|
init_error2();
|
|
92820
92825
|
|
|
92821
92826
|
// ../../node_modules/.bun/@better-auth+core@1.5.5+9ce0b2c039e580c5/node_modules/@better-auth/core/dist/utils/url.mjs
|
|
@@ -92870,7 +92875,7 @@ function deprecate(fn, message2, logger2) {
|
|
|
92870
92875
|
};
|
|
92871
92876
|
}
|
|
92872
92877
|
|
|
92873
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
92878
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/api/middlewares/origin-check.mjs
|
|
92874
92879
|
function shouldSkipCSRFForBackwardCompat(ctx) {
|
|
92875
92880
|
return ctx.context.skipOriginCheck === true && ctx.context.options.advanced?.disableCSRFCheck === undefined;
|
|
92876
92881
|
}
|
|
@@ -93005,7 +93010,7 @@ async function validateFormCsrf(ctx) {
|
|
|
93005
93010
|
}
|
|
93006
93011
|
}
|
|
93007
93012
|
|
|
93008
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
93013
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/utils/get-request-ip.mjs
|
|
93009
93014
|
init_env();
|
|
93010
93015
|
|
|
93011
93016
|
// ../../node_modules/.bun/@better-auth+core@1.5.5+9ce0b2c039e580c5/node_modules/@better-auth/core/dist/utils/ip.mjs
|
|
@@ -93082,7 +93087,7 @@ function normalizeIP(ip, options = {}) {
|
|
|
93082
93087
|
return normalizeIPv6(ip, options.ipv6Subnet || 64);
|
|
93083
93088
|
}
|
|
93084
93089
|
|
|
93085
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
93090
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/utils/get-request-ip.mjs
|
|
93086
93091
|
var LOCALHOST_IP = "127.0.0.1";
|
|
93087
93092
|
function getIp(req, options) {
|
|
93088
93093
|
if (options.advanced?.ipAddress?.disableIpTracking)
|
|
@@ -93102,13 +93107,13 @@ function getIp(req, options) {
|
|
|
93102
93107
|
return null;
|
|
93103
93108
|
}
|
|
93104
93109
|
|
|
93105
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
93110
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/api/rate-limiter/index.mjs
|
|
93106
93111
|
init_json();
|
|
93107
93112
|
|
|
93108
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
93113
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/api/state/should-session-refresh.mjs
|
|
93109
93114
|
var { get: getShouldSkipSessionRefresh, set: setShouldSkipSessionRefresh } = defineRequestState(() => false);
|
|
93110
93115
|
|
|
93111
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
93116
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/_virtual/_rolldown/runtime.mjs
|
|
93112
93117
|
var __defProp3 = Object.defineProperty;
|
|
93113
93118
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
93114
93119
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
@@ -93142,7 +93147,7 @@ var __copyProps = (to, from2, except, desc) => {
|
|
|
93142
93147
|
};
|
|
93143
93148
|
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
93144
93149
|
|
|
93145
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
93150
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/db/get-schema.mjs
|
|
93146
93151
|
function getSchema(config3) {
|
|
93147
93152
|
const tables = getAuthTables(config3);
|
|
93148
93153
|
const schema = {};
|
|
@@ -93177,7 +93182,7 @@ function getSchema(config3) {
|
|
|
93177
93182
|
return schema;
|
|
93178
93183
|
}
|
|
93179
93184
|
|
|
93180
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
93185
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/db/field-converter.mjs
|
|
93181
93186
|
function convertToDB(fields, values) {
|
|
93182
93187
|
const result = values.id ? { id: values.id } : {};
|
|
93183
93188
|
for (const key in fields) {
|
|
@@ -93198,7 +93203,7 @@ function convertFromDB(fields, values) {
|
|
|
93198
93203
|
return result;
|
|
93199
93204
|
}
|
|
93200
93205
|
|
|
93201
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
93206
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/db/with-hooks.mjs
|
|
93202
93207
|
function getWithHooks(adapter, ctx) {
|
|
93203
93208
|
const hooks = ctx.hooks;
|
|
93204
93209
|
async function createWithHooks(data2, model, customCreateFn) {
|
|
@@ -93371,7 +93376,7 @@ function getWithHooks(adapter, ctx) {
|
|
|
93371
93376
|
};
|
|
93372
93377
|
}
|
|
93373
93378
|
|
|
93374
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
93379
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/db/verification-token-storage.mjs
|
|
93375
93380
|
var defaultKeyHasher = async (identifier) => {
|
|
93376
93381
|
const hash4 = await createHash2("SHA-256").digest(new TextEncoder().encode(identifier));
|
|
93377
93382
|
return base64Url.encode(new Uint8Array(hash4), { padding: false });
|
|
@@ -93399,7 +93404,7 @@ function getStorageOption(identifier, config3) {
|
|
|
93399
93404
|
return config3;
|
|
93400
93405
|
}
|
|
93401
93406
|
|
|
93402
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
93407
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/db/internal-adapter.mjs
|
|
93403
93408
|
init_id2();
|
|
93404
93409
|
init_json();
|
|
93405
93410
|
function getTTLSeconds(expiresAt, now4 = Date.now()) {
|
|
@@ -94076,7 +94081,7 @@ var createInternalAdapter = (adapter, ctx) => {
|
|
|
94076
94081
|
};
|
|
94077
94082
|
};
|
|
94078
94083
|
|
|
94079
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
94084
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/db/to-zod.mjs
|
|
94080
94085
|
init_zod();
|
|
94081
94086
|
function toZodSchema({ fields, isClientSide }) {
|
|
94082
94087
|
const zodFields = Object.keys(fields).reduce((acc, key) => {
|
|
@@ -94105,7 +94110,7 @@ function toZodSchema({ fields, isClientSide }) {
|
|
|
94105
94110
|
}, {});
|
|
94106
94111
|
return object(zodFields);
|
|
94107
94112
|
}
|
|
94108
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
94113
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/db/index.mjs
|
|
94109
94114
|
var db_exports = /* @__PURE__ */ __exportAll({
|
|
94110
94115
|
convertFromDB: () => convertFromDB,
|
|
94111
94116
|
convertToDB: () => convertToDB,
|
|
@@ -94126,7 +94131,7 @@ var db_exports = /* @__PURE__ */ __exportAll({
|
|
|
94126
94131
|
});
|
|
94127
94132
|
__reExport(db_exports, exports_db);
|
|
94128
94133
|
|
|
94129
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
94134
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/api/routes/session.mjs
|
|
94130
94135
|
init_error2();
|
|
94131
94136
|
init_json();
|
|
94132
94137
|
init_zod();
|
|
@@ -94545,7 +94550,7 @@ var revokeOtherSessions = createAuthEndpoint("/revoke-other-sessions", {
|
|
|
94545
94550
|
return ctx.json({ status: true });
|
|
94546
94551
|
});
|
|
94547
94552
|
|
|
94548
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
94553
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/context/helpers.mjs
|
|
94549
94554
|
init_env();
|
|
94550
94555
|
async function getAwaitableValue(arr, item) {
|
|
94551
94556
|
if (!arr)
|
|
@@ -94557,7 +94562,7 @@ async function getAwaitableValue(arr, item) {
|
|
|
94557
94562
|
}
|
|
94558
94563
|
}
|
|
94559
94564
|
|
|
94560
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
94565
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/oauth2/utils.mjs
|
|
94561
94566
|
function isLikelyEncrypted(token) {
|
|
94562
94567
|
if (token.startsWith("$ba$"))
|
|
94563
94568
|
return true;
|
|
@@ -94585,7 +94590,7 @@ function setTokenUtil(token, ctx) {
|
|
|
94585
94590
|
return token;
|
|
94586
94591
|
}
|
|
94587
94592
|
|
|
94588
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
94593
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/api/routes/account.mjs
|
|
94589
94594
|
init_error2();
|
|
94590
94595
|
|
|
94591
94596
|
// ../../node_modules/.bun/@better-auth+core@1.5.5+9ce0b2c039e580c5/node_modules/@better-auth/core/dist/social-providers/apple.mjs
|
|
@@ -97694,7 +97699,7 @@ var socialProviders = {
|
|
|
97694
97699
|
var socialProviderList = Object.keys(socialProviders);
|
|
97695
97700
|
var SocialProviderListEnum = _enum2(socialProviderList).or(string2());
|
|
97696
97701
|
|
|
97697
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
97702
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/api/routes/account.mjs
|
|
97698
97703
|
init_zod();
|
|
97699
97704
|
var listUserAccounts = createAuthEndpoint("/list-accounts", {
|
|
97700
97705
|
method: "GET",
|
|
@@ -98210,7 +98215,7 @@ var accountInfo = createAuthEndpoint("/account-info", {
|
|
|
98210
98215
|
return ctx.json(info2);
|
|
98211
98216
|
});
|
|
98212
98217
|
|
|
98213
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
98218
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/api/routes/email-verification.mjs
|
|
98214
98219
|
init_error2();
|
|
98215
98220
|
init_zod();
|
|
98216
98221
|
async function createEmailVerificationToken(secret, email3, updateTo, expiresIn = 3600, extraPayload) {
|
|
@@ -98513,7 +98518,7 @@ var verifyEmail = createAuthEndpoint("/verify-email", {
|
|
|
98513
98518
|
});
|
|
98514
98519
|
});
|
|
98515
98520
|
|
|
98516
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
98521
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/oauth2/link-account.mjs
|
|
98517
98522
|
init_env();
|
|
98518
98523
|
async function handleOAuthUserInfo(c, opts) {
|
|
98519
98524
|
const { userInfo, account: account3, callbackURL, disableSignUp, overrideUserInfo } = opts;
|
|
@@ -98658,7 +98663,7 @@ Error: `, e);
|
|
|
98658
98663
|
};
|
|
98659
98664
|
}
|
|
98660
98665
|
|
|
98661
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
98666
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/api/routes/callback.mjs
|
|
98662
98667
|
init_json();
|
|
98663
98668
|
init_zod();
|
|
98664
98669
|
var schema = object({
|
|
@@ -98837,7 +98842,7 @@ var callbackOAuth = createAuthEndpoint("/callback/:id", {
|
|
|
98837
98842
|
throw c.redirect(toRedirectTo);
|
|
98838
98843
|
});
|
|
98839
98844
|
|
|
98840
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
98845
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/api/routes/error.mjs
|
|
98841
98846
|
init_env();
|
|
98842
98847
|
function sanitize(input) {
|
|
98843
98848
|
return input.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'").replace(/&(?!amp;|lt;|gt;|quot;|#39;|#x[0-9a-fA-F]+;|#[0-9]+;)/g, "&");
|
|
@@ -99220,7 +99225,7 @@ var error48 = createAuthEndpoint("/error", {
|
|
|
99220
99225
|
return new Response(html(c.context.options, safeCode, safeDescription), { headers: { "Content-Type": "text/html" } });
|
|
99221
99226
|
});
|
|
99222
99227
|
|
|
99223
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
99228
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/api/routes/ok.mjs
|
|
99224
99229
|
var ok = createAuthEndpoint("/ok", {
|
|
99225
99230
|
method: "GET",
|
|
99226
99231
|
metadata: {
|
|
@@ -99244,7 +99249,7 @@ var ok = createAuthEndpoint("/ok", {
|
|
|
99244
99249
|
return ctx.json({ ok: true });
|
|
99245
99250
|
});
|
|
99246
99251
|
|
|
99247
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
99252
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/utils/password.mjs
|
|
99248
99253
|
init_error2();
|
|
99249
99254
|
async function validatePassword(ctx, data2) {
|
|
99250
99255
|
const credentialAccount = (await ctx.context.internalAdapter.findAccounts(data2.userId))?.find((account3) => account3.providerId === "credential");
|
|
@@ -99257,7 +99262,7 @@ async function validatePassword(ctx, data2) {
|
|
|
99257
99262
|
});
|
|
99258
99263
|
}
|
|
99259
99264
|
|
|
99260
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
99265
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/api/routes/password.mjs
|
|
99261
99266
|
init_error2();
|
|
99262
99267
|
init_id2();
|
|
99263
99268
|
init_zod();
|
|
@@ -99455,7 +99460,7 @@ var verifyPassword2 = createAuthEndpoint("/verify-password", {
|
|
|
99455
99460
|
return ctx.json({ status: true });
|
|
99456
99461
|
});
|
|
99457
99462
|
|
|
99458
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
99463
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/api/routes/sign-in.mjs
|
|
99459
99464
|
init_error2();
|
|
99460
99465
|
init_zod();
|
|
99461
99466
|
var socialSignInBodySchema = object({
|
|
@@ -99484,7 +99489,7 @@ var socialSignInBodySchema = object({
|
|
|
99484
99489
|
additionalData: record(string2(), any()).optional().meta({ description: "Additional data to be passed through the OAuth flow" })
|
|
99485
99490
|
});
|
|
99486
99491
|
|
|
99487
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
99492
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/api/routes/sign-out.mjs
|
|
99488
99493
|
var signOut = createAuthEndpoint("/sign-out", {
|
|
99489
99494
|
method: "POST",
|
|
99490
99495
|
operationId: "signOut",
|
|
@@ -99512,7 +99517,7 @@ var signOut = createAuthEndpoint("/sign-out", {
|
|
|
99512
99517
|
return ctx.json({ success: true });
|
|
99513
99518
|
});
|
|
99514
99519
|
|
|
99515
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
99520
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/api/routes/sign-up.mjs
|
|
99516
99521
|
init_env();
|
|
99517
99522
|
init_error2();
|
|
99518
99523
|
init_id2();
|
|
@@ -99526,12 +99531,12 @@ var signUpEmailBodySchema = object({
|
|
|
99526
99531
|
rememberMe: boolean2().optional()
|
|
99527
99532
|
}).and(record(string2(), any()));
|
|
99528
99533
|
|
|
99529
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
99534
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/api/routes/update-session.mjs
|
|
99530
99535
|
init_error2();
|
|
99531
99536
|
init_zod();
|
|
99532
99537
|
var updateSessionBodySchema = record(string2().meta({ description: "Field name must be a string" }), any());
|
|
99533
99538
|
|
|
99534
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
99539
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/api/routes/update-user.mjs
|
|
99535
99540
|
init_error2();
|
|
99536
99541
|
init_zod();
|
|
99537
99542
|
var updateUserBodySchema = record(string2().meta({ description: "Field name must be a string" }), any());
|
|
@@ -99957,7 +99962,7 @@ var changeEmail = createAuthEndpoint("/change-email", {
|
|
|
99957
99962
|
return ctx.json({ status: true });
|
|
99958
99963
|
});
|
|
99959
99964
|
|
|
99960
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
99965
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/api/to-auth-endpoints.mjs
|
|
99961
99966
|
init_env();
|
|
99962
99967
|
init_error2();
|
|
99963
99968
|
var defuReplaceArrays = createDefu((obj, key, value3) => {
|
|
@@ -99967,25 +99972,25 @@ var defuReplaceArrays = createDefu((obj, key, value3) => {
|
|
|
99967
99972
|
}
|
|
99968
99973
|
});
|
|
99969
99974
|
|
|
99970
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
99975
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/api/index.mjs
|
|
99971
99976
|
init_env();
|
|
99972
99977
|
init_error2();
|
|
99973
99978
|
|
|
99974
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
99979
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/db/adapter-base.mjs
|
|
99975
99980
|
init_env();
|
|
99976
99981
|
|
|
99977
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
99982
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/db/adapter-kysely.mjs
|
|
99978
99983
|
init_error2();
|
|
99979
99984
|
|
|
99980
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
99985
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/db/get-migration.mjs
|
|
99981
99986
|
init_env();
|
|
99982
99987
|
init_dist();
|
|
99983
99988
|
init_adapter();
|
|
99984
99989
|
|
|
99985
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
99990
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/context/secret-utils.mjs
|
|
99986
99991
|
init_error2();
|
|
99987
99992
|
|
|
99988
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
99993
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/context/create-context.mjs
|
|
99989
99994
|
init_env();
|
|
99990
99995
|
init_error2();
|
|
99991
99996
|
init_id2();
|
|
@@ -99994,14 +99999,14 @@ init_id2();
|
|
|
99994
99999
|
init_env();
|
|
99995
100000
|
init_random();
|
|
99996
100001
|
|
|
99997
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
100002
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/context/init.mjs
|
|
99998
100003
|
init_error2();
|
|
99999
100004
|
init_dist();
|
|
100000
100005
|
|
|
100001
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
100006
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/auth/base.mjs
|
|
100002
100007
|
init_error2();
|
|
100003
100008
|
|
|
100004
|
-
// ../../node_modules/.bun/better-auth@1.5.5+
|
|
100009
|
+
// ../../node_modules/.bun/better-auth@1.5.5+1dfb26c4ce746bec/node_modules/better-auth/dist/index.mjs
|
|
100005
100010
|
init_env();
|
|
100006
100011
|
init_error2();
|
|
100007
100012
|
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.23511062166",
|
|
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",
|