@domino-sdk/relay 1.65.0 → 1.66.0

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 (44) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/authoring.js +5 -5
  3. package/dist/browser.d.ts +2 -2
  4. package/dist/browser.js +11 -11
  5. package/dist/{chunk-EUEW2APU.js → chunk-2HHZV7U3.js} +1 -1
  6. package/dist/{chunk-7H4MRVQF.js → chunk-5BMZZDGY.js} +1 -1
  7. package/dist/{chunk-SE7XHQFP.js → chunk-5DYS2OIP.js} +1 -1
  8. package/dist/{chunk-NG4GZ54I.js → chunk-5LD5DKOM.js} +2 -2
  9. package/dist/{chunk-R2KZFX6E.js → chunk-7MQCQYEE.js} +1 -1
  10. package/dist/{chunk-XVZ4YOF2.js → chunk-ANVAUOJP.js} +1 -1
  11. package/dist/{chunk-E22XSC4L.js → chunk-BQXRCJ3N.js} +1 -1
  12. package/dist/{chunk-MPTE7EIV.js → chunk-CGUL4MRE.js} +1 -1
  13. package/dist/{chunk-ZXGBDLVB.js → chunk-CJDB6W6I.js} +3 -3
  14. package/dist/{chunk-EOUEAOWJ.js → chunk-FGXLXENM.js} +1 -1
  15. package/dist/{chunk-EDNKKVGU.js → chunk-FU3W4IQN.js} +2 -2
  16. package/dist/{chunk-CVQZ2YP7.js → chunk-KHXCURXB.js} +4 -4
  17. package/dist/{chunk-RD3XJ4DH.js → chunk-M66Y5OMJ.js} +6 -6
  18. package/dist/{chunk-4NIV4NPV.js → chunk-OWDIR7ZU.js} +1 -1
  19. package/dist/{chunk-KCUUHT2V.js → chunk-PNVQ4RBG.js} +3 -3
  20. package/dist/{chunk-ZQ3IPCI6.js → chunk-QYHEHMCG.js} +2 -2
  21. package/dist/{chunk-VBYOAT46.js → chunk-QZNLSK4U.js} +9 -9
  22. package/dist/{chunk-DLABJSBO.js → chunk-TCYDFNV4.js} +2 -2
  23. package/dist/{chunk-HNR6G3GV.js → chunk-XCEGNKGH.js} +1 -1
  24. package/dist/{client-D7IiwEq2.d.ts → client-Cze4lfwA.d.ts} +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +10 -10
  27. package/dist/internal.d.ts +1 -1
  28. package/dist/internal.js +14 -14
  29. package/dist/portal-proxy.js +10 -10
  30. package/dist/react/index.d.ts +3 -3
  31. package/dist/react/index.js +11 -11
  32. package/dist/runtime/authoring.js +1 -1
  33. package/dist/runtime/manifest.json +3 -3
  34. package/dist/runtime/schema.js +1 -1
  35. package/dist/schema.js +8 -8
  36. package/dist/server/index.d.ts +1 -1
  37. package/dist/server/index.js +41 -20
  38. package/dist/{telegram-browser-K27t4TwM.d.ts → telegram-browser-BFs4u7lC.d.ts} +1 -1
  39. package/dist/telegram.d.ts +1 -1
  40. package/dist/telegram.js +2 -2
  41. package/dist/testing.js +6 -6
  42. package/dist/{transport-DC1m73Tp.d.ts → transport-WE49Ta3A.d.ts} +52 -6
  43. package/package.json +1 -1
  44. /package/dist/runtime/chunks/{6EBN6IZU.js → C5V267I7.js} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @domino-sdk/relay
2
2
 
3
+ ## 1.66.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 165ca99: Harder sign-in.
8
+
9
+ - **`domino login` codes now expire after 15 minutes, not an hour.** Console's approval page shows when the request was made, the country of the IP it came from and the CLI's version and OS, and warns to approve only a code from your own terminal. The CLI sends that description as its `User-Agent`. One client network (an IPv4 address, or an IPv6 /48) holds at most 20 pending sign-ins.
10
+ - **Email sign-in codes name the app.** The email says which app and host the code is for, and to enter it only there. Only the latest code for an address works: an earlier one answers `code-expired`. Ten wrong codes for an address on a project in an hour, or twenty in a day, refuse `emailVerify` with `rate-limited` and `Retry-After` until the window ends, whatever new codes it gets. An address gets at most ten codes an hour from every app together; past that, `emailStart` answers `rate-limited`.
11
+ - **Plugin OAuth connections finish in Console, as the person who started them (experimental).** The vendor's callback no longer connects by itself: it sends the browser to Console with a one-time `oauthCode`, and the new `management.connections.completeAuthorization(plugin, { code })` redeems it within five minutes, for the same person, project and environment only (403 `scope-mismatch` for anyone else, 409 `oauth-flow-expired` for a spent or expired code). Without `returnTo`, the browser returns to Console's Integrations page for the project. `authorize` now refuses automation, service and hosted app keys with 403 `credential-not-allowed`. New experimental exports: `connectionAuthorizationCompleteInputSchema` and `ConnectionAuthorizationCompleteInput`.
12
+
3
13
  ## 1.65.0
