@tempoxyz/id 0.0.0-pr-890.sha-09b93fa → 0.0.0-pr-906.sha-e9070cd
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/{Connections-E4CCX3WA.js → Connections-ALWDD67D.js} +2 -2
- package/dist/{Server-QVK6QHVM.js → Server-2T4ILEVL.js} +2 -2
- package/dist/{Sheet-6VUENP6L.js → Sheet-WZFMWVKV.js} +2 -2
- package/dist/{chunk-6U7ULCD6.js → chunk-455HZPDK.js} +3 -3
- package/dist/{chunk-CE6VDSZ2.js → chunk-7VTQHOWO.js} +28 -85
- package/dist/{chunk-CL6ECS56.js → chunk-DU6R7ZT7.js} +6 -20
- package/dist/{chunk-TOXCCNX4.js → chunk-HCA5WJBZ.js} +1 -1
- package/dist/{chunk-AM3USMKH.js → chunk-HTUAMCH4.js} +6 -6
- package/dist/{chunk-G7JQMPLX.js → chunk-J2HCQMLW.js} +1 -1
- package/dist/{chunk-ZMKK5UQD.js → chunk-WCXNIBGI.js} +1 -1
- package/dist/commands/login.js +7 -7
- package/dist/commands/logout.js +7 -7
- package/dist/commands/whoami.js +7 -7
- package/dist/{dialog-CO3LCC2U.js → dialog-SDCG7CDX.js} +4 -4
- package/dist/{passkey-LMY54Y74.js → passkey-KBKAK7GE.js} +2 -2
- package/package.json +1 -1
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
attach,
|
|
3
3
|
create,
|
|
4
4
|
pending
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-WCXNIBGI.js";
|
|
6
6
|
import "./chunk-FWGE6HXK.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-7VTQHOWO.js";
|
|
8
8
|
import "./chunk-Y7KQRRJL.js";
|
|
9
9
|
import "./chunk-MLKGABMK.js";
|
|
10
10
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
InvalidError
|
|
3
3
|
} from "./chunk-2T7V6ASK.js";
|
|
4
|
-
import "./chunk-
|
|
4
|
+
import "./chunk-J2HCQMLW.js";
|
|
5
5
|
import {
|
|
6
6
|
authPath,
|
|
7
7
|
basePath,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
PendingNotFoundError,
|
|
12
12
|
RequestError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-7VTQHOWO.js";
|
|
14
14
|
import "./chunk-Y7KQRRJL.js";
|
|
15
15
|
import "./chunk-MLKGABMK.js";
|
|
16
16
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
handleCallback,
|
|
3
3
|
handleResult
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-J2HCQMLW.js";
|
|
5
5
|
import {
|
|
6
6
|
create,
|
|
7
7
|
prompt,
|
|
8
8
|
waiting
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DU6R7ZT7.js";
|
|
10
10
|
import {
|
|
11
11
|
authPath,
|
|
12
12
|
basePath
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
pushes,
|
|
29
29
|
resources,
|
|
30
30
|
watchPopup
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-7VTQHOWO.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
34
|
} from "./chunk-MLKGABMK.js";
|
|
@@ -57,7 +57,6 @@ __export(account_exports, {
|
|
|
57
57
|
disconnect: () => disconnect,
|
|
58
58
|
disconnectApp: () => disconnectApp,
|
|
59
59
|
get: () => get,
|
|
60
|
-
pay: () => pay,
|
|
61
60
|
revokeAccessKey: () => revokeAccessKey,
|
|
62
61
|
revokeAccessKeys: () => revokeAccessKeys,
|
|
63
62
|
signMessage: () => signMessage,
|
|
@@ -65,7 +64,7 @@ __export(account_exports, {
|
|
|
65
64
|
updateAccessKey: () => updateAccessKey,
|
|
66
65
|
upgrade: () => upgrade
|
|
67
66
|
});
|
|
68
|
-
import { Base64 as Base643, Hex
|
|
67
|
+
import { Base64 as Base643, Hex } from "ox";
|
|
69
68
|
import { Authentication } from "ox/webauthn";
|
|
70
69
|
import {
|
|
71
70
|
formatTransactionReceipt
|
|
@@ -620,19 +619,6 @@ var messages = {
|
|
|
620
619
|
login_required: "The browser holds no session. Sign in, then start the request again."
|
|
621
620
|
};
|
|
622
621
|
|
|
623
|
-
// ../../accounts/src/internal/Payment.ts
|
|
624
|
-
import { Hex } from "ox";
|
|
625
|
-
function memo(value) {
|
|
626
|
-
const hex = Hex.validate(value) ? value : Hex.fromString(value);
|
|
627
|
-
if (Hex.size(hex) >= 1 && Hex.size(hex) <= 32) return hex;
|
|
628
|
-
throw new RequestError({
|
|
629
|
-
code: "invalid_request",
|
|
630
|
-
field: "memo",
|
|
631
|
-
message: "Invalid `memo`: it holds no byte, or more than 32 bytes. Pass text or hex of 1 to 32 bytes.",
|
|
632
|
-
status: 0
|
|
633
|
-
});
|
|
634
|
-
}
|
|
635
|
-
|
|
636
622
|
// ../../accounts/src/internal/Chains.ts
|
|
637
623
|
var devIds = { devnet: 31318, localnet: 1337 };
|
|
638
624
|
var ids = { mainnet: 4217, testnet: 42431 };
|
|
@@ -842,34 +828,6 @@ async function get(auth, options = {}) {
|
|
|
842
828
|
if (!account2) return void 0;
|
|
843
829
|
return tempoAccount(account2, { getFn: options.getFn });
|
|
844
830
|
}
|
|
845
|
-
async function pay(auth, options) {
|
|
846
|
-
const { account: account2, amount: amount2, note, to, token: token2 } = options;
|
|
847
|
-
const memo2 = options.memo === void 0 ? void 0 : memo(options.memo);
|
|
848
|
-
if (typeof document === "undefined") throw new PageRequiredError();
|
|
849
|
-
const redirectUri = approvalRedirectUri(auth, options);
|
|
850
|
-
const url2 = await approve(auth, {
|
|
851
|
-
label: "Pay with Tempo",
|
|
852
|
-
mode: options.mode ?? "iframe",
|
|
853
|
-
noun: "payment",
|
|
854
|
-
path: "/pay",
|
|
855
|
-
query: {
|
|
856
|
-
account: account2,
|
|
857
|
-
amount: amount2,
|
|
858
|
-
chain_id: String(options.chainId ?? auth.chainId),
|
|
859
|
-
client_id: auth.clientId,
|
|
860
|
-
...memo2 !== void 0 ? { memo: memo2 } : {},
|
|
861
|
-
...note !== void 0 ? { note } : {},
|
|
862
|
-
redirect_uri: redirectUri,
|
|
863
|
-
to,
|
|
864
|
-
token: token2
|
|
865
|
-
},
|
|
866
|
-
signal: options.signal,
|
|
867
|
-
text: "Continue in a Tempo ID window to pay."
|
|
868
|
-
});
|
|
869
|
-
const transaction = transactionOf(url2, { redirectUri });
|
|
870
|
-
if (!transaction) throw transactionOf.missing();
|
|
871
|
-
return { transaction };
|
|
872
|
-
}
|
|
873
831
|
async function revokeAccessKey(auth, options) {
|
|
874
832
|
const { accessKey: accessKey2, account: account2, chainId } = options;
|
|
875
833
|
const delivery = options;
|
|
@@ -965,7 +923,7 @@ async function signMessage(auth, options) {
|
|
|
965
923
|
...chain !== void 0 ? { chain } : {},
|
|
966
924
|
client_id: auth.clientId,
|
|
967
925
|
message: typeof message === "string" ? message : {
|
|
968
|
-
raw: typeof message.raw === "string" ? message.raw :
|
|
926
|
+
raw: typeof message.raw === "string" ? message.raw : Hex.fromBytes(message.raw)
|
|
969
927
|
}
|
|
970
928
|
}
|
|
971
929
|
})
|
|
@@ -1004,7 +962,7 @@ async function updateAccessKey(auth, options) {
|
|
|
1004
962
|
const change = {
|
|
1005
963
|
...options.limits ? {
|
|
1006
964
|
limits: options.limits.map((entry) => ({
|
|
1007
|
-
limit:
|
|
965
|
+
limit: Hex.fromNumber(entry.limit),
|
|
1008
966
|
token: entry.token
|
|
1009
967
|
}))
|
|
1010
968
|
} : {},
|
|
@@ -1096,7 +1054,7 @@ async function approve(auth, options) {
|
|
|
1096
1054
|
let unwatch;
|
|
1097
1055
|
try {
|
|
1098
1056
|
return await new Promise((resolve3, reject) => {
|
|
1099
|
-
void import("./Sheet-
|
|
1057
|
+
void import("./Sheet-WZFMWVKV.js").then(
|
|
1100
1058
|
(Sheet2) => {
|
|
1101
1059
|
if (settled) return;
|
|
1102
1060
|
unblock = Sheet2.waiting({
|
|
@@ -1142,7 +1100,7 @@ async function approve(auth, options) {
|
|
|
1142
1100
|
if (popup === null) throw new BlockedError();
|
|
1143
1101
|
return await watch2(popup);
|
|
1144
1102
|
}
|
|
1145
|
-
const Sheet = await import("./Sheet-
|
|
1103
|
+
const Sheet = await import("./Sheet-WZFMWVKV.js");
|
|
1146
1104
|
signal?.throwIfAborted();
|
|
1147
1105
|
let abort;
|
|
1148
1106
|
let close;
|
|
@@ -1236,7 +1194,7 @@ function transactionOf(url2, options) {
|
|
|
1236
1194
|
redirectUri: options.redirectUri
|
|
1237
1195
|
});
|
|
1238
1196
|
if (transaction === void 0) return void 0;
|
|
1239
|
-
if (
|
|
1197
|
+
if (Hex.validate(transaction) && Hex.size(transaction) === 32)
|
|
1240
1198
|
return transaction;
|
|
1241
1199
|
throw transactionOf.missing();
|
|
1242
1200
|
}
|
|
@@ -1259,7 +1217,7 @@ function thirdParty(clientId) {
|
|
|
1259
1217
|
import { Authentication as Authentication2 } from "ox/webauthn";
|
|
1260
1218
|
|
|
1261
1219
|
// ../../accounts/src/internal/Request.ts
|
|
1262
|
-
import { AbiFunction, Address as Address4, Base64 as Base644, Bytes as Bytes2, Hash as Hash2, Hex as
|
|
1220
|
+
import { AbiFunction, Address as Address4, Base64 as Base644, Bytes as Bytes2, Hash as Hash2, Hex as Hex2 } from "ox";
|
|
1263
1221
|
import { zeroAddress } from "viem";
|
|
1264
1222
|
|
|
1265
1223
|
// ../../accounts/src/internal/Pending.ts
|
|
@@ -1731,13 +1689,13 @@ function keyAuthorization(auth, options) {
|
|
|
1731
1689
|
return {
|
|
1732
1690
|
...named.account ? { account: named.account } : {},
|
|
1733
1691
|
address: named.address,
|
|
1734
|
-
chainId:
|
|
1692
|
+
chainId: Hex2.fromNumber(resolved.chainId),
|
|
1735
1693
|
expiry: resolved.expiry,
|
|
1736
1694
|
keyType: named.keyType,
|
|
1737
1695
|
// TIP-1011 holds a fee allowance as limits, so the request sends it after the app's own.
|
|
1738
1696
|
limits: resolved.limits && [...resolved.limits, ...resolved.fees ?? []].map(
|
|
1739
1697
|
({ limit, period, token: token2 }) => ({
|
|
1740
|
-
limit:
|
|
1698
|
+
limit: Hex2.fromNumber(limit),
|
|
1741
1699
|
...period ? { period } : {},
|
|
1742
1700
|
token: token2
|
|
1743
1701
|
})
|
|
@@ -4238,7 +4196,7 @@ function plugin() {
|
|
|
4238
4196
|
let loading;
|
|
4239
4197
|
let loaded_plugin;
|
|
4240
4198
|
function load() {
|
|
4241
|
-
loading ??= import("./dialog-
|
|
4199
|
+
loading ??= import("./dialog-SDCG7CDX.js").then((module) => loaded_plugin = module.dialog()).catch((error3) => {
|
|
4242
4200
|
loading = void 0;
|
|
4243
4201
|
throw error3;
|
|
4244
4202
|
});
|
|
@@ -4547,7 +4505,7 @@ async function open(auth, options) {
|
|
|
4547
4505
|
throw new OriginError2({ origin: window.location.origin, redirectUri });
|
|
4548
4506
|
if (mode === "popup" && options.mode !== "popup" && !activated()) {
|
|
4549
4507
|
const address = await abortable(read2(), { signal });
|
|
4550
|
-
const Sheet = await import("./Sheet-
|
|
4508
|
+
const Sheet = await import("./Sheet-WZFMWVKV.js");
|
|
4551
4509
|
return await new Promise((resolve3, reject) => {
|
|
4552
4510
|
const abort = () => {
|
|
4553
4511
|
close();
|
|
@@ -4610,7 +4568,7 @@ async function preload(auth, options) {
|
|
|
4610
4568
|
const entry = { ready: Promise.resolve(), sheet: void 0, url: url2 };
|
|
4611
4569
|
preloads.set(auth, entry);
|
|
4612
4570
|
entry.ready = (async () => {
|
|
4613
|
-
const Sheet = await import("./Sheet-
|
|
4571
|
+
const Sheet = await import("./Sheet-WZFMWVKV.js").catch(() => void 0);
|
|
4614
4572
|
if (!document.body)
|
|
4615
4573
|
await new Promise(
|
|
4616
4574
|
(resolve3) => document.addEventListener("DOMContentLoaded", resolve3, {
|
|
@@ -4636,7 +4594,7 @@ async function watch(auth, options) {
|
|
|
4636
4594
|
try {
|
|
4637
4595
|
return await new Promise(
|
|
4638
4596
|
(resolve3, reject) => {
|
|
4639
|
-
void import("./Sheet-
|
|
4597
|
+
void import("./Sheet-WZFMWVKV.js").then(
|
|
4640
4598
|
(Sheet) => {
|
|
4641
4599
|
if (settled) return;
|
|
4642
4600
|
unblock = Sheet.waiting({
|
|
@@ -4737,7 +4695,7 @@ function parse(url2, options) {
|
|
|
4737
4695
|
async function frame(auth, options) {
|
|
4738
4696
|
const { redirectUri, signal, toUrl } = options;
|
|
4739
4697
|
const address = await abortable(options.address, { signal });
|
|
4740
|
-
const Sheet = await import("./Sheet-
|
|
4698
|
+
const Sheet = await import("./Sheet-WZFMWVKV.js");
|
|
4741
4699
|
signal?.throwIfAborted();
|
|
4742
4700
|
const url2 = toUrl(address);
|
|
4743
4701
|
const held = preloads.get(auth);
|
|
@@ -5352,28 +5310,28 @@ function create4(options = {}) {
|
|
|
5352
5310
|
function connections2() {
|
|
5353
5311
|
if (!connectionsOptions)
|
|
5354
5312
|
return Promise.reject(new ConnectionsRequiredError());
|
|
5355
|
-
attached ??= import("./Connections-
|
|
5313
|
+
attached ??= import("./Connections-ALWDD67D.js").then(
|
|
5356
5314
|
(module) => module.attach(config, connectionsOptions)
|
|
5357
5315
|
);
|
|
5358
5316
|
return attached;
|
|
5359
5317
|
}
|
|
5360
5318
|
let server;
|
|
5361
5319
|
const relaying = plugins.some((plugin2) => plugin2.id === "relay");
|
|
5362
|
-
const getAccount2 = async (parameters = {}) => {
|
|
5363
|
-
const accessToken3 = parameters.accessToken ?? await ownAccessToken();
|
|
5364
|
-
const chainId = parameters.chainId ?? chain.get();
|
|
5365
|
-
const account2 = await getAccount(context, {
|
|
5366
|
-
...parameters,
|
|
5367
|
-
accessToken: accessToken3,
|
|
5368
|
-
chainId
|
|
5369
|
-
});
|
|
5370
|
-
if (account2 && accessToken3) keepAccount(account2, { accessToken: accessToken3, chainId });
|
|
5371
|
-
return account2;
|
|
5372
|
-
};
|
|
5373
5320
|
const instance = {
|
|
5374
5321
|
...namespaces,
|
|
5375
5322
|
account: {
|
|
5376
|
-
get:
|
|
5323
|
+
get: async (parameters = {}) => {
|
|
5324
|
+
const accessToken3 = parameters.accessToken ?? await ownAccessToken();
|
|
5325
|
+
const chainId = parameters.chainId ?? chain.get();
|
|
5326
|
+
const account2 = await getAccount(context, {
|
|
5327
|
+
...parameters,
|
|
5328
|
+
accessToken: accessToken3,
|
|
5329
|
+
chainId
|
|
5330
|
+
});
|
|
5331
|
+
if (account2 && accessToken3)
|
|
5332
|
+
keepAccount(account2, { accessToken: accessToken3, chainId });
|
|
5333
|
+
return account2;
|
|
5334
|
+
},
|
|
5377
5335
|
upgrade: (parameters) => upgradeAccount(context, parameters)
|
|
5378
5336
|
},
|
|
5379
5337
|
authorize: (parameters) => authorize3(context, {
|
|
@@ -5409,7 +5367,7 @@ function create4(options = {}) {
|
|
|
5409
5367
|
},
|
|
5410
5368
|
handler: {
|
|
5411
5369
|
async fetch(request2) {
|
|
5412
|
-
server ??= import("./Server-
|
|
5370
|
+
server ??= import("./Server-2T4ILEVL.js").then(
|
|
5413
5371
|
(module) => module.create({
|
|
5414
5372
|
accessKeys: connectionsOptions ? async () => (await connections2()).accessKeyEndpoint : void 0,
|
|
5415
5373
|
// The `backend` plugin's actions sit on the instance under its `id`.
|
|
@@ -5426,20 +5384,6 @@ function create4(options = {}) {
|
|
|
5426
5384
|
return (await server).fetch(request2);
|
|
5427
5385
|
}
|
|
5428
5386
|
},
|
|
5429
|
-
pay: async (parameters) => {
|
|
5430
|
-
const chainId = parameters.chainId ?? chain.get();
|
|
5431
|
-
const memo2 = parameters.memo === void 0 ? void 0 : memo(parameters.memo);
|
|
5432
|
-
const held = context.session.get();
|
|
5433
|
-
const account2 = parameters.account ?? (chainId === chain.get() ? held?.account?.address ?? held?.accessKey?.account : void 0) ?? (await getAccount2({ chainId }))?.address;
|
|
5434
|
-
if (!account2) throw new SignedOutError2();
|
|
5435
|
-
const payment = { ...parameters, account: account2, chainId, memo: memo2 };
|
|
5436
|
-
for (const plugin2 of plugins) {
|
|
5437
|
-
const attempt = plugin2.hooks?.pay?.(context, payment);
|
|
5438
|
-
const sent = attempt && await attempt;
|
|
5439
|
-
if (sent) return sent;
|
|
5440
|
-
}
|
|
5441
|
-
return await pay(config, payment);
|
|
5442
|
-
},
|
|
5443
5387
|
session: {
|
|
5444
5388
|
accessToken: accessToken2,
|
|
5445
5389
|
actor: session.actor,
|
|
@@ -5633,7 +5577,6 @@ var reserved = /* @__PURE__ */ new Set([
|
|
|
5633
5577
|
"connection",
|
|
5634
5578
|
"connections",
|
|
5635
5579
|
"handler",
|
|
5636
|
-
"pay",
|
|
5637
5580
|
"session",
|
|
5638
5581
|
"signOut",
|
|
5639
5582
|
"switchChain"
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
openPopup,
|
|
3
3
|
received,
|
|
4
4
|
watchPopup
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-7VTQHOWO.js";
|
|
6
6
|
|
|
7
7
|
// ../../accounts/src/internal/Sheet.ts
|
|
8
8
|
import {
|
|
@@ -19,7 +19,6 @@ import {
|
|
|
19
19
|
var adopted = /* @__PURE__ */ new WeakSet();
|
|
20
20
|
var attribute = "data-tempo-id-dialog";
|
|
21
21
|
var exit = 240;
|
|
22
|
-
var reportDelay = 500;
|
|
23
22
|
var curve = "cubic-bezier(0.32, 0.72, 0, 1)";
|
|
24
23
|
var css = `
|
|
25
24
|
dialog[${attribute}] {
|
|
@@ -488,7 +487,7 @@ function load(options) {
|
|
|
488
487
|
}
|
|
489
488
|
let state = { phase: "hidden" };
|
|
490
489
|
const handlers = () => state.phase === "shown" ? state.handlers : void 0;
|
|
491
|
-
let
|
|
490
|
+
let shown = false;
|
|
492
491
|
const offer = (popup = {}) => {
|
|
493
492
|
skeleton.remove();
|
|
494
493
|
if (state.phase === "closed" || !element.isConnected) return;
|
|
@@ -519,10 +518,7 @@ function load(options) {
|
|
|
519
518
|
return;
|
|
520
519
|
const data = event.data;
|
|
521
520
|
if (data?.type === "tempo-id:embed.ready") {
|
|
522
|
-
|
|
523
|
-
clearTimeout(report.timer);
|
|
524
|
-
report = { phase: "none" };
|
|
525
|
-
} else report = { phase: "reported" };
|
|
521
|
+
shown = true;
|
|
526
522
|
skeleton.remove();
|
|
527
523
|
} else if (data?.type === "tempo-id:embed.resize" && typeof data.height === "number")
|
|
528
524
|
element.style.height = `${Math.max(0, Math.ceil(data.height))}px`;
|
|
@@ -540,18 +536,9 @@ function load(options) {
|
|
|
540
536
|
};
|
|
541
537
|
window.addEventListener("message", listener);
|
|
542
538
|
element.addEventListener("load", () => {
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
return;
|
|
547
|
-
}
|
|
548
|
-
report = {
|
|
549
|
-
phase: "awaited",
|
|
550
|
-
timer: setTimeout(() => {
|
|
551
|
-
report = { phase: "none" };
|
|
552
|
-
offer();
|
|
553
|
-
}, reportDelay)
|
|
554
|
-
};
|
|
539
|
+
const reported = shown;
|
|
540
|
+
shown = false;
|
|
541
|
+
if (!reported) offer();
|
|
555
542
|
});
|
|
556
543
|
dialog.addEventListener("cancel", (event) => {
|
|
557
544
|
event.preventDefault();
|
|
@@ -569,7 +556,6 @@ function load(options) {
|
|
|
569
556
|
const open = state.phase === "shown";
|
|
570
557
|
state = { phase: "closed" };
|
|
571
558
|
window.removeEventListener("message", listener);
|
|
572
|
-
if (report.phase === "awaited") clearTimeout(report.timer);
|
|
573
559
|
const remove = () => {
|
|
574
560
|
dialog.close();
|
|
575
561
|
dialog.remove();
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
bind,
|
|
3
3
|
from,
|
|
4
4
|
passkey_exports
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HCA5WJBZ.js";
|
|
6
6
|
import {
|
|
7
7
|
dialog_exports
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-455HZPDK.js";
|
|
9
9
|
import {
|
|
10
10
|
redirect_exports
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-J2HCQMLW.js";
|
|
12
12
|
import {
|
|
13
13
|
connections_exports
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WCXNIBGI.js";
|
|
15
15
|
import {
|
|
16
16
|
AccessKey_exports,
|
|
17
17
|
Accounts_exports,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
unlisted,
|
|
51
51
|
user,
|
|
52
52
|
withoutAccessKey
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-7VTQHOWO.js";
|
|
54
54
|
import {
|
|
55
55
|
__export
|
|
56
56
|
} from "./chunk-MLKGABMK.js";
|
|
@@ -443,7 +443,7 @@ async function signIn2(auth2, options) {
|
|
|
443
443
|
return { ...next, options: next.options };
|
|
444
444
|
})();
|
|
445
445
|
if (creation && prepared.accessKey && options.accessKey) {
|
|
446
|
-
const { register } = await import("./passkey-
|
|
446
|
+
const { register } = await import("./passkey-KBKAK7GE.js");
|
|
447
447
|
const registered = await register(auth2, {
|
|
448
448
|
accessKey: { ...options.accessKey, account: prepared.accessKey.signer },
|
|
449
449
|
challenge: options.challenge,
|
package/dist/commands/login.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
env,
|
|
3
3
|
login
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-HTUAMCH4.js";
|
|
5
5
|
import "../chunk-2T7V6ASK.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-HCA5WJBZ.js";
|
|
7
|
+
import "../chunk-455HZPDK.js";
|
|
8
|
+
import "../chunk-J2HCQMLW.js";
|
|
9
|
+
import "../chunk-DU6R7ZT7.js";
|
|
10
|
+
import "../chunk-WCXNIBGI.js";
|
|
11
11
|
import "../chunk-FWGE6HXK.js";
|
|
12
12
|
import {
|
|
13
13
|
Accounts_exports
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-7VTQHOWO.js";
|
|
15
15
|
import "../chunk-Y7KQRRJL.js";
|
|
16
16
|
import "../chunk-MLKGABMK.js";
|
|
17
17
|
|
package/dist/commands/logout.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
env,
|
|
3
3
|
remove
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-HTUAMCH4.js";
|
|
5
5
|
import "../chunk-2T7V6ASK.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-HCA5WJBZ.js";
|
|
7
|
+
import "../chunk-455HZPDK.js";
|
|
8
|
+
import "../chunk-J2HCQMLW.js";
|
|
9
|
+
import "../chunk-DU6R7ZT7.js";
|
|
10
|
+
import "../chunk-WCXNIBGI.js";
|
|
11
11
|
import "../chunk-FWGE6HXK.js";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-7VTQHOWO.js";
|
|
13
13
|
import "../chunk-Y7KQRRJL.js";
|
|
14
14
|
import "../chunk-MLKGABMK.js";
|
|
15
15
|
|
package/dist/commands/whoami.js
CHANGED
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
env,
|
|
3
3
|
signedOut,
|
|
4
4
|
whoami
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-HTUAMCH4.js";
|
|
6
6
|
import "../chunk-2T7V6ASK.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-HCA5WJBZ.js";
|
|
8
|
+
import "../chunk-455HZPDK.js";
|
|
9
|
+
import "../chunk-J2HCQMLW.js";
|
|
10
|
+
import "../chunk-DU6R7ZT7.js";
|
|
11
|
+
import "../chunk-WCXNIBGI.js";
|
|
12
12
|
import "../chunk-FWGE6HXK.js";
|
|
13
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-7VTQHOWO.js";
|
|
14
14
|
import "../chunk-Y7KQRRJL.js";
|
|
15
15
|
import "../chunk-MLKGABMK.js";
|
|
16
16
|
|
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
preload,
|
|
4
4
|
signIn,
|
|
5
5
|
signMessage
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-455HZPDK.js";
|
|
7
|
+
import "./chunk-J2HCQMLW.js";
|
|
8
|
+
import "./chunk-DU6R7ZT7.js";
|
|
9
9
|
import {
|
|
10
10
|
authPath,
|
|
11
11
|
basePath
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
revokeAccessKey,
|
|
21
21
|
toSession,
|
|
22
22
|
updateAccessKey
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-7VTQHOWO.js";
|
|
24
24
|
import "./chunk-Y7KQRRJL.js";
|
|
25
25
|
import "./chunk-MLKGABMK.js";
|
|
26
26
|
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"node": ">=24.21"
|
|
10
10
|
},
|
|
11
11
|
"name": "@tempoxyz/id",
|
|
12
|
-
"version": "0.0.0-pr-
|
|
12
|
+
"version": "0.0.0-pr-906.sha-e9070cd",
|
|
13
13
|
"description": "The tempo-id CLI: sign in to Tempo ID, and call its API and the Admin API.",
|
|
14
14
|
"type": "module",
|
|
15
15
|
"bin": {
|