@domino-sdk/relay 1.11.0 → 1.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/authoring.js CHANGED
@@ -10,7 +10,7 @@ import {
10
10
  sourceDataSchema,
11
11
  sourceRoles,
12
12
  validateQuestShape
13
- } from "./chunk-ULU5ZF6R.js";
13
+ } from "./chunk-4OLQYRSA.js";
14
14
  import {
15
15
  cosmosDenomSchema,
16
16
  cosmosNetworkSchema,
@@ -22,7 +22,7 @@ import {
22
22
  leaderboardAuthoringSchema,
23
23
  pointLedgerDeclarationSchema,
24
24
  referralAuthoringSchema
25
- } from "./chunk-KLF7XABH.js";
25
+ } from "./chunk-ZFABFKIY.js";
26
26
  import "./chunk-NPGENI7K.js";
27
27
  import {
28
28
  authoringKey,
@@ -76,7 +76,7 @@ import {
76
76
  whereSchemaIssue,
77
77
  whereSettings,
78
78
  xSearchSourceSchema
79
- } from "./chunk-GXT4S5IK.js";
79
+ } from "./chunk-46C33ASD.js";
80
80
 
81
81
  // src/builders.ts
82
82
  import { z } from "zod";
package/dist/browser.d.ts CHANGED
@@ -1,9 +1,9 @@
1
- import { n as SubmissionStore, f as RelayClientOptions, R as RelayClient } from './client-Dz14Kuu8.js';
2
- export { C as CosmosChains, D as DiscoveredWallet, E as Eip1193Provider, a as EmailSignInOption, K as KeplrLike, O as OAuthSignInOption, 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, 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, w as walletStandardSolanaSigner } from './sign-in-options-rPCsFr7w.js';
1
+ import { n as SubmissionStore, f as RelayClientOptions, R as RelayClient } from './client-fUSERMAC.js';
2
+ export { C as CosmosChains, D as DiscoveredWallet, E as Eip1193Provider, a as EmailSignInOption, K as KeplrLike, O as OAuthSignInOption, 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, 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, w as walletStandardSolanaSigner } from './sign-in-options-iWOp9puZ.js';
3
3
  import './groups-BK8ts2yK.js';
4
4
  import 'zod';
5
5
  import './schema-DEM8y8Fm.js';
6
- import './pages-tSpttGrI.js';
6
+ import './pages-Chb6OZSB.js';
7
7
  import './submission-input-BbBJTVlT.js';
8
8
  import './request-error-D_dUPLwo.js';
9
9
  import './participant-activity-DkL3nY5a.js';
package/dist/browser.js CHANGED
@@ -11,16 +11,16 @@ import {
11
11
  signInOptions,
12
12
  solanaSigner,
13
13
  walletStandardSolanaSigner
14
- } from "./chunk-CFTTECZZ.js";
15
- import "./chunk-U4KTGJWU.js";
16
- import "./chunk-7JHREQ2D.js";
17
- import "./chunk-GKTD36JW.js";
18
- import "./chunk-KLF7XABH.js";
14
+ } from "./chunk-PUDL4JBY.js";
15
+ import "./chunk-XK5E4HAS.js";
16
+ import "./chunk-X7ECZ3AK.js";
17
+ import "./chunk-T657WO56.js";
18
+ import "./chunk-ZFABFKIY.js";
19
19
  import "./chunk-6QJ3LADK.js";
20
20
  import "./chunk-NPGENI7K.js";