4
14
 
5
15
  ### Minor Changes
package/dist/authoring.js CHANGED
@@ -6,14 +6,14 @@ import {
6
6
  sourceDataSchema,
7
7
  sourceRoles,
8
8
  validateQuestShape
9
- } from "./chunk-SE7XHQFP.js";
9
+ } from "./chunk-5DYS2OIP.js";
10
10
  import {
11
11
  defineDashboard,
12
12
  tiktokVideoBodySchema,
13
13
  tiktokVideoMetrics,
14
14
  youtubeShortBodySchema,
15
15
  youtubeShortMetrics
16
- } from "./chunk-ZQ3IPCI6.js";
16
+ } from "./chunk-QYHEHMCG.js";
17
17
  import {
18
18
  CapabilityError,
19
19
  capabilityErrorCodes
@@ -24,7 +24,7 @@ import {
24
24
  engagementScoreSchema,
25
25
  offerAuthoringSchema,
26
26
  referralAuthoringSchema
27
- } from "./chunk-NG4GZ54I.js";
27
+ } from "./chunk-5LD5DKOM.js";
28
28
  import {
29
29
  announcementSchema,
30
30
  authorBudgetSchema,
@@ -120,10 +120,10 @@ import {
120
120
  whereSettings,
121
121
  xSearchSourceSchema,
122
122
  youtubeShortsNamespace
123
- } from "./chunk-HNR6G3GV.js";
123
+ } from "./chunk-XCEGNKGH.js";
124
124
  import {
125
125
  parseDefinition
126
- } from "./chunk-EOUEAOWJ.js";
126
+ } from "./chunk-FGXLXENM.js";
127
127
 
128
128
  // src/builders.ts
129
129
  import * as z from "zod";
package/dist/browser.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { o as SubmissionStore, f as RelayClientOptions, R as RelayClient } from './client-D7IiwEq2.js';
2
- export { C as CosmosChains, D as DiscoveredWallet, E as Eip1193Provider, a as EmailSignInOption, K as KeplrLike, O as OAuthSignInOption, P as ProviderSignInOption, S as SignInClient, b as SignInIcon, c as SignInMethods, d as SignInOption, e as SignInOptions, f as SignInUnavailable, g as SignInWallet, h as SolanaInjectedProvider, i as StandardWallet, j as StandardWalletAccount, T as TelegramSignInOption, W as WalletSignInOption, k as cosmosChainList, l as cosmosSigner, m as discoverCosmosWallets, n as discoverEvmWallets, o as discoverSignInWallets, p as discoverSolanaWallets, q as evmSigner, s as signInOptions, r as solanaSigner, t as telegramMiniAppInitData, w as walletStandardSolanaSigner } from './telegram-browser-K27t4TwM.js';
1
+ import { o as SubmissionStore, f as RelayClientOptions, R as RelayClient } from './client-Cze4lfwA.js';
2
+ export { C as CosmosChains, D as DiscoveredWallet, E as Eip1193Provider, a as EmailSignInOption, K as KeplrLike, O as OAuthSignInOption, P as ProviderSignInOption, S as SignInClient, b as SignInIcon, c as SignInMethods, d as SignInOption, e as SignInOptions, f as SignInUnavailable, g as SignInWallet, h as SolanaInjectedProvider, i as StandardWallet, j as StandardWalletAccount, T as TelegramSignInOption, W as WalletSignInOption, k as cosmosChainList, l as cosmosSigner, m as discoverCosmosWallets, n as discoverEvmWallets, o as discoverSignInWallets, p as discoverSolanaWallets, q as evmSigner, s as signInOptions, r as solanaSigner, t as telegramMiniAppInitData, w as walletStandardSolanaSigner } from './telegram-browser-BFs4u7lC.js';
3
3
  export { H as HostEnvironment, g as getHostEnvironment } from './host-environment-FN4zg3hw.js';
4
4
  import { M as MemberSummary } from './participant-activity-DXRq4s6K.js';
5
5
  import './accounts-_lNsiR2k.js';
package/dist/browser.js CHANGED
@@ -12,23 +12,23 @@ import {
12
12
  signInOptions,
13
13
  solanaSigner,
14
14
  walletStandardSolanaSigner
15
- } from "./chunk-KCUUHT2V.js";
15
+ } from "./chunk-PNVQ4RBG.js";
16
16
  import {
17
17
  telegramMiniAppInitData
18
18
  } from "./chunk-FWLQ5XCS.js";
