@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.
@@ -3,9 +3,9 @@ import {
3
3
  create,
4
4
  includes,
5
5
  verifyRequest
6
- } from "./chunk-T62CJ7W7.js";
6
+ } from "./chunk-X2ANCSIT.js";
7
7
  import "./chunk-DW2VLCLG.js";
8
- import "./chunk-B4735XUS.js";
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-YPZG5V2T.js";
6
- import "./chunk-T62CJ7W7.js";
5
+ } from "./chunk-FV7W2NEG.js";
6
+ import "./chunk-X2ANCSIT.js";
7
7
  import "./chunk-DW2VLCLG.js";
8
- import "./chunk-B4735XUS.js";
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-2LX7RWLU.js";
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-B4735XUS.js";
15
+ } from "./chunk-Q5ILJBD4.js";
16
16
  import "./chunk-TEQAH4BN.js";
17
17
  import "./chunk-MLKGABMK.js";
18
18
 
@@ -4,8 +4,8 @@ import {
4
4
  machines,
5
5
  prompt,
6
6
  waiting
7
- } from "./chunk-XG7NWDQP.js";
8
- import "./chunk-B4735XUS.js";
7
+ } from "./chunk-RCSMITRU.js";
8
+ import "./chunk-Q5ILJBD4.js";
9
9
  import "./chunk-TEQAH4BN.js";
10
10
  import "./chunk-MLKGABMK.js";
11
11
  export {
@@ -5,7 +5,7 @@ import {
5
5
  openPopup,
6
6
  parameter2 as parameter,
7
7
  watchPopup
8
- } from "./chunk-B4735XUS.js";
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-U4XOZX42.js");
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-U4XOZX42.js").catch(() => void 0);
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-U4XOZX42.js").then(
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-U4XOZX42.js");
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-T62CJ7W7.js";
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-B4735XUS.js";
13
+ } from "./chunk-Q5ILJBD4.js";
14
14
  import {
15
15
  __export
16
16
  } from "./chunk-MLKGABMK.js";
@@ -21,7 +21,7 @@ import {
21
21
  tokens,
22
22
  url,
23
23
  user
24
- } from "./chunk-B4735XUS.js";
24
+ } from "./chunk-Q5ILJBD4.js";
25
25
  import {
26
26
  __export
27
27
  } 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-U4XOZX42.js").then(
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-U4XOZX42.js");
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-5RZ2DZAV.js").then(
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-L5FOT64E.js")).disconnect(config),
5880
- get: async () => (await import("./guest-L5FOT64E.js")).get(config)
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-2SFPMJUG.js").then(
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-L5FOT64E.js")).pay(config, {
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-2LX7RWLU.js";
4
+ } from "./chunk-HDVRPL6Y.js";
5
5
  import {
6
6
  open
7
- } from "./chunk-YLN77SUM.js";
7
+ } from "./chunk-7XUABS62.js";
8
8
  import {
9
9
  create,
10
10
  prompt,
11
11
  waiting
12
- } from "./chunk-XG7NWDQP.js";
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-B4735XUS.js";
36
+ } from "./chunk-Q5ILJBD4.js";
37
37
  import {
38
38
  __export
39
39
  } from "./chunk-MLKGABMK.js";
@@ -3,7 +3,7 @@ import {
3
3
  openPopup,
4
4
  received,
5
5
  watchPopup
6
- } from "./chunk-B4735XUS.js";
6
+ } from "./chunk-Q5ILJBD4.js";
7
7
 
8
8
  // ../../accounts/src/internal/Sheet.ts
9
9
  import {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  guest_exports
3
- } from "./chunk-5U5R2GGI.js";
3
+ } from "./chunk-XSG4VPAK.js";
4
4
  import {
5
5
  dialog_exports
6
- } from "./chunk-YW2WTNQR.js";
6
+ } from "./chunk-QC5GAAV4.js";
7
7
  import {
8
8
  redirect_exports
9
- } from "./chunk-2LX7RWLU.js";
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-YLN77SUM.js";
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-524VB7L2.js";
24
+ } from "./chunk-VCE66PWN.js";
25
25
  import {
26
26
  connections_exports
27
- } from "./chunk-YPZG5V2T.js";
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-B4735XUS.js";
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-CS2GWC6G.js").then((module) => loaded_plugin = module.dialog()).catch((error2) => {
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-IYH7CWQQ.js").then((module) => {
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-Z6VLMF43.js");
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
  tempoAccount,