21
- import "./chunk-DG4QQUH7.js";
22
- import "./chunk-TV2GYBDZ.js";
23
- import "./chunk-GXT4S5IK.js";
21
+ import "./chunk-AGFUDCNM.js";
22
+ import "./chunk-PT5STHFH.js";
23
+ import "./chunk-46C33ASD.js";
24
24
  export {
25
25
  browserSubmissionStore,
26
26
  cosmosChainList,
@@ -6,7 +6,7 @@ import {
6
6
  imageSightingsSchema,
7
7
  imageUploadsSchema,
8
8
  publishedImageSchema
9
- } from "./chunk-FISNMJN3.js";
9
+ } from "./chunk-ZGH6NEG6.js";
10
10
  import {
11
11
  catalogDeploymentSchema,
12
12
  collectionPassSchema,
@@ -24,7 +24,7 @@ import {
24
24
  questTypeVersionSchema,
25
25
  questViewSchema,
26
26
  rewardDeliveriesSchema
27
- } from "./chunk-GKTD36JW.js";
27
+ } from "./chunk-T657WO56.js";
28
28
  import {
29
29
  engagementArtifactSchema,
30
30
  engagementBoundaryPageSchema,
@@ -57,12 +57,12 @@ import {
57
57
  walletBalanceSchema,
58
58
  walletMessageChallengeSchema,
59
59
  walletSignInNetworksSchema
60
- } from "./chunk-KLF7XABH.js";
60
+ } from "./chunk-ZFABFKIY.js";
61
61
  import {
62
62
  exchangeResultSchema,
63
63
  memberSummarySchema,
64
64
  participantSessionSchema
65
- } from "./chunk-TV2GYBDZ.js";
65
+ } from "./chunk-PT5STHFH.js";
66
66
  import {
67
67
  accountConnectionSchema,
68
68
  attemptSchema,
@@ -74,6 +74,7 @@ import {
74
74
  evidenceSchema,
75
75
  identifier,
76
76
  knownResponse,
77
+ lazyResponseReaders,
77
78
  markResponseSchema,
78
79
  memberProgressSchema,
79
80
  pageCursorSchema,
@@ -88,7 +89,7 @@ import {
88
89
  tieredRewardReferenceSchema,
89
90
  timeZoneNameSchema,
90
91
  trackerArtifactSchema
91
- } from "./chunk-GXT4S5IK.js";
92
+ } from "./chunk-46C33ASD.js";
92
93
 
93
94
  // src/deployments.ts
94
95
  import { z } from "zod";
@@ -192,15 +193,29 @@ var promoteDeploymentSchema = repeatableDeploymentSchema;
192
193
  var rollbackDeploymentSchema = repeatableDeploymentSchema;
193
194
 
194
195
  // src/capability-responses.ts
195
- var capabilityResponseSchemas = {
196
- imageInspectionSchema: knownResponse(imageInspectionSchema),
197
- imageComparisonSchema: knownResponse(imageComparisonSchema),
198
- imageExtractionSchema: knownResponse(imageExtractionSchema),
199
- imageSightingsSchema: knownResponse(imageSightingsSchema),
200
- imageUploadsSchema: knownResponse(imageUploadsSchema),
201
- publishedImageSchema: knownResponse(publishedImageSchema),
202
- walletBalanceSchema: knownResponse(walletBalanceSchema)
203
- };
196
+ var capabilityResponseSchemas = lazyResponseReaders({
197
+ get imageInspectionSchema() {
198
+ return knownResponse(imageInspectionSchema);
199
+ },
200
+ get imageComparisonSchema() {
201
+ return knownResponse(imageComparisonSchema);
202
+ },
203
+ get imageExtractionSchema() {
204
+ return knownResponse(imageExtractionSchema);
205
+ },
206
+ get imageSightingsSchema() {
207
+ return knownResponse(imageSightingsSchema);
208
+ },
209
+ get imageUploadsSchema() {
210
+ return knownResponse(imageUploadsSchema);
211
+ },
212
+ get publishedImageSchema() {
213
+ return knownResponse(publishedImageSchema);
214
+ },
215
+ get walletBalanceSchema() {
216
+ return knownResponse(walletBalanceSchema);
217
+ }
218
+ });
204
219
  var capabilityResponses = {
205
220
  imageInspectionSchema: responseSchema(imageInspectionSchema),
206
221
  imageComparisonSchema: responseSchema(imageComparisonSchema),
@@ -372,49 +387,131 @@ var automaticSchedulingRetrySchema = z3.strictObject({
372
387
  });
373
388
 
374
389
  // src/response-readers.ts
375
- var participantResponseSchemas = {
376
- accountConnectionSchema: knownResponse(accountConnectionSchema),
377
- attemptSchema: knownResponse(attemptSchema),
378
- authProviderSchema: knownResponse(authProviderSchema),
379
- campaignEnrollmentSchema: knownResponse(campaignEnrollmentSchema),
380
- collectionPassSchema: knownResponse(collectionPassSchema),
381
- contentPerformancePageSchema: knownResponse(contentPerformancePageSchema),
382
- contentQualificationPageSchema: knownResponse(contentQualificationPageSchema),
383
- engagementBoundaryPageSchema: knownResponse(engagementBoundaryPageSchema),
384
- engagementPageSchema: knownResponse(engagementPageSchema),
385
- evidenceSchema: knownResponse(evidenceSchema),
386
- exchangeResultSchema: knownResponse(exchangeResultSchema),
387
- leaderboardDefinitionSchema: knownResponse(leaderboardDefinitionSchema),
388
- leaderboardPageSchema: knownResponse(leaderboardPageSchema),
389
- leaderboardPlacementSchema: knownResponse(leaderboardPlacementSchema),
390
- linkedWalletSchema: knownResponse(linkedWalletSchema),
391
- memberProgressSchema: knownResponse(memberProgressSchema),
392
- memberSummarySchema: knownResponse(memberSummarySchema),
393
- offerSchema: knownResponse(offerSchema),
394
- ownProfileSchema: knownResponse(ownProfileSchema),
395
- participantActivitySchema: knownResponse(participantActivitySchema),
396
- participantDeliveriesSchema: knownResponse(participantDeliveriesSchema),
397
- participantEntitlementsSchema: knownResponse(participantEntitlementsSchema),
398
- participantSessionSchema: knownResponse(participantSessionSchema),
399
- pointBalancesSchema: knownResponse(pointBalancesSchema),
400
- pointHistoryPageSchema: knownResponse(pointHistoryPageSchema),
401
- pointLedgerReferenceSchema: knownResponse(pointLedgerReferenceSchema),
402
- profileCompletionPageSchema: knownResponse(profileCompletionPageSchema),
403
- profileReferralSchema: knownResponse(profileReferralSchema),
404
- profileSummarySchema: knownResponse(profileSummarySchema),
405
- questEnrollmentSchema: knownResponse(questEnrollmentSchema),
406
- questExperienceSchema: knownResponse(questExperienceSchema),
407
- questOutcomePageSchema: knownResponse(questOutcomePageSchema),
408
- questOutcomeSchema: knownResponse(questOutcomeSchema),
409
- redemptionSchema: knownResponse(redemptionSchema),
410
- referralDefinitionSchema: knownResponse(referralDefinitionSchema),
411
- referralHistorySchema: knownResponse(referralHistorySchema),
412
- referralSummarySchema: knownResponse(referralSummarySchema),
413
- rewardDeliveriesSchema: knownResponse(rewardDeliveriesSchema),
414
- tieredRewardReferenceSchema: knownResponse(tieredRewardReferenceSchema),
415
- walletMessageChallengeSchema: knownResponse(walletMessageChallengeSchema),
416
- walletSignInNetworksSchema: knownResponse(walletSignInNetworksSchema)
417
- };
390
+ var participantResponseSchemas = lazyResponseReaders({
391
+ get accountConnectionSchema() {
392
+ return knownResponse(accountConnectionSchema);
393
+ },
394
+ get attemptSchema() {
395
+ return knownResponse(attemptSchema);
396
+ },
397
+ get authProviderSchema() {
398
+ return knownResponse(authProviderSchema);
399
+ },
400
+ get campaignEnrollmentSchema() {
401
+ return knownResponse(campaignEnrollmentSchema);
402
+ },
403
+ get collectionPassSchema() {
404
+ return knownResponse(collectionPassSchema);
405
+ },
406
+ get contentPerformancePageSchema() {
407
+ return knownResponse(contentPerformancePageSchema);
408
+ },
409
+ get contentQualificationPageSchema() {
410
+ return knownResponse(contentQualificationPageSchema);
411
+ },
412
+ get engagementBoundaryPageSchema() {
413
+ return knownResponse(engagementBoundaryPageSchema);
414
+ },
415
+ get engagementPageSchema() {
416
+ return knownResponse(engagementPageSchema);
417
+ },
418
+ get evidenceSchema() {
419
+ return knownResponse(evidenceSchema);
420
+ },
421
+ get exchangeResultSchema() {
422
+ return knownResponse(exchangeResultSchema);
423
+ },
424
+ get leaderboardDefinitionSchema() {
425
+ return knownResponse(leaderboardDefinitionSchema);
426
+ },
427
+ get leaderboardPageSchema() {
428
+ return knownResponse(leaderboardPageSchema);
429
+ },
430
+ get leaderboardPlacementSchema() {
431
+ return knownResponse(leaderboardPlacementSchema);
432
+ },
433
+ get linkedWalletSchema() {
434
+ return knownResponse(linkedWalletSchema);
435
+ },
436
+ get memberProgressSchema() {
437
+ return knownResponse(memberProgressSchema);
438
+ },
439
+ get memberSummarySchema() {
440
+ return knownResponse(memberSummarySchema);
441
+ },
442
+ get offerSchema() {
443
+ return knownResponse(offerSchema);
444
+ },
445
+ get ownProfileSchema() {
446
+ return knownResponse(ownProfileSchema);
447
+ },
448
+ get participantActivitySchema() {
449
+ return knownResponse(participantActivitySchema);
450
+ },
451
+ get participantDeliveriesSchema() {
452
+ return knownResponse(participantDeliveriesSchema);
453
+ },
454
+ get participantEntitlementsSchema() {
455
+ return knownResponse(participantEntitlementsSchema);
456
+ },
457
+ get participantSessionSchema() {
458
+ return knownResponse(participantSessionSchema);
459
+ },
460
+ get pointBalancesSchema() {
461
+ return knownResponse(pointBalancesSchema);
462
+ },
463
+ get pointHistoryPageSchema() {
464
+ return knownResponse(pointHistoryPageSchema);
465
+ },
466
+ get pointLedgerReferenceSchema() {
467
+ return knownResponse(pointLedgerReferenceSchema);
468
+ },
469
+ get profileCompletionPageSchema() {
470
+ return knownResponse(profileCompletionPageSchema);
471
+ },
472
+ get profileReferralSchema() {
473
+ return knownResponse(profileReferralSchema);
474
+ },
475
+ get profileSummarySchema() {
476
+ return knownResponse(profileSummarySchema);
477
+ },
478
+ get questEnrollmentSchema() {
479
+ return knownResponse(questEnrollmentSchema);
480
+ },
481
+ get questExperienceSchema() {
482
+ return knownResponse(questExperienceSchema);
483
+ },
484
+ get questOutcomePageSchema() {
485
+ return knownResponse(questOutcomePageSchema);
486
+ },
487
+ get questOutcomeSchema() {
488
+ return knownResponse(questOutcomeSchema);
489
+ },
490
+ get redemptionSchema() {
491
+ return knownResponse(redemptionSchema);
492
+ },
493
+ get referralDefinitionSchema() {
494
+ return knownResponse(referralDefinitionSchema);
495
+ },
496
+ get referralHistorySchema() {
497
+ return knownResponse(referralHistorySchema);
498
+ },
499
+ get referralSummarySchema() {
500
+ return knownResponse(referralSummarySchema);
501
+ },
502
+ get rewardDeliveriesSchema() {
503
+ return knownResponse(rewardDeliveriesSchema);
504
+ },
505
+ get tieredRewardReferenceSchema() {
506
+ return knownResponse(tieredRewardReferenceSchema);
507
+ },
508
+ get walletMessageChallengeSchema() {
509
+ return knownResponse(walletMessageChallengeSchema);
510
+ },
511
+ get walletSignInNetworksSchema() {
512
+ return knownResponse(walletSignInNetworksSchema);
513
+ }
514
+ });
418
515
  var participantResponses = {
419
516
  accountConnectionSchema: responseSchema(accountConnectionSchema),
420
517
  attemptSchema: responseSchema(attemptSchema),
@@ -5,20 +5,52 @@ function markResponseSchema(schema) {
5
5
  return Object.assign(schema, { [responseFormat]: true });
6
6
  }
7
7
  var shapes = /* @__PURE__ */ new WeakMap();
8
+ function lazyResponseReaders(readers) {
9
+ for (const key of Object.keys(readers)) {
10
+ const get = Object.getOwnPropertyDescriptor(readers, key)?.get;
11
+ if (!get) {
12
+ continue;
13
+ }
14
+ const store = (value) => {
15
+ Object.defineProperty(readers, key, {
16
+ value,
17
+ writable: true,
18
+ enumerable: true,
19
+ configurable: true
20
+ });
21
+ return value;
22
+ };
23
+ Object.defineProperty(readers, key, {
24
+ get: () => store(get.call(readers)),
25
+ set: store,
26
+ enumerable: true,
27
+ configurable: true
28
+ });
29
+ }
30
+ return readers;
31
+ }
8
32
  function responseShape(schema) {
9
33
  const existing = shapes.get(schema);
10
34
  if (existing) {
11
35
  return existing;
12
36
  }
13
- const definition = { ...schema._zod.def };
37
+ const definition = Object.create(
38
+ Object.getPrototypeOf(schema._zod.def),
39
+ Object.getOwnPropertyDescriptors(schema._zod.def)
40
+ );
14
41
  if (schema instanceof z.ZodObject) {
15
- Object.assign(definition, {
16
- shape: Object.fromEntries(
42
+ let shape;
43
+ Object.defineProperty(definition, "shape", {
44
+ get: () => shape ??= Object.fromEntries(
17
45
  Object.entries(schema.shape).map(([key, child]) => [
18
46
  key,
19
47
  responseShape(child)
20
48
  ])
21
49
  ),
50
+ configurable: true,
51
+ enumerable: true
52
+ });
53
+ Object.assign(definition, {
22
54
  catchall: schema._zod.def.catchall instanceof z.ZodNever || !schema._zod.def.catchall ? void 0 : responseShape(schema._zod.def.catchall)
23
55
  });
24
56
  } else if (schema instanceof z.ZodNumber) {
@@ -171,9 +203,9 @@ function unknownVariant(schema, input) {
171
203
  return false;
172
204
  }
173
205
  function responseSchema(schema) {
174
- const reader = knownResponse(schema);
175
206
  return markResponseSchema(
176
207
  z.json().transform((raw, context) => {
208
+ const reader = knownResponse(schema);
177
209
  const parsed = reader.safeParse(raw);
178
210
  if (parsed.success) {
179
211
  return { kind: "supported", value: parsed.data };
@@ -3014,6 +3046,7 @@ var contentPerformancePageSchema = z24.strictObject({
3014
3046
 
3015
3047
  export {
3016
3048
  markResponseSchema,
3049
+ lazyResponseReaders,
3017
3050
  responseShape,
3018
3051
  knownResponse,
3019
3052
  responseSchema,
@@ -5,7 +5,7 @@ import {
5
5
  isKnownTrackerSource,
6
6
  trackerDataSchema,
7
7
  xAccountRoles
8
- } from "./chunk-GXT4S5IK.js";
8
+ } from "./chunk-46C33ASD.js";
9
9
 
10
10
  // src/quest-shape.ts
11
11
  function validateQuestShape(description, options = {}) {
@@ -1,6 +1,6 @@
1
1
  // package.json
2
2
  var name = "@domino-sdk/relay";
3
- var version = "1.11.0";
3
+ var version = "1.11.1";
4
4
 
5
5
  // src/client-identity.ts
6
6
  function clientIdentity() {
@@ -4,15 +4,15 @@ import {
4
4
  imageFieldsSchema,
5
5
  imageInspectionSchema,
6
6
  imageSightingsSchema
7
- } from "./chunk-FISNMJN3.js";
7
+ } from "./chunk-ZGH6NEG6.js";
8
8
  import {
9
9
  authScopeSchema
10
- } from "./chunk-TV2GYBDZ.js";
10
+ } from "./chunk-PT5STHFH.js";
11
11
  import {
12
12
  appIdentityKindSchema,
13
13
  openIdentityKindSchema,
14
14
  photoResultSchema
15
- } from "./chunk-GXT4S5IK.js";
15
+ } from "./chunk-46C33ASD.js";
16
16
 
17
17
  // src/configuration.ts
18
18
  function questConfiguration(release) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  identifier
3
- } from "./chunk-GXT4S5IK.js";
3
+ } from "./chunk-46C33ASD.js";
4
4
 
5
5
  // src/auth.ts
6
6
  import { z } from "zod";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  createRelayClient
3
- } from "./chunk-U4KTGJWU.js";
3
+ } from "./chunk-XK5E4HAS.js";
4
4
  import {
5
5
  RelayErrorCode,
6
6
  asRelayError,
7
7
  clientError,
8
8
  cosmosChain
9
- } from "./chunk-KLF7XABH.js";
9
+ } from "./chunk-ZFABFKIY.js";
10
10
 
11
11
  // src/base58.ts
12
12
  var alphabet = "123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pointLedgerReferenceSchema
3
- } from "./chunk-KLF7XABH.js";
3
+ } from "./chunk-ZFABFKIY.js";
4
4
  import {
5
5
  authoringIdentityShape,
6
6
  entitlementSchema,
@@ -17,7 +17,7 @@ import {
17
17
  storedQuestDescriptionSchema,
18
18
  storedReviewModeSchema,
19
19
  tieredRewardReferenceSchema
20
- } from "./chunk-GXT4S5IK.js";
20
+ } from "./chunk-46C33ASD.js";
21
21
 
22
22
  // src/participant-activity.ts
23
23
  import { z } from "zod";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  RelayErrorCode,
3
3
  clientError
4
- } from "./chunk-KLF7XABH.js";
4
+ } from "./chunk-ZFABFKIY.js";
5
5
  import {
6
6
  isRequestError
7
7
  } from "./chunk-NPGENI7K.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createRelayAction,
3
3
  withActionId
4
- } from "./chunk-7JHREQ2D.js";
4
+ } from "./chunk-X7ECZ3AK.js";
5
5
  import {
6
6
  collectionPassSchema,
7
7
  participantActivityQuerySchema,
@@ -16,7 +16,7 @@ import {
16
16
  questOutcomeQuerySchema,
17
17
  questOutcomeSchema,
18
18
  rewardDeliveriesSchema
19
- } from "./chunk-GKTD36JW.js";
19
+ } from "./chunk-T657WO56.js";
20
20
  import {
21
21
  AVATAR_UPLOAD_LIMIT,
22
22
  RelayError,
@@ -55,7 +55,7 @@ import {
55
55
  walletSignInNetworksSchema,
56
56
  walletSignatureSchema,
57
57
  walletUnlinkInputSchema
58
- } from "./chunk-KLF7XABH.js";
58
+ } from "./chunk-ZFABFKIY.js";
59
59
  import {
60
60
  PARTICIPANT_TIMEOUT,
61
61
  lifetime,
@@ -65,14 +65,14 @@ import {
65
65
  } from "./chunk-6QJ3LADK.js";
66
66
  import {
67
67
  clientIdentity
68
- } from "./chunk-DG4QQUH7.js";
68
+ } from "./chunk-AGFUDCNM.js";
69
69
  import {
70
70
  exchangeResultSchema,
71
71
  exchangeSchema,
72
72
  memberSummarySchema,
73
73
  participantSessionSchema,
74
74
  sessionMember
75
- } from "./chunk-TV2GYBDZ.js";
75
+ } from "./chunk-PT5STHFH.js";
76
76
  import {
77
77
  accountConnectionSchema,
78
78
  attemptSchema,
@@ -96,7 +96,7 @@ import {
96
96
  tieredRewardReferenceSchema,
97
97
  validateSubmissionValue,
98
98
  valueEvidenceSchema
99
- } from "./chunk-GXT4S5IK.js";
99
+ } from "./chunk-46C33ASD.js";
100
100
 
101
101
  // src/submissions.ts
102
102
  import { z } from "zod";
@@ -15,7 +15,7 @@ import {
15
15
  responseShape,
16
16
  rewardKey,
17
17
  tierRewardSchema
18
- } from "./chunk-GXT4S5IK.js";
18
+ } from "./chunk-46C33ASD.js";
19
19
 
20
20
  // src/errors.ts
21
21
  import { z } from "zod";
@@ -2,7 +2,7 @@ import {
2
2
  identifier,
3
3
  responseShape,
4
4
  xTweetSchema
5
- } from "./chunk-GXT4S5IK.js";
5
+ } from "./chunk-46C33ASD.js";
6
6
 