19
- import "./chunk-VBYOAT46.js";
20
- import "./chunk-E22XSC4L.js";
21
- import "./chunk-EUEW2APU.js";
19
+ import "./chunk-QZNLSK4U.js";
20
+ import "./chunk-BQXRCJ3N.js";
21
+ import "./chunk-2HHZV7U3.js";
22
22
  import {
23
23
  getHostEnvironment
24
24
  } from "./chunk-UYVJZR33.js";
25
- import "./chunk-7H4MRVQF.js";
26
- import "./chunk-DLABJSBO.js";
27
- import "./chunk-MPTE7EIV.js";
28
- import "./chunk-R2KZFX6E.js";
29
- import "./chunk-NG4GZ54I.js";
30
- import "./chunk-HNR6G3GV.js";
31
- import "./chunk-EOUEAOWJ.js";
25
+ import "./chunk-5BMZZDGY.js";
26
+ import "./chunk-TCYDFNV4.js";
27
+ import "./chunk-CGUL4MRE.js";
28
+ import "./chunk-7MQCQYEE.js";
29
+ import "./chunk-5LD5DKOM.js";
30
+ import "./chunk-XCEGNKGH.js";
31
+ import "./chunk-FGXLXENM.js";
32
32
  export {
33
33
  browserSubmissionStore,
34
34
  cosmosChainList,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  RelayErrorCode,
3
3
  clientError
4
- } from "./chunk-EOUEAOWJ.js";
4
+ } from "./chunk-FGXLXENM.js";
5
5
 
6
6
  // src/plugin-client.ts
7
7
  var transportKey = /* @__PURE__ */ (() => /* @__PURE__ */ Symbol.for("@domino-sdk/relay:plugin-transport"))();
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  clientIdentity,
3
3
  retryAfter
4
- } from "./chunk-DLABJSBO.js";
4
+ } from "./chunk-TCYDFNV4.js";
5
5
 
6
6
  // src/http-exchange.ts
7
7
  var uncertainStatuses = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([500, 502, 504]))();
@@ -5,7 +5,7 @@ import {
5
5
  isKnownTrackerSource,
6
6
  trackerDataSchema,
7
7
  xAccountRoles
8
- } from "./chunk-HNR6G3GV.js";
8
+ } from "./chunk-XCEGNKGH.js";
9
9
 
10
10
  // src/quest-shape.ts
11
11
  function validateQuestShape(description, options = {}) {
@@ -12,10 +12,10 @@ import {
12
12
  resourceHandle,
13
13
  responseShape,
14
14
  tierRewardSchema
15
- } from "./chunk-HNR6G3GV.js";
15
+ } from "./chunk-XCEGNKGH.js";
16
16
  import {
17
17
  parseDefinition
18
- } from "./chunk-EOUEAOWJ.js";
18
+ } from "./chunk-FGXLXENM.js";
19
19
 
20
20
  // src/engagement.ts
21
21
  import * as z from "zod";
@@ -19,7 +19,7 @@ import {
19
19
  storedQuestDescriptionSchema,
20
20
  storedReviewModeSchema,
21
21
  tieredRewardReferenceSchema
22
- } from "./chunk-HNR6G3GV.js";
22
+ } from "./chunk-XCEGNKGH.js";
23
23
 
24
24
  // src/participant-activity.ts
25
25
  import * as z from "zod";
@@ -2,7 +2,7 @@ import {
2
2
  identifier,
3
3
  responseShape,
4
4
  xTweetSchema
5
- } from "./chunk-HNR6G3GV.js";
5
+ } from "./chunk-XCEGNKGH.js";
6
6
 
7
7
  // src/x.ts
8
8
  import * as z from "zod";
@@ -2,7 +2,7 @@ import {
2
2
  RelayErrorCode,
3
3
  clientError,
4
4
  isRequestError
5
- } from "./chunk-EOUEAOWJ.js";
5
+ } from "./chunk-FGXLXENM.js";
6
6
 
7
7
  // src/action.ts
8
8
  function withActionId(value) {
@@ -10,7 +10,7 @@ import {
10
10
  skipEnrollmentSchema,
11
11
  telegramSignInMethodsSchema,
12
12
  walletSignInNetworksSchema
13
- } from "./chunk-HNR6G3GV.js";
13
+ } from "./chunk-XCEGNKGH.js";
14
14
 
15
15
  // src/sign-in-providers.ts
16
16
  import * as z from "zod";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  imageAssetArtifactSchema
