@tempoxyz/id 0.0.0-pr-1122.sha-980b3f8 → 0.0.0-pr-841.sha-4fcd3df
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/{AccessToken-QJDKOXEJ.js → AccessToken-ZMG3EHQV.js} +2 -2
- package/dist/{Connections-5RZ2DZAV.js → Connections-S4GKCKPQ.js} +3 -3
- package/dist/{Server-2SFPMJUG.js → Server-CZET7IQA.js} +2 -2
- package/dist/{Sheet-U4XOZX42.js → Sheet-THHLTOB3.js} +2 -2
- package/dist/{chunk-YLN77SUM.js → chunk-7XUABS62.js} +5 -5
- package/dist/{chunk-YPZG5V2T.js → chunk-FV7W2NEG.js} +2 -2
- package/dist/{chunk-2LX7RWLU.js → chunk-HDVRPL6Y.js} +1 -1
- package/dist/{chunk-B4735XUS.js → chunk-Q5ILJBD4.js} +7 -7
- package/dist/{chunk-YW2WTNQR.js → chunk-QC5GAAV4.js} +4 -4
- package/dist/{chunk-XG7NWDQP.js → chunk-RCSMITRU.js} +1 -1
- package/dist/{chunk-YJFS2F3N.js → chunk-S2A4OBMV.js} +10 -10
- package/dist/{chunk-524VB7L2.js → chunk-VCE66PWN.js} +1 -1
- package/dist/{chunk-T62CJ7W7.js → chunk-X2ANCSIT.js} +1 -1
- package/dist/{chunk-5U5R2GGI.js → chunk-XSG4VPAK.js} +50 -21
- package/dist/commands/login.js +10 -10
- package/dist/commands/logout.js +10 -10
- package/dist/commands/whoami.js +10 -10
- package/dist/{dialog-S6JOWIGX.js → dialog-23IPMHKT.js} +5 -5
- package/dist/{dialog-CS2GWC6G.js → dialog-B6L4Z7XO.js} +5 -5
- package/dist/{funding-5Z2KDEYL.js → funding-IKPDXFHO.js} +2 -2
- package/dist/{guest-L5FOT64E.js → guest-ENU3ZVH5.js} +2 -2
- package/dist/{mpp-IYH7CWQQ.js → mpp-YWVLLGTS.js} +6 -6
- package/dist/{passkey-Z6VLMF43.js → passkey-KEJX5L4Q.js} +2 -2
- package/package.json +1 -1
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
create,
|
|
4
4
|
includes,
|
|
5
5
|
verifyRequest
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-X2ANCSIT.js";
|
|
7
7
|
import "./chunk-DW2VLCLG.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-Q5ILJBD4.js";
|
|
9
9
|
import "./chunk-TEQAH4BN.js";
|
|
10
10
|
import "./chunk-MLKGABMK.js";
|
|
11
11
|
export {
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
attach,
|
|
3
3
|
create,
|
|
4
4
|
pending
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-FV7W2NEG.js";
|
|
6
|
+
import "./chunk-X2ANCSIT.js";
|
|
7
7
|
import "./chunk-DW2VLCLG.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-Q5ILJBD4.js";
|
|
9
9
|
import "./chunk-TEQAH4BN.js";
|
|
10
10
|
import "./chunk-MLKGABMK.js";
|
|
11
11
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
InvalidError
|
|
3
3
|
} from "./chunk-QI2MEU2T.js";
|
|
4
|
-
import "./chunk-
|
|
4
|
+
import "./chunk-HDVRPL6Y.js";
|
|
5
5
|
import "./chunk-DW2VLCLG.js";
|
|
6
6
|
import {
|
|
7
7
|
PendingNotFoundError,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
key,
|
|
13
13
|
permissions,
|
|
14
14
|
siwe
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-Q5ILJBD4.js";
|
|
16
16
|
import "./chunk-TEQAH4BN.js";
|
|
17
17
|
import "./chunk-MLKGABMK.js";
|
|
18
18
|
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
openPopup,
|
|
6
6
|
parameter2 as parameter,
|
|
7
7
|
watchPopup
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-Q5ILJBD4.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
11
|
} from "./chunk-MLKGABMK.js";
|
|
@@ -119,7 +119,7 @@ async function open(auth, options) {
|
|
|
119
119
|
throw new OriginError({ origin: window.location.origin, redirectUri });
|
|
120
120
|
if (mode === "popup" && options.mode !== "popup" && !activated()) {
|
|
121
121
|
const address = await abortable(read(), { signal });
|
|
122
|
-
const Sheet = await import("./Sheet-
|
|
122
|
+
const Sheet = await import("./Sheet-THHLTOB3.js");
|
|
123
123
|
return await new Promise((resolve, reject) => {
|
|
124
124
|
const abort = () => {
|
|
125
125
|
close();
|
|
@@ -182,7 +182,7 @@ async function preload(auth, options) {
|
|
|
182
182
|
const entry = { ready: Promise.resolve(), sheet: void 0, url };
|
|
183
183
|
preloads.set(auth, entry);
|
|
184
184
|
entry.ready = (async () => {
|
|
185
|
-
const Sheet = await import("./Sheet-
|
|
185
|
+
const Sheet = await import("./Sheet-THHLTOB3.js").catch(() => void 0);
|
|
186
186
|
if (!document.body)
|
|
187
187
|
await new Promise(
|
|
188
188
|
(resolve) => document.addEventListener("DOMContentLoaded", resolve, {
|
|
@@ -208,7 +208,7 @@ async function watch(auth, options) {
|
|
|
208
208
|
try {
|
|
209
209
|
return await new Promise(
|
|
210
210
|
(resolve, reject) => {
|
|
211
|
-
void import("./Sheet-
|
|
211
|
+
void import("./Sheet-THHLTOB3.js").then(
|
|
212
212
|
(Sheet) => {
|
|
213
213
|
if (settled) return;
|
|
214
214
|
unblock = Sheet.waiting({
|
|
@@ -310,7 +310,7 @@ var decimal = /^(?:0|[1-9]\d{0,17})(?:\.\d{1,18})?$/;
|
|
|
310
310
|
async function frame(auth, options) {
|
|
311
311
|
const { redirectUri, signal, toUrl } = options;
|
|
312
312
|
const address = await abortable(options.address, { signal });
|
|
313
|
-
const Sheet = await import("./Sheet-
|
|
313
|
+
const Sheet = await import("./Sheet-THHLTOB3.js");
|
|
314
314
|
signal?.throwIfAborted();
|
|
315
315
|
const url = toUrl(address);
|
|
316
316
|
const held = preloads.get(auth);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
InvalidError,
|
|
3
3
|
create
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-X2ANCSIT.js";
|
|
5
5
|
import {
|
|
6
6
|
RequestError,
|
|
7
7
|
clientAuthentication,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
from3 as from2,
|
|
11
11
|
json,
|
|
12
12
|
post
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-Q5ILJBD4.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
16
|
} from "./chunk-MLKGABMK.js";
|
|
@@ -1368,7 +1368,7 @@ async function approve(auth, options) {
|
|
|
1368
1368
|
let unwatch;
|
|
1369
1369
|
try {
|
|
1370
1370
|
return await new Promise((resolve3, reject) => {
|
|
1371
|
-
void import("./Sheet-
|
|
1371
|
+
void import("./Sheet-THHLTOB3.js").then(
|
|
1372
1372
|
(Sheet2) => {
|
|
1373
1373
|
if (settled) return;
|
|
1374
1374
|
unblock = Sheet2.waiting({
|
|
@@ -1423,7 +1423,7 @@ async function approve(auth, options) {
|
|
|
1423
1423
|
}
|
|
1424
1424
|
}
|
|
1425
1425
|
const covering = direct ? void 0 : hold;
|
|
1426
|
-
const Sheet = await import("./Sheet-
|
|
1426
|
+
const Sheet = await import("./Sheet-THHLTOB3.js");
|
|
1427
1427
|
signal?.throwIfAborted();
|
|
1428
1428
|
const sheet = Sheet.load({
|
|
1429
1429
|
// The page runs the passkey ceremony of the account's owner, for Tempo ID's origin. The payment
|
|
@@ -5818,7 +5818,7 @@ function create5(options = {}) {
|
|
|
5818
5818
|
function connections2() {
|
|
5819
5819
|
if (!connectionsOptions)
|
|
5820
5820
|
return Promise.reject(new ConnectionsRequiredError());
|
|
5821
|
-
attached ??= import("./Connections-
|
|
5821
|
+
attached ??= import("./Connections-S4GKCKPQ.js").then(
|
|
5822
5822
|
(module) => module.attach(config, connectionsOptions)
|
|
5823
5823
|
);
|
|
5824
5824
|
return attached;
|
|
@@ -5876,12 +5876,12 @@ function create5(options = {}) {
|
|
|
5876
5876
|
// The guest's module loads from a chunk of its own, so an app that pays no guest bundles none of
|
|
5877
5877
|
// it.
|
|
5878
5878
|
guest: {
|
|
5879
|
-
disconnect: async () => (await import("./guest-
|
|
5880
|
-
get: async () => (await import("./guest-
|
|
5879
|
+
disconnect: async () => (await import("./guest-ENU3ZVH5.js")).disconnect(config),
|
|
5880
|
+
get: async () => (await import("./guest-ENU3ZVH5.js")).get(config)
|
|
5881
5881
|
},
|
|
5882
5882
|
handler: {
|
|
5883
5883
|
async fetch(request2) {
|
|
5884
|
-
server ??= import("./Server-
|
|
5884
|
+
server ??= import("./Server-CZET7IQA.js").then(
|
|
5885
5885
|
(module) => module.create({
|
|
5886
5886
|
accessKeys: connectionsOptions ? async () => (await connections2()).accessKeyEndpoint : void 0,
|
|
5887
5887
|
// The `backend` plugin's actions sit on the instance under its `id`.
|
|
@@ -5916,7 +5916,7 @@ function create5(options = {}) {
|
|
|
5916
5916
|
const settings = instance.viem?.[key2];
|
|
5917
5917
|
const rpc = settings?.rpc(chainId2);
|
|
5918
5918
|
const chain2 = settings?.chain(chainId2);
|
|
5919
|
-
return await (await import("./guest-
|
|
5919
|
+
return await (await import("./guest-ENU3ZVH5.js")).pay(config, {
|
|
5920
5920
|
amount: parameters.amount,
|
|
5921
5921
|
chainId: chainId2,
|
|
5922
5922
|
memo: parameters.memo,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
handleCallback,
|
|
3
3
|
handleResult
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HDVRPL6Y.js";
|
|
5
5
|
import {
|
|
6
6
|
open
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7XUABS62.js";
|
|
8
8
|
import {
|
|
9
9
|
create,
|
|
10
10
|
prompt,
|
|
11
11
|
waiting
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RCSMITRU.js";
|
|
13
13
|
import {
|
|
14
14
|
RequestError,
|
|
15
15
|
activated,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
revoke,
|
|
34
34
|
signedIn,
|
|
35
35
|
watchPopup
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-Q5ILJBD4.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
39
|
} from "./chunk-MLKGABMK.js";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
guest_exports
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XSG4VPAK.js";
|
|
4
4
|
import {
|
|
5
5
|
dialog_exports
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QC5GAAV4.js";
|
|
7
7
|
import {
|
|
8
8
|
redirect_exports
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HDVRPL6Y.js";
|
|
10
10
|
import {
|
|
11
11
|
complete as complete2,
|
|
12
12
|
discard,
|
|
13
13
|
funding_exports,
|
|
14
14
|
open,
|
|
15
15
|
preload
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-7XUABS62.js";
|
|
17
17
|
import {
|
|
18
18
|
deferred
|
|
19
19
|
} from "./chunk-YOAFE7CM.js";
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
bind,
|
|
22
22
|
from as from3,
|
|
23
23
|
passkey_exports
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-VCE66PWN.js";
|
|
25
25
|
import {
|
|
26
26
|
connections_exports
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-FV7W2NEG.js";
|
|
28
28
|
import {
|
|
29
29
|
AccessKeyRequiredError,
|
|
30
30
|
AccessKey_exports,
|
|
@@ -89,7 +89,7 @@ import {
|
|
|
89
89
|
unlisted,
|
|
90
90
|
user,
|
|
91
91
|
withoutAccessKey
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-Q5ILJBD4.js";
|
|
93
93
|
import {
|
|
94
94
|
__export
|
|
95
95
|
} from "./chunk-MLKGABMK.js";
|
|
@@ -298,7 +298,7 @@ function plugin() {
|
|
|
298
298
|
let loading;
|
|
299
299
|
let loaded_plugin;
|
|
300
300
|
function load() {
|
|
301
|
-
loading ??= import("./dialog-
|
|
301
|
+
loading ??= import("./dialog-B6L4Z7XO.js").then((module) => loaded_plugin = module.dialog()).catch((error2) => {
|
|
302
302
|
loading = void 0;
|
|
303
303
|
throw error2;
|
|
304
304
|
});
|
|
@@ -394,7 +394,7 @@ function plugin2() {
|
|
|
394
394
|
extend(instance, context) {
|
|
395
395
|
let loading;
|
|
396
396
|
function load() {
|
|
397
|
-
loading ??= import("./mpp-
|
|
397
|
+
loading ??= import("./mpp-YWVLLGTS.js").then((module) => {
|
|
398
398
|
const loaded = module.mpp();
|
|
399
399
|
loaded.setup?.(context);
|
|
400
400
|
return loaded.extend(instance, context);
|
|
@@ -904,7 +904,7 @@ async function signIn2(auth2, options) {
|
|
|
904
904
|
return { ...next, options: next.options };
|
|
905
905
|
})();
|
|
906
906
|
if (creation && prepared.accessKey && options.accessKey) {
|
|
907
|
-
const { register } = await import("./passkey-
|
|
907
|
+
const { register } = await import("./passkey-KEJX5L4Q.js");
|
|
908
908
|
const registered = await register(auth2, {
|
|
909
909
|
accessKey: { ...options.accessKey, account: prepared.accessKey.signer },
|
|
910
910
|
challenge: options.challenge,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
to,
|
|
18
18
|
url,
|
|
19
19
|
watchPopup
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-Q5ILJBD4.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
23
|
} from "./chunk-MLKGABMK.js";
|
|
@@ -57,6 +57,7 @@ var mach = {
|
|
|
57
57
|
address: "0x20c000000000000000000000f37de3740adec032",
|
|
58
58
|
decimals: 6
|
|
59
59
|
};
|
|
60
|
+
var purchaseMaximum = 100000000n;
|
|
60
61
|
var pollInterval = 1e3;
|
|
61
62
|
var pollTimeout = 3e4;
|
|
62
63
|
function check(value, options) {
|
|
@@ -95,7 +96,9 @@ function check(value, options) {
|
|
|
95
96
|
return envelope;
|
|
96
97
|
}
|
|
97
98
|
async function disconnect(auth) {
|
|
98
|
-
|
|
99
|
+
const store = storeOf(auth);
|
|
100
|
+
const key = keyOf(auth);
|
|
101
|
+
await exclusive(store, { key }, () => store.removeItem(key));
|
|
99
102
|
}
|
|
100
103
|
async function get2(auth) {
|
|
101
104
|
const keyPair = await read(storeOf(auth), { key: keyOf(auth) });
|
|
@@ -126,6 +129,13 @@ async function pay(auth, options) {
|
|
|
126
129
|
});
|
|
127
130
|
signal?.throwIfAborted();
|
|
128
131
|
const store = storeOf(auth);
|
|
132
|
+
if (store.local && typeof document !== "undefined")
|
|
133
|
+
throw new RequestError({
|
|
134
|
+
code: "invalid_request",
|
|
135
|
+
field: "store",
|
|
136
|
+
message: "Invalid store: it holds its values only in this page, and a page load loses the guest account and its MACH. Keep the guest account in a store that persists across page loads, such as the default.",
|
|
137
|
+
status: 0
|
|
138
|
+
});
|
|
129
139
|
const { created, keyPair } = await load(store, { key: keyOf(auth) });
|
|
130
140
|
const address = Address.fromPublicKey(keyPair.publicKey, { checksum: true });
|
|
131
141
|
const client = createClient({
|
|
@@ -187,17 +197,34 @@ async function pay(auth, options) {
|
|
|
187
197
|
});
|
|
188
198
|
return { address, transaction: body.transaction };
|
|
189
199
|
};
|
|
190
|
-
|
|
191
|
-
|
|
200
|
+
if (typeof document !== "undefined")
|
|
201
|
+
void import("./Sheet-THHLTOB3.js").catch(() => void 0);
|
|
202
|
+
const [held, prepared] = await Promise.all([
|
|
203
|
+
created ? 0n : balance(),
|
|
192
204
|
prepare().catch((error2) => ({ error: error2 }))
|
|
193
205
|
]);
|
|
194
|
-
if (
|
|
195
|
-
if (
|
|
196
|
-
|
|
197
|
-
}
|
|
206
|
+
if ("error" in prepared) {
|
|
207
|
+
if (held >= required || !machines.purchasable(prepared.error))
|
|
208
|
+
throw prepared.error;
|
|
209
|
+
} else if (held >= required) return await send(prepared);
|
|
210
|
+
const shortfall = required - held;
|
|
211
|
+
if (shortfall > purchaseMaximum)
|
|
212
|
+
throw new RequestError({
|
|
213
|
+
code: "invalid_request",
|
|
214
|
+
field: "account",
|
|
215
|
+
message: `Insufficient balance: the guest account lacks ${formatUnits(shortfall, mach.decimals)} MACH, and one purchase sells at most ${formatUnits(purchaseMaximum, mach.decimals)} MACH. Pay at most ${formatUnits(held + purchaseMaximum, mach.decimals)} MACH.`,
|
|
216
|
+
meta: {
|
|
217
|
+
account: address,
|
|
218
|
+
amount: shortfall.toString(),
|
|
219
|
+
symbol: "MACH",
|
|
220
|
+
token: mach.address
|
|
221
|
+
},
|
|
222
|
+
reason: "insufficient_balance",
|
|
223
|
+
status: 0
|
|
224
|
+
});
|
|
198
225
|
await buy(auth, {
|
|
199
226
|
account: address,
|
|
200
|
-
amount: formatUnits(
|
|
227
|
+
amount: formatUnits(shortfall, mach.decimals),
|
|
201
228
|
balance,
|
|
202
229
|
chainId,
|
|
203
230
|
redirectUri: options.redirectUri,
|
|
@@ -225,7 +252,7 @@ async function buy(auth, options) {
|
|
|
225
252
|
display: "popup",
|
|
226
253
|
redirect_uri: redirectUri
|
|
227
254
|
}).toString();
|
|
228
|
-
const Sheet = await import("./Sheet-
|
|
255
|
+
const Sheet = await import("./Sheet-THHLTOB3.js");
|
|
229
256
|
const actor = createActor(
|
|
230
257
|
machines.purchase.provide({
|
|
231
258
|
actors: {
|
|
@@ -300,6 +327,12 @@ function closed() {
|
|
|
300
327
|
function keyOf(auth) {
|
|
301
328
|
return `tempo-id:guest:${JSON.stringify([new URL(auth.url).origin, auth.clientId])}`;
|
|
302
329
|
}
|
|
330
|
+
async function exclusive(store, options, fn) {
|
|
331
|
+
const locks = globalThis.navigator?.locks;
|
|
332
|
+
if (locks) return await locks.request(`${options.key}:exclusive`, fn);
|
|
333
|
+
if (store.lock) return await store.lock(`${options.key}:exclusive`, fn);
|
|
334
|
+
return await fn();
|
|
335
|
+
}
|
|
303
336
|
async function load(store, options) {
|
|
304
337
|
const run = async () => {
|
|
305
338
|
const held = await read(store, options);
|
|
@@ -308,10 +341,7 @@ async function load(store, options) {
|
|
|
308
341
|
await store.setItem(options.key, keyPair);
|
|
309
342
|
return { created: true, keyPair };
|
|
310
343
|
};
|
|
311
|
-
|
|
312
|
-
if (locks) return await locks.request(`${options.key}:exclusive`, run);
|
|
313
|
-
if (store.lock) return await store.lock(`${options.key}:exclusive`, run);
|
|
314
|
-
return await run();
|
|
344
|
+
return await exclusive(store, options, run);
|
|
315
345
|
}
|
|
316
346
|
async function read(store, options) {
|
|
317
347
|
const value = await store.getItem(options.key);
|
|
@@ -458,13 +488,8 @@ var machines;
|
|
|
458
488
|
},
|
|
459
489
|
{ target: "waiting" }
|
|
460
490
|
],
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
params: (args) => ({ error: args.event.error }),
|
|
464
|
-
type: "fail"
|
|
465
|
-
},
|
|
466
|
-
target: "#purchase.failed"
|
|
467
|
-
},
|
|
491
|
+
// A read that fails, such as for a rate limit, counts as no MACH yet.
|
|
492
|
+
onError: { target: "waiting" },
|
|
468
493
|
src: "balance"
|
|
469
494
|
}
|
|
470
495
|
},
|
|
@@ -496,6 +521,10 @@ var machines;
|
|
|
496
521
|
return typeof snapshot.value === "string" ? snapshot.value : "polling";
|
|
497
522
|
}
|
|
498
523
|
machines2.status = status;
|
|
524
|
+
function purchasable(error2) {
|
|
525
|
+
return error2 instanceof RequestError && error2.reason === "insufficient_balance";
|
|
526
|
+
}
|
|
527
|
+
machines2.purchasable = purchasable;
|
|
499
528
|
})(machines || (machines = {}));
|
|
500
529
|
|
|
501
530
|
export {
|
package/dist/commands/login.js
CHANGED
|
@@ -3,20 +3,20 @@ import {
|
|
|
3
3
|
apiScopes,
|
|
4
4
|
env,
|
|
5
5
|
login
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-S2A4OBMV.js";
|
|
7
|
+
import "../chunk-XSG4VPAK.js";
|
|
8
8
|
import "../chunk-QI2MEU2T.js";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-QC5GAAV4.js";
|
|
10
|
+
import "../chunk-HDVRPL6Y.js";
|
|
11
|
+
import "../chunk-7XUABS62.js";
|
|
12
12
|
import "../chunk-YOAFE7CM.js";
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-VCE66PWN.js";
|
|
14
|
+
import "../chunk-RCSMITRU.js";
|
|
15
15
|
import "../chunk-EQ672V6H.js";
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-FV7W2NEG.js";
|
|
17
|
+
import "../chunk-X2ANCSIT.js";
|
|
18
18
|
import "../chunk-DW2VLCLG.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-Q5ILJBD4.js";
|
|
20
20
|
import "../chunk-TEQAH4BN.js";
|
|
21
21
|
import "../chunk-MLKGABMK.js";
|
|
22
22
|
|
package/dist/commands/logout.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
env,
|
|
3
3
|
remove
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-S2A4OBMV.js";
|
|
5
|
+
import "../chunk-XSG4VPAK.js";
|
|
6
6
|
import "../chunk-QI2MEU2T.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-QC5GAAV4.js";
|
|
8
|
+
import "../chunk-HDVRPL6Y.js";
|
|
9
|
+
import "../chunk-7XUABS62.js";
|
|
10
10
|
import "../chunk-YOAFE7CM.js";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-VCE66PWN.js";
|
|
12
|
+
import "../chunk-RCSMITRU.js";
|
|
13
13
|
import "../chunk-EQ672V6H.js";
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-FV7W2NEG.js";
|
|
15
|
+
import "../chunk-X2ANCSIT.js";
|
|
16
16
|
import "../chunk-DW2VLCLG.js";
|
|
17
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-Q5ILJBD4.js";
|
|
18
18
|
import "../chunk-TEQAH4BN.js";
|
|
19
19
|
import "../chunk-MLKGABMK.js";
|
|
20
20
|
|
package/dist/commands/whoami.js
CHANGED
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
env,
|
|
3
3
|
signedOut,
|
|
4
4
|
whoami
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-S2A4OBMV.js";
|
|
6
|
+
import "../chunk-XSG4VPAK.js";
|
|
7
7
|
import "../chunk-QI2MEU2T.js";
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-QC5GAAV4.js";
|
|
9
|
+
import "../chunk-HDVRPL6Y.js";
|
|
10
|
+
import "../chunk-7XUABS62.js";
|
|
11
11
|
import "../chunk-YOAFE7CM.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-VCE66PWN.js";
|
|
13
|
+
import "../chunk-RCSMITRU.js";
|
|
14
14
|
import "../chunk-EQ672V6H.js";
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-FV7W2NEG.js";
|
|
16
|
+
import "../chunk-X2ANCSIT.js";
|
|
17
17
|
import "../chunk-DW2VLCLG.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-Q5ILJBD4.js";
|
|
19
19
|
import "../chunk-TEQAH4BN.js";
|
|
20
20
|
import "../chunk-MLKGABMK.js";
|
|
21
21
|
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
preload,
|
|
7
7
|
signIn,
|
|
8
8
|
signMessage
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-QC5GAAV4.js";
|
|
10
|
+
import "./chunk-HDVRPL6Y.js";
|
|
11
|
+
import "./chunk-7XUABS62.js";
|
|
12
|
+
import "./chunk-RCSMITRU.js";
|
|
13
|
+
import "./chunk-Q5ILJBD4.js";
|
|
14
14
|
import "./chunk-TEQAH4BN.js";
|
|
15
15
|
import "./chunk-MLKGABMK.js";
|
|
16
16
|
export {
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
preload,
|
|
4
4
|
signIn,
|
|
5
5
|
signMessage
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-QC5GAAV4.js";
|
|
7
|
+
import "./chunk-HDVRPL6Y.js";
|
|
8
|
+
import "./chunk-7XUABS62.js";
|
|
9
|
+
import "./chunk-RCSMITRU.js";
|
|
10
10
|
import {
|
|
11
11
|
AccessKeyRequiredError,
|
|
12
12
|
RequestError,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
revokeAccessKey,
|
|
27
27
|
toSession,
|
|
28
28
|
updateAccessKey
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-Q5ILJBD4.js";
|
|
30
30
|
import "./chunk-TEQAH4BN.js";
|
|
31
31
|
import "./chunk-MLKGABMK.js";
|
|
32
32
|
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
toChain,
|
|
43
43
|
toSession,
|
|
44
44
|
updateAccessKey
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-Q5ILJBD4.js";
|
|
46
46
|
import "./chunk-TEQAH4BN.js";
|
|
47
47
|
import "./chunk-MLKGABMK.js";
|
|
48
48
|
|
|
@@ -919,7 +919,7 @@ function viem(options = {}) {
|
|
|
919
919
|
const lapses = /* @__PURE__ */ new WeakSet();
|
|
920
920
|
const refusals = /* @__PURE__ */ new WeakSet();
|
|
921
921
|
let verifier;
|
|
922
|
-
const tokens2 = () => verifier ??= import("./AccessToken-
|
|
922
|
+
const tokens2 = () => verifier ??= import("./AccessToken-ZMG3EHQV.js").then(
|
|
923
923
|
(module) => module.create(
|
|
924
924
|
config,
|
|
925
925
|
resolve2(context.chain.configured).accessTokens
|
|
@@ -1578,7 +1578,7 @@ function viem(options = {}) {
|
|
|
1578
1578
|
async function fix(failure, options2) {
|
|
1579
1579
|
const { address: address3, chainId, error, needs, raise, screen, signal } = options2;
|
|
1580
1580
|
if (failure.kind === "balance" && page2) {
|
|
1581
|
-
const Funding = await import("./funding-
|
|
1581
|
+
const Funding = await import("./funding-IKPDXFHO.js");
|
|
1582
1582
|
const result2 = await Funding.open(config, {
|
|
1583
1583
|
address: address3,
|
|
1584
1584
|
chainId,
|
|
@@ -1706,7 +1706,7 @@ function viem(options = {}) {
|
|
|
1706
1706
|
}
|
|
1707
1707
|
return authorization2;
|
|
1708
1708
|
}
|
|
1709
|
-
const Dialog = await import("./dialog-
|
|
1709
|
+
const Dialog = await import("./dialog-23IPMHKT.js");
|
|
1710
1710
|
return await Dialog.signIn(config, {
|
|
1711
1711
|
accessKey,
|
|
1712
1712
|
mode: "iframe",
|
|
@@ -2292,7 +2292,7 @@ function viem(options = {}) {
|
|
|
2292
2292
|
transport: custom({ request: () => Promise.resolve(void 0) })
|
|
2293
2293
|
},
|
|
2294
2294
|
{
|
|
2295
|
-
verifier: () => import("./AccessToken-
|
|
2295
|
+
verifier: () => import("./AccessToken-ZMG3EHQV.js").then(
|
|
2296
2296
|
(module) => module.create(instance.config)
|
|
2297
2297
|
)
|
|
2298
2298
|
}
|
|
@@ -2844,7 +2844,7 @@ function mpp(options = {}) {
|
|
|
2844
2844
|
}
|
|
2845
2845
|
async function subscribe(parameters, options2) {
|
|
2846
2846
|
const [Dialog, missing] = await Promise.all([
|
|
2847
|
-
import("./dialog-
|
|
2847
|
+
import("./dialog-23IPMHKT.js"),
|
|
2848
2848
|
options2.balance ? lacking(parameters) : void 0
|
|
2849
2849
|
]);
|
|
2850
2850
|
if (missing) throw new BalanceError(missing);
|
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-841.sha-4fcd3df",
|
|
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": {
|