7
7
  // src/x.ts
8
8
  import { z } from "zod";
@@ -1,5 +1,5 @@
1
1
  import { aZ as referralAcceptSchema, g as LeaderboardQuery, b as CampaignEnrollmentInput, d as CampaignWithdrawalInput, m as PointHistoryQuery, k as PointEntryKind, a6 as engagementPageQuerySchema } from './groups-BK8ts2yK.js';
2
- import { j as QuestView, k as ResponseSchema, a as PageQuery, c as QuestEnrollmentInput, Q as QuestClaimInput, g as QuestOutcomeQuery, _ as questExperienceSchema, l as RewardDeliveryAction, F as contentQualificationQuerySchema } from './pages-tSpttGrI.js';
2
+ import { j as QuestView, k as ResponseSchema, a as PageQuery, c as QuestEnrollmentInput, Q as QuestClaimInput, g as QuestOutcomeQuery, _ as questExperienceSchema, l as RewardDeliveryAction, F as contentQualificationQuerySchema } from './pages-Chb6OZSB.js';
3
3
  import { M as MissingPrerequisite, V as ValueEvidence, a as AuthProvider } from './submission-input-BbBJTVlT.js';
4
4
  import { R as RequestError, a as RequestErrorDetails, b as RequestErrorKind } from './request-error-D_dUPLwo.js';
