@domino-sdk/relay 1.62.0 → 1.63.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.
- package/CHANGELOG.md +120 -0
- package/dist/{accounts-CCqCKCVx.d.ts → accounts-nz3mzfRQ.d.ts} +21 -3
- package/dist/{attempt-captures-Cm-5G0PC.d.ts → attempt-captures-DMi8oR9T.d.ts} +1 -1
- package/dist/authoring.d.ts +54 -20
- package/dist/authoring.js +58 -24
- package/dist/{automatic-outcomes-pAsOyIVp.d.ts → automatic-outcomes-C_LLQU1p.d.ts} +11 -1
- package/dist/avatar.d.ts +1 -1
- package/dist/browser.d.ts +9 -9
- package/dist/browser.js +15 -13
- package/dist/capability-error-CuI_F7yM.d.ts +296 -0
- package/dist/{catalog--ZIlskAo.d.ts → catalog-BaTOKpNw.d.ts} +21 -10
- package/dist/{chunk-3PYYGFSB.js → chunk-3RFP6GT5.js} +3 -3
- package/dist/{chunk-HTZHBTIL.js → chunk-4GQW43UU.js} +193 -357
- package/dist/{chunk-D26YNACF.js → chunk-4NOFSGAL.js} +56 -56
- package/dist/{chunk-UW5232GG.js → chunk-5XLZ34PV.js} +5 -5
- package/dist/{chunk-QYPMPWVX.js → chunk-7X67QLPB.js} +43 -43
- package/dist/{chunk-5TEYFX6X.js → chunk-7Z4SZ6YM.js} +2 -2
- package/dist/{chunk-Y322OTCH.js → chunk-AQOL3SK5.js} +1 -1
- package/dist/{chunk-CICDIBOF.js → chunk-EHUSD3O2.js} +76 -72
- package/dist/chunk-FO2LCZTL.js +19 -0
- package/dist/{chunk-3KLC4AMA.js → chunk-FU5CGNTR.js} +135 -173
- package/dist/{chunk-K2KS3JLY.js → chunk-GLH6MEI2.js} +7 -2
- package/dist/chunk-ICXZZNPS.js +199 -0
- package/dist/{chunk-MK425RXJ.js → chunk-ID3BZXFZ.js} +709 -640
- package/dist/{chunk-UAKYDVT3.js → chunk-KP2MCX3R.js} +111 -89
- package/dist/{chunk-GKIFABGN.js → chunk-LZWXCBUB.js} +74 -247
- package/dist/{chunk-6WCIWXUV.js → chunk-MTKRIQEU.js} +2 -2
- package/dist/{chunk-4OC7REYX.js → chunk-MWMCQLCG.js} +3 -3
- package/dist/{chunk-XJFYAXET.js → chunk-N4BDKS6Y.js} +19 -19
- package/dist/{chunk-E6IKQHTX.js → chunk-N4LNEGQX.js} +2 -2
- package/dist/chunk-NQDEWJWE.js +554 -0
- package/dist/{chunk-GTDW453U.js → chunk-QR6HH4DI.js} +100 -114
- package/dist/chunk-TLSQETTY.js +41 -0
- package/dist/{chunk-CZFXGGEK.js → chunk-U66GUVSG.js} +2 -2
- package/dist/{chunk-KDR2VAJP.js → chunk-UYVJZR33.js} +2 -2
- package/dist/chunk-UZ765UGH.js +18 -0
- package/dist/{chunk-XNKSSE32.js → chunk-VWQGWGCH.js} +7 -7
- package/dist/{chunk-WSBYWVTZ.js → chunk-W7YSMSGC.js} +166 -158
- package/dist/{client-B-hbHX30.d.ts → client-DHmG7rn6.d.ts} +25 -61
- package/dist/{capability-error-DFMwSuSf.d.ts → dashboards-CLemT6kj.d.ts} +14 -294
- package/dist/{deployments-M4OHn7G3.d.ts → deployments-DTULi7dF.d.ts} +46 -3
- package/dist/{identity-integration-3mX6b5iH.d.ts → identity-integration-DOeNZaxF.d.ts} +32 -2
- package/dist/index.d.ts +10 -10
- package/dist/index.js +13 -11
- package/dist/internal.d.ts +27 -13
- package/dist/internal.js +41 -13
- package/dist/{analytics-BwAKLi7O.d.ts → limits-kNzYdZ00.d.ts} +124 -3
- package/dist/{offers-DhAtss4_.d.ts → offers-CYeN_I0Y.d.ts} +3 -2
- package/dist/portal-proxy.d.ts +19 -3
- package/dist/portal-proxy.js +64 -22
- package/dist/react/index.d.ts +21 -14
- package/dist/react/index.js +55 -29
- package/dist/{pages-B8q8Y_dQ.d.ts → reward-deliveries-drp-x1G-.d.ts} +300 -233
- package/dist/runtime/authoring.js +1 -1
- package/dist/runtime/chunks/UGDV5W4N.js +1 -0
- package/dist/runtime/manifest.json +3 -3
- package/dist/runtime/schema.js +1 -1
- package/dist/schema.d.ts +193 -18
- package/dist/schema.js +31 -26
- package/dist/server/index.d.ts +13 -13
- package/dist/server/index.js +5885 -6224
- package/dist/{sign-in-providers-BkjcDsFF.d.ts → sign-in-providers-B1Q9eDRm.d.ts} +7 -2
- package/dist/{submission-input-DHGKhXfp.d.ts → submission-input-DZCbjQUH.d.ts} +3 -2
- package/dist/{telegram-browser-BCE7zdOb.d.ts → telegram-browser-NL0Asmsi.d.ts} +4 -4
- package/dist/telegram.d.ts +8 -8
- package/dist/telegram.js +2 -2
- package/dist/testing.d.ts +228 -26
- package/dist/testing.js +137 -92
- package/dist/{tracker-data-Hb1uQnk5.d.ts → tracker-data-esm3WG8R.d.ts} +34 -8
- package/dist/{transport-DkhX2Cbs.d.ts → transport-Czht_irp.d.ts} +41259 -39835
- package/dist/{wallet-DTO7SXj7.d.ts → wallet-B7e06v4m.d.ts} +14 -4
- package/package.json +1 -1
- package/dist/chunk-UPQPUJOU.js +0 -457
- package/dist/runtime/chunks/Y4OAVXFR.js +0 -1
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
import { S as SolanaIdlSource } from './wallet-
|
|
2
|
-
import { b as AttemptStatus, V as AttemptCodeSource, W as IntegrationModuleProvider, X as RewardType, Y as questDescriptionSchema } from './accounts-
|
|
1
|
+
import { S as SolanaIdlSource } from './wallet-B7e06v4m.js';
|
|
2
|
+
import { b as AttemptStatus, V as AttemptCodeSource, W as IntegrationModuleProvider, X as RewardType, Y as questDescriptionSchema } from './accounts-nz3mzfRQ.js';
|
|
3
3
|
import * as z from 'zod';
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* The control a quest needs from a participant app. `"claim"` is a quest the member submits with
|
|
7
|
+
* no input, such as a button; it is unrelated to `quests.claim`, which claims a historical outcome.
|
|
8
|
+
*/
|
|
5
9
|
declare const interactionSchema: z.ZodEnum<{
|
|
6
10
|
url: "url";
|
|
7
11
|
text: "text";
|
|
@@ -136,6 +140,7 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
136
140
|
multiline: z.ZodBoolean;
|
|
137
141
|
picker: z.ZodOptional<z.ZodString>;
|
|
138
142
|
decimals: z.ZodOptional<z.ZodNumber>;
|
|
143
|
+
secret: z.ZodOptional<z.ZodLiteral<true>>;
|
|
139
144
|
label: z.ZodString;
|
|
140
145
|
description: z.ZodOptional<z.ZodString>;
|
|
141
146
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -618,8 +623,8 @@ declare const questDraftChangesSchema: z.ZodObject<{
|
|
|
618
623
|
key: z.ZodOptional<z.ZodString>;
|
|
619
624
|
id: z.ZodString;
|
|
620
625
|
title: z.ZodString;
|
|
621
|
-
imageAlt: z.ZodOptional<z.ZodString>;
|
|
622
626
|
quests: z.ZodArray<z.ZodString>;
|
|
627
|
+
imageAlt: z.ZodOptional<z.ZodString>;
|
|
623
628
|
}, z.core.$strict>>;
|
|
624
629
|
}, z.core.$strict>;
|
|
625
630
|
declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -707,8 +712,8 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
707
712
|
key: z.ZodOptional<z.ZodString>;
|
|
708
713
|
id: z.ZodString;
|
|
709
714
|
title: z.ZodString;
|
|
710
|
-
imageAlt: z.ZodOptional<z.ZodString>;
|
|
711
715
|
quests: z.ZodArray<z.ZodString>;
|
|
716
|
+
imageAlt: z.ZodOptional<z.ZodString>;
|
|
712
717
|
}, z.core.$strict>>;
|
|
713
718
|
}, z.core.$strict>;
|
|
714
719
|
status: z.ZodLiteral<"draft">;
|
|
@@ -797,8 +802,8 @@ declare const questDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
797
802
|
key: z.ZodOptional<z.ZodString>;
|
|
798
803
|
id: z.ZodString;
|
|
799
804
|
title: z.ZodString;
|
|
800
|
-
imageAlt: z.ZodOptional<z.ZodString>;
|
|
801
805
|
quests: z.ZodArray<z.ZodString>;
|
|
806
|
+
imageAlt: z.ZodOptional<z.ZodString>;
|
|
802
807
|
}, z.core.$strict>>;
|
|
803
808
|
}, z.core.$strict>;
|
|
804
809
|
status: z.ZodLiteral<"published">;
|
|
@@ -924,6 +929,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
924
929
|
multiline: z.ZodBoolean;
|
|
925
930
|
picker: z.ZodOptional<z.ZodString>;
|
|
926
931
|
decimals: z.ZodOptional<z.ZodNumber>;
|
|
932
|
+
secret: z.ZodOptional<z.ZodLiteral<true>>;
|
|
927
933
|
label: z.ZodString;
|
|
928
934
|
description: z.ZodOptional<z.ZodString>;
|
|
929
935
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1389,8 +1395,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1389
1395
|
key: z.ZodOptional<z.ZodString>;
|
|
1390
1396
|
id: z.ZodString;
|
|
1391
1397
|
title: z.ZodString;
|
|
1392
|
-
imageAlt: z.ZodOptional<z.ZodString>;
|
|
1393
1398
|
quests: z.ZodArray<z.ZodString>;
|
|
1399
|
+
imageAlt: z.ZodOptional<z.ZodString>;
|
|
1394
1400
|
}, z.core.$strict>>;
|
|
1395
1401
|
}, z.core.$strict>;
|
|
1396
1402
|
status: z.ZodLiteral<"draft">;
|
|
@@ -1479,8 +1485,8 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1479
1485
|
key: z.ZodOptional<z.ZodString>;
|
|
1480
1486
|
id: z.ZodString;
|
|
1481
1487
|
title: z.ZodString;
|
|
1482
|
-
imageAlt: z.ZodOptional<z.ZodString>;
|
|
1483
1488
|
quests: z.ZodArray<z.ZodString>;
|
|
1489
|
+
imageAlt: z.ZodOptional<z.ZodString>;
|
|
1484
1490
|
}, z.core.$strict>>;
|
|
1485
1491
|
}, z.core.$strict>;
|
|
1486
1492
|
status: z.ZodLiteral<"published">;
|
|
@@ -1594,6 +1600,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1594
1600
|
multiline: z.ZodBoolean;
|
|
1595
1601
|
picker: z.ZodOptional<z.ZodString>;
|
|
1596
1602
|
decimals: z.ZodOptional<z.ZodNumber>;
|
|
1603
|
+
secret: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1597
1604
|
label: z.ZodString;
|
|
1598
1605
|
description: z.ZodOptional<z.ZodString>;
|
|
1599
1606
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -1992,6 +1999,7 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1992
1999
|
source: z.ZodType<SolanaIdlSource>;
|
|
1993
2000
|
idl: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
1994
2001
|
}, z.core.$strict>>>;
|
|
2002
|
+
withheldSettings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1995
2003
|
}, z.core.$strict>>>;
|
|
1996
2004
|
supportedInteractions: z.ZodArray<z.ZodEnum<{
|
|
1997
2005
|
url: "url";
|
|
@@ -2152,6 +2160,7 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
2152
2160
|
multiline: z.ZodBoolean;
|
|
2153
2161
|
picker: z.ZodOptional<z.ZodString>;
|
|
2154
2162
|
decimals: z.ZodOptional<z.ZodNumber>;
|
|
2163
|
+
secret: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2155
2164
|
label: z.ZodString;
|
|
2156
2165
|
description: z.ZodOptional<z.ZodString>;
|
|
2157
2166
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -2554,8 +2563,8 @@ declare const saveQuestDraftSchema: z.ZodObject<{
|
|
|
2554
2563
|
key: z.ZodOptional<z.ZodString>;
|
|
2555
2564
|
id: z.ZodString;
|
|
2556
2565
|
title: z.ZodString;
|
|
2557
|
-
imageAlt: z.ZodOptional<z.ZodString>;
|
|
2558
2566
|
quests: z.ZodArray<z.ZodString>;
|
|
2567
|
+
imageAlt: z.ZodOptional<z.ZodString>;
|
|
2559
2568
|
}, z.core.$strict>>;
|
|
2560
2569
|
}, z.core.$strict>;
|
|
2561
2570
|
}, z.core.$strict>;
|
|
@@ -4949,8 +4958,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
4949
4958
|
key: z.ZodOptional<z.ZodString>;
|
|
4950
4959
|
id: z.ZodString;
|
|
4951
4960
|
title: z.ZodString;
|
|
4952
|
-
imageAlt: z.ZodOptional<z.ZodString>;
|
|
4953
4961
|
quests: z.ZodArray<z.ZodString>;
|
|
4962
|
+
imageAlt: z.ZodOptional<z.ZodString>;
|
|
4954
4963
|
}, z.core.$strict>>;
|
|
4955
4964
|
}, z.core.$strict>;
|
|
4956
4965
|
status: z.ZodLiteral<"draft">;
|
|
@@ -5039,8 +5048,8 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
5039
5048
|
key: z.ZodOptional<z.ZodString>;
|
|
5040
5049
|
id: z.ZodString;
|
|
5041
5050
|
title: z.ZodString;
|
|
5042
|
-
imageAlt: z.ZodOptional<z.ZodString>;
|
|
5043
5051
|
quests: z.ZodArray<z.ZodString>;
|
|
5052
|
+
imageAlt: z.ZodOptional<z.ZodString>;
|
|
5044
5053
|
}, z.core.$strict>>;
|
|
5045
5054
|
}, z.core.$strict>;
|
|
5046
5055
|
status: z.ZodLiteral<"published">;
|
|
@@ -5154,6 +5163,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
5154
5163
|
multiline: z.ZodBoolean;
|
|
5155
5164
|
picker: z.ZodOptional<z.ZodString>;
|
|
5156
5165
|
decimals: z.ZodOptional<z.ZodNumber>;
|
|
5166
|
+
secret: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5157
5167
|
label: z.ZodString;
|
|
5158
5168
|
description: z.ZodOptional<z.ZodString>;
|
|
5159
5169
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -5552,6 +5562,7 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
5552
5562
|
source: z.ZodType<SolanaIdlSource>;
|
|
5553
5563
|
idl: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
5554
5564
|
}, z.core.$strict>>>;
|
|
5565
|
+
withheldSettings: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5555
5566
|
}, z.core.$strict>>;
|
|
5556
5567
|
affectedCollections: z.ZodArray<z.ZodObject<{
|
|
5557
5568
|
archivedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isRequestError
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GLH6MEI2.js";
|
|
4
4
|
|
|
5
5
|
// package.json
|
|
6
6
|
var name = "@domino-sdk/relay";
|
|
7
|
-
var version = "1.
|
|
7
|
+
var version = "1.63.0";
|
|
8
8
|
|
|
9
9
|
// src/client-identity.ts
|
|
10
10
|
function clientIdentity() {
|
|
@@ -16,7 +16,7 @@ function clientIdentity() {
|
|
|
16
16
|
var PARTICIPANT_TIMEOUT = 15e3;
|
|
17
17
|
var MANAGEMENT_TIMEOUT = 3e4;
|
|
18
18
|
var MAX_ATTEMPTS = 3;
|
|
19
|
-
var transientStatuses = /* @__PURE__ */ new Set([429, 500, 502, 503, 504]);
|
|
19
|
+
var transientStatuses = /* @__PURE__ */ (() => /* @__PURE__ */ new Set([429, 500, 502, 503, 504]))();
|
|
20
20
|
function validTimeout(value) {
|
|
21
21
|
return typeof value === "number" && Number.isFinite(value) && value > 0;
|
|
22
22
|
}
|