3
- } from "./chunk-XVZ4YOF2.js";
3
+ } from "./chunk-ANVAUOJP.js";
4
4
  import {
5
5
  authScopeSchema,
6
6
  exchangeResultSchema
7
- } from "./chunk-R2KZFX6E.js";
7
+ } from "./chunk-7MQCQYEE.js";
8
8
  import {
9
9
  appIdentityKindSchema,
10
10
  cosmosAddressSchema,
@@ -17,7 +17,7 @@ import {
17
17
  openIdentityKindSchema,
18
18
  pageCursorSchema,
19
19
  solanaAddressSchema
20
- } from "./chunk-HNR6G3GV.js";
20
+ } from "./chunk-XCEGNKGH.js";
21
21
 
22
22
  // src/credential-secrets.ts
23
23
  import * as z from "zod";
@@ -151,7 +151,7 @@ var RelayErrorCode = {
151
151
  InvitationNotFound: "invitation-not-found",
152
152
  /** The email sign-in code is wrong; the member can type it again. */
153
153
  InvalidCode: "invalid-code",
154
- /** The email sign-in code expired, was used or had too many attempts; request another. */
154
+ /** The email sign-in code expired, was used, was replaced by a newer one or had too many attempts; request another. */
155
155
  CodeExpired: "code-expired",
156
156
  /** The wallet sign-in challenge expired, was used or changed; start sign-in again. */
157
157
  ChallengeExpired: "challenge-expired",
@@ -4,10 +4,10 @@ import {
4
4
  imageFieldsSchema,
5
5
  imageInspectionSchema,
6
6
  imageSightingsSchema
7
- } from "./chunk-XVZ4YOF2.js";
7
+ } from "./chunk-ANVAUOJP.js";
8
8
  import {
9
9
  photoResultSchema
10
- } from "./chunk-HNR6G3GV.js";
10
+ } from "./chunk-XCEGNKGH.js";
11
11
 
12
12
  // src/image-results.ts
13
13
  import * as z from "zod";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  createHttpExchange,
3
3
  uncertainStatuses
4
- } from "./chunk-7H4MRVQF.js";
4
+ } from "./chunk-5BMZZDGY.js";
5
5
  import {
6
6
  MANAGEMENT_TIMEOUT,
7
7
  lifetime,
8
8
  retrying,
9
9
  validTimeout
10
- } from "./chunk-DLABJSBO.js";
10
+ } from "./chunk-TCYDFNV4.js";
11
11
  import {
12
12
  knownResponse
13
- } from "./chunk-HNR6G3GV.js";
13
+ } from "./chunk-XCEGNKGH.js";
14
14
  import {
15
15
  RequestError,
16
16
  isRequestError
17
- } from "./chunk-EOUEAOWJ.js";
17
+ } from "./chunk-FGXLXENM.js";
18
18
 
19
19
  // src/configuration.ts
20
20
  function questConfiguration(release) {
@@ -6,13 +6,13 @@ import {
6
6
  imageSightingsSchema,
7
7
  imageUploadsSchema,
8
8
  publishedImageSchema
9
- } from "./chunk-XVZ4YOF2.js";
9
+ } from "./chunk-ANVAUOJP.js";
10
10
  import {
11
11
  dashboardArtifactSchema,
12
12
  dashboardIssue,
13
13
  dashboardPreviewSchema,
14
14
  normalizeDashboard
15
- } from "./chunk-ZQ3IPCI6.js";
15
+ } from "./chunk-QYHEHMCG.js";
16
16
  import {
17
17
  authProvidersSchema,
18
18
  collectionPassSchema,
@@ -23,7 +23,7 @@ import {
23
23
  questOutcomePageSchema,
24
24
  questOutcomeSchema,
25
25
  rewardDeliveriesSchema
26
- } from "./chunk-MPTE7EIV.js";
26
+ } from "./chunk-CGUL4MRE.js";
27
27
  import {
28
28
  catalogDeploymentSchema,
29
29
  collectionViewSchema,
@@ -37,7 +37,7 @@ import {
37
37
  questExperienceSchema,
38
38
  questTypeVersionSchema,
39
39
  questViewSchema
40
- } from "./chunk-R2KZFX6E.js";
40
+ } from "./chunk-7MQCQYEE.js";
41
41
  import {
42
42
  engagementArtifactSchema,
43
43
  engagementBoundaryPageSchema,
@@ -52,7 +52,7 @@ import {
52
52
  referralDefinitionSchema,
53
53
  referralHistorySchema,
54
54
  referralSummarySchema
55
- } from "./chunk-NG4GZ54I.js";
55
+ } from "./chunk-5LD5DKOM.js";
56
56
  import {
57
57
  accountConnectionSchema,
58
58
  attemptSchema,
@@ -117,7 +117,7 @@ import {
117
117
  walletSignInNetworksSchema,
118
118
  walletTransactionsSchema,
119
119
  whereSettings
120
- } from "./chunk-HNR6G3GV.js";
120
+ } from "./chunk-XCEGNKGH.js";
121
121
 