5
5
  import { f as QuizEvidence, A as Attempt, M as MemberProgress, a as AttemptStatus, h as TrackerSkipCode, c6 as submitSchema, b8 as contentPerformanceQuerySchema } from './schema-DEM8y8Fm.js';
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  export { R as RelayAction, c as createRelayAction } from './action-9Xl0StBg.js';
2
- export { C as ClaimSubmission, 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 SubmissionDraft, m as SubmissionStatus, n as SubmissionStore, V as ValueSubmission, o as createRelayClient, p as isRelayError } from './client-Dz14Kuu8.js';
2
+ export { C as ClaimSubmission, 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 SubmissionDraft, m as SubmissionStatus, n as SubmissionStore, V as ValueSubmission, o as createRelayClient, p as isRelayError } from './client-fUSERMAC.js';
3
3
  export { R as RequestError, a as RequestErrorDetails, b as RequestErrorKind, c as RequestRecovery, i as isRequestError } from './request-error-D_dUPLwo.js';
4
4
  export { A as Attempt, a as AttemptStatus, E as Entitlement, b as EvaluatorProgress, K as KnownAttemptStatus, c as KnownTrackerSkipCode, M as MemberProgress, Q as QuestBudgetView, d as QuestPresentation, e as QuestProfile, f as QuizEvidence, R as Reward, S as SubmissionEvidence, g as SubmitInput, T as TieredRewardReference, h as TrackerSkipCode } from './schema-DEM8y8Fm.js';
