@domino-sdk/relay 1.72.0 → 1.74.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 +25 -0
- package/dist/{accounts-COLmXRbW.d.ts → accounts-C9as33l1.d.ts} +2 -2
- package/dist/{attempt-captures-CVl161qB.d.ts → attempt-captures-DU4vi20Y.d.ts} +2 -2
- package/dist/authoring.d.ts +103 -106
- package/dist/authoring.js +187 -286
- package/dist/{automatic-outcomes-5l68PGr1.d.ts → automatic-outcomes-D0yMHSHL.d.ts} +2 -2
- package/dist/browser.d.ts +9 -9
- package/dist/browser.js +11 -11
- package/dist/{dashboards-DXpjHnq-.d.ts → capability-error-Bn6cCqof.d.ts} +298 -5
- package/dist/{catalog-BR3g-1H9.d.ts → catalog-9I6t18qP.d.ts} +2 -2
- package/dist/{chunk-W6DBNBMT.js → chunk-2LURSPDM.js} +232 -232
- package/dist/{chunk-VNEJH4NT.js → chunk-2M5FM7FW.js} +21 -0
- package/dist/{chunk-74SMLZZ5.js → chunk-6TDHRGBM.js} +1522 -1278
- package/dist/{chunk-QG6XVOOO.js → chunk-724CKAC7.js} +4 -4
- package/dist/{chunk-I7XIBXT2.js → chunk-7I7P5UVC.js} +3 -3
- package/dist/{chunk-LDO5GP7G.js → chunk-AL5XMXPO.js} +1 -1
- package/dist/{chunk-TW4RABVS.js → chunk-CW7FJ5PX.js} +1 -1
- package/dist/{chunk-BXUF3CRL.js → chunk-DNOLNMCW.js} +9 -9
- package/dist/{chunk-5RLIPTL7.js → chunk-E73HZCG2.js} +1 -1
- package/dist/{chunk-UEVZ3TST.js → chunk-ELHMJODS.js} +1 -1
- package/dist/{chunk-ASBDB436.js → chunk-F66GGNKD.js} +1 -1
- package/dist/{chunk-ETGKC2SB.js → chunk-HCOLMJFX.js} +2 -2
- package/dist/chunk-JZT2NLSG.js +7201 -0
- package/dist/{chunk-FGZGL5PG.js → chunk-KGZ7SRKJ.js} +2 -2
- package/dist/{chunk-3KKRXN5E.js → chunk-KP55TMCC.js} +1 -1
- package/dist/chunk-NI6XRGEL.js +374 -0
- package/dist/{chunk-VFHLMNYV.js → chunk-RALBAKKX.js} +1 -1
- package/dist/chunk-SVZ3QWHT.js +142 -0
- package/dist/{chunk-CVJTIVAP.js → chunk-T4PTFCSB.js} +2 -2
- package/dist/{chunk-KIRXE37T.js → chunk-TGQNNMCY.js} +6 -6
- package/dist/{client-B__hMWtK.d.ts → client-B2aVGf38.d.ts} +7 -7
- package/dist/{deployments-CT2kQloT.d.ts → deployments-CGV1rIZm.d.ts} +107 -107
- package/dist/{identity-integration-ClX4oUAu.d.ts → identity-integration-C03rUYc0.d.ts} +3 -3
- package/dist/index.d.ts +10 -10
- package/dist/index.js +10 -10
- package/dist/internal.d.ts +36197 -18
- package/dist/internal.js +518 -15
- package/dist/{limits-B7wbnWhd.d.ts → limits-p-Mg0oSi.d.ts} +1 -1
- package/dist/{offers-D4pyeY9b.d.ts → offers-CnMyMeQo.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 +11 -11
- package/dist/react/index.js +11 -11
- package/dist/{reward-deliveries-HGpj1VFz.d.ts → reward-deliveries-zWfsgc6m.d.ts} +1 -1
- package/dist/runtime/authoring.js +1 -1
- package/dist/runtime/chunks/NYEWMPJH.js +1 -0
- package/dist/runtime/manifest.json +3 -3
- package/dist/runtime/schema.js +1 -1
- package/dist/schema.d.ts +35 -60
- package/dist/schema.js +10 -8
- package/dist/server/index.d.ts +13 -13
- package/dist/server/index.js +2972 -4528
- package/dist/{sign-in-providers-lbOXCF8N.d.ts → sign-in-providers-BG22ZZkl.d.ts} +2 -2
- package/dist/solana.d.ts +13 -13
- package/dist/solana.js +9 -9
- package/dist/stake-BSVjB3BJ.d.ts +254 -0
- package/dist/{station-check-in-qBiaftfE.d.ts → station-check-in-a1deSjbm.d.ts} +5 -5
- package/dist/{submission-input-U4aIkJuT.d.ts → submission-input-DBDLkTF8.d.ts} +2 -2
- package/dist/telegram.d.ts +7 -7
- package/dist/telegram.js +2 -2
- package/dist/testing.d.ts +159 -160
- package/dist/testing.js +47 -344
- package/dist/{tracker-data-2BYXZjsN.d.ts → tracker-data-Dwq9dWEm.d.ts} +474 -221
- package/dist/{transport-DcRXDZ1j.d.ts → transport-D77Rbf4D.d.ts} +77050 -74062
- package/dist/{wallet-BqswMAqZ.d.ts → wallet-CeqgtXNm.d.ts} +2 -7
- package/dist/{wallet-browser-B5r7u3xB.d.ts → wallet-browser-Cucpqn3F.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/capability-error-db7kO8-P.d.ts +0 -297
- package/dist/chunk-2UELTHW6.js +0 -467
- package/dist/chunk-GHBYWDEZ.js +0 -94
- package/dist/chunk-HN7DE2UN.js +0 -53
- package/dist/runtime/chunks/A7G5P76B.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { J as SignInProvider } from './accounts-
|
|
1
|
+
import { J as SignInProvider } from './accounts-C9as33l1.js';
|
|
2
2
|
import * as z from 'zod';
|
|
3
|
-
import { a as TelegramSignInMethods } from './submission-input-
|
|
3
|
+
import { a as TelegramSignInMethods } from './submission-input-DBDLkTF8.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* `GET /v1/auth/providers`, as `relay.auth.providers()` reads it. Exported as a schema only, for the
|
package/dist/solana.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { Rpc, GetAccountInfoApi, GetBlockHeightApi, GetLatestBlockhashApi, GetMinimumBalanceForRentExemptionApi, GetSignatureStatusesApi, SendTransactionApi, GetTransactionApi, TransactionSigner, KeyPairSigner, Address, Signature } from '@solana/kit';
|
|
2
|
-
import {
|
|
3
|
-
export { s as solanaDevnet,
|
|
2
|
+
import { k as SolanaNetwork } from './wallet-CeqgtXNm.js';
|
|
3
|
+
export { s as solanaDevnet, l as solanaMainnet } from './wallet-CeqgtXNm.js';
|
|
4
4
|
import { ManagementClient, WebhookEvent, CompletionReceipt } from './server/index.js';
|
|
5
5
|
import 'zod';
|
|
6
|
-
import './
|
|
7
|
-
import './tracker-data-
|
|
8
|
-
import './
|
|
9
|
-
import './
|
|
10
|
-
import './request-error-C24SY7n9.js';
|
|
6
|
+
import './reward-deliveries-zWfsgc6m.js';
|
|
7
|
+
import './tracker-data-Dwq9dWEm.js';
|
|
8
|
+
import './accounts-C9as33l1.js';
|
|
9
|
+
import './identity-integration-C03rUYc0.js';
|
|
11
10
|
import './action-BDFKqGlH.js';
|
|
12
|
-
import './
|
|
13
|
-
import './
|
|
11
|
+
import './request-error-C24SY7n9.js';
|
|
12
|
+
import './limits-p-Mg0oSi.js';
|
|
13
|
+
import './automatic-outcomes-D0yMHSHL.js';
|
|
14
14
|
import './profiles-CLDKZVFx.js';
|
|
15
|
-
import './
|
|
16
|
-
import './
|
|
17
|
-
import './catalog-
|
|
18
|
-
import './attempt-captures-
|
|
15
|
+
import './offers-CnMyMeQo.js';
|
|
16
|
+
import './deployments-CGV1rIZm.js';
|
|
17
|
+
import './catalog-9I6t18qP.js';
|
|
18
|
+
import './attempt-captures-DU4vi20Y.js';
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* The RPC methods the badge helpers call. `createSolanaRpc(url)` from `@solana/kit` answers all of
|
package/dist/solana.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
maxCompletionReceipts,
|
|
3
3
|
walletLinkedEventDataSchema
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-2LURSPDM.js";
|
|
5
|
+
import "./chunk-TGQNNMCY.js";
|
|
6
|
+
import "./chunk-RALBAKKX.js";
|
|
7
|
+
import "./chunk-T4PTFCSB.js";
|
|
8
8
|
import "./chunk-MWMCQLCG.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-KP55TMCC.js";
|
|
10
|
+
import "./chunk-CW7FJ5PX.js";
|
|
11
|
+
import "./chunk-KGZ7SRKJ.js";
|
|
12
12
|
import {
|
|
13
13
|
paginate,
|
|
14
14
|
solanaDevnet,
|
|
15
15
|
solanaMainnet,
|
|
16
16
|
solanaMemoProgram
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-6TDHRGBM.js";
|
|
18
|
+
import "./chunk-2M5FM7FW.js";
|
|
19
19
|
|
|
20
20
|
// src/solana.ts
|
|
21
21
|
import {
|
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
import * as z from 'zod';
|
|
2
|
+
import { q as WalletBalanceSourceQuery, r as WalletProgramActivitySourceQuery, t as WalletNftSourceQuery, N as NftCollection, u as WalletStakeSourceQuery } from './wallet-CeqgtXNm.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* The namespace of the tracker source `wallet.balances()` makes. Relay alone writes its records,
|
|
6
|
+
* by sampling members' linked wallets once a day; ingestion into it is refused.
|
|
7
|
+
*/
|
|
8
|
+
declare const walletBalancesNamespace = "wallet-balances";
|
|
9
|
+
/**
|
|
10
|
+
* What a `wallet.balances()` source samples: a chain's CAIP-2 ID (Solana mainnet or devnet, an EVM
|
|
11
|
+
* chain or a Cosmos SDK chain) and the token as written in code (an SPL or Token-2022 mint, an ERC-20
|
|
12
|
+
* contract or a Cosmos bank denomination), null for a native coin.
|
|
13
|
+
*/
|
|
14
|
+
declare const walletBalanceSourceSchema: z.ZodObject<{
|
|
15
|
+
chain: z.ZodString;
|
|
16
|
+
token: z.ZodNullable<z.ZodString>;
|
|
17
|
+
}, z.core.$strict>;
|
|
18
|
+
/**
|
|
19
|
+
* The chain and token a `wallet.balances()` source stores: the chain's CAIP-2 ID (Solana mainnet's
|
|
20
|
+
* for `"solana"`), and the token as given, or null for a native coin. Throws on a chain or token
|
|
21
|
+
* that no wallet balance could have; whether Relay reads the chain is checked when it samples.
|
|
22
|
+
*/
|
|
23
|
+
declare function walletBalanceSource(query: WalletBalanceSourceQuery): {
|
|
24
|
+
chain: string;
|
|
25
|
+
token: string | null;
|
|
26
|
+
};
|
|
27
|
+
declare const walletBalances: {
|
|
28
|
+
readonly namespace: "wallet-balances";
|
|
29
|
+
readonly field: "balance";
|
|
30
|
+
readonly source: z.ZodObject<{
|
|
31
|
+
chain: z.ZodString;
|
|
32
|
+
token: z.ZodNullable<z.ZodString>;
|
|
33
|
+
}, z.core.$strict>;
|
|
34
|
+
readonly misplaced: "Only wallet.balances() samples a balance";
|
|
35
|
+
readonly stored: z.ZodObject<{
|
|
36
|
+
chain: z.ZodString;
|
|
37
|
+
token: z.ZodNullable<z.ZodString>;
|
|
38
|
+
}, z.core.$strict>;
|
|
39
|
+
} & {
|
|
40
|
+
readonly builder: "balances";
|
|
41
|
+
readonly sample: z.ZodObject<{
|
|
42
|
+
amount: z.ZodString;
|
|
43
|
+
decimals: z.ZodNullable<z.ZodNumber>;
|
|
44
|
+
block: z.ZodString;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
readonly management: z.ZodObject<{
|
|
47
|
+
chain: z.ZodString;
|
|
48
|
+
token: z.ZodNullable<z.ZodString>;
|
|
49
|
+
kind: z.ZodLiteral<"wallet-balances">;
|
|
50
|
+
}, z.core.$strict>;
|
|
51
|
+
readonly create: "managed";
|
|
52
|
+
readonly limit: 5;
|
|
53
|
+
readonly settings: typeof walletBalanceSource;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* The namespace of the tracker source `wallet.programActivity()` makes. Relay alone writes its
|
|
58
|
+
* records, by reading members' linked Solana wallets; ingestion into it is refused.
|
|
59
|
+
*/
|
|
60
|
+
declare const walletProgramActivityNamespace = "wallet-program-activity";
|
|
61
|
+
/**
|
|
62
|
+
* What a `wallet.programActivity()` source records: the Solana cluster's CAIP-2 ID (mainnet or
|
|
63
|
+
* devnet), the program, and the optional narrowing to one Anchor instruction (by its IDL name) and
|
|
64
|
+
* to a change of one SPL mint (base58) of at least `minAmount` base units. `anySigner` also counts
|
|
65
|
+
* transactions the wallet did not sign.
|
|
66
|
+
*/
|
|
67
|
+
declare const walletProgramActivitySourceSchema: z.ZodObject<{
|
|
68
|
+
chain: z.ZodString;
|
|
69
|
+
program: z.ZodString;
|
|
70
|
+
instruction: z.ZodNullable<z.ZodString>;
|
|
71
|
+
mint: z.ZodNullable<z.ZodString>;
|
|
72
|
+
minAmount: z.ZodNullable<z.ZodString>;
|
|
73
|
+
anySigner: z.ZodBoolean;
|
|
74
|
+
}, z.core.$strict>;
|
|
75
|
+
/**
|
|
76
|
+
* `wallet.programActivity({ chain, program, ... })` as the management API names it, with the
|
|
77
|
+
* cluster's CAIP-2 ID and null for each narrowing left out.
|
|
78
|
+
*/
|
|
79
|
+
declare const walletProgramActivityTrackerSourceSchema: z.ZodObject<{
|
|
80
|
+
chain: z.ZodString;
|
|
81
|
+
program: z.ZodString;
|
|
82
|
+
instruction: z.ZodNullable<z.ZodString>;
|
|
83
|
+
mint: z.ZodNullable<z.ZodString>;
|
|
84
|
+
minAmount: z.ZodNullable<z.ZodString>;
|
|
85
|
+
anySigner: z.ZodBoolean;
|
|
86
|
+
kind: z.ZodLiteral<"wallet-program-activity">;
|
|
87
|
+
}, z.core.$strict>;
|
|
88
|
+
/** A program activity source as `management.trackers.create` names it. */
|
|
89
|
+
type WalletProgramActivityTrackerSource = z.infer<typeof walletProgramActivityTrackerSourceSchema>;
|
|
90
|
+
/**
|
|
91
|
+
* The program activity a `wallet.programActivity()` source stores. Throws on a cluster, address,
|
|
92
|
+
* instruction name or amount no Solana program activity could have; whether the program publishes
|
|
93
|
+
* the instruction in an IDL is checked when the tracker is published.
|
|
94
|
+
*/
|
|
95
|
+
declare function walletProgramActivitySource(query: WalletProgramActivitySourceQuery): {
|
|
96
|
+
chain: string;
|
|
97
|
+
program: string;
|
|
98
|
+
instruction: string | null;
|
|
99
|
+
mint: string | null;
|
|
100
|
+
minAmount: string | null;
|
|
101
|
+
anySigner: boolean;
|
|
102
|
+
};
|
|
103
|
+
declare const walletProgramActivity: {
|
|
104
|
+
readonly namespace: "wallet-program-activity";
|
|
105
|
+
readonly field: "activity";
|
|
106
|
+
readonly source: z.ZodObject<{
|
|
107
|
+
chain: z.ZodString;
|
|
108
|
+
program: z.ZodString;
|
|
109
|
+
instruction: z.ZodNullable<z.ZodString>;
|
|
110
|
+
mint: z.ZodNullable<z.ZodString>;
|
|
111
|
+
minAmount: z.ZodNullable<z.ZodString>;
|
|
112
|
+
anySigner: z.ZodBoolean;
|
|
113
|
+
}, z.core.$strict>;
|
|
114
|
+
readonly misplaced: "Only wallet.programActivity() records program activity";
|
|
115
|
+
readonly stored: z.ZodObject<{
|
|
116
|
+
chain: z.ZodString;
|
|
117
|
+
program: z.ZodString;
|
|
118
|
+
instruction: z.ZodNullable<z.ZodString>;
|
|
119
|
+
mint: z.ZodNullable<z.ZodString>;
|
|
120
|
+
minAmount: z.ZodNullable<z.ZodString>;
|
|
121
|
+
anySigner: z.ZodBoolean;
|
|
122
|
+
}, z.core.$strip>;
|
|
123
|
+
} & {
|
|
124
|
+
readonly builder: "programActivity";
|
|
125
|
+
readonly sample: z.ZodObject<{
|
|
126
|
+
signature: z.ZodString;
|
|
127
|
+
slot: z.ZodString;
|
|
128
|
+
timestamp: z.ZodNumber;
|
|
129
|
+
signer: z.ZodBoolean;
|
|
130
|
+
instruction: z.ZodNullable<z.ZodString>;
|
|
131
|
+
amount: z.ZodNullable<z.ZodString>;
|
|
132
|
+
delta: z.ZodNullable<z.ZodString>;
|
|
133
|
+
}, z.core.$strip>;
|
|
134
|
+
readonly management: z.ZodObject<{
|
|
135
|
+
chain: z.ZodString;
|
|
136
|
+
program: z.ZodString;
|
|
137
|
+
instruction: z.ZodNullable<z.ZodString>;
|
|
138
|
+
mint: z.ZodNullable<z.ZodString>;
|
|
139
|
+
minAmount: z.ZodNullable<z.ZodString>;
|
|
140
|
+
anySigner: z.ZodBoolean;
|
|
141
|
+
kind: z.ZodLiteral<"wallet-program-activity">;
|
|
142
|
+
}, z.core.$strict>;
|
|
143
|
+
readonly create: "own";
|
|
144
|
+
readonly limit: 20;
|
|
145
|
+
readonly settings: typeof walletProgramActivitySource;
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* The namespace of the tracker source `wallet.nfts()` makes. Relay alone writes its records, by
|
|
150
|
+
* sampling members' linked wallets once a day; ingestion into it is refused.
|
|
151
|
+
*/
|
|
152
|
+
declare const walletNftsNamespace = "wallet-nfts";
|
|
153
|
+
/**
|
|
154
|
+
* What a `wallet.nfts()` source samples: an NFT collection as `ctx.wallet.nfts()` takes it, an
|
|
155
|
+
* ERC-721 contract or one ERC-1155 token ID on an EVM chain, or a Metaplex collection or Token-2022
|
|
156
|
+
* token group on Solana mainnet or devnet. Syntax only; whether Relay reads it is checked when it samples.
|
|
157
|
+
*/
|
|
158
|
+
declare const walletNftSourceSchema: z.ZodObject<{
|
|
159
|
+
collection: z.ZodString;
|
|
160
|
+
}, z.core.$strict>;
|
|
161
|
+
/** `wallet.nfts({ collection })` as the management API names it. */
|
|
162
|
+
declare const walletNftsTrackerSourceSchema: z.ZodObject<{
|
|
163
|
+
collection: z.ZodString;
|
|
164
|
+
kind: z.ZodLiteral<"wallet-nfts">;
|
|
165
|
+
}, z.core.$strict>;
|
|
166
|
+
/** An NFT holdings source as `management.trackers.create` names it. */
|
|
167
|
+
type WalletNftsTrackerSource = z.infer<typeof walletNftsTrackerSourceSchema>;
|
|
168
|
+
/** The collection a `wallet.nfts()` source stores. Throws on a value that is not an NFT collection. */
|
|
169
|
+
declare function walletNftSource(query: WalletNftSourceQuery): {
|
|
170
|
+
collection: NftCollection;
|
|
171
|
+
};
|
|
172
|
+
declare const walletNfts: {
|
|
173
|
+
readonly namespace: "wallet-nfts";
|
|
174
|
+
readonly field: "nfts";
|
|
175
|
+
readonly source: z.ZodObject<{
|
|
176
|
+
collection: z.ZodString;
|
|
177
|
+
}, z.core.$strict>;
|
|
178
|
+
readonly misplaced: "Only wallet.nfts() samples NFTs";
|
|
179
|
+
readonly stored: z.ZodObject<{
|
|
180
|
+
collection: z.ZodString;
|
|
181
|
+
}, z.core.$strip>;
|
|
182
|
+
} & {
|
|
183
|
+
readonly builder: "nfts";
|
|
184
|
+
readonly sample: z.ZodObject<{
|
|
185
|
+
count: z.ZodString;
|
|
186
|
+
block: z.ZodString;
|
|
187
|
+
}, z.core.$strip>;
|
|
188
|
+
readonly management: z.ZodObject<{
|
|
189
|
+
collection: z.ZodString;
|
|
190
|
+
kind: z.ZodLiteral<"wallet-nfts">;
|
|
191
|
+
}, z.core.$strict>;
|
|
192
|
+
readonly create: "own";
|
|
193
|
+
readonly limit: 5;
|
|
194
|
+
readonly settings: typeof walletNftSource;
|
|
195
|
+
};
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* The namespace of the tracker source `wallet.stake()` makes. Relay alone writes its records, by
|
|
199
|
+
* sampling members' linked Solana wallets once a day; ingestion into it is refused.
|
|
200
|
+
*/
|
|
201
|
+
declare const walletStakeNamespace = "wallet-stake";
|
|
202
|
+
/**
|
|
203
|
+
* What a `wallet.stake()` source samples: the Solana cluster's CAIP-2 ID (mainnet or devnet) and
|
|
204
|
+
* the vote account (base58) whose delegations count, or null for every validator.
|
|
205
|
+
*/
|
|
206
|
+
declare const walletStakeSourceSchema: z.ZodObject<{
|
|
207
|
+
chain: z.ZodString;
|
|
208
|
+
voteAccount: z.ZodNullable<z.ZodString>;
|
|
209
|
+
}, z.core.$strict>;
|
|
210
|
+
/** `wallet.stake({ chain, voteAccount })` as the management API names it. */
|
|
211
|
+
declare const walletStakeTrackerSourceSchema: z.ZodObject<{
|
|
212
|
+
chain: z.ZodString;
|
|
213
|
+
voteAccount: z.ZodNullable<z.ZodString>;
|
|
214
|
+
kind: z.ZodLiteral<"wallet-stake">;
|
|
215
|
+
}, z.core.$strict>;
|
|
216
|
+
/** A stake source as `management.trackers.create` names it. */
|
|
217
|
+
type WalletStakeTrackerSource = z.infer<typeof walletStakeTrackerSourceSchema>;
|
|
218
|
+
/** The cluster and vote account a `wallet.stake()` source stores. Throws on one it can't have. */
|
|
219
|
+
declare function walletStakeSource(query?: WalletStakeSourceQuery): {
|
|
220
|
+
chain: string;
|
|
221
|
+
voteAccount: string | null;
|
|
222
|
+
};
|
|
223
|
+
declare const walletStake: {
|
|
224
|
+
readonly namespace: "wallet-stake";
|
|
225
|
+
readonly field: "stake";
|
|
226
|
+
readonly source: z.ZodObject<{
|
|
227
|
+
chain: z.ZodString;
|
|
228
|
+
voteAccount: z.ZodNullable<z.ZodString>;
|
|
229
|
+
}, z.core.$strict>;
|
|
230
|
+
readonly misplaced: "Only wallet.stake() samples stake";
|
|
231
|
+
readonly stored: z.ZodObject<{
|
|
232
|
+
chain: z.ZodString;
|
|
233
|
+
voteAccount: z.ZodNullable<z.ZodString>;
|
|
234
|
+
}, z.core.$strip>;
|
|
235
|
+
} & {
|
|
236
|
+
readonly builder: "stake";
|
|
237
|
+
readonly sample: z.ZodObject<{
|
|
238
|
+
amount: z.ZodString;
|
|
239
|
+
activating: z.ZodString;
|
|
240
|
+
deactivating: z.ZodString;
|
|
241
|
+
block: z.ZodString;
|
|
242
|
+
}, z.core.$strip>;
|
|
243
|
+
readonly management: z.ZodObject<{
|
|
244
|
+
chain: z.ZodString;
|
|
245
|
+
voteAccount: z.ZodNullable<z.ZodString>;
|
|
246
|
+
kind: z.ZodLiteral<"wallet-stake">;
|
|
247
|
+
}, z.core.$strict>;
|
|
248
|
+
readonly create: "own";
|
|
249
|
+
readonly limit: 5;
|
|
250
|
+
readonly settings: typeof walletStakeSource;
|
|
251
|
+
};
|
|
252
|
+
|
|
253
|
+
export { walletBalancesNamespace as c, walletNftSourceSchema as d, walletNftsNamespace as e, walletNftsTrackerSourceSchema as f, walletProgramActivityNamespace as g, walletProgramActivitySourceSchema as h, walletProgramActivityTrackerSourceSchema as i, walletStakeNamespace as j, walletStakeSourceSchema as k, walletStakeTrackerSourceSchema as l, walletBalances as m, walletNfts as n, walletProgramActivity as o, walletStake as p, walletBalanceSourceSchema as w };
|
|
254
|
+
export type { WalletNftsTrackerSource as W, WalletProgramActivityTrackerSource as a, WalletStakeTrackerSource as b };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as AuthProvider, J as SignInProvider, a as Attempt } from './accounts-
|
|
2
|
-
import { p as createRelayClient, k as RelayRequestOptions, g as RelayError, R as RelayClient } from './client-
|
|
3
|
-
import { a as TelegramSignInMethods } from './submission-input-
|
|
1
|
+
import { c as AuthProvider, J as SignInProvider, a as Attempt } from './accounts-C9as33l1.js';
|
|
2
|
+
import { p as createRelayClient, k as RelayRequestOptions, g as RelayError, R as RelayClient } from './client-B2aVGf38.js';
|
|
3
|
+
import { a as TelegramSignInMethods } from './submission-input-DBDLkTF8.js';
|
|
4
4
|
import { b as ParticipantSession } from './participant-activity-BznrcePT.js';
|
|
5
|
-
import { e as WalletSignInNetwork, g as WalletSigner } from './wallet-
|
|
6
|
-
import { C as CosmosChains } from './wallet-browser-
|
|
5
|
+
import { e as WalletSignInNetwork, g as WalletSigner } from './wallet-CeqgtXNm.js';
|
|
6
|
+
import { C as CosmosChains } from './wallet-browser-Cucpqn3F.js';
|
|
7
7
|
|
|
8
8
|
type Auth = ReturnType<typeof createRelayClient>["auth"];
|
|
9
9
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
|
-
import { L as LedgerReference, Q as QuestHandle } from './tracker-data-
|
|
3
|
-
import { B as ProjectGroupReference } from './accounts-
|
|
2
|
+
import { L as LedgerReference, Q as QuestHandle } from './tracker-data-Dwq9dWEm.js';
|
|
3
|
+
import { B as ProjectGroupReference } from './accounts-C9as33l1.js';
|
|
4
4
|
|
|
5
5
|
declare const completionPrerequisiteSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6
6
|
kind: z.ZodLiteral<"completion">;
|
package/dist/telegram.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { RelayRequestOptions, RelayClient } from './index.js';
|
|
2
2
|
import { ParticipantSession } from './index.js';
|
|
3
|
-
import './accounts-
|
|
3
|
+
import './accounts-C9as33l1.js';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import './tracker-data-
|
|
6
|
-
import './wallet-
|
|
7
|
-
import './submission-input-
|
|
5
|
+
import './tracker-data-Dwq9dWEm.js';
|
|
6
|
+
import './wallet-CeqgtXNm.js';
|
|
7
|
+
import './submission-input-DBDLkTF8.js';
|
|
8
8
|
import './request-error-C24SY7n9.js';
|
|
9
|
-
import './reward-deliveries-
|
|
10
|
-
import './catalog-
|
|
9
|
+
import './reward-deliveries-zWfsgc6m.js';
|
|
10
|
+
import './catalog-9I6t18qP.js';
|
|
11
11
|
import './action-BDFKqGlH.js';
|
|
12
|
-
import './sign-in-providers-
|
|
12
|
+
import './sign-in-providers-BG22ZZkl.js';
|
|
13
13
|
import './profiles-CLDKZVFx.js';
|
|
14
14
|
|
|
15
15
|
/**
|
package/dist/telegram.js
CHANGED
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
} from "./chunk-FWLQ5XCS.js";
|
|
4
4
|
import {
|
|
5
5
|
withPluginNamespace
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-AL5XMXPO.js";
|
|
7
|
+
import "./chunk-2M5FM7FW.js";
|
|
8
8
|
|
|
9
9
|
// src/plugins/telegram.generated.ts
|
|
10
10
|
function withTelegram(relay) {
|