122
122
  // src/deployments.ts
123
123
  import * as z from "zod";
@@ -8,7 +8,7 @@ import {
8
8
  rewardBundleSchema,
9
9
  settingsValuesSchema,
10
10
  trackerTriggerContextSchema
11
- } from "./chunk-HNR6G3GV.js";
11
+ } from "./chunk-XCEGNKGH.js";
12
12
 
13
13
  // src/server/attempt-captures.ts
14
14
  import * as z from "zod";
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  createRelayClient
3
- } from "./chunk-VBYOAT46.js";
3
+ } from "./chunk-QZNLSK4U.js";
4
4
  import {
5
5
  cosmosChain
6
- } from "./chunk-HNR6G3GV.js";
6
+ } from "./chunk-XCEGNKGH.js";
7
7
  import {
8
8
  RelayErrorCode,
9
9
  asRelayError,
10
10
  clientError
11
- } from "./chunk-EOUEAOWJ.js";
11
+ } from "./chunk-FGXLXENM.js";
12
12
 
13
13
  // src/base58.ts
14
14
  var alphabet = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
@@ -3,10 +3,10 @@ import {
3
3
  limits,
4
4
  resourceHandle,
5
5
  responseShape
6
- } from "./chunk-HNR6G3GV.js";
6
+ } from "./chunk-XCEGNKGH.js";
7
7
  import {
8
8
  parseDefinition
9
- } from "./chunk-EOUEAOWJ.js";
9
+ } from "./chunk-FGXLXENM.js";
10
10
 
11
11
  // src/server/analytics.ts
12
12
  import * as z from "zod";
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  createRelayAction,
3
3
  withActionId
4
- } from "./chunk-E22XSC4L.js";
4
+ } from "./chunk-BQXRCJ3N.js";
5
5
  import {
6
6
  setPluginTransport
7
- } from "./chunk-EUEW2APU.js";
7
+ } from "./chunk-2HHZV7U3.js";
8
8
  import {
9
9
  createHttpExchange,
10
10
  untilAborted,
11
11
  withQuery
12
- } from "./chunk-7H4MRVQF.js";
12
+ } from "./chunk-5BMZZDGY.js";
13
13
  import {
14
14
  PARTICIPANT_TIMEOUT,
15
15
  lifetime,
16
16
  retrying,
17
17
  validTimeout
18
- } from "./chunk-DLABJSBO.js";
18
+ } from "./chunk-TCYDFNV4.js";
19
19
  import {
20
20
  authProvidersSchema,
21
21
  collectionPassSchema,
@@ -34,7 +34,7 @@ import {
34
34
  questOutcomeSchema,
35
35
  rewardDeliveriesSchema,
36
36
  rewardDeliveryQuerySchema
37
- } from "./chunk-MPTE7EIV.js";
37
+ } from "./chunk-CGUL4MRE.js";
38
38
  import {
39
39
  exchangeResultSchema,
40
40
  exchangeSchema,
@@ -44,7 +44,7 @@ import {
44
44
  participantSessionSchema,
45
45
  questExperienceSchema,
46
46
  sessionMember
47
- } from "./chunk-R2KZFX6E.js";
47
+ } from "./chunk-7MQCQYEE.js";
48
48
  import {
49
49
  engagementBoundaryPageSchema,
50
50
  engagementPageQuerySchema,
@@ -55,7 +55,7 @@ import {
55
55
  referralDefinitionSchema,
56
56
  referralHistorySchema,
57
57
  referralSummarySchema
58
- } from "./chunk-NG4GZ54I.js";
58
+ } from "./chunk-5LD5DKOM.js";
59
59
  import {
60
60
  AVATAR_UPLOAD_LIMIT,
61
61
  accountConnectionSchema,
@@ -111,7 +111,7 @@ import {
111
111
  walletMessageChallengeSchema,
112
112
  walletSignatureSchema,
113
113
  walletUnlinkInputSchema
114
- } from "./chunk-HNR6G3GV.js";
114
+ } from "./chunk-XCEGNKGH.js";
115
115
  import {
116
116
  RelayError,
117
117
  RelayErrorCode,
@@ -119,7 +119,7 @@ import {
119
119
  isRelayError,
120
120
  isRequestError,
121
121
  parseInput
122
- } from "./chunk-EOUEAOWJ.js";
122
+ } from "./chunk-FGXLXENM.js";
123
123
 
124
124
  // src/legacy-submissions.ts
125
125
  import * as z from "zod";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  isRequestError