5
5
  export { f as formatUnits, p as parseUnits } from './units-CwgsPB_r.js';
6
6
  export { A as AccountConnection, a as AuthProvider, M as MissingPrerequisite, P as Prerequisite, T as TextEvidence, b as TextOptions, U as UrlEvidence, c as UrlOptions, V as ValueEvidence } from './submission-input-BbBJTVlT.js';
7
7
  export { E as ExchangeInput, M as MemberSummary, P as ParticipantActivity, a as ParticipantPrincipal, b as ParticipantSession, R as RelayEvent, S as Session, s as sessionMember } from './participant-activity-DkL3nY5a.js';
8
- export { P as Page, a as PageQuery, Q as QuestClaimInput, b as QuestEnrollment, c as QuestEnrollmentInput, d as QuestInteraction, e as QuestOutcome, f as QuestOutcomePage, g as QuestOutcomeQuery, h as QuestOutcomeState, i as QuestRewardView, j as QuestView, R as ResponseResult, U as UnsupportedResponse } from './pages-tSpttGrI.js';
8
+ export { P as Page, a as PageQuery, Q as QuestClaimInput, b as QuestEnrollment, c as QuestEnrollmentInput, d as QuestInteraction, e as QuestOutcome, f as QuestOutcomePage, g as QuestOutcomeQuery, h as QuestOutcomeState, i as QuestRewardView, j as QuestView, R as ResponseResult, U as UnsupportedResponse } from './pages-Chb6OZSB.js';
9
9
  export { A as AvailabilityWindow, C as CampaignDefinition, a as CampaignEnrollment, b as CampaignEnrollmentInput, c as CampaignView, d as CampaignWithdrawalInput, K as KnownPointEntryKind, L as LeaderboardDefinition, e as LeaderboardPage, f as LeaderboardPlacement, g as LeaderboardQuery, M as MemberCampaignEnrollmentInput, h as MemberCampaignWithdrawalInput, P as PointBalance, i as PointBalances, j as PointEntry, k as PointEntryKind, l as PointHistoryPage, m as PointHistoryQuery, n as PointLedgerReference, o as ProjectGroup, p as ProjectGroupReference, R as ReferralDefinition } from './groups-BK8ts2yK.js';
