@domino-sdk/relay 1.70.0 → 1.72.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 +28 -0
- package/dist/{accounts-B49TGZLk.d.ts → accounts-COLmXRbW.d.ts} +144 -11
- package/dist/{attempt-captures-Dn-oGE1o.d.ts → attempt-captures-CVl161qB.d.ts} +3 -2
- package/dist/authoring.d.ts +68 -25
- package/dist/authoring.js +12 -8
- package/dist/{automatic-outcomes-DeRyox-X.d.ts → automatic-outcomes-5l68PGr1.d.ts} +2 -2
- package/dist/browser.d.ts +9 -9
- package/dist/browser.js +11 -9
- package/dist/{catalog-CR_2iacf.d.ts → catalog-BR3g-1H9.d.ts} +41 -2
- package/dist/{chunk-NOQSKRSS.js → chunk-2UELTHW6.js} +12 -4
- package/dist/{chunk-SELJYCYY.js → chunk-3KKRXN5E.js} +1 -1
- package/dist/{chunk-4VDRNYUG.js → chunk-74SMLZZ5.js} +710 -677
- package/dist/{chunk-4BBDHTBF.js → chunk-ASBDB436.js} +1 -1
- package/dist/{chunk-3DUNFRKJ.js → chunk-BXUF3CRL.js} +32 -6
- package/dist/{chunk-BJ2W5ZVQ.js → chunk-CVJTIVAP.js} +1 -1
- package/dist/{chunk-FHOKCBTJ.js → chunk-ETGKC2SB.js} +1 -1
- package/dist/{chunk-XD6EUA27.js → chunk-FGZGL5PG.js} +1 -1
- package/dist/{chunk-OKKZPDCQ.js → chunk-GHBYWDEZ.js} +8 -1
- package/dist/{chunk-SDWG7CWQ.js → chunk-HN7DE2UN.js} +2 -2
- package/dist/{chunk-25WA4XYZ.js → chunk-I7XIBXT2.js} +74 -5
- package/dist/{chunk-UKUIE2ND.js → chunk-KIRXE37T.js} +6 -6
- package/dist/{chunk-VAGGGB6B.js → chunk-MDSSIOBC.js} +58 -1
- package/dist/{chunk-LZXDYSUH.js → chunk-PYZSCFMJ.js} +4 -0
- package/dist/{chunk-XZCTCSDG.js → chunk-QG6XVOOO.js} +153 -4
- package/dist/{chunk-2GVGZ7AN.js → chunk-TW4RABVS.js} +1 -1
- package/dist/{chunk-RYUM6X2K.js → chunk-UEVZ3TST.js} +29 -2
- package/dist/{chunk-HICAGUT5.js → chunk-VFHLMNYV.js} +1 -1
- package/dist/{chunk-RSZAYW3T.js → chunk-W6DBNBMT.js} +2 -2
- package/dist/{client-gJEheT2C.d.ts → client-B__hMWtK.d.ts} +104 -7
- package/dist/{dashboards-DZaB94sz.d.ts → dashboards-DXpjHnq-.d.ts} +3 -3
- package/dist/{deployments-QVGxC-fT.d.ts → deployments-CT2kQloT.d.ts} +199 -3
- package/dist/{identity-integration-BAJdzbdl.d.ts → identity-integration-ClX4oUAu.d.ts} +4 -4
- package/dist/index.d.ts +10 -10
- package/dist/index.js +7 -7
- package/dist/internal.d.ts +44 -26
- package/dist/internal.js +26 -50
- package/dist/{limits-UawUbr0S.d.ts → limits-B7wbnWhd.d.ts} +1 -1
- package/dist/{offers-0hqbnogq.d.ts → offers-D4pyeY9b.d.ts} +2 -2
- package/dist/portal-proxy.d.ts +2 -2
- package/dist/portal-proxy.js +10 -10
- package/dist/react/index.d.ts +31 -12
- package/dist/react/index.js +115 -41
- package/dist/{reward-deliveries-ARvt1UXb.d.ts → reward-deliveries-HGpj1VFz.d.ts} +1 -1
- package/dist/runtime/authoring.js +1 -1
- package/dist/runtime/chunks/A7G5P76B.js +1 -0
- package/dist/runtime/manifest.json +3 -3
- package/dist/runtime/schema.js +1 -1
- package/dist/schema.d.ts +40 -16
- package/dist/schema.js +7 -7
- package/dist/server/index.d.ts +12 -12
- package/dist/server/index.js +956 -576
- package/dist/{sign-in-providers-DCiufSGG.d.ts → sign-in-providers-lbOXCF8N.d.ts} +2 -2
- package/dist/solana.d.ts +12 -12
- package/dist/solana.js +8 -8
- package/dist/{telegram-browser-yx9WuNLX.d.ts → station-check-in-qBiaftfE.d.ts} +89 -7
- package/dist/{submission-input-C0DLv5Dj.d.ts → submission-input-U4aIkJuT.d.ts} +2 -2
- package/dist/telegram.d.ts +7 -7
- package/dist/testing.d.ts +15 -11
- package/dist/testing.js +23 -12
- package/dist/{tracker-data-CUopgomU.d.ts → tracker-data-2BYXZjsN.d.ts} +3 -3
- package/dist/{transport-e0uY1R7z.d.ts → transport-DcRXDZ1j.d.ts} +1838 -19
- package/dist/{wallet-CJTULM0Q.d.ts → wallet-BqswMAqZ.d.ts} +2 -2
- package/dist/{wallet-browser-DScvrvIj.d.ts → wallet-browser-B5r7u3xB.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/runtime/chunks/447P2VLY.js +0 -1
package/dist/authoring.js
CHANGED
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
sourceDataSchema,
|
|
7
7
|
sourceRoles,
|
|
8
8
|
validateQuestShape
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UEVZ3TST.js";
|
|
10
10
|
import {
|
|
11
11
|
defineDashboard,
|
|
12
12
|
tiktokVideoBodySchema,
|
|
13
13
|
tiktokVideoMetrics,
|
|
14
14
|
youtubeShortBodySchema,
|
|
15
15
|
youtubeShortMetrics
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-CVJTIVAP.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-
|
|
27
|
+
} from "./chunk-FGZGL5PG.js";
|
|
28
28
|
import {
|
|
29
29
|
announcementSchema,
|
|
30
30
|
authorBudgetSchema,
|
|
@@ -84,6 +84,7 @@ import {
|
|
|
84
84
|
pointLedgerDeclarationSchema,
|
|
85
85
|
pointsRewardSchema,
|
|
86
86
|
questDescriptionSchema,
|
|
87
|
+
questGallerySchema,
|
|
87
88
|
questStationsSchema,
|
|
88
89
|
quizAnswersSchema,
|
|
89
90
|
quizContentSchema,
|
|
@@ -134,7 +135,7 @@ import {
|
|
|
134
135
|
whereSettings,
|
|
135
136
|
xSearchSourceSchema,
|
|
136
137
|
youtubeShortsNamespace
|
|
137
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-74SMLZZ5.js";
|
|
138
139
|
import {
|
|
139
140
|
namedSchemaFailure,
|
|
140
141
|
parseDefinition,
|
|
@@ -1078,7 +1079,7 @@ var perStation = () => keyed((ctx) => {
|
|
|
1078
1079
|
const station = ctx.action?.reference;
|
|
1079
1080
|
if (!station) {
|
|
1080
1081
|
throw new Error(
|
|
1081
|
-
"perStation() completes from a signed transaction whose memo names a station"
|
|
1082
|
+
"perStation() completes from a check-in at a station: a signed transaction whose memo names one, or a station's code"
|
|
1082
1083
|
);
|
|
1083
1084
|
}
|
|
1084
1085
|
return station;
|
|
@@ -1210,6 +1211,7 @@ function questBuilder(template) {
|
|
|
1210
1211
|
}
|
|
1211
1212
|
const author = authorBudgets(definition.budgets);
|
|
1212
1213
|
const stations = definition.stations ? questStationsSchema.parse(definition.stations) : void 0;
|
|
1214
|
+
const gallery = definition.gallery ? questGallerySchema.parse(definition.gallery) : void 0;
|
|
1213
1215
|
validateQuestShape(
|
|
1214
1216
|
{
|
|
1215
1217
|
trigger: definition.trigger,
|
|
@@ -1222,9 +1224,10 @@ function questBuilder(template) {
|
|
|
1222
1224
|
}) : void 0,
|
|
1223
1225
|
...definition.retryCooldownMs === void 0 ? {} : { retryCooldownMs: definition.retryCooldownMs },
|
|
1224
1226
|
...definition.completionCooldownMs === void 0 ? {} : { completionCooldownMs: definition.completionCooldownMs },
|
|
1225
|
-
...stations ? { stations } : {}
|
|
1227
|
+
...stations ? { stations } : {},
|
|
1228
|
+
...gallery ? { gallery } : {}
|
|
1226
1229
|
},
|
|
1227
|
-
{ template }
|
|
1230
|
+
{ template, authoring: true }
|
|
1228
1231
|
);
|
|
1229
1232
|
if (definition.retryCooldownMs !== void 0 && !retryCooldownMsSchema.safeParse(definition.retryCooldownMs).success) {
|
|
1230
1233
|
throw new Error(
|
|
@@ -1377,7 +1380,8 @@ function questBuilder(template) {
|
|
|
1377
1380
|
...definition.availability ? { availability: definition.availability } : {},
|
|
1378
1381
|
...definition.retryCooldownMs === void 0 ? {} : { retryCooldownMs: definition.retryCooldownMs },
|
|
1379
1382
|
...definition.completionCooldownMs === void 0 ? {} : { completionCooldownMs: definition.completionCooldownMs },
|
|
1380
|
-
...stations ? { stations } : {}
|
|
1383
|
+
...stations ? { stations } : {},
|
|
1384
|
+
...gallery ? { gallery } : {}
|
|
1381
1385
|
});
|
|
1382
1386
|
}
|
|
1383
1387
|
return resourceHandle("quest", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
|
-
import { b as AttemptStatus,
|
|
3
|
-
import { S as SkipEnrollment } from './tracker-data-
|
|
2
|
+
import { b as AttemptStatus, _ as RewardType } from './accounts-COLmXRbW.js';
|
|
3
|
+
import { S as SkipEnrollment } from './tracker-data-2BYXZjsN.js';
|
|
4
4
|
|
|
5
5
|
declare const collectionCodeSchema: z.ZodString;
|
|
6
6
|
declare const collectionPassSchema: z.ZodObject<{
|
package/dist/browser.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { SubmissionStore, RelayClientOptions, RelayClient } from './index.js';
|
|
2
|
-
export { C as CosmosChains, D as DiscoveredWallet, E as Eip1193Provider, K as KeplrLike, S as SignInWallet, a as SolanaInjectedProvider, b as StandardWallet, c as StandardWalletAccount, d as cosmosChainList, e as cosmosSigner, f as discoverCosmosWallets, g as discoverEvmWallets, h as discoverSignInWallets, i as discoverSolanaWallets, j as evmSigner, s as solanaSigner, w as walletStandardSolanaSigner } from './wallet-browser-
|
|
3
|
-
export { E as EmailSignInOption, O as OAuthSignInOption, P as ProviderSignInOption, S as SignInClient, a as SignInIcon, b as SignInMethods, c as SignInOption, d as SignInOptions, e as SignInUnavailable, T as TelegramSignInOption, W as WalletSignInOption, s as signInOptions, t as telegramMiniAppInitData } from './
|
|
2
|
+
export { C as CosmosChains, D as DiscoveredWallet, E as Eip1193Provider, K as KeplrLike, S as SignInWallet, a as SolanaInjectedProvider, b as StandardWallet, c as StandardWalletAccount, d as cosmosChainList, e as cosmosSigner, f as discoverCosmosWallets, g as discoverEvmWallets, h as discoverSignInWallets, i as discoverSolanaWallets, j as evmSigner, s as solanaSigner, w as walletStandardSolanaSigner } from './wallet-browser-B5r7u3xB.js';
|
|
3
|
+
export { E as EmailSignInOption, K as KnownStationCheckInRefusal, O as OAuthSignInOption, P as ProviderSignInOption, S as SignInClient, a as SignInIcon, b as SignInMethods, c as SignInOption, d as SignInOptions, e as SignInUnavailable, f as StationCheckInOptions, g as StationCheckInRefusal, h as StationCheckInState, i as StationCheckInStation, T as TelegramSignInOption, W as WalletSignInOption, j as checkInAtStation, s as signInOptions, t as telegramMiniAppInitData } from './station-check-in-qBiaftfE.js';
|
|
4
4
|
export { H as HostEnvironment, g as getHostEnvironment } from './host-environment-DUw5-Cvj.js';
|
|
5
5
|
import { MemberSummary } from './index.js';
|
|
6
|
-
import './accounts-
|
|
6
|
+
import './accounts-COLmXRbW.js';
|
|
7
7
|
import 'zod';
|
|
8
|
-
import './tracker-data-
|
|
9
|
-
import './wallet-
|
|
10
|
-
import './submission-input-
|
|
8
|
+
import './tracker-data-2BYXZjsN.js';
|
|
9
|
+
import './wallet-BqswMAqZ.js';
|
|
10
|
+
import './submission-input-U4aIkJuT.js';
|
|
11
11
|
import './request-error-C24SY7n9.js';
|
|
12
|
-
import './reward-deliveries-
|
|
13
|
-
import './catalog-
|
|
12
|
+
import './reward-deliveries-HGpj1VFz.js';
|
|
13
|
+
import './catalog-BR3g-1H9.js';
|
|
14
14
|
import './action-BDFKqGlH.js';
|
|
15
|
-
import './sign-in-providers-
|
|
15
|
+
import './sign-in-providers-lbOXCF8N.js';
|
|
16
16
|
import './profiles-CLDKZVFx.js';
|
|
17
17
|
|
|
18
18
|
/**
|
package/dist/browser.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
browserSubmissionStore,
|
|
3
|
+
checkInAtStation,
|
|
3
4
|
cosmosChainList,
|
|
4
5
|
cosmosSigner,
|
|
5
6
|
createBrowserRelayClient,
|
|
@@ -12,25 +13,26 @@ import {
|
|
|
12
13
|
signInOptions,
|
|
13
14
|
solanaSigner,
|
|
14
15
|
walletStandardSolanaSigner
|
|
15
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-QG6XVOOO.js";
|
|
16
17
|
import {
|
|
17
18
|
telegramMiniAppInitData
|
|
18
19
|
} from "./chunk-FWLQ5XCS.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-BXUF3CRL.js";
|
|
20
21
|
import "./chunk-5RLIPTL7.js";
|
|
21
22
|
import "./chunk-LDO5GP7G.js";
|
|
22
23
|
import {
|
|
23
24
|
getHostEnvironment
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-MDSSIOBC.js";
|
|
26
|
+
import "./chunk-ASBDB436.js";
|
|
27
|
+
import "./chunk-ETGKC2SB.js";
|
|
28
|
+
import "./chunk-3KKRXN5E.js";
|
|
29
|
+
import "./chunk-TW4RABVS.js";
|
|
30
|
+
import "./chunk-FGZGL5PG.js";
|
|
31
|
+
import "./chunk-74SMLZZ5.js";
|
|
31
32
|
import "./chunk-VNEJH4NT.js";
|
|
32
33
|
export {
|
|
33
34
|
browserSubmissionStore,
|
|
35
|
+
checkInAtStation,
|
|
34
36
|
cosmosChainList,
|
|
35
37
|
cosmosSigner,
|
|
36
38
|
createBrowserRelayClient,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as AttemptStatus,
|
|
2
|
-
import { S as SolanaIdlSource } from './wallet-
|
|
1
|
+
import { b as AttemptStatus, X as AttemptCodeSource, W as KnownAttemptActionKind, Y as IntegrationModuleProvider, Z as GalleryKind, _ as RewardType, $ as questDescriptionSchema } from './accounts-COLmXRbW.js';
|
|
2
|
+
import { S as SolanaIdlSource } from './wallet-BqswMAqZ.js';
|
|
3
3
|
import * as z from 'zod';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -400,7 +400,14 @@ declare const questTypeVersionSchema: z.ZodObject<{
|
|
|
400
400
|
label: z.ZodString;
|
|
401
401
|
opensAt: z.ZodOptional<z.ZodNumber>;
|
|
402
402
|
closesAt: z.ZodOptional<z.ZodNumber>;
|
|
403
|
+
proof: z.ZodOptional<z.ZodEnum<{
|
|
404
|
+
code: "code";
|
|
405
|
+
transaction: "transaction";
|
|
406
|
+
}>>;
|
|
403
407
|
}, z.core.$strict>>>;
|
|
408
|
+
gallery: z.ZodOptional<z.ZodObject<{
|
|
409
|
+
kind: z.ZodType<GalleryKind>;
|
|
410
|
+
}, z.core.$strict>>;
|
|
404
411
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
405
412
|
kind: z.ZodLiteral<"streak">;
|
|
406
413
|
days: z.ZodNumber;
|
|
@@ -1195,7 +1202,14 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1195
1202
|
label: z.ZodString;
|
|
1196
1203
|
opensAt: z.ZodOptional<z.ZodNumber>;
|
|
1197
1204
|
closesAt: z.ZodOptional<z.ZodNumber>;
|
|
1205
|
+
proof: z.ZodOptional<z.ZodEnum<{
|
|
1206
|
+
code: "code";
|
|
1207
|
+
transaction: "transaction";
|
|
1208
|
+
}>>;
|
|
1198
1209
|
}, z.core.$strict>>>;
|
|
1210
|
+
gallery: z.ZodOptional<z.ZodObject<{
|
|
1211
|
+
kind: z.ZodType<GalleryKind>;
|
|
1212
|
+
}, z.core.$strict>>;
|
|
1199
1213
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1200
1214
|
kind: z.ZodLiteral<"streak">;
|
|
1201
1215
|
days: z.ZodNumber;
|
|
@@ -1872,7 +1886,14 @@ declare const questCatalogSchema: z.ZodObject<{
|
|
|
1872
1886
|
label: z.ZodString;
|
|
1873
1887
|
opensAt: z.ZodOptional<z.ZodNumber>;
|
|
1874
1888
|
closesAt: z.ZodOptional<z.ZodNumber>;
|
|
1889
|
+
proof: z.ZodOptional<z.ZodEnum<{
|
|
1890
|
+
code: "code";
|
|
1891
|
+
transaction: "transaction";
|
|
1892
|
+
}>>;
|
|
1875
1893
|
}, z.core.$strict>>>;
|
|
1894
|
+
gallery: z.ZodOptional<z.ZodObject<{
|
|
1895
|
+
kind: z.ZodType<GalleryKind>;
|
|
1896
|
+
}, z.core.$strict>>;
|
|
1876
1897
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1877
1898
|
kind: z.ZodLiteral<"streak">;
|
|
1878
1899
|
days: z.ZodNumber;
|
|
@@ -2438,7 +2459,14 @@ declare const catalogDeploymentPreviewSchema: z.ZodObject<{
|
|
|
2438
2459
|
label: z.ZodString;
|
|
2439
2460
|
opensAt: z.ZodOptional<z.ZodNumber>;
|
|
2440
2461
|
closesAt: z.ZodOptional<z.ZodNumber>;
|
|
2462
|
+
proof: z.ZodOptional<z.ZodEnum<{
|
|
2463
|
+
code: "code";
|
|
2464
|
+
transaction: "transaction";
|
|
2465
|
+
}>>;
|
|
2441
2466
|
}, z.core.$strict>>>;
|
|
2467
|
+
gallery: z.ZodOptional<z.ZodObject<{
|
|
2468
|
+
kind: z.ZodType<GalleryKind>;
|
|
2469
|
+
}, z.core.$strict>>;
|
|
2442
2470
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2443
2471
|
kind: z.ZodLiteral<"streak">;
|
|
2444
2472
|
days: z.ZodNumber;
|
|
@@ -3105,6 +3133,7 @@ declare const questViewSchema: z.ZodObject<{
|
|
|
3105
3133
|
wallet: z.ZodString;
|
|
3106
3134
|
reference: z.ZodNullable<z.ZodString>;
|
|
3107
3135
|
}, z.core.$strip>>>;
|
|
3136
|
+
station: z.ZodOptional<z.ZodString>;
|
|
3108
3137
|
}, z.core.$strip>>;
|
|
3109
3138
|
release: z.ZodString;
|
|
3110
3139
|
interaction: z.ZodEnum<{
|
|
@@ -3634,6 +3663,7 @@ declare const collectionViewSchema: z.ZodObject<{
|
|
|
3634
3663
|
wallet: z.ZodString;
|
|
3635
3664
|
reference: z.ZodNullable<z.ZodString>;
|
|
3636
3665
|
}, z.core.$strip>>>;
|
|
3666
|
+
station: z.ZodOptional<z.ZodString>;
|
|
3637
3667
|
}, z.core.$strip>>;
|
|
3638
3668
|
release: z.ZodString;
|
|
3639
3669
|
interaction: z.ZodEnum<{
|
|
@@ -4344,6 +4374,7 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
4344
4374
|
wallet: z.ZodString;
|
|
4345
4375
|
reference: z.ZodNullable<z.ZodString>;
|
|
4346
4376
|
}, z.core.$strip>>>;
|
|
4377
|
+
station: z.ZodOptional<z.ZodString>;
|
|
4347
4378
|
}, z.core.$strip>>;
|
|
4348
4379
|
release: z.ZodString;
|
|
4349
4380
|
interaction: z.ZodEnum<{
|
|
@@ -4873,6 +4904,7 @@ declare const questExperienceSchema: z.ZodObject<{
|
|
|
4873
4904
|
wallet: z.ZodString;
|
|
4874
4905
|
reference: z.ZodNullable<z.ZodString>;
|
|
4875
4906
|
}, z.core.$strip>>>;
|
|
4907
|
+
station: z.ZodOptional<z.ZodString>;
|
|
4876
4908
|
}, z.core.$strip>>;
|
|
4877
4909
|
release: z.ZodString;
|
|
4878
4910
|
interaction: z.ZodEnum<{
|
|
@@ -5482,7 +5514,14 @@ declare const questPublicationPreviewSchema: z.ZodObject<{
|
|
|
5482
5514
|
label: z.ZodString;
|
|
5483
5515
|
opensAt: z.ZodOptional<z.ZodNumber>;
|
|
5484
5516
|
closesAt: z.ZodOptional<z.ZodNumber>;
|
|
5517
|
+
proof: z.ZodOptional<z.ZodEnum<{
|
|
5518
|
+
code: "code";
|
|
5519
|
+
transaction: "transaction";
|
|
5520
|
+
}>>;
|
|
5485
5521
|
}, z.core.$strict>>>;
|
|
5522
|
+
gallery: z.ZodOptional<z.ZodObject<{
|
|
5523
|
+
kind: z.ZodType<GalleryKind>;
|
|
5524
|
+
}, z.core.$strict>>;
|
|
5486
5525
|
completion: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5487
5526
|
kind: z.ZodLiteral<"streak">;
|
|
5488
5527
|
days: z.ZodNumber;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createHttpExchange,
|
|
3
3
|
uncertainStatuses
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ASBDB436.js";
|
|
5
5
|
import {
|
|
6
6
|
MANAGEMENT_TIMEOUT,
|
|
7
7
|
lifetime,
|
|
8
8
|
retrying,
|
|
9
9
|
validTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ETGKC2SB.js";
|
|
11
11
|
import {
|
|
12
12
|
base58Bytes,
|
|
13
13
|
evmAddressSchema,
|
|
14
14
|
knownResponse,
|
|
15
15
|
solanaDevnet,
|
|
16
16
|
solanaMainnet
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-74SMLZZ5.js";
|
|
18
18
|
import {
|
|
19
19
|
RequestError,
|
|
20
20
|
isRequestError
|
|
@@ -437,6 +437,13 @@ function containsReferralIntegrationReward(value) {
|
|
|
437
437
|
);
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
+
// src/csv.ts
|
|
441
|
+
var csvField = (value) => {
|
|
442
|
+
const text2 = value == null ? "" : String(value);
|
|
443
|
+
return /[",\r\n]/.test(text2) ? `"${text2.replaceAll('"', '""')}"` : text2;
|
|
444
|
+
};
|
|
445
|
+
var csvLines = (rows) => rows.map((fields) => fields.map(csvField).join(",")).join("\n");
|
|
446
|
+
|
|
440
447
|
export {
|
|
441
448
|
questConfiguration,
|
|
442
449
|
hex,
|
|
@@ -455,5 +462,6 @@ export {
|
|
|
455
462
|
managementTransport,
|
|
456
463
|
sequenceCursorSchema,
|
|
457
464
|
REFERRAL_INTEGRATION_REWARD_ERROR,
|
|
458
|
-
containsReferralIntegrationReward
|
|
465
|
+
containsReferralIntegrationReward,
|
|
466
|
+
csvLines
|
|
459
467
|
};
|