3
- } from "./chunk-EOUEAOWJ.js";
3
+ } from "./chunk-FGXLXENM.js";
4
4
 
5
5
  // package.json
6
6
  var name = "@domino-sdk/relay";
7
- var version = "1.65.0";
7
+ var version = "1.66.0";
8
8
 
9
9
  // src/client-identity.ts
10
10
  function clientIdentity() {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  RelayErrorCode,
3
3
  clientError
4
- } from "./chunk-EOUEAOWJ.js";
4
+ } from "./chunk-FGXLXENM.js";
5
5
 
6
6
  // src/identifier.ts
7
7
  import * as z from "zod";
@@ -117,7 +117,7 @@ declare const RelayErrorCode: {
117
117
  readonly InvitationNotFound: "invitation-not-found";
118
118
  /** The email sign-in code is wrong; the member can type it again. */
119
119
  readonly InvalidCode: "invalid-code";
120
- /** The email sign-in code expired, was used or had too many attempts; request another. */
120
+ /** The email sign-in code expired, was used, was replaced by a newer one or had too many attempts; request another. */
121
121
  readonly CodeExpired: "code-expired";
122
122
  /** The wallet sign-in challenge expired, was used or changed; start sign-in again. */
123
123
  readonly ChallengeExpired: "challenge-expired";
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { B as Badge, a as BadgeCatalog, M as ManagedBadge, b as MemberBadge, c as MemberBadges, O as Offer, d as OfferDefinition, e as OfferPrice, R as RedeemOfferInput, f as Redemption } from './offers-Hw2P6tcK.js';
2
2
  export { R as RelayAction, c as createRelayAction } from './action-9Xl0StBg.js';
3
- export { A as AuthStartInput, C as ClaimSubmission, E as EmailVerification, K as KnownRelayErrorCode, P as PhotoSubmission, a as ProgressObservation, b as ProgressObserver, Q as QuestActionResult, c as QuestController, d as QuestUpdatedError, e as QuizSubmission, R as RelayClient, f as RelayClientOptions, g as RelayError, h as RelayErrorCode, i as RelayErrorDetails, j as RelayErrorKind, k as RelayRequestOptions, l as RelayResponseOptions, S as SubmissionCallOptions, m as SubmissionDraft, n as SubmissionStatus, o as SubmissionStore, V as ValueSubmission, p as createRelayClient, q as isRelayError } from './client-D7IiwEq2.js';
3
+ export { A as AuthStartInput, C as ClaimSubmission, E as EmailVerification, K as KnownRelayErrorCode, P as PhotoSubmission, a as ProgressObservation, b as ProgressObserver, Q as QuestActionResult, c as QuestController, d as QuestUpdatedError, e as QuizSubmission, R as RelayClient, f as RelayClientOptions, g as RelayError, h as RelayErrorCode, i as RelayErrorDetails, j as RelayErrorKind, k as RelayRequestOptions, l as RelayResponseOptions, S as SubmissionCallOptions, m as SubmissionDraft, n as SubmissionStatus, o as SubmissionStore, V as ValueSubmission, p as createRelayClient, q as isRelayError } from './client-Cze4lfwA.js';
4
4
  export { R as RequestError, a as RequestErrorDetails, b as RequestErrorKind, c as RequestRecovery, i as isRequestError } from './request-error-D_dUPLwo.js';
5
5
  export { A as AccountConnection, a as Attempt, b as AttemptStatus, c as AuthProvider, d as AvailabilityWindow, C as CampaignDefinition, e as CampaignEnrollment, f as CampaignEnrollmentInput, g as CampaignView, h as CampaignWithdrawalInput, E as Entitlement, i as EvaluatorProgress, K as KnownAttemptStatus, j as KnownPointEntryKind, k as KnownSignInAccountStatus, l as KnownSignInProvider, L as LeaderboardDefinition, m as LeaderboardHistoryPage, n as LeaderboardHistoryQuery, o as LeaderboardPage, p as LeaderboardPlacement, q as LeaderboardQuery, M as MemberCampaignEnrollmentInput, r as MemberCampaignWithdrawalInput, s as MemberProgress, P as PointBalance, t as PointBalances, u as PointEntry, v as PointEntryKind, w as PointHistoryPage, x as PointHistoryQuery, y as PointLedgerReference, z as ProjectGroup, B as ProjectGroupReference, Q as QuestBudgetView, D as QuestPresentation, F as QuestProfile, G as QuizEvidence, R as ReferralDefinition, H as Reward, S as SignInAccount, I as SignInAccountStatus, J as SignInProvider, N as SignInProviderOption, O as SubmissionEvidence, T as SubmitInput, U as TieredRewardReference } from './accounts-_lNsiR2k.js';
6
6
  export { f as formatUnits, p as parseUnits } from './units-CwgsPB_r.js';
package/dist/index.js CHANGED
@@ -5,32 +5,32 @@ import {
5
5
  import {
6
6
  QuestUpdatedError,
7
7
  createRelayClient
8
- } from "./chunk-VBYOAT46.js";
8
+ } from "./chunk-QZNLSK4U.js";
9
9
  import {
10
10
  createRelayAction
11
- } from "./chunk-E22XSC4L.js";
12
- import "./chunk-EUEW2APU.js";
13
- import "./chunk-7H4MRVQF.js";
14
- import "./chunk-DLABJSBO.js";
11
+ } from "./chunk-BQXRCJ3N.js";
12
+ import "./chunk-2HHZV7U3.js";
13
+ import "./chunk-5BMZZDGY.js";
14
+ import "./chunk-TCYDFNV4.js";
15
15
  import {
16
16
  QuestOutcomeState
17
- } from "./chunk-MPTE7EIV.js";
17
+ } from "./chunk-CGUL4MRE.js";
18
18
  import {
19
19
  sessionMember
20
- } from "./chunk-R2KZFX6E.js";
21
- import "./chunk-NG4GZ54I.js";
20
+ } from "./chunk-7MQCQYEE.js";
21
+ import "./chunk-5LD5DKOM.js";
22
22
  import {
23
23
  AttemptStatus,
24
24
  PointEntryKind,
25
25
  paginate
26
- } from "./chunk-HNR6G3GV.js";
26
+ } from "./chunk-XCEGNKGH.js";
27
27
  import {
28
28
  RelayError,
29
29
  RelayErrorCode,
30
30
  RequestError,
31
31
  isRelayError,
32
32
  isRequestError
33
- } from "./chunk-EOUEAOWJ.js";
33
+ } from "./chunk-FGXLXENM.js";
34
34
  export {
35
35
  AttemptStatus,
36
36
  PointEntryKind,
@@ -1,4 +1,4 @@
1
- export { M as ManagementTransportOptions, P as ParticipantRoute, R as REFERRAL_INTEGRATION_REWARD_ERROR, c as containsReferralIntegrationReward, i as isIntegrationParticipantPath, a as isParticipantRoute, m as managementTransport, n as nextScheduleRun, p as parseImageExtraction, b as parseImageResult, d as participantRoutePattern, e as participantRoutes, q as questConfiguration, s as sequenceCursorSchema, f as sourceDataSchema, g as sourceRoles, v as validateQuestShape } from './transport-DC1m73Tp.js';
1
+ export { M as ManagementTransportOptions, P as ParticipantRoute, R as REFERRAL_INTEGRATION_REWARD_ERROR, c as containsReferralIntegrationReward, i as isIntegrationParticipantPath, a as isParticipantRoute, m as managementTransport, n as nextScheduleRun, p as parseImageExtraction, b as parseImageResult, d as participantRoutePattern, e as participantRoutes, q as questConfiguration, s as sequenceCursorSchema, f as sourceDataSchema, g as sourceRoles, v as validateQuestShape } from './transport-WE49Ta3A.js';
2
2
  export { A as AccountVouchedBy, b as IdentityIntegration, c as IdentityIntegrationAccountVouchingInput, d as IdentityIntegrationAppSecret, I as IdentityIntegrationKey, e as IdentityKindClaim, K as KnownIdentityIntegrationEnvironment, P as ParticipantExchangeAccountResult, f as ParticipantExchangeInput, a as ParticipantExchangeResult, g as accountVouchedBySchema, i as identityIntegrationAccountVouchingInputSchema, h as identityIntegrationAppSecretSchema, j as identityIntegrationInputSchema, k as identityIntegrationKeySchema, l as identityIntegrationSchema, m as identityIntegrationSecretSchema, n as identityKindClaimSchema, p as participantExchangeAccountResultSchema, o as participantExchangeAccountsSchema, q as participantExchangeResultSchema, r as participantExchangeSchema } from './identity-integration-Ci2vGKtX.js';
3
3
  export { E as Extracted } from './limits-pE04y9O2.js';
4
4
  import { b as RequestErrorKind } from './request-error-D_dUPLwo.js';
package/dist/internal.js CHANGED
@@ -4,16 +4,16 @@ import {
4
4
  managementTransport,
5
5
  questConfiguration,
6
6
  sequenceCursorSchema
7
- } from "./chunk-CVQZ2YP7.js";
7
+ } from "./chunk-KHXCURXB.js";
8
8
  import {
9
9
  parseImageExtraction,
10
10
  parseImageResult
11
- } from "./chunk-EDNKKVGU.js";
11
+ } from "./chunk-FU3W4IQN.js";
12
12
  import {
13
13
  sourceDataSchema,
14
14
  sourceRoles,
15
15
  validateQuestShape
16
- } from "./chunk-SE7XHQFP.js";
16
+ } from "./chunk-5DYS2OIP.js";
17
17
  import {
18
18
  bareOrigin,
19
19
  loopbackHosts,
@@ -33,34 +33,34 @@ import {
33
33
  participantExchangeAccountsSchema,
34
34
  participantExchangeResultSchema,
35
35
  participantExchangeSchema
36
- } from "./chunk-ZXGBDLVB.js";
36
+ } from "./chunk-CJDB6W6I.js";
37
37
  import {
38
38
  isIntegrationParticipantPath,
39
39
  isParticipantRoute,
40
40
  participantRoutePattern,
41
41
  participantRoutes
42
42
  } from "./chunk-U66GUVSG.js";
