@tempoxyz/id 0.0.0-pr-670.sha-4e09ba6 → 0.0.0-pr-686.sha-fb0fe40

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.
@@ -4,8 +4,8 @@ import {
4
4
  name,
5
5
  parseName,
6
6
  pending
7
- } from "./chunk-JJT3ITRO.js";
8
- import "./chunk-YDYAVOWG.js";
7
+ } from "./chunk-A3TKBAOI.js";
8
+ import "./chunk-JACZGAYL.js";
9
9
  import "./chunk-YW5DUQT3.js";
10
10
  import "./chunk-MLKGABMK.js";
11
11
  export {
@@ -4,7 +4,7 @@ import {
4
4
  machines,
5
5
  prompt,
6
6
  waiting
7
- } from "./chunk-YDYAVOWG.js";
7
+ } from "./chunk-JACZGAYL.js";
8
8
  import "./chunk-MLKGABMK.js";
9
9
  export {
10
10
  create,
@@ -5,7 +5,7 @@ import {
5
5
  expired,
6
6
  from,
7
7
  revokeAccessKey
8
- } from "./chunk-YDYAVOWG.js";
8
+ } from "./chunk-JACZGAYL.js";
9
9
  import {
10
10
  from as from2
11
11
  } from "./chunk-YW5DUQT3.js";
@@ -102,7 +102,6 @@ async function proof(dpop2, options) {
102
102
  var AccessKey_exports = {};
103
103
  __export(AccessKey_exports, {
104
104
  AccessKeyRequiredError: () => AccessKeyRequiredError,
105
- KeyTypeError: () => KeyTypeError,
106
105
  expired: () => expired,
107
106
  from: () => from,
108
107
  own: () => own,
@@ -121,14 +120,6 @@ var AccessKeyRequiredError = class extends Error {
121
120
  );
122
121
  }
123
122
  };
124
- var KeyTypeError = class extends Error {
125
- name = "AccessKey.KeyTypeError";
126
- constructor() {
127
- super(
128
- "The authorization is for a configurable account, not an access key. Sign in again for an access key."
129
- );
130
- }
131
- };
132
123
  function expired(key) {
133
124
  const { expiry } = KeyAuthorization.fromRpc(key.keyAuthorization);
134
125
  return Boolean(expiry) && expiry * 1e3 <= Date.now();
@@ -186,11 +177,9 @@ function toAccount(key, options = {}) {
186
177
  if (key.keyPair) return Account.fromWebCryptoP256(key.keyPair, access);
187
178
  if (key.privateKey) return Account.fromSecp256k1(key.privateKey, access);
188
179
  if (!accessKey2) throw new AccessKeyRequiredError();
189
- const { type } = access.keyAuthorization;
190
- if (type === "configurable") throw new KeyTypeError();
191
180
  return Account.from({
192
181
  ...access,
193
- keyType: type,
182
+ keyType: accessKey2.keyType,
194
183
  publicKey: PublicKey.fromHex(accessKey2.publicKey),
195
184
  sign: (parameters) => accessKey2.sign({ ...parameters, raw: true })
196
185
  });
@@ -370,25 +359,6 @@ async function token(auth, body) {
370
359
  })
371
360
  );
372
361
  }