18
18
  tokens,
19
19
  user
20
- } from "./chunk-B4735XUS.js";
20
+ } from "./chunk-Q5ILJBD4.js";
21
21
  import {
22
22
  __export
23
23
  } from "./chunk-MLKGABMK.js";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  RequestError,
6
6
  algorithms
7
- } from "./chunk-B4735XUS.js";
7
+ } from "./chunk-Q5ILJBD4.js";
8
8
 
9
9
  // ../../accounts/src/AccessToken.ts
10
10
  import {
@@ -17,7 +17,7 @@ import {
17
17
  to,
18
18
  url,
19
19
  watchPopup
20
- } from "./chunk-B4735XUS.js";
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
- await storeOf(auth).removeItem(keyOf(auth));
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
- const [held, prepared] = created ? [0n, void 0] : await Promise.all([
191
- balance(),
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 (held >= required && prepared) {
195
- if ("error" in prepared) throw prepared.error;
196
- return await send(prepared);
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(required - held, mach.decimals),
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-U4XOZX42.js");
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
- const locks = globalThis.navigator?.locks;
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
- onError: {
462
- actions: {
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 {
@@ -3,20 +3,20 @@ import {
3
3
  apiScopes,
4
4
  env,
5
5
  login
6
- } from "../chunk-YJFS2F3N.js";
7
- import "../chunk-5U5R2GGI.js";
6
+ } from "../chunk-S2A4OBMV.js";
7
+ import "../chunk-XSG4VPAK.js";
8
8
  import "../chunk-QI2MEU2T.js";
9
- import "../chunk-YW2WTNQR.js";
10
- import "../chunk-2LX7RWLU.js";
11
- import "../chunk-YLN77SUM.js";
9
+ import "../chunk-QC5GAAV4.js";
10
+ import "../chunk-HDVRPL6Y.js";
11
+ import "../chunk-7XUABS62.js";
12
12
  import "../chunk-YOAFE7CM.js";
13
- import "../chunk-524VB7L2.js";
14
- import "../chunk-XG7NWDQP.js";
13
+ import "../chunk-VCE66PWN.js";
14
+ import "../chunk-RCSMITRU.js";
15
15
  import "../chunk-EQ672V6H.js";
16
- import "../chunk-YPZG5V2T.js";
17
- import "../chunk-T62CJ7W7.js";
16
+ import "../chunk-FV7W2NEG.js";
17
+ import "../chunk-X2ANCSIT.js";
18
18
  import "../chunk-DW2VLCLG.js";
19
- import "../chunk-B4735XUS.js";
19
+ import "../chunk-Q5ILJBD4.js";
20
20
  import "../chunk-TEQAH4BN.js";
21
21
  import "../chunk-MLKGABMK.js";
22
22
 
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  env,
3
3
  remove
4
- } from "../chunk-YJFS2F3N.js";
5
- import "../chunk-5U5R2GGI.js";
4
+ } from "../chunk-S2A4OBMV.js";
5
+ import "../chunk-XSG4VPAK.js";
6
6
  import "../chunk-QI2MEU2T.js";
7
- import "../chunk-YW2WTNQR.js";
8
- import "../chunk-2LX7RWLU.js";
9
- import "../chunk-YLN77SUM.js";
7
+ import "../chunk-QC5GAAV4.js";
8
+ import "../chunk-HDVRPL6Y.js";
9
+ import "../chunk-7XUABS62.js";
10
10
  import "../chunk-YOAFE7CM.js";
11
- import "../chunk-524VB7L2.js";
12
- import "../chunk-XG7NWDQP.js";
11
+ import "../chunk-VCE66PWN.js";
12
+ import "../chunk-RCSMITRU.js";
13
13
  import "../chunk-EQ672V6H.js";
14
- import "../chunk-YPZG5V2T.js";
15
- import "../chunk-T62CJ7W7.js";
14
+ import "../chunk-FV7W2NEG.js";
15
+ import "../chunk-X2ANCSIT.js";
16
16
  import "../chunk-DW2VLCLG.js";
17
- import "../chunk-B4735XUS.js";
17
+ import "../chunk-Q5ILJBD4.js";
18
18
  import "../chunk-TEQAH4BN.js";
19
19
  import "../chunk-MLKGABMK.js";
20
20
 
@@ -2,20 +2,20 @@ import {
2
2
  env,
3
3
  signedOut,
4
4
  whoami
5
- } from "../chunk-YJFS2F3N.js";
6
- import "../chunk-5U5R2GGI.js";
5
+ } from "../chunk-S2A4OBMV.js";
6
+ import "../chunk-XSG4VPAK.js";
7
7
  import "../chunk-QI2MEU2T.js";
8
- import "../chunk-YW2WTNQR.js";
9
- import "../chunk-2LX7RWLU.js";
10
- import "../chunk-YLN77SUM.js";
8
+ import "../chunk-QC5GAAV4.js";
9
+ import "../chunk-HDVRPL6Y.js";
10
+ import "../chunk-7XUABS62.js";
11
11
  import "../chunk-YOAFE7CM.js";
12
- import "../chunk-524VB7L2.js";
13
- import "../chunk-XG7NWDQP.js";
12
+ import "../chunk-VCE66PWN.js";
13
+ import "../chunk-RCSMITRU.js";
14
14
  import "../chunk-EQ672V6H.js";
15
- import "../chunk-YPZG5V2T.js";
16
- import "../chunk-T62CJ7W7.js";
15
+ import "../chunk-FV7W2NEG.js";
16
+ import "../chunk-X2ANCSIT.js";
17
17
  import "../chunk-DW2VLCLG.js";
18
- import "../chunk-B4735XUS.js";
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-YW2WTNQR.js";
10
- import "./chunk-2LX7RWLU.js";
11
- import "./chunk-YLN77SUM.js";
12
- import "./chunk-XG7NWDQP.js";
13
- import "./chunk-B4735XUS.js";
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-YW2WTNQR.js";
7
- import "./chunk-2LX7RWLU.js";
8
- import "./chunk-YLN77SUM.js";
9
- import "./chunk-XG7NWDQP.js";
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-B4735XUS.js";
29
+ } from "./chunk-Q5ILJBD4.js";
30
30
  import "./chunk-TEQAH4BN.js";
31
31
  import "./chunk-MLKGABMK.js";
32
32
 
@@ -6,8 +6,8 @@ import {
6
6
  discard,
7
7
  open,
8
8
  preload
9
- } from "./chunk-YLN77SUM.js";
10
- import "./chunk-B4735XUS.js";
9
+ } from "./chunk-7XUABS62.js";
10
+ import "./chunk-Q5ILJBD4.js";
11
11
  import "./chunk-TEQAH4BN.js";
12
12
  import "./chunk-MLKGABMK.js";
13
13
  export {
@@ -4,8 +4,8 @@ import {
4
4
  get,
5
5
  machines,
6
6
  pay
7
- } from "./chunk-5U5R2GGI.js";
8
- import "./chunk-B4735XUS.js";
7
+ } from "./chunk-XSG4VPAK.js";
8
+ import "./chunk-Q5ILJBD4.js";
9
9
  import "./chunk-TEQAH4BN.js";
10
10
  import "./chunk-MLKGABMK.js";
11
11
  export {
@@ -42,7 +42,7 @@ import {
42
42
  toChain,
43
43
  toSession,
44
44
  updateAccessKey
45
- } from "./chunk-B4735XUS.js";
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-QJDKOXEJ.js").then(
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-5Z2KDEYL.js");
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-S6JOWIGX.js");
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-QJDKOXEJ.js").then(
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-S6JOWIGX.js"),
2847
+ import("./dialog-23IPMHKT.js"),
2848
2848
  options2.balance ? lacking(parameters) : void 0
2849
2849
  ]);
2850
2850
  if (missing) throw new BalanceError(missing);
@@ -3,8 +3,8 @@ import {
3
3
  prepare,
4
4
  register,
5
5
  signIn
6
- } from "./chunk-524VB7L2.js";
7
- import "./chunk-B4735XUS.js";
6
+ } from "./chunk-VCE66PWN.js";
7
+ import "./chunk-Q5ILJBD4.js";
8
8
  import "./chunk-TEQAH4BN.js";
9
9
  import "./chunk-MLKGABMK.js";
10
10
  export {
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-1122.sha-980b3f8",
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": {