43
- import "./chunk-RD3XJ4DH.js";
44
- import "./chunk-XVZ4YOF2.js";
43
+ import "./chunk-M66Y5OMJ.js";
44
+ import "./chunk-ANVAUOJP.js";
45
45
  import {
46
46
  dashboardIssue,
47
47
  normalizeDashboard
48
- } from "./chunk-ZQ3IPCI6.js";
48
+ } from "./chunk-QYHEHMCG.js";
49
49
  import "./chunk-MWMCQLCG.js";
50
50
  import {
51
51
  hostEnvironmentPath,
52
52
  hostEnvironmentSchema
53
53
  } from "./chunk-UYVJZR33.js";
54
- import "./chunk-7H4MRVQF.js";
54
+ import "./chunk-5BMZZDGY.js";
55
55
  import {
56
56
  MANAGEMENT_TIMEOUT,
57
57
  lifetime,
58
58
  retryAfter,
59
59
  retrying
60
- } from "./chunk-DLABJSBO.js";
61
- import "./chunk-MPTE7EIV.js";
62
- import "./chunk-R2KZFX6E.js";
63
- import "./chunk-NG4GZ54I.js";
60
+ } from "./chunk-TCYDFNV4.js";
61
+ import "./chunk-CGUL4MRE.js";
62
+ import "./chunk-7MQCQYEE.js";
63
+ import "./chunk-5LD5DKOM.js";
64
64
  import {
65
65
  compatibleSettingKinds,
66
66
  isBoundSetting,
@@ -73,8 +73,8 @@ import {
73
73
  trackerDataRecordSteps,
74
74
  whereSchemaIssue,
75
75
  whereSettings
76
- } from "./chunk-HNR6G3GV.js";
77
- import "./chunk-EOUEAOWJ.js";
76
+ } from "./chunk-XCEGNKGH.js";
77
+ import "./chunk-FGXLXENM.js";
78
78
  export {
79
79
  MANAGEMENT_TIMEOUT,
80
80
  REFERRAL_INTEGRATION_REWARD_ERROR,
@@ -5,29 +5,29 @@ import {
5
5
  identityIntegrationKeySchema,
6
6
  participantExchangeAccountsSchema,
7
7
  participantExchangeResultSchema
8
- } from "./chunk-ZXGBDLVB.js";
8
+ } from "./chunk-CJDB6W6I.js";
9
9
  import {
10
10
  isParticipantRoute
11
11
  } from "./chunk-U66GUVSG.js";
