@cosmosapp/pay_sdk 2.3.2 → 2.4.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 +19 -0
- package/README.md +97 -61
- package/dist/{chunk-U3WDM2FJ.js → chunk-6FIALX2E.js} +3 -3
- package/dist/{chunk-U3WDM2FJ.js.map → chunk-6FIALX2E.js.map} +1 -1
- package/dist/chunk-ALFITFBN.js +105 -0
- package/dist/chunk-ALFITFBN.js.map +1 -0
- package/dist/chunk-PAQHOXQ6.js +392 -0
- package/dist/chunk-PAQHOXQ6.js.map +1 -0
- package/dist/errors-CZu5mmz1.d.cts +293 -0
- package/dist/errors-Cqh7UdUO.d.ts +293 -0
- package/dist/index.cjs +18 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -7
- package/dist/index.d.ts +12 -7
- package/dist/index.js +19 -6
- package/dist/index.js.map +1 -1
- package/dist/intent-input-BybnwL83.d.ts +126 -0
- package/dist/intent-input-C2PTr2XH.d.cts +126 -0
- package/dist/swk/index.js +1 -103
- package/dist/swk/index.js.map +1 -1
- package/dist/wallets/index.cjs +1043 -0
- package/dist/wallets/index.cjs.map +1 -0
- package/dist/wallets/index.d.cts +384 -0
- package/dist/wallets/index.d.ts +384 -0
- package/dist/wallets/index.js +629 -0
- package/dist/wallets/index.js.map +1 -0
- package/dist/{intent-input-CP5bkBYI.d.cts → wallets-CeIjESt5.d.cts} +39 -126
- package/dist/{intent-input-CP5bkBYI.d.ts → wallets-CeIjESt5.d.ts} +39 -126
- package/dist/web/index.cjs +1 -1
- package/dist/web/index.cjs.map +1 -1
- package/dist/web/index.d.cts +7 -292
- package/dist/web/index.d.ts +7 -292
- package/dist/web/index.js +5 -391
- package/dist/web/index.js.map +1 -1
- package/llms/07-webhooks.md +2 -0
- package/llms/15-swaps.md +2 -0
- package/llms/18-wallets.md +94 -0
- package/llms/llms-full.txt +101 -0
- package/llms/llms.txt +1 -0
- package/package.json +22 -8
package/dist/web/index.js
CHANGED
|
@@ -1,395 +1,9 @@
|
|
|
1
|
-
import { version, CosmosPayAPIError, CosmosPayRequestError, DEFAULT_BASE_URL, resolveIntentBody } from '../chunk-
|
|
2
|
-
export { AddressBook, Assets, CosmosPayAPIError, CosmosPayRequestError, TestnetAssets, Wallets, addresses, assertAddress, defineAsset, isAddress, isContractAddress, isMuxedAddress, isNativeAsset, isStellarAddress, resolveAddress, resolveAsset, resolveIntentBody } from '../chunk-
|
|
3
|
-
import {
|
|
1
|
+
import { version, CosmosPayAPIError, CosmosPayRequestError, DEFAULT_BASE_URL, resolveIntentBody } from '../chunk-6FIALX2E.js';
|
|
2
|
+
export { AddressBook, Assets, CosmosPayAPIError, CosmosPayRequestError, TestnetAssets, Wallets, addresses, assertAddress, defineAsset, isAddress, isContractAddress, isMuxedAddress, isNativeAsset, isStellarAddress, resolveAddress, resolveAsset, resolveIntentBody } from '../chunk-6FIALX2E.js';
|
|
3
|
+
import { IntentError, StellarSdkRequiredError, WalletNotFoundError, defaultAdapters, resolveNetwork } from '../chunk-PAQHOXQ6.js';
|
|
4
|
+
export { AlbedoAdapter, CosmosPayWebError, CosmosWalletAdapter, FreighterAdapter, HORIZON_URLS, IntentError, LobstrAdapter, PASSPHRASES, RabetAdapter, StellarSdkRequiredError, WalletError, WalletNotFoundError, XBullAdapter, classifyNetwork, defaultAdapters, isPassphrase, resolveNetwork } from '../chunk-PAQHOXQ6.js';
|
|
4
5
|
export { injectedProvider, loadHostedProvider, resetProviderCache, resolveProvider } from '../chunk-6PHQBYQ4.js';
|
|
5
6
|
|
|
6
|
-
// src/web/errors.ts
|
|
7
|
-
var CosmosPayWebError = class _CosmosPayWebError extends Error {
|
|
8
|
-
constructor(message) {
|
|
9
|
-
super(message);
|
|
10
|
-
this.name = "CosmosPayWebError";
|
|
11
|
-
Error.captureStackTrace?.(this, _CosmosPayWebError);
|
|
12
|
-
}
|
|
13
|
-
};
|
|
14
|
-
var WalletNotFoundError = class extends CosmosPayWebError {
|
|
15
|
-
constructor(searched) {
|
|
16
|
-
super(
|
|
17
|
-
searched.length ? `No compatible Stellar wallet detected. Looked for: ${searched.join(", ")}. Install one (e.g. Freighter, xBull, Rabet) or pass a wallet adapter explicitly.` : "No wallet adapters are registered on this client."
|
|
18
|
-
);
|
|
19
|
-
this.name = "WalletNotFoundError";
|
|
20
|
-
this.searched = searched;
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
var WalletError = class extends CosmosPayWebError {
|
|
24
|
-
constructor(wallet, message, cause) {
|
|
25
|
-
super(`[${wallet}] ${message}`);
|
|
26
|
-
this.name = "WalletError";
|
|
27
|
-
this.wallet = wallet;
|
|
28
|
-
this.cause = cause;
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
var StellarSdkRequiredError = class extends CosmosPayWebError {
|
|
32
|
-
constructor(detail) {
|
|
33
|
-
super(
|
|
34
|
-
"The Stellar SDK is required to build/submit this transaction but was not found. Install it with `npm i @stellar/stellar-sdk`, or pass it via `new WebClient({ stellarSdk })`." + (detail ? ` (${detail})` : "")
|
|
35
|
-
);
|
|
36
|
-
this.name = "StellarSdkRequiredError";
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
var IntentError = class extends CosmosPayWebError {
|
|
40
|
-
constructor(message) {
|
|
41
|
-
super(message);
|
|
42
|
-
this.name = "IntentError";
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
// src/web/adapters/util.ts
|
|
47
|
-
function getWindow() {
|
|
48
|
-
return typeof window !== "undefined" ? window : void 0;
|
|
49
|
-
}
|
|
50
|
-
function globalRef(name) {
|
|
51
|
-
const win = getWindow();
|
|
52
|
-
if (!win) return void 0;
|
|
53
|
-
return win[name];
|
|
54
|
-
}
|
|
55
|
-
function unwrap(result, key) {
|
|
56
|
-
if (result && typeof result === "object") {
|
|
57
|
-
const obj = result;
|
|
58
|
-
if (obj["error"]) {
|
|
59
|
-
const err = obj["error"];
|
|
60
|
-
const message = typeof err === "string" ? err : err?.message ?? JSON.stringify(err);
|
|
61
|
-
throw new Error(message);
|
|
62
|
-
}
|
|
63
|
-
if (key in obj) return obj[key];
|
|
64
|
-
}
|
|
65
|
-
return result;
|
|
66
|
-
}
|
|
67
|
-
function errorMessage(error) {
|
|
68
|
-
if (error instanceof Error) return error.message;
|
|
69
|
-
if (typeof error === "string") return error;
|
|
70
|
-
try {
|
|
71
|
-
return JSON.stringify(error);
|
|
72
|
-
} catch {
|
|
73
|
-
return String(error);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
// src/web/adapters/FreighterAdapter.ts
|
|
78
|
-
var FreighterAdapter = class {
|
|
79
|
-
constructor(injected) {
|
|
80
|
-
this.injected = injected;
|
|
81
|
-
this.id = "freighter";
|
|
82
|
-
this.name = "Freighter";
|
|
83
|
-
}
|
|
84
|
-
api() {
|
|
85
|
-
return this.injected ?? globalRef("freighterApi");
|
|
86
|
-
}
|
|
87
|
-
async isAvailable() {
|
|
88
|
-
const api = this.api();
|
|
89
|
-
if (!api) return false;
|
|
90
|
-
try {
|
|
91
|
-
const result = await api.isConnected();
|
|
92
|
-
return unwrap(result, "isConnected") !== false;
|
|
93
|
-
} catch {
|
|
94
|
-
return true;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
async getPublicKey(_network) {
|
|
98
|
-
const api = this.api();
|
|
99
|
-
if (!api) throw new WalletError(this.id, "Freighter is not available.");
|
|
100
|
-
try {
|
|
101
|
-
if (api.requestAccess) {
|
|
102
|
-
const result = await api.requestAccess();
|
|
103
|
-
const address = unwrap(result, "address");
|
|
104
|
-
if (address) return address;
|
|
105
|
-
}
|
|
106
|
-
if (api.getAddress) {
|
|
107
|
-
return unwrap(await api.getAddress(), "address");
|
|
108
|
-
}
|
|
109
|
-
if (api.getPublicKey) {
|
|
110
|
-
return unwrap(await api.getPublicKey(), "address");
|
|
111
|
-
}
|
|
112
|
-
throw new Error("No address method exposed by Freighter.");
|
|
113
|
-
} catch (error) {
|
|
114
|
-
throw new WalletError(this.id, errorMessage(error), error);
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
async signTransaction(xdr, params) {
|
|
118
|
-
const api = this.api();
|
|
119
|
-
if (!api) throw new WalletError(this.id, "Freighter is not available.");
|
|
120
|
-
try {
|
|
121
|
-
const result = await api.signTransaction(xdr, {
|
|
122
|
-
networkPassphrase: params.networkPassphrase,
|
|
123
|
-
network: params.network,
|
|
124
|
-
address: params.address,
|
|
125
|
-
accountToSign: params.address
|
|
126
|
-
});
|
|
127
|
-
return unwrap(result, "signedTxXdr");
|
|
128
|
-
} catch (error) {
|
|
129
|
-
throw new WalletError(this.id, errorMessage(error), error);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
};
|
|
133
|
-
|
|
134
|
-
// src/web/adapters/XBullAdapter.ts
|
|
135
|
-
var XBullAdapter = class {
|
|
136
|
-
constructor(injected) {
|
|
137
|
-
this.injected = injected;
|
|
138
|
-
this.id = "xbull";
|
|
139
|
-
this.name = "xBull";
|
|
140
|
-
}
|
|
141
|
-
sdk() {
|
|
142
|
-
return this.injected ?? globalRef("xBullSDK");
|
|
143
|
-
}
|
|
144
|
-
async isAvailable() {
|
|
145
|
-
return Boolean(this.sdk());
|
|
146
|
-
}
|
|
147
|
-
async getPublicKey(_network) {
|
|
148
|
-
const sdk = this.sdk();
|
|
149
|
-
if (!sdk) throw new WalletError(this.id, "xBull is not available.");
|
|
150
|
-
try {
|
|
151
|
-
await sdk.connect({ canRequestPublicKey: true, canRequestSign: true });
|
|
152
|
-
return await sdk.getPublicKey();
|
|
153
|
-
} catch (error) {
|
|
154
|
-
throw new WalletError(this.id, errorMessage(error), error);
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
async signTransaction(xdr, params) {
|
|
158
|
-
const sdk = this.sdk();
|
|
159
|
-
if (!sdk) throw new WalletError(this.id, "xBull is not available.");
|
|
160
|
-
try {
|
|
161
|
-
return await sdk.signXDR(xdr, {
|
|
162
|
-
network: params.networkPassphrase,
|
|
163
|
-
publicKey: params.address
|
|
164
|
-
});
|
|
165
|
-
} catch (error) {
|
|
166
|
-
throw new WalletError(this.id, errorMessage(error), error);
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
async disconnect() {
|
|
170
|
-
this.sdk()?.closeConnections?.();
|
|
171
|
-
}
|
|
172
|
-
};
|
|
173
|
-
|
|
174
|
-
// src/web/network.ts
|
|
175
|
-
var PASSPHRASES = {
|
|
176
|
-
public: "Public Global Stellar Network ; September 2015",
|
|
177
|
-
testnet: "Test SDF Network ; September 2015"
|
|
178
|
-
};
|
|
179
|
-
var HORIZON_URLS = {
|
|
180
|
-
public: "https://horizon.stellar.org",
|
|
181
|
-
testnet: "https://horizon-testnet.stellar.org"
|
|
182
|
-
};
|
|
183
|
-
var RABET_NETWORK = {
|
|
184
|
-
public: "mainnet",
|
|
185
|
-
testnet: "testnet"
|
|
186
|
-
};
|
|
187
|
-
function classifyNetwork(hint) {
|
|
188
|
-
if (!hint) return "public";
|
|
189
|
-
const value = hint.trim().toLowerCase();
|
|
190
|
-
if (value === PASSPHRASES.testnet.toLowerCase()) return "testnet";
|
|
191
|
-
if (value === PASSPHRASES.public.toLowerCase()) return "public";
|
|
192
|
-
if (value.includes("test")) return "testnet";
|
|
193
|
-
if (value.includes("public") || value.includes("main") || value.includes("pubnet")) {
|
|
194
|
-
return "public";
|
|
195
|
-
}
|
|
196
|
-
return "public";
|
|
197
|
-
}
|
|
198
|
-
function isPassphrase(value) {
|
|
199
|
-
return value === PASSPHRASES.public || value === PASSPHRASES.testnet;
|
|
200
|
-
}
|
|
201
|
-
function resolveNetwork(input = {}) {
|
|
202
|
-
const network = input.network ?? classifyNetwork(input.passphrase ?? input.hint);
|
|
203
|
-
return {
|
|
204
|
-
network,
|
|
205
|
-
passphrase: input.passphrase ?? PASSPHRASES[network],
|
|
206
|
-
horizonUrl: (input.horizonUrl ?? HORIZON_URLS[network]).replace(/\/+$/, "")
|
|
207
|
-
};
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
// src/web/adapters/RabetAdapter.ts
|
|
211
|
-
var RabetAdapter = class {
|
|
212
|
-
constructor(injected) {
|
|
213
|
-
this.injected = injected;
|
|
214
|
-
this.id = "rabet";
|
|
215
|
-
this.name = "Rabet";
|
|
216
|
-
}
|
|
217
|
-
api() {
|
|
218
|
-
return this.injected ?? globalRef("rabet");
|
|
219
|
-
}
|
|
220
|
-
async isAvailable() {
|
|
221
|
-
return Boolean(this.api());
|
|
222
|
-
}
|
|
223
|
-
async getPublicKey(_network) {
|
|
224
|
-
const api = this.api();
|
|
225
|
-
if (!api) throw new WalletError(this.id, "Rabet is not available.");
|
|
226
|
-
try {
|
|
227
|
-
return unwrap(await api.connect(), "publicKey");
|
|
228
|
-
} catch (error) {
|
|
229
|
-
throw new WalletError(this.id, errorMessage(error), error);
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
async signTransaction(xdr, params) {
|
|
233
|
-
const api = this.api();
|
|
234
|
-
if (!api) throw new WalletError(this.id, "Rabet is not available.");
|
|
235
|
-
try {
|
|
236
|
-
const result = await api.sign(xdr, RABET_NETWORK[params.network]);
|
|
237
|
-
return unwrap(result, "xdr");
|
|
238
|
-
} catch (error) {
|
|
239
|
-
throw new WalletError(this.id, errorMessage(error), error);
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
async disconnect() {
|
|
243
|
-
await this.api()?.disconnect?.();
|
|
244
|
-
}
|
|
245
|
-
};
|
|
246
|
-
|
|
247
|
-
// src/web/adapters/LobstrAdapter.ts
|
|
248
|
-
var LobstrAdapter = class {
|
|
249
|
-
constructor(api) {
|
|
250
|
-
this.api = api;
|
|
251
|
-
this.id = "lobstr";
|
|
252
|
-
this.name = "LOBSTR";
|
|
253
|
-
}
|
|
254
|
-
async isAvailable() {
|
|
255
|
-
if (!this.api) return false;
|
|
256
|
-
try {
|
|
257
|
-
return await this.api.isConnected();
|
|
258
|
-
} catch {
|
|
259
|
-
return false;
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
async getPublicKey(_network) {
|
|
263
|
-
if (!this.api) throw new WalletError(this.id, "LOBSTR signer API not provided.");
|
|
264
|
-
try {
|
|
265
|
-
return await this.api.getPublicKey();
|
|
266
|
-
} catch (error) {
|
|
267
|
-
throw new WalletError(this.id, errorMessage(error), error);
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
async signTransaction(xdr, _params) {
|
|
271
|
-
if (!this.api) throw new WalletError(this.id, "LOBSTR signer API not provided.");
|
|
272
|
-
try {
|
|
273
|
-
return await this.api.signTransaction(xdr);
|
|
274
|
-
} catch (error) {
|
|
275
|
-
throw new WalletError(this.id, errorMessage(error), error);
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
};
|
|
279
|
-
|
|
280
|
-
// src/web/adapters/AlbedoAdapter.ts
|
|
281
|
-
var AlbedoAdapter = class {
|
|
282
|
-
constructor(injected) {
|
|
283
|
-
this.injected = injected;
|
|
284
|
-
this.id = "albedo";
|
|
285
|
-
this.name = "Albedo";
|
|
286
|
-
}
|
|
287
|
-
intent() {
|
|
288
|
-
return this.injected ?? globalRef("albedo");
|
|
289
|
-
}
|
|
290
|
-
async isAvailable() {
|
|
291
|
-
return Boolean(this.intent());
|
|
292
|
-
}
|
|
293
|
-
async getPublicKey(_network) {
|
|
294
|
-
const albedo = this.intent();
|
|
295
|
-
if (!albedo) throw new WalletError(this.id, "Albedo is not available.");
|
|
296
|
-
try {
|
|
297
|
-
const result = await albedo.publicKey();
|
|
298
|
-
return result.pubkey;
|
|
299
|
-
} catch (error) {
|
|
300
|
-
throw new WalletError(this.id, errorMessage(error), error);
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
async signTransaction(xdr, params) {
|
|
304
|
-
const albedo = this.intent();
|
|
305
|
-
if (!albedo) throw new WalletError(this.id, "Albedo is not available.");
|
|
306
|
-
try {
|
|
307
|
-
const result = await albedo.tx({
|
|
308
|
-
xdr,
|
|
309
|
-
// Albedo expects the `public` / `testnet` label, not a passphrase.
|
|
310
|
-
network: params.network,
|
|
311
|
-
pubkey: params.address,
|
|
312
|
-
submit: false
|
|
313
|
-
});
|
|
314
|
-
return result.signed_envelope_xdr;
|
|
315
|
-
} catch (error) {
|
|
316
|
-
throw new WalletError(this.id, errorMessage(error), error);
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
};
|
|
320
|
-
|
|
321
|
-
// src/web/adapters/CosmosWalletAdapter.ts
|
|
322
|
-
var CosmosWalletAdapter = class {
|
|
323
|
-
/**
|
|
324
|
-
* @param options - A provider to use directly, or the origin of a hosted Cosmos
|
|
325
|
-
* Wallet to fall back to. Both optional: with the extension installed there is
|
|
326
|
-
* nothing to configure.
|
|
327
|
-
*/
|
|
328
|
-
constructor(options = {}) {
|
|
329
|
-
this.id = "cosmos";
|
|
330
|
-
this.name = "Cosmos Pay Wallet";
|
|
331
|
-
this.options = isProvider(options) ? { provider: options } : options;
|
|
332
|
-
}
|
|
333
|
-
/**
|
|
334
|
-
* Available when a provider is already here, or when a hosted wallet is
|
|
335
|
-
* configured — the hosted build needs no install, so it is always usable.
|
|
336
|
-
*
|
|
337
|
-
* Deliberately does NOT wait for the hosted script: this answer gates a modal,
|
|
338
|
-
* and a wallet that takes a network round trip to say "yes" reads as broken. The
|
|
339
|
-
* script is fetched on the first real call instead.
|
|
340
|
-
*/
|
|
341
|
-
async isAvailable() {
|
|
342
|
-
if (this.options.provider) return true;
|
|
343
|
-
if (injectedProvider()) return true;
|
|
344
|
-
return !!this.options.walletUrl;
|
|
345
|
-
}
|
|
346
|
-
async provider() {
|
|
347
|
-
const provider = await resolveProvider(this.options);
|
|
348
|
-
if (!provider) throw new WalletError(this.id, "Cosmos Pay Wallet is not available.");
|
|
349
|
-
return provider;
|
|
350
|
-
}
|
|
351
|
-
async getPublicKey(_network) {
|
|
352
|
-
try {
|
|
353
|
-
const provider = await this.provider();
|
|
354
|
-
return unwrap(await provider.getAddress(), "address");
|
|
355
|
-
} catch (error) {
|
|
356
|
-
throw new WalletError(this.id, errorMessage(error), error);
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
async signTransaction(xdr, params) {
|
|
360
|
-
try {
|
|
361
|
-
const provider = await this.provider();
|
|
362
|
-
const result = await provider.signTransaction(xdr, {
|
|
363
|
-
networkPassphrase: params.networkPassphrase,
|
|
364
|
-
address: params.address
|
|
365
|
-
});
|
|
366
|
-
return unwrap(result, "signedTxXdr");
|
|
367
|
-
} catch (error) {
|
|
368
|
-
throw new WalletError(this.id, errorMessage(error), error);
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
};
|
|
372
|
-
function isProvider(value) {
|
|
373
|
-
return typeof value.signTransaction === "function";
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
// src/web/adapters/index.ts
|
|
377
|
-
function defaultAdapters(injected = {}) {
|
|
378
|
-
return [
|
|
379
|
-
new FreighterAdapter(injected.freighter),
|
|
380
|
-
new XBullAdapter(injected.xBull),
|
|
381
|
-
new RabetAdapter(injected.rabet),
|
|
382
|
-
new LobstrAdapter(injected.lobstr),
|
|
383
|
-
new AlbedoAdapter(injected.albedo),
|
|
384
|
-
// Appended LAST on purpose. Auto-detection takes the first available adapter,
|
|
385
|
-
// so putting the first-party wallet at the front would silently move an
|
|
386
|
-
// existing integration off Freighter the day a user installs Cosmos Pay Wallet.
|
|
387
|
-
// A dapp that wants it preferred says so — `pay({ wallet: Wallets.COSMOS })`,
|
|
388
|
-
// or `registry.register(adapter, true)`.
|
|
389
|
-
new CosmosWalletAdapter(injected.cosmos ?? {})
|
|
390
|
-
];
|
|
391
|
-
}
|
|
392
|
-
|
|
393
7
|
// src/web/sep7.ts
|
|
394
8
|
var SCHEME = "web+stellar:";
|
|
395
9
|
function isSep7Uri(value) {
|
|
@@ -1073,6 +687,6 @@ function extractHash(response) {
|
|
|
1073
687
|
return "";
|
|
1074
688
|
}
|
|
1075
689
|
|
|
1076
|
-
export {
|
|
690
|
+
export { WalletRegistry, WebClient, WebREST, buildPaymentXdr, isSep7Uri, loadStellarSdk, normalizeIntent, parseSep7, postToCallback, submitToHorizon, transactionHash };
|
|
1077
691
|
//# sourceMappingURL=index.js.map
|
|
1078
692
|
//# sourceMappingURL=index.js.map
|