10
10
  export { A as AutomaticCatchUpPreview, a as AutomaticEvent, b as AutomaticOutcome, C as CollectionPass, c as CounterAchievement, d as CounterPolicy, e as CounterProgress } from './automatic-outcomes-kPIDv6X_.js';
11
11
  export { O as Offer, a as OfferDefinition, b as OfferPrice, R as RedeemOfferInput, c as Redemption } from './offers-C2FANzrG.js';
package/dist/index.js CHANGED
@@ -5,31 +5,31 @@ import {
5
5
  import {
6
6
  QuestUpdatedError,
7
7
  createRelayClient
8
- } from "./chunk-U4KTGJWU.js";
8
+ } from "./chunk-XK5E4HAS.js";
9
9
  import {
10
10
  createRelayAction
11
- } from "./chunk-7JHREQ2D.js";
11
+ } from "./chunk-X7ECZ3AK.js";
12
12
  import {
13
13
  QuestOutcomeState
14
- } from "./chunk-GKTD36JW.js";
14
+ } from "./chunk-T657WO56.js";
15
15
  import {
16
16
  PointEntryKind,
17
17
  RelayError,
18
18
  RelayErrorCode,
19
19
  isRelayError
20
- } from "./chunk-KLF7XABH.js";
20
+ } from "./chunk-ZFABFKIY.js";
21
21
  import "./chunk-6QJ3LADK.js";
22
22
  import {
23
23
  RequestError,
24
24
  isRequestError
25
25
  } from "./chunk-NPGENI7K.js";
26
- import "./chunk-DG4QQUH7.js";
26
+ import "./chunk-AGFUDCNM.js";
27
27
  import {
28
28
  sessionMember
29
- } from "./chunk-TV2GYBDZ.js";
29
+ } from "./chunk-PT5STHFH.js";
30
30
  import {
31
31
  AttemptStatus
32
- } from "./chunk-GXT4S5IK.js";
32
+ } from "./chunk-46C33ASD.js";
33
33
  export {
34
34
  AttemptStatus,
35
35
  PointEntryKind,