@tempoxyz/id 0.0.0-pr-479.sha-3ea98d2 → 0.0.0-pr-481.sha-e1aaa69

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.
Files changed (136) hide show
  1. package/README.md +0 -2
  2. package/dist/Actions.d.ts +13 -13
  3. package/dist/Actions.js +9 -9
  4. package/dist/Actions.js.map +1 -1
  5. package/dist/Authorization.d.ts +1 -1
  6. package/dist/Authorization.d.ts.map +1 -1
  7. package/dist/Id.d.ts +10 -10
  8. package/dist/Id.d.ts.map +1 -1
  9. package/dist/Id.js +3 -3
  10. package/dist/Id.js.map +1 -1
  11. package/dist/Key.d.ts +8 -8
  12. package/dist/Key.d.ts.map +1 -1
  13. package/dist/Key.js +5 -5
  14. package/dist/Key.js.map +1 -1
  15. package/dist/Pending.d.ts +2 -2
  16. package/dist/Pending.d.ts.map +1 -1
  17. package/dist/Permissions.d.ts +7 -7
  18. package/dist/Permissions.d.ts.map +1 -1
  19. package/dist/Plugin.d.ts +1 -1
  20. package/dist/Plugin.d.ts.map +1 -1
  21. package/dist/Session.d.ts +1 -1
  22. package/dist/Session.js +1 -1
  23. package/dist/actions/account.d.ts +14 -14
  24. package/dist/actions/account.d.ts.map +1 -1
  25. package/dist/actions/account.js +6 -6
  26. package/dist/actions/account.js.map +1 -1
  27. package/dist/actions/backend/email.d.ts +4 -4
  28. package/dist/actions/backend/email.js +4 -4
  29. package/dist/actions/backend/email.js.map +1 -1
  30. package/dist/actions/device.d.ts +3 -3
  31. package/dist/actions/device.js +2 -2
  32. package/dist/actions/device.js.map +1 -1
  33. package/dist/actions/dialog.d.ts +5 -5
  34. package/dist/actions/dialog.d.ts.map +1 -1
  35. package/dist/actions/dialog.js +3 -3
  36. package/dist/actions/email.d.ts +12 -12
  37. package/dist/actions/email.d.ts.map +1 -1
  38. package/dist/actions/email.js +10 -10
  39. package/dist/actions/email.js.map +1 -1
  40. package/dist/actions/passkey.d.ts +18 -18
  41. package/dist/actions/passkey.d.ts.map +1 -1
  42. package/dist/actions/passkey.js +13 -13
  43. package/dist/actions/passkey.js.map +1 -1
  44. package/dist/actions/redirect.d.ts +10 -10
  45. package/dist/actions/redirect.d.ts.map +1 -1
  46. package/dist/actions/redirect.js +5 -5
  47. package/dist/actions/redirect.js.map +1 -1
  48. package/dist/internal/accessKey.d.ts +6 -6
  49. package/dist/internal/accessKey.d.ts.map +1 -1
  50. package/dist/internal/accessKey.js +4 -4
  51. package/dist/internal/api.d.ts +7 -7
  52. package/dist/internal/api.d.ts.map +1 -1
  53. package/dist/internal/api.js +5 -5
  54. package/dist/internal/api.js.map +1 -1
  55. package/dist/internal/backendSessions.d.ts +1 -1
  56. package/dist/internal/backendSessions.js +2 -2
  57. package/dist/internal/backendSessions.js.map +1 -1
  58. package/dist/internal/core.d.ts +4 -4
  59. package/dist/internal/core.d.ts.map +1 -1
  60. package/dist/internal/core.js +5 -5
  61. package/dist/internal/core.js.map +1 -1
  62. package/dist/internal/headless.d.ts +15 -15
  63. package/dist/internal/headless.d.ts.map +1 -1
  64. package/dist/internal/headless.js +7 -7
  65. package/dist/internal/headless.js.map +1 -1
  66. package/dist/internal/request.d.ts +8 -8
  67. package/dist/internal/request.d.ts.map +1 -1
  68. package/dist/internal/request.js +4 -4
  69. package/dist/internal/request.js.map +1 -1
  70. package/dist/internal/session.d.ts +1 -1
  71. package/dist/internal/session.js +2 -2
  72. package/dist/internal/session.js.map +1 -1
  73. package/dist/internal/signIn.d.ts +4 -4
  74. package/dist/internal/signIn.d.ts.map +1 -1
  75. package/dist/internal/signIn.js +2 -2
  76. package/dist/internal/signIn.js.map +1 -1
  77. package/dist/internal/signer.d.ts +1 -1
  78. package/dist/internal/signer.js +2 -2
  79. package/dist/internal/signer.js.map +1 -1
  80. package/dist/internal/verifier.d.ts +2 -2
  81. package/dist/internal/verifier.d.ts.map +1 -1
  82. package/dist/internal/viem/accessKey.d.ts +5 -5
  83. package/dist/internal/viem/accessKey.d.ts.map +1 -1
  84. package/dist/internal/viem/accessKey.js +7 -7
  85. package/dist/internal/viem/accessKey.js.map +1 -1
  86. package/dist/plugins/backend.d.ts +1 -1
  87. package/dist/plugins/device.d.ts +3 -3
  88. package/dist/plugins/device.js +1 -1
  89. package/dist/plugins/dialog.d.ts +1 -1
  90. package/dist/plugins/email.d.ts +4 -4
  91. package/dist/plugins/email.js +1 -1
  92. package/dist/plugins/passkey.d.ts +3 -3
  93. package/dist/plugins/passkey.js +1 -1
  94. package/dist/plugins/passkey.js.map +1 -1
  95. package/dist/plugins/redirect.d.ts +1 -1
  96. package/dist/plugins/viem.d.ts +1 -1
  97. package/dist/plugins/viem.js +1 -1
  98. package/dist/plugins/viem.js.map +1 -1
  99. package/dist/wagmi.d.ts +3 -3
  100. package/dist/wagmi.js +6 -6
  101. package/dist/wagmi.js.map +1 -1
  102. package/package.json +2 -2
  103. package/src/Actions.ts +16 -16
  104. package/src/Authorization.ts +1 -1
  105. package/src/Id.ts +10 -10
  106. package/src/Key.ts +9 -9
  107. package/src/Pending.ts +2 -2
  108. package/src/Permissions.ts +7 -7
  109. package/src/Plugin.ts +1 -1
  110. package/src/Session.ts +1 -1
  111. package/src/actions/account.ts +15 -15
  112. package/src/actions/backend/email.ts +6 -6
  113. package/src/actions/device.ts +4 -4
  114. package/src/actions/dialog.ts +5 -5
  115. package/src/actions/email.ts +16 -16
  116. package/src/actions/passkey.ts +24 -24
  117. package/src/actions/redirect.ts +14 -14
  118. package/src/internal/accessKey.ts +6 -6
  119. package/src/internal/api.ts +9 -9
  120. package/src/internal/backendSessions.ts +4 -4
  121. package/src/internal/core.ts +7 -7
  122. package/src/internal/headless.ts +18 -18
  123. package/src/internal/request.ts +11 -11
  124. package/src/internal/session.ts +3 -3
  125. package/src/internal/signIn.ts +4 -4
  126. package/src/internal/signer.ts +2 -2
  127. package/src/internal/verifier.ts +2 -2
  128. package/src/internal/viem/accessKey.ts +8 -8
  129. package/src/plugins/backend.ts +1 -1
  130. package/src/plugins/device.ts +3 -3
  131. package/src/plugins/dialog.ts +1 -1
  132. package/src/plugins/email.ts +4 -4
  133. package/src/plugins/passkey.ts +4 -4
  134. package/src/plugins/redirect.ts +1 -1
  135. package/src/plugins/viem.ts +2 -2
  136. package/src/wagmi.ts +7 -7