373
- async function refresh(auth, options) {
374
- const config = {
375
- ...auth,
376
- fetch: ((input, init) => (auth.fetch ?? globalThis.fetch)(input, init).catch((error3) => {
377
- throw new RequestError({
378
- cause: error3,
379
- code: "server_error",
380
- message: "The refresh received no response. Check the connection, and refresh again.",
381
- status: 0
382
- });
383
- }))
384
- };
385
- return tokens(
386
- await token(config, {
387
- grant_type: "refresh_token",
388
- refresh_token: options.refreshToken
389
- })
390
- );
391
- }
392
362
  function tempoAccount(account2, options = {}) {
393
363
  const owner = account2.config.owners.find((entry) => entry.type !== "webAuthn") ?? account2.config.owners[0];
394
364
  const keys = account2.config.owners.map((entry) => ({
@@ -769,7 +739,7 @@ __export(Actions_exports, {
769
739
  passkey: () => passkey_exports,
770
740
  realm: () => realm_exports,
771
741
  redirect: () => redirect_exports,
772
- refresh: () => refresh2,
742
+ refresh: () => refresh,
773
743
  signOut: () => signOut
774
744
  });
775
745
 
@@ -1482,38 +1452,14 @@ import {
1482
1452
 
1483
1453
  // ../../accounts/src/internal/IndexedDb.ts
1484
1454
  function create() {
1485
- let database;
1486
- function open2() {
1487
- if (database) return database;
1488
- const opened = new Promise((resolve3, reject) => {
1489
- const request4 = indexedDB.open("tempo-id");
1490
- request4.onupgradeneeded = () => request4.result.createObjectStore(store);
1491
- request4.onsuccess = () => {
1492
- request4.result.onclose = () => {
1493
- if (database === opened) database = void 0;
1494
- };
1495
- resolve3(request4.result);
1496
- };
1497
- request4.onerror = () => reject(request4.error);
1498
- });
1499
- database = opened;
1500
- opened.catch(() => {
1501
- if (database === opened) database = void 0;
1502
- });
1503
- return opened;
1504
- }
1455
+ const database = new Promise((resolve3, reject) => {
1456
+ const request4 = indexedDB.open("tempo-id");
1457
+ request4.onupgradeneeded = () => request4.result.createObjectStore(store);
1458
+ request4.onsuccess = () => resolve3(request4.result);
1459
+ request4.onerror = () => reject(request4.error);
1460
+ });
1505
1461
  async function run2(mode, fn) {
1506
- const transaction = await (async () => {
1507
- const opened = open2();
1508
- try {
1509
- return (await opened).transaction(store, mode);
1510
- } catch (error3) {
1511
- if (!(error3 instanceof DOMException) || error3.name !== "InvalidStateError")
1512
- throw error3;
1513
- if (database === opened) database = void 0;
1514
- return (await open2()).transaction(store, mode);
1515
- }
1516
- })();
1462
+ const transaction = (await database).transaction(store, mode);
1517
1463
  return new Promise((resolve3, reject) => {
1518
1464
  const request4 = fn(transaction.objectStore(store));
1519
1465
  transaction.oncomplete = () => resolve3(request4.result);
@@ -1712,7 +1658,7 @@ async function open(auth, options) {
1712
1658
  throw new OriginError({ origin: window.location.origin, redirectUri });
1713
1659
  if (mode === "popup" && options.mode !== "popup" && !activated()) {
1714
1660
  const address2 = await abortable(read2(), { signal });
1715
- const Sheet = await import("./Sheet-PTAFRAX2.js");
1661
+ const Sheet = await import("./Sheet-5EGGSH3T.js");
1716
1662
  return await new Promise((resolve3, reject) => {
1717
1663
  const abort = () => {
1718
1664
  close();
@@ -1763,7 +1709,7 @@ async function watch(auth, options) {
1763
1709
  try {
1764
1710
  return await new Promise(
1765
1711
  (resolve3, reject) => {
1766
- void import("./Sheet-PTAFRAX2.js").then(
1712
+ void import("./Sheet-5EGGSH3T.js").then(
1767
1713
  (Sheet) => {
1768
1714
  if (settled) return;
1769
1715
  unblock = Sheet.waiting({
@@ -1828,7 +1774,7 @@ function parse(url, options) {
1828
1774
  async function frame(auth, options) {
1829
1775
  const { redirectUri, signal, toUrl } = options;
1830
1776
  const address2 = await abortable(options.address, { signal });
1831
- const Sheet = await import("./Sheet-PTAFRAX2.js");
1777
+ const Sheet = await import("./Sheet-5EGGSH3T.js");
1832
1778
  signal?.throwIfAborted();
1833
1779
  let close;
1834
1780
  let abort;
@@ -1944,22 +1890,12 @@ function complete3(auth, options = {}) {
1944
1890
  const ticket2 = take(auth);
1945
1891
  const early = ticket2 && url.searchParams.has("code") && url.searchParams.get("state") === ticket2.state ? redeem(auth, { pending: ticket2, url }) : void 0;
1946
1892
  early?.catch(() => void 0);
1947
- const state = url.searchParams.getAll("state").at(-1);
1948
- const entry = await (async () => {
1949
- if (state === void 0) return void 0;
1950
- const key = storeKey(state);
1951
- const value = await store2.getItem(key);
1952
- if (value != null) return { key, value };
1953
- const legacy = await store2.getItem(legacyStoreKey);
1954
- if (legacy?.state === state) return { key: legacyStoreKey, value: legacy };
1955
- return void 0;
1956
- })();
1957
- const stored = entry?.value;
1893
+ const stored = await store2.getItem(storeKey);
1958
1894
  const redirectUri = stored?.redirectUri ?? url.origin;
1959
1895
  const registered = new URL(redirectUri).searchParams;
1960
1896
  if (stored != null && !owns(auth, stored)) return void 0;
1961
- const ours = stored != null && state === stored.state;
1962
- if (ours && entry) await store2.removeItem(entry.key);
1897
+ const ours = stored != null && url.searchParams.get("state") === stored.state;
1898
+ if (ours) await store2.removeItem(storeKey);
1963
1899
  const callback2 = [
1964
1900
  "code",
1965
1901
  "error",
@@ -2136,29 +2072,12 @@ async function prefetch(auth) {
2136
2072
  }
2137
2073
  async function start(auth, options = {}) {
2138
2074
  const { pending, url } = await createUrl(auth, options);
2139
- const store2 = get2(auth.store);
2140
- const now = Date.now();
2141
- const expiresAt = now + pendingLifetime;
2142
- const index = await store2.getItem(indexKey) ?? [];
2143
- const expired3 = index.filter((entry) => entry.expiresAt <= now);
2144
- const kept = index.filter((entry) => entry.expiresAt > now);
2145
- await Promise.all([
2146
- ...expired3.map((entry) => store2.removeItem(storeKey(entry.state))),
2147
- store2.setItem(indexKey, [...kept, { expiresAt, state: pending.state }], {
2148
- expiresAt
2149
- }),
2150
- store2.setItem(storeKey(pending.state), pending, { expiresAt })
2151
- ]);
2075
+ await get2(auth.store).setItem(storeKey, pending);
2152
2076
  save(auth, pending);
2153
2077
  window.location.assign(url);
2154
2078
  }
2155
2079
  var completed = /* @__PURE__ */ new WeakMap();
2156
- var indexKey = "tempo-id:redirects";
2157
- var pendingLifetime = 60 * 60 * 1e3;
2158
- var legacyStoreKey = "tempo-id:redirect";
2159
- function storeKey(state) {
2160
- return `tempo-id:redirect:${state}`;
2161
- }
2080
+ var storeKey = "tempo-id:redirect";
2162
2081
 
2163
2082
  // ../../accounts/src/actions/dialog.ts
2164
2083
  var BlockedError2 = class extends Error {
@@ -3172,8 +3091,13 @@ async function fetch2(auth, options) {
3172
3091
  return (auth.fetch ?? globalThis.fetch)(url, { ...init, headers, method });
3173
3092
  }
3174
3093
  var refreshRetryDelay = 1e3;
3175
- async function refresh2(auth, options) {
3176
- const send2 = () => refresh(auth, options);
3094
+ async function refresh(auth, options) {
3095
+ const send2 = async () => tokens(
3096
+ await token(auth, {
3097
+ grant_type: "refresh_token",
3098
+ refresh_token: options.refreshToken
3099
+ })
3100
+ );
3177
3101
  try {
3178
3102
  return await send2();
3179
3103
  } catch (error3) {
@@ -3247,7 +3171,7 @@ async function run(context, parameters) {
3247
3171
  await change.commit(session2);
3248
3172
  return { ...session2, upgradeAvailable: result.upgradeAvailable };
3249
3173
  }
3250
- function refresh3(context, options = {}) {
3174
+ function refresh2(context, options = {}) {
3251
3175
  const { margin } = options;
3252
3176
  return context.session.exclusive(async () => {
3253
3177
  await context.session.load({ locked: true });
@@ -3294,7 +3218,7 @@ function refresh3(context, options = {}) {
3294
3218
  const latest = await context.session.reload();
3295
3219
  const session2 = { ...current, ...tokens3 };
3296
3220
  if (held && !latest) {
3297
- const spansContexts = typeof indexedDB !== "undefined" && !!globalThis.navigator?.locks;
3221
+ const spansContexts = typeof indexedDB !== "undefined" && globalThis.navigator?.locks;
3298
3222
  if (!spansContexts) return void 0;
3299
3223
  await context.session.change({ update: true }).commit(session2);
3300
3224
  return session2;
@@ -3411,7 +3335,7 @@ var signInIds = /* @__PURE__ */ new Set([
3411
3335
  function plugin() {
3412
3336
  let loading;
3413
3337
  function load() {
3414
- loading ??= import("./dialog-7DSDKEHU.js").then((module) => module.dialog()).catch((error3) => {
3338
+ loading ??= import("./dialog-G77XBXD2.js").then((module) => module.dialog()).catch((error3) => {
3415
3339
  loading = void 0;
3416
3340
  throw error3;
3417
3341
  });
@@ -3609,45 +3533,44 @@ function create3(options) {
3609
3533
  }
3610
3534
  };
3611
3535
  const revoked = {
3612
- /** Returns whether `digests` hold the refresh token of `session`. */
3613
- has(digests, session2) {
3614
- if (!session2?.refreshToken) return false;
3615
- return digests.includes(digest(session2.refreshToken));
3616
- },
3617
- /** Reads the digests, or none when the read fails. */
3618
- async read() {
3619
- const value = await (async () => store2?.getItem(`${name}:revoked`))().catch(() => void 0);
3620
- return Array.isArray(value) ? value : [];
3536
+ async has(session2) {
3537
+ if (!store2 || !session2?.refreshToken) return false;
3538
+ return (await readRevoked()).includes(digest(session2.refreshToken));
3621
3539
  },
3622
3540
  // ponytail: the 32 latest digests, enough for a sign-out's own token, the 16 pending tokens of
3623
3541
  // the unanswered entry, and the sessions that one store's contexts hold. A digest that the list
3624
3542
  // holds moves to its end.
3625
- /** Writes `digests` with the digest of each token of `tokens` at the end, in order. */
3626
- async write(digests, tokens3) {
3627
- if (!store2 || tokens3.length === 0) return;
3628
- const added = tokens3.map((token2) => digest(token2));
3629
- const next = [
3630
- ...digests.filter((entry) => !added.includes(entry)),
3631
- ...added.filter((entry, index) => added.lastIndexOf(entry) === index)
3543
+ async add(session2) {
3544
+ if (!store2 || !session2.refreshToken) return;
3545
+ const added = digest(session2.refreshToken);
3546
+ const digests = [
3547
+ ...(await readRevoked()).filter((entry) => entry !== added),
3548
+ added
3632
3549
  ].slice(-32);
3633
- await (async () => store2.setItem(`${name}:revoked`, next))().catch(
3550
+ await (async () => store2.setItem(`${name}:revoked`, digests))().catch(
3634
3551
  () => void 0
3635
3552
  );
3636
3553
  }
3637
3554
  };
3638
3555
  async function revokeExpired(session2) {
3639
- const { refreshToken } = session2;
3640
- if (!refreshToken) return;
3556
+ if (!session2.refreshToken) return;
3641
3557
  await exclusive(async () => {
3642
- const [stored, digests] = await Promise.all([read2(), revoked.read()]);
3643
- if (stored?.refreshToken && stored.refreshToken !== refreshToken) return;
3644
- if (revoked.has(digests, session2)) return;
3558
+ const stored = await read2();
3559
+ if (stored?.refreshToken && stored.refreshToken !== session2.refreshToken)
3560
+ return;
3561
+ if (await revoked.has(session2)) return;
3645
3562
  await signOut2(session2, {
3646
3563
  logout: false,
3647
- onRevoked: () => revoked.write(digests, [refreshToken])
3564
+ onRevoked: () => revoked.add(session2)
3648
3565
  });
3649
3566
  }).catch(() => void 0);
3650
3567
  }
3568
+ async function readRevoked() {
3569
+ const value = await (async () => store2?.getItem(`${name}:revoked`))().catch(
3570
+ () => void 0
3571
+ );
3572
+ return Array.isArray(value) ? value : [];
3573
+ }
3651
3574
  function digest(token2) {
3652
3575
  return Hash3.sha256(Bytes3.fromString(token2), { as: "Hex" });
3653
3576
  }
@@ -3760,9 +3683,11 @@ function create3(options) {
3760
3683
  set(session2, {
3761
3684
  signIn: !!session2 && !options2.update && !options2.restore
3762
3685
  });
3763
- const clears = !!session2 && !options2.update && machines2.clears({ current: context(), started });
3764
- if (clears) actor.send({ type: "change.commit" });
3765
- await Promise.all([writes?.flush(), clears ? mark(false) : void 0]);
3686
+ await writes?.flush();
3687
+ if (session2 && !options2.update) {
3688
+ actor.send({ type: "change.commit" });
3689
+ await mark(false);
3690
+ }
3766
3691
  if (session2) await onSignIn?.(session2);
3767
3692
  },
3768
3693
  fail: async (error3, failure = {}) => {
@@ -3861,11 +3786,8 @@ function create3(options) {
3861
3786
  rotated.clear();
3862
3787
  const emptied = settle(writes?.flush());
3863
3788
  return exclusive(async () => {
3864
- const [{ failed, stored }, earlier, digests] = await Promise.all([
3865
- emptied.then(async (failed2) => ({ failed: failed2, stored: await read2() })),
3866
- unanswered2.read(),
3867
- revoked.read()
3868
- ]);
3789
+ const failed = await emptied;
3790
+ const stored = await read2();
3869
3791
  const current = actor ? context().session : void 0;
3870
3792
  const ending = machines2.ending({ before, current, local, stored });
3871
3793
  if (ending.empty)
@@ -3876,9 +3798,12 @@ function create3(options) {
3876
3798
  const skipped = ended?.refreshToken ? rotated.get(ended.refreshToken) : void 0;
3877
3799
  const signIns = actor ? context().signIns : 0;
3878
3800
  const known = !!ended?.refreshToken && ended.refreshToken === options2.revoked;
3879
- const revoking = known || ended?.refreshToken && rotated.has(ended.refreshToken) || revoked.has(digests, ended) ? void 0 : ended;
3801
+ if (known && ended) await revoked.add(ended);
3802
+ const revoking = known || ended?.refreshToken && rotated.has(ended.refreshToken) || await revoked.has(ended) ? void 0 : ended;
3803
+ const earlier = await unanswered2.read();
3804
+ const marked = store2 ? await readRevoked() : [];
3880
3805
  const pending = (earlier ?? []).filter(
3881
- (token2) => token2 !== revoking?.refreshToken && !revoked.has(digests, { refreshToken: token2 })
3806
+ (token2) => token2 !== revoking?.refreshToken && !marked.includes(digest(token2))
3882
3807
  );
3883
3808
  const answered = /* @__PURE__ */ new Set();
3884
3809
  const signedOut = await settle(
@@ -3891,9 +3816,9 @@ function create3(options) {
3891
3816
  }),
3892
3817
  // Only an answered revocation marks its token, also when the logout after it fails. One
3893
3818
  // without an answer leaves the next sign-out to send it again.
3894
- onRevoked: revoking ? () => {
3819
+ onRevoked: revoking ? async () => {
3895
3820
  answered.add(revoking.refreshToken);
3896
- return Promise.resolve();
3821
+ await revoked.add(revoking);
3897
3822
  } : void 0,
3898
3823
  pending: pending.map((refreshToken) => ({
3899
3824
  onRevoked: () => {
@@ -3908,25 +3833,19 @@ function create3(options) {
3908
3833
  const live = pending.filter((token2) => !answered.has(token2));
3909
3834
  if (signedOut && revoking?.refreshToken && !answered.has(revoking.refreshToken))
3910
3835
  live.push(revoking.refreshToken);
3911
- const marks = [
3912
- ...known && ended?.refreshToken ? [ended.refreshToken] : [],
3913
- ...pending.filter((token2) => answered.has(token2)),
3914
- ...revoking?.refreshToken && answered.has(revoking.refreshToken) ? [revoking.refreshToken] : []
3915
- ];
3916
- await Promise.all([
3917
- revoked.write(digests, marks),
3918
- (async () => {
3919
- if (earlier === void 0) {
3920
- const again = live.length > 0 ? await unanswered2.read() : void 0;
3921
- if (again)
3922
- await unanswered2.write([
3923
- ...again.filter((token2) => !live.includes(token2)),
3924
- ...live
3925
- ]);
3926
- } else if (earlier.length > 0 || live.length > 0)
3927
- await unanswered2.write(live);
3928
- })()
3929
- ]);
3836
+ for (const token2 of pending)
3837
+ if (answered.has(token2)) await revoked.add({ refreshToken: token2 });
3838
+ if (revoking?.refreshToken && answered.has(revoking.refreshToken))
3839
+ await revoked.add(revoking);
3840
+ if (earlier === void 0) {
3841
+ const again = live.length > 0 ? await unanswered2.read() : void 0;
3842
+ if (again)
3843
+ await unanswered2.write([
3844
+ ...again.filter((token2) => !live.includes(token2)),
3845
+ ...live
3846
+ ]);
3847
+ } else if (earlier.length > 0 || live.length > 0)
3848
+ await unanswered2.write(live);
3930
3849
  if (erased) throw erased.error;
3931
3850
  if (signedOut) throw signedOut.error;
3932
3851
  });
@@ -4234,13 +4153,6 @@ var machines2;
4234
4153
  return current.signOuts !== started.signOuts;
4235
4154
  }
4236
4155
  machines4.overtaken = overtaken;
4237
- function clears(options) {
4238
- const { current, started } = options;
4239
- if (!current.signingOut) return true;
4240
- if (!started.signingOut) return false;
4241
- return current.signingOut.runs <= started.signingOut.runs;
4242
- }
4243
- machines4.clears = clears;
4244
4156
  function replaces(options) {
4245
4157
  const { current, failed, stored } = options;
4246
4158
  if (!failed) return machines4.newer(stored, current);
@@ -4352,7 +4264,7 @@ async function accessToken(context, options) {
4352
4264
  if (session2.expiresAt > Date.now()) return session2.accessToken;
4353
4265
  throw new SignedOutError();
4354
4266
  }
4355
- const refreshed = await refresh3(context, { margin: refreshMargin });
4267
+ const refreshed = await refresh2(context, { margin: refreshMargin });
4356
4268
  if (refreshed?.user.id !== session2.user.id) throw new SignedOutError();
4357
4269
  return refreshed.accessToken;
4358
4270
  }
@@ -4612,7 +4524,7 @@ function create4(options = {}) {
4612
4524
  if (!current) throw new SignedOutError2();
4613
4525
  const token2 = await (async () => {
4614
4526
  if (current.expiresAt - 3e4 > Date.now()) return current.accessToken;
4615
- refreshing ??= refresh3(context, { margin: 3e4 }).finally(() => {
4527
+ refreshing ??= refresh2(context, { margin: 3e4 }).finally(() => {
4616
4528
  refreshing = void 0;
4617
4529
  });
4618
4530
  if (current.expiresAt - 5e3 > Date.now()) {
@@ -4631,7 +4543,7 @@ function create4(options = {}) {
4631
4543
  function connections2() {
4632
4544
  if (!connectionsOptions)
4633
4545
  return Promise.reject(new ConnectionsRequiredError());
4634
- attached ??= import("./Connections-7J5I4L3Q.js").then(
4546
+ attached ??= import("./Connections-JINMLNXP.js").then(
4635
4547
  (module) => module.attach(config, connectionsOptions)
4636
4548
  );
4637
4549
  return attached;
@@ -4704,7 +4616,7 @@ function create4(options = {}) {
4704
4616
  renew: accessKey_option === void 0,
4705
4617
  signedOut: session2.signedOut
4706
4618
  }),
4707
- refresh: () => refresh3(context),
4619
+ refresh: () => refresh2(context),
4708
4620
  status: session2.status,
4709
4621
  subscribe: session2.subscribe
4710
4622
  },
@@ -2,7 +2,7 @@ import {
2
2
  AccessKey_exports,
3
3
  Accounts_exports,
4
4
  Actions_exports
5
- } from "./chunk-YDYAVOWG.js";
5
+ } from "./chunk-JACZGAYL.js";
6
6
 
7
7
  // src/Session.ts
8
8
  import * as Fs from "node:fs/promises";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  env,
3
3
  login
4
- } from "../chunk-FDHRRJQI.js";
5
- import "../chunk-JJT3ITRO.js";
6
- import "../chunk-YDYAVOWG.js";
4
+ } from "../chunk-XNYCQ3QU.js";
5
+ import "../chunk-A3TKBAOI.js";
6
+ import "../chunk-JACZGAYL.js";
7
7
  import "../chunk-YW5DUQT3.js";
8
8
  import "../chunk-MLKGABMK.js";
9
9
 
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  env,
3
3
  remove
4
- } from "../chunk-FDHRRJQI.js";
5
- import "../chunk-JJT3ITRO.js";
6
- import "../chunk-YDYAVOWG.js";
4
+ } from "../chunk-XNYCQ3QU.js";
5
+ import "../chunk-A3TKBAOI.js";
6
+ import "../chunk-JACZGAYL.js";
7
7
  import "../chunk-YW5DUQT3.js";
8
8
  import "../chunk-MLKGABMK.js";
9
9
 
@@ -2,9 +2,9 @@ import {
2
2
  env,
3
3
  signedOut,
4
4
  whoami
5
- } from "../chunk-FDHRRJQI.js";
6
- import "../chunk-JJT3ITRO.js";
7
- import "../chunk-YDYAVOWG.js";
5
+ } from "../chunk-XNYCQ3QU.js";
6
+ import "../chunk-A3TKBAOI.js";
7
+ import "../chunk-JACZGAYL.js";
8
8
  import "../chunk-YW5DUQT3.js";
9
9
  import "../chunk-MLKGABMK.js";
10
10
 
@@ -4,7 +4,7 @@ import {
4
4
  expired2 as expired,
5
5
  from2 as from,
6
6
  toSession
7
- } from "./chunk-YDYAVOWG.js";
7
+ } from "./chunk-JACZGAYL.js";
8
8
  import "./chunk-MLKGABMK.js";
9
9
 
10
10
  // ../../accounts/src/plugins/dialog.ts
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-670.sha-4e09ba6",
12
+ "version": "0.0.0-pr-686.sha-fb0fe40",
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": {
@@ -22,8 +22,8 @@
22
22
  "dependencies": {
23
23
  "incur": "0.7.0",
24
24
  "jose": "6.2.12",
25
- "ox": "0.14.63",
26
- "viem": "0.0.0-2b9026da097323e7e9be8914c53f58edcdd0249a",
25
+ "ox": "0.14.59",
26
+ "viem": "0.0.0-bf3ffc52b5633afebacf3d728d846080f1668f30",
27
27
  "xstate": "5.33.3",
28
28
  "zod": "4.6.7"
29
29
  },