12
- import "./chunk-RD3XJ4DH.js";
13
- import "./chunk-XVZ4YOF2.js";
14
- import "./chunk-ZQ3IPCI6.js";
12
+ import "./chunk-M66Y5OMJ.js";
13
+ import "./chunk-ANVAUOJP.js";
14
+ import "./chunk-QYHEHMCG.js";
15
15
  import "./chunk-MWMCQLCG.js";
16
16
  import {
17
17
  clientIdentity,
18
18
  retryAfter
19
- } from "./chunk-DLABJSBO.js";
20
- import "./chunk-MPTE7EIV.js";
19
+ } from "./chunk-TCYDFNV4.js";
20
+ import "./chunk-CGUL4MRE.js";
21
21
  import {
22
22
  participantPrincipalSchema,
23
23
  sessionMember
24
- } from "./chunk-R2KZFX6E.js";
25
- import "./chunk-NG4GZ54I.js";
26
- import "./chunk-HNR6G3GV.js";
24
+ } from "./chunk-7MQCQYEE.js";
25
+ import "./chunk-5LD5DKOM.js";
26
+ import "./chunk-XCEGNKGH.js";
27
27
  import {
28
28
  RequestError,
29
29
  isRequestError
30
- } from "./chunk-EOUEAOWJ.js";
30
+ } from "./chunk-FGXLXENM.js";
31
31
 
32
32
  // src/portal-proxy.ts
33
33
  import * as z from "zod";