package/dist/wagmi.js CHANGED
@@ -31,7 +31,7 @@ import * as Plugin from './Plugin.js';
31
31
  import { pluginOptions, settings, viem } from './plugins/viem.js';
32
32
  import * as Session from './Session.js';
33
33
  /**
34
- * The connector's account has no address: the session holds no key, and Tempo ID returned no Tempo
34
+ * The connector's account has no address: the session holds no access key, and Tempo ID returned no Tempo
35
35
  * Account for the app on the connector's chain.
36
36
  */
37
37
  export class AccountUnavailableError extends Error {
@@ -73,7 +73,7 @@ export class SignInRequiredError extends Error {
73
73
  * `connect` returns the instance's session without a sign-in, unless it receives `permissions`.
74
74
  * Otherwise it runs `signIn`, or the `signIn` of the first plugin of `plugins` that signs in without
75
75
  * input: `device`, `dialog`, `passkey`, or `redirect`. An instance without a sign-in plugin holds
76
- * `dialog`. A session without a key receives the Tempo Account that Tempo ID selects for the app.
76
+ * `dialog`. A session without an access key receives the Tempo Account that Tempo ID selects for the app.
77
77
  *
78
78
  * wagmi's actions use the instance's Viem client. The access key signs transactions. On a page, the
79
79
  * account's owner signs messages and typed data. Elsewhere, the access key signs them. `disconnect`
@@ -116,7 +116,7 @@ export function tempoId(options = {}) {
116
116
  chains: config.chains,
117
117
  transports: config.transports,
118
118
  }),
119
- // Holds the instance's context, through which a session without a key receives its
119
+ // Holds the instance's context, through which a session without an access key receives its
120
120
  // account.
121
121
  Plugin.from({
122
122
  id: 'wagmi',
@@ -223,7 +223,7 @@ const defaultSignInIds = new Set(['device', 'dialog', 'passkey', 'redirect']);
223
223
  function settle(fn) {
224
224
  return new Promise((resolve) => resolve(fn()));
225
225
  }
226
- /** Returns the address of `session`'s account, or `undefined` without a key and an account. */
226
+ /** Returns the address of `session`'s account, or `undefined` without an access key and an account. */
227
227
  function addressOf(session) {
228
228
  return session?.key?.account ?? session?.account?.address;
229
229
  }
@@ -286,7 +286,7 @@ function connector(source) {
286
286
  instance.session.subscribe((session, previous) => {
287
287
  const next = addressOf(session);
288
288
  if (session && !next) {
289
- // A session without a key or an account, such as a keyless dialog's, has no address
289
+ // A session without an access key or an account, such as a keyless dialog's, has no address
290
290
  // until its account is read. The account's commit notifies this subscriber again.
291
291
  if (addressOf(previous))
292
292
  onDisconnect();
@@ -405,7 +405,7 @@ function connector(source) {
405
405
  }
406
406
  /**
407
407
  * Returns `session`, with the Tempo Account that Tempo ID selects for the app when it holds no
408
- * key and no account, such as after a dialog's sign-in without permissions.
408
+ * access key and no account, such as after a dialog's sign-in without permissions.
409
409
  */
410
410
  async function withAccount(held) {
411
411
  if (addressOf(held))
package/dist/wagmi.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"wagmi.js","sourceRoot":"","sources":["../src/wagmi.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,OAAO,EAGL,YAAY,GACb,MAAM,aAAa,CAAA;AAEpB,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,IAAI,CAAA;AAC3C,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAA;AAE7C,OAAO,KAAK,EAAE,MAAM,SAAS,CAAA;AAC7B,OAAO,KAAK,aAAa,MAAM,6BAA6B,CAAA;AAE5D,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AACrC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AACjE,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AAEvC;;;GAGG;AACH,MAAM,OAAO,uBAAwB,SAAQ,KAAK;IAC9B,IAAI,GAAG,+BAA+B,CAAA;IAExD;QACE,KAAK,CACH,uKAAuK,CACxK,CAAA;IACH,CAAC;CACF;AAED,4EAA4E;AAC5E,MAAM,OAAO,gBAAiB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BAChB,OAAO,CAAC,MAAM,WAAW,EAAE,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC,KAAK,SAAS,CAAA;YAC1D,CAAC;YACD,IAAI,EAAE,UAAU;YAChB,iBAAiB;YACjB,cAAc,CAAC,OAAO;gBACpB,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,QAAQ,EAAE,EAAE,OAAO,EAAE,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,CAAA;YAC7D,CAAC;YACD,YAAY;YACZ,KAAK;gBACH,4FAA4F;gBAC5F,0FAA0F;gBAC1F,2FAA2F;gBAC3F,IAAI,MAAM,CAAC,KAAK,IAAI,OAAO,QAAQ,KAAK,WAAW;oBACjD,IAAI,CAAC;wBACH,WAAW,EAAE,CAAA;oBACf,CAAC;oBAAC,MAAM,CAAC,CAAA,CAAC;gBACZ,OAAO,OAAO,CAAC,OAAO,EAAE,CAAA;YAC1B,CAAC;YACD,WAAW,CAAC,UAAU;gBACpB,IAAI,UAAU,CAAC,OAAO,KAAK,KAAK,CAAC,EAAE;oBACjC,OAAO,OAAO,CAAC,MAAM,CACnB,IAAI,gBAAgB,CAAC;wBACnB,OAAO,EAAE,UAAU,CAAC,OAAO;wBAC3B,OAAO,EAAE,KAAK,CAAC,EAAE;qBAClB,CAAC,CACH,CAAA;gBACH,OAAO,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;YAC/B,CAAC;YACD,IAAI,EAAE,SAAS;SAChB,CAAA;IACH,CAAC,CAAA;AACH,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tempoxyz/id",
3
- "version": "0.0.0-pr-479.sha-3ea98d2",
4
- "description": "Signs users in to Tempo with Tempo ID, and keeps their session, access keys, and Viem client.",
3
+ "version": "0.0.0-pr-481.sha-e1aaa69",
4
+ "description": "Identity and Auth for Tempo",
5
5
  "type": "module",
6
6
  "sideEffects": [
7
7
  "./dist/*.native.js",
package/src/Actions.ts CHANGED
@@ -25,16 +25,16 @@ export * as redirect from './actions/redirect.js'
25
25
 
26
26
  /**
27
27
  * Authorizes a first-party app for a user already signed in to Tempo ID, from a page on a redirect
28
- * URI's origin. Returns `undefined` without a session. The key must fit the headless ceiling.
28
+ * URI's origin. Returns `undefined` without a session. The access key must fit the headless ceiling.
29
29
  *
30
- * With a key, a user without a Tempo Account in the app's realms receives a first one in the app's
30
+ * With an access key, a user without a Tempo Account in the app's realms receives a first one in the app's
31
31
  * first realm. Another app, or a user whose first realm creates no account, receives `rejected`.
32
- * With `passkey`, a passkey that owns the account signs the key on the page, so call it from a
32
+ * With `passkey`, a passkey that owns the account signs the access key on the page, so call it from a
33
33
  * click. Without it, or when the passkey's relying party does not cover the page, the account
34
34
  * throws `webauthn_required`, so authorize through `Actions.redirect.start`. With `passkey`, a
35
- * wallet.tempo passkey's account that waits for its upgrade signs the key as the passkey's own
36
- * account, and `upgradeAvailable` is `true`. `Actions.account.upgrade` with the key then upgrades
37
- * it. Without `passkey`, such an account throws `upgrade_required`. A key above the headless ceiling
35
+ * wallet.tempo passkey's account that waits for its upgrade signs the access key as the passkey's own
36
+ * account, and `upgradeAvailable` is `true`. `Actions.account.upgrade` with the access key then upgrades
37
+ * it. Without `passkey`, such an account throws `upgrade_required`. An access key above the headless ceiling
38
38
  * throws `reauthentication_required` when the user signed in more than 10 minutes before.
39
39
  *
40
40
  * @example
@@ -50,7 +50,7 @@ export async function authorize<
50
50
  options: authorize.Options<permissions> = {},
51
51
  ): Promise<authorize.ReturnType<ChainId<permissions>, Keyed<permissions>>> {
52
52
  const { permissions } = options
53
- // A challenge rides in the key, so a call without one refuses it before any request.
53
+ // A challenge rides in the access key, so a call without one refuses it before any request.
54
54
  if (!permissions && options.challenge !== undefined)
55
55
  throw new ChallengeWithoutKeyError()
56
56
 
@@ -65,11 +65,11 @@ export async function authorize<
65
65
  )
66
66
  if (!session.user) return undefined
67
67
 
68
- // Permissions request the key.
68
+ // Permissions request the access key.
69
69
  const key = permissions
70
70
  ? await AccessKey.resolve(options.accessKey)
71
71
  : undefined
72
- // With `passkey`, a passkey that owns the account signs the key on the page.
72
+ // With `passkey`, a passkey that owns the account signs the access key on the page.
73
73
  const response = await Headless.post(auth, {
74
74
  getFn: options.getFn,
75
75
  json: request(auth, {
@@ -105,24 +105,24 @@ export declare namespace authorize {
105
105
  permissions extends Permissions | undefined = Permissions | undefined,
106
106
  > = {
107
107
  /**
108
- * The key to authorize. Defaults to a new key. Its `access` names the Tempo Account, which
108
+ * The access key to authorize. Defaults to a new access key. Its `access` names the Tempo Account, which
109
109
  * defaults to the app's selected account, or the user's oldest.
110
110
  */
111
111
  accessKey?: Account.Account | undefined
112
112
  /**
113
- * The Tempo Account the key acts for, in place of `accessKey`'s `access`, such as one from
113
+ * The Tempo Account the access key acts for, in place of `accessKey`'s `access`, such as one from
114
114
  * `Actions.account.get`. It becomes the app's account for later requests that name none.
115
115
  */
116
116
  account?: `0x${string}` | undefined
117
117
  /**
118
118
  * A message whose EIP-191 hash the key authorization binds as its `witness`. Needs the
119
- * `tempo-id:sign` scope and a key.
119
+ * `tempo-id:sign` scope and an access key.
120
120
  */
121
121
  challenge?: ([permissions] extends [undefined] ? never : string) | undefined
122
122
  /** Runs the ceremony of the passkey that owns the account. Defaults to `navigator.credentials.get`. */
123
123
  getFn?: Authentication.sign.Options['getFn'] | undefined
124
124
  /**
125
- * Whether a passkey that owns the account signs the key on the page, with `getFn` or
125
+ * Whether a passkey that owns the account signs the access key on the page, with `getFn` or
126
126
  * `navigator.credentials.get`. The ceremony prompts the user, so the call needs a click.
127
127
  * Defaults to `false`.
128
128
  */
@@ -135,7 +135,7 @@ export declare namespace authorize {
135
135
  }
136
136
 
137
137
  /**
138
- * The authorization, without its key for a call without `permissions`, and whether its account
138
+ * The authorization, without its access key for a call without `permissions`, and whether its account
139
139
  * can upgrade. `undefined` without a session.
140
140
  */
141
141
  type ReturnType<
@@ -146,8 +146,8 @@ export declare namespace authorize {
146
146
  ? Omit<Authorization<chainId>, 'accessKey' | 'key'>
147
147
  : Authorization<chainId>) & {
148
148
  /**
149
- * Whether the key's account is a wallet.tempo passkey's that waits for its upgrade on the
150
- * key's chain. `Actions.account.upgrade` with the key upgrades it, and keeps the key.
149
+ * Whether the access key's account is a wallet.tempo passkey's that waits for its upgrade on the
150
+ * access key's chain. `Actions.account.upgrade` with the access key upgrades it, and keeps the access key.
151
151
  */
152
152
  upgradeAvailable: boolean
153
153
  })
@@ -17,7 +17,7 @@ export type Authorization<chainId extends number = number> = Tokens & {
17
17
  * scopes, and expiry.
18
18
  */
19
19
  accessKey: ReturnType<typeof Key.toAccount>
20
- /** The same key as data, which `Key.toAccount` rebuilds into `accessKey`. */
20
+ /** The same access key as data, which `Key.toAccount` rebuilds into `accessKey`. */
21
21
  key: Key.Key<chainId>
22
22
  /** The signed-in user, from the ID token. */
23
23
  user: User
package/src/Id.ts CHANGED
@@ -38,7 +38,7 @@ import type * as Session from './Session.js'
38
38
  import type { Store } from './Store.js'
39
39
  import type * as TempoAccount from './TempoAccount.js'
40
40
 
41
- /** Tempo ID lists no chain with the key's chain ID, so the client's account signs no message on it. */
41
+ /** Tempo ID lists no chain with the access key's chain ID, so the client's account signs no message on it. */
42
42
  export class ChainUnavailableError extends Error {
43
43
  override readonly name = 'Id.ChainUnavailableError'
44
44
 
@@ -51,12 +51,12 @@ export class ChainUnavailableError extends Error {
51
51
 
52
52
  export declare namespace ChainUnavailableError {
53
53
  type Options = {
54
- /** The key's chain ID. */
54
+ /** The access key's chain ID. */
55
55
  chainId: number
56
56
  }
57
57
  }
58
58
 
59
- /** An action received a `challenge` without `permissions`. A challenge rides in a key. */
59
+ /** An action received a `challenge` without `permissions`. A challenge rides in an access key. */
60
60
  export class ChallengeWithoutKeyError extends Error {
61
61
  override readonly name = 'Id.ChallengeWithoutKeyError'
62
62
 
@@ -79,7 +79,7 @@ export class ClientIdRequiredError extends Error {
79
79
  }
80
80
 
81
81
  /**
82
- * The client's account signs messages and typed data only, since its sign-in requested no key, so
82
+ * The client's account signs messages and typed data only, since its sign-in requested no access key, so
83
83
  * it sends no transaction.
84
84
  */
85
85
  export class KeyRequiredError extends Error {
@@ -291,7 +291,7 @@ export class SupersededError extends Error {
291
291
 
292
292
  /** The configuration of an instance, which every action of `Actions` takes. */
293
293
  export type Config = {
294
- /** The chain of the app's keys, unless a sign-in's `permissions` names another. */
294
+ /** The chain of the app's access keys, unless a sign-in's `permissions` names another. */
295
295
  chainId: number
296
296
  /**
297
297
  * Signs a client assertion for each request that authenticates the app, for an app with
@@ -358,7 +358,7 @@ export type Id<
358
358
  ) => Promise<TempoAccount.TempoAccount | undefined>
359
359
  /**
360
360
  * Upgrades a wallet.tempo passkey's account to a configurable account, when a sign-in returns
361
- * `upgradeAvailable: true`. The session's key keeps working, and the session's account becomes
361
+ * `upgradeAvailable: true`. The session's access key keeps working, and the session's account becomes
362
362
  * the upgraded account.
363
363
  */
364
364
  upgrade: (
@@ -366,7 +366,7 @@ export type Id<
366
366
  ) => Promise<TempoAccount.TempoAccount>
367
367
  }
368
368
  /**
369
- * Requests the app's tokens, and a key with permissions, for the user's Tempo ID session in the
369
+ * Requests the app's tokens, and an access key with permissions, for the user's Tempo ID session in the
370
370
  * browser, with no sign-in. Sets the session, and returns it, or empties it and returns
371
371
  * `undefined` when the browser holds no Tempo ID session.
372
372
  */
@@ -380,7 +380,7 @@ export type Id<
380
380
  /**
381
381
  * Returns the session. The first call reads the saved session, and each call first runs the
382
382
  * plugins' `restore` hooks, such as a redirect's callback. Returns `undefined`, and empties
383
- * the session, when the saved key expired. Makes no request unless a hook does.
383
+ * the session, when the saved access key expired. Makes no request unless a hook does.
384
384
  */
385
385
  get: () => Promise<Session.Session | undefined>
386
386
  /**
@@ -444,7 +444,7 @@ export function from(options: from.Options = {}): Config {
444
444
 
445
445
  export declare namespace from {
446
446
  type Options = Omit<Partial<Config>, 'chainId' | 'scope' | 'url'> & {
447
- /** The chain of the app's keys. Defaults to Tempo mainnet, or Tempo testnet with `dev`. */
447
+ /** The chain of the app's access keys. Defaults to Tempo mainnet, or Tempo testnet with `dev`. */
448
448
  chainId?: number | undefined
449
449
  /** Whether to use Tempo testnet. Defaults to `false`. */
450
450
  dev?: boolean | undefined
@@ -636,7 +636,7 @@ export declare namespace create {
636
636
  /**
637
637
  * Returns the permissions of each sign-in that names none, called at each sign-in, so an
638
638
  * expiry such as `Expiry.days(7)` counts from the sign-in. Absent, a sign-in without
639
- * `permissions` requests no key.
639
+ * `permissions` requests no access key.
640
640
  */
641
641
  permissions?: (() => Permissions | undefined) | undefined
642
642
  /**
package/src/Key.ts CHANGED
@@ -12,9 +12,9 @@ import { Account, KeyAuthorizationManager } from 'viem/tempo'
12
12
  * secp256k1 private key. A key that the app supplied as `accessKey` carries no material.
13
13
  */
14
14
  export type Key<chainId extends number = number> = {
15
- /** The Tempo Account the key acts for. */
15
+ /** The Tempo Account the access key acts for. */
16
16
  account: Address.Address
17
- /** The chain the key acts on, from its authorization. */
17
+ /** The chain the access key acts on, from its authorization. */
18
18
  chainId: chainId
19
19
  /** The signed authorization, in the node's RPC format. */
20
20
  keyAuthorization: KeyAuthorization.Rpc
@@ -33,7 +33,7 @@ export type Material = OneOf<
33
33
  | {}
34
34
  >
35
35
 
36
- /** `toAccount` received a key without material, and no `accessKey`. */
36
+ /** `toAccount` received an access key without material, and no `accessKey`. */
37
37
  export class AccessKeyRequiredError extends Error {
38
38
  override readonly name = 'Key.AccessKeyRequiredError'
39
39
 
@@ -43,7 +43,7 @@ export class AccessKeyRequiredError extends Error {
43
43
  }
44
44
 
45
45
  /**
46
- * Whether the key's authorization is expired, so a new sign-in must authorize a new key.
46
+ * Whether the access key's authorization is expired, so a new sign-in must authorize a new access key.
47
47
  *
48
48
  * @example
49
49
  * ```ts
@@ -76,7 +76,7 @@ export function from<chainId extends number = number>(
76
76
 
77
77
  export declare namespace from {
78
78
  type Value<chainId extends number = number> = {
79
- /** The Tempo Account the key acts for. */
79
+ /** The Tempo Account the access key acts for. */
80
80
  account: Address.Address
81
81
  /** The key's chain. Defaults to the key authorization's chain. */
82
82
  chainId?: chainId | undefined
@@ -87,8 +87,8 @@ export declare namespace from {
87
87
 
88
88
  /**
89
89
  * Returns the key as a Viem access key account for its Tempo Account. Viem attaches the
90
- * authorization to transactions until the chain registers the key. Throws
91
- * {@link AccessKeyRequiredError} for a key without material and no `accessKey`.
90
+ * authorization to transactions until the chain registers the access key. Throws
91
+ * {@link AccessKeyRequiredError} for an access key without material and no `accessKey`.
92
92
  *
93
93
  * @example
94
94
  * ```ts
@@ -120,7 +120,7 @@ export function toAccount(
120
120
  if (key.keyPair) return Account.fromWebCryptoP256(key.keyPair, access)
121
121
  if (key.privateKey) return Account.fromSecp256k1(key.privateKey, access)
122
122
  if (!accessKey) throw new AccessKeyRequiredError()
123
- // A raw signature is the key's own, which the bound account wraps for the Tempo Account.
123
+ // A raw signature is the access key's own, which the bound account wraps for the Tempo Account.
124
124
  return Account.from({
125
125
  ...access,
126
126
  keyType: accessKey.keyType,
@@ -131,7 +131,7 @@ export function toAccount(
131
131
 
132
132
  export declare namespace toAccount {
133
133
  type Options = {
134
- /** The key that the app supplied to the sign-in, which signs for a key without material. */
134
+ /** The access key that the app supplied to the sign-in, which signs for an access key without material. */
135
135
  accessKey?: Account.Account | undefined
136
136
  }
137
137
  }
package/src/Pending.ts CHANGED
@@ -10,7 +10,7 @@ import type * as Key from './Key.js'
10
10
  */
11
11
  export type Pending = Key.Material &
12
12
  Base & {
13
- /** Absent, since the redirect authorizes a key. */
13
+ /** Absent, since the redirect authorizes an access key. */
14
14
  key?: undefined
15
15
  }
16
16
 
@@ -30,7 +30,7 @@ type Base = {
30
30
 
31
31
  /** A redirect that authorizes no access key. */
32
32
  export type WithoutKey = Base & {
33
- /** `false`, since the redirect authorizes no key. */
33
+ /** `false`, since the redirect authorizes no access key. */
34
34
  key: false
35
35
  }
36
36
 
@@ -6,27 +6,27 @@ import type { KeyAuthorization } from 'ox/tempo'
6
6
 
7
7
  /**
8
8
  * What an app's access key may do, as Viem's `accessKey.authorize` takes it. Neither the library nor
9
- * Tempo ID fills a field that it leaves out, which keeps its TIP-1011 meaning: a key without
9
+ * Tempo ID fills a field that it leaves out, which keeps its TIP-1011 meaning: an access key without
10
10
  * `expiry` never expires, one without `limits` spends any amount, and one without `scopes` makes any
11
- * call. Tempo ID refuses such a key unless a headless sign-in of an app with the `tempo-id:sign`
11
+ * call. Tempo ID refuses such an access key unless a headless sign-in of an app with the `tempo-id:sign`
12
12
  * scope asks for it. `chainId` types the authorization's `key.chainId`.
13
13
  */
14
14
  export type Permissions<chainId extends number = number> = {
15
- /** The key's chain, such as `tempoTestnet.id`. Defaults to the instance's `chainId`. */
15
+ /** The access key's chain, such as `tempoTestnet.id`. Defaults to the instance's `chainId`. */
16
16
  chainId?: chainId | undefined
17
- /** Unix seconds, such as Viem's `Expiry.days(1)`. Absent for a key that never expires. */
17
+ /** Unix seconds, such as Viem's `Expiry.days(1)`. Absent for an access key that never expires. */
18
18
  expiry?: number | undefined
19
19
  /**
20
20
  * How much of each token the key may spend, in base units, in total or per `period` seconds.
21
- * Absent for a key that spends any amount.
21
+ * Absent for an access key that spends any amount.
22
22
  */
23
23
  limits?: KeyAuthorization.KeyAuthorization['limits']
24
- /** The calls the key may make. Absent for a key that makes any call. */
24
+ /** The calls the access key may make. Absent for an access key that makes any call. */
25
25
  scopes?: KeyAuthorization.KeyAuthorization['scopes']
26
26
  }
27
27
 
28
28
  /**
29
- * Whether an action with `permissions` authorizes a key: `true` for permissions, `false` for none,
29
+ * Whether an action with `permissions` authorizes an access key: `true` for permissions, `false` for none,
30
30
  * and `boolean` for a value that may be either.
31
31
  */
32
32
  export type Keyed<permissions> = permissions extends undefined ? false : true
package/src/Plugin.ts CHANGED
@@ -55,7 +55,7 @@ export type Plugin<
55
55
  export type Context = {
56
56
  /** The instance's configuration, which every action of `Actions` takes. */
57
57
  config: Id.Config
58
- /** Returns the permissions of a sign-in that names none, or `undefined` for a sign-in without a key. */
58
+ /** Returns the permissions of a sign-in that names none, or `undefined` for a sign-in without an access key. */
59
59
  permissions: () => Permissions | undefined
60
60
  /** The instance's session. */
61
61
  session: {
package/src/Session.ts CHANGED
@@ -35,7 +35,7 @@ export function from(value: Session): Session {
35
35
 
36
36
  /**
37
37
  * Returns whether the session can no longer act: its access key expired, or, without a key, its
38
- * access token expired and it holds no refresh token. A session without a key that holds a refresh
38
+ * access token expired and it holds no refresh token. A session without an access key that holds a refresh
39
39
  * token never expires here, since its tokens refresh.
40
40
  *
41
41
  * @example
@@ -123,9 +123,9 @@ export declare namespace get {
123
123
  * Revokes the access key `accessKey` of the user's Tempo Account `account` on the chain `chainId`,
124
124
  * with the user's cloud wallet as the owner. Tempo ID sends the transaction from the account, since
125
125
  * the chain refuses keychain changes from an access key, and returns its receipt, or `null` when the
126
- * chain held the key revoked already. A key that the chain has not registered yet registers without
126
+ * chain held the access key revoked already. An access key that the chain has not registered yet registers without
127
127
  * limits or calls and revokes in the same transaction, so its key authorization can never register
128
- * it later. The key must be one that Tempo ID signed for the user. Call it from the page of a
128
+ * it later. The access key must be one that Tempo ID signed for the user. Call it from the page of a
129
129
  * first-party app with the `tempo-id:sign` scope, after the user approves the revocation there.
130
130
  *
131
131
  * @example
@@ -154,15 +154,15 @@ export declare namespace revokeKey {
154
154
  type Options = {
155
155
  /** The access key's address. */
156
156
  accessKey: `0x${string}`
157
- /** The address of the user's Tempo Account that the key acts for. */
157
+ /** The address of the user's Tempo Account that the access key acts for. */
158
158
  account: `0x${string}`
159
- /** The key's chain ID. */
159
+ /** The access key's chain ID. */
160
160
  chainId: number
161
161
  }
162
162
 
163
163
  /**
164
164
  * The receipt of the revoking transaction, which Tempo ID returns with its response, or `null`
165
- * when the chain held the key revoked already.
165
+ * when the chain held the access key revoked already.
166
166
  */
167
167
  type ReturnType = TransactionReceipt | null
168
168
  }
@@ -304,8 +304,8 @@ export declare namespace signTypedData {
304
304
  /**
305
305
  * Sets the remaining limits of the access key `accessKey`, which the chain registered for the user's
306
306
  * Tempo Account `account` on the chain `chainId`, with the user's cloud wallet as the owner. Each
307
- * limit replaces the amount of its token that the key can still spend, and keeps the limit's period.
308
- * Tempo ID sends the transaction from the account, and returns its receipt. A key that the chain has not
307
+ * limit replaces the amount of its token that the access key can still spend, and keeps the limit's period.
308
+ * Tempo ID sends the transaction from the account, and returns its receipt. An access key that the chain has not
309
309
  * registered yet takes new limits through a new key authorization instead, such as
310
310
  * `Actions.authorize`. The request needs a sign-in within the last 10 minutes. Call it from the page
311
311
  * of a first-party app with the `tempo-id:sign` scope, after the user approves the limits there.
@@ -346,13 +346,13 @@ export declare namespace updateKeyLimits {
346
346
  type Options = {
347
347
  /** The access key's address. */
348
348
  accessKey: `0x${string}`
349
- /** The address of the user's Tempo Account that the key acts for. */
349
+ /** The address of the user's Tempo Account that the access key acts for. */
350
350
  account: `0x${string}`
351
- /** The key's chain ID. */
351
+ /** The access key's chain ID. */
352
352
  chainId: number
353
353
  /** The new remaining limits, one for each token. A token that the list leaves out keeps its limit. */
354
354
  limits: readonly {
355
- /** The amount of the token that the key can still spend, in base units. */
355
+ /** The amount of the token that the access key can still spend, in base units. */
356
356
  limit: bigint
357
357
  /** The TIP-20 token. */
358
358
  token: `0x${string}`
@@ -363,7 +363,7 @@ export declare namespace updateKeyLimits {
363
363
  /**
364
364
  * Upgrades a wallet.tempo passkey's account in place to a configurable account (TIP-1113), on the
365
365
  * chain of `key`, from a page that the passkey's relying party covers. The passkey signs once. With
366
- * `key`, a key that signed as the passkey's own account, Tempo ID first registers the key through a
366
+ * `key`, an access key that signed as the passkey's own account, Tempo ID first registers the access key through a
367
367
  * transaction that its access key signs and Tempo ID sponsors, so the key keeps working after the
368
368
  * upgrade. The account keeps its address. The passkey stays its only owner, unless `addOwner`
369
369
  * adds the user's Privy wallet in the same transaction. Call it when a sign-in or
@@ -386,7 +386,7 @@ export async function upgrade(
386
386
  ): Promise<TempoAccount> {
387
387
  const { getFn, key } = options
388
388
  const account = options.account ?? key?.account
389
- // A key without material and without `accessKey` throws here, before any request.
389
+ // An access key without material and without `accessKey` throws here, before any request.
390
390
  const signer = key
391
391
  ? Key.toAccount(key, { accessKey: options.accessKey })
392
392
  : undefined
@@ -444,7 +444,7 @@ export declare namespace upgrade {
444
444
  account?: `0x${string}` | undefined
445
445
  /**
446
446
  * The owner that the upgrade adds beside the passkey. `privy` adds the user's Privy wallet, so an
447
- * emailed-code sign-in reaches the account and signs its keys. For an upgraded account that the
447
+ * emailed-code sign-in reaches the account and signs its access keys. For an upgraded account that the
448
448
  * passkey alone owns, the passkey signs the update that adds it. Absent, the passkey stays the
449
449
  * only owner.
450
450
  */
@@ -460,8 +460,8 @@ export declare namespace upgrade {
460
460
  /** Runs the WebAuthn ceremony in place of `navigator.credentials.get`. */
461
461
  getFn?: Authentication.sign.Options['getFn'] | undefined
462
462
  /**
463
- * The key of an authorization with `upgradeAvailable: true`, which the chain registers before
464
- * the upgrade. Without it, a key that the passkey signed as its own account stops working.
463
+ * The access key of an authorization with `upgradeAvailable: true`, which the chain registers before
464
+ * the upgrade. Without it, an access key that the passkey signed as its own account stops working.
465
465
  */
466
466
  key?: Key.Key | undefined
467
467
  }
@@ -67,8 +67,8 @@ export declare namespace sendCode {
67
67
  /**
68
68
  * Signs the user in with the emailed code, from the app's backend, and returns the user's tokens.
69
69
  * The first sign-in of an address creates the user, and each sign-in creates the user's first
70
- * Tempo Account if the user holds none. The key must fit the headless ceiling. A passkey-owned
71
- * account throws `webauthn_required`, since no page signs its key.
70
+ * Tempo Account if the user holds none. The access key must fit the headless ceiling. A passkey-owned
71
+ * account throws `webauthn_required`, since no page signs its access key.
72
72
  *
73
73
  * @example
74
74
  * ```ts
@@ -82,12 +82,12 @@ export async function signIn<
82
82
  options: signIn.Options<permissions>,
83
83
  ): Promise<signIn.ReturnType<ChainId<permissions>, Keyed<permissions>>> {
84
84
  const { challenge, code, email, userIp } = options
85
- // A challenge rides in the key, so a sign-in without one refuses it before it signs in.
85
+ // A challenge rides in the access key, so a sign-in without one refuses it before it signs in.
86
86
  if (!options.permissions && challenge !== undefined)
87
87
  throw new ChallengeWithoutKeyError()
88
88
 
89
89
  authenticated(auth)
90
- // Permissions request the key.
90
+ // Permissions request the access key.
91
91
  const { permissions } = options
92
92
  const key = permissions
93
93
  ? await AccessKey.resolve(options.accessKey)
@@ -135,13 +135,13 @@ export declare namespace signIn {
135
135
  permissions extends Permissions | undefined = Permissions | undefined,
136
136
  > = {
137
137
  /**
138
- * The key to authorize. Defaults to a new secp256k1 key. Its `access` names the Tempo Account,
138
+ * The access key to authorize. Defaults to a new secp256k1 access key. Its `access` names the Tempo Account,
139
139
  * which defaults to the app's selected account, or the user's oldest.
140
140
  */
141
141
  accessKey?: Account.Account | undefined
142
142
  /**
143
143
  * A message whose EIP-191 hash the key authorization binds as its `witness`. Needs the
144
- * `tempo-id:sign` scope and a key.
144
+ * `tempo-id:sign` scope and an access key.
145
145
  */
146
146
  challenge?: ([permissions] extends [undefined] ? never : string) | undefined
147
147
  /** The 6-digit code that Tempo ID emailed. */