@reown/appkit-testing 1.8.19-wcError.0 → 1.8.19
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare function getBalanceSymbolByLibrary(library: string): "BTC" | "SOL" | "TON" | "ETH";
|
|
1
|
+
export declare function getBalanceSymbolByLibrary(library: string): "BTC" | "SOL" | "TON" | "TRX" | "ETH";
|
|
2
2
|
export declare function getNetworksByLibrary(library: string): ({
|
|
3
3
|
blockExplorers?: {
|
|
4
4
|
[key: string]: {
|
|
@@ -328,6 +328,112 @@ export declare function getNetworksByLibrary(library: string): ({
|
|
|
328
328
|
imageUrl: string | undefined;
|
|
329
329
|
} | undefined;
|
|
330
330
|
readonly network: "ton-testnet";
|
|
331
|
+
})[] | ({
|
|
332
|
+
blockExplorers: {
|
|
333
|
+
readonly default: {
|
|
334
|
+
readonly name: "Tronscan";
|
|
335
|
+
readonly url: "https://tronscan.org";
|
|
336
|
+
};
|
|
337
|
+
};
|
|
338
|
+
blockTime?: number | undefined | undefined;
|
|
339
|
+
contracts?: {
|
|
340
|
+
[x: string]: import("viem").ChainContract | {
|
|
341
|
+
[sourceId: number]: import("viem").ChainContract | undefined;
|
|
342
|
+
} | undefined;
|
|
343
|
+
ensRegistry?: import("viem").ChainContract | undefined;
|
|
344
|
+
ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
345
|
+
multicall3?: import("viem").ChainContract | undefined;
|
|
346
|
+
erc6492Verifier?: import("viem").ChainContract | undefined;
|
|
347
|
+
} | undefined;
|
|
348
|
+
ensTlds?: readonly string[] | undefined;
|
|
349
|
+
name: "TRON";
|
|
350
|
+
nativeCurrency: {
|
|
351
|
+
readonly name: "TRX";
|
|
352
|
+
readonly symbol: "TRX";
|
|
353
|
+
readonly decimals: 6;
|
|
354
|
+
};
|
|
355
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
356
|
+
rpcUrls: {
|
|
357
|
+
readonly default: {
|
|
358
|
+
readonly http: readonly ["https://rpc.walletconnect.org/v1"];
|
|
359
|
+
};
|
|
360
|
+
};
|
|
361
|
+
sourceId?: number | undefined | undefined;
|
|
362
|
+
testnet: false;
|
|
363
|
+
custom?: Record<string, unknown> | undefined;
|
|
364
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
365
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
366
|
+
formatters?: undefined;
|
|
367
|
+
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
368
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
369
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
370
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
371
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
372
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
373
|
+
}] | undefined;
|
|
374
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
375
|
+
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
376
|
+
id: "0x2b6653dc";
|
|
377
|
+
chainNamespace: "tron";
|
|
378
|
+
caipNetworkId: "tron:0x2b6653dc";
|
|
379
|
+
assets?: {
|
|
380
|
+
imageId: string | undefined;
|
|
381
|
+
imageUrl: string | undefined;
|
|
382
|
+
} | undefined;
|
|
383
|
+
readonly network: "tron-mainnet";
|
|
384
|
+
} | {
|
|
385
|
+
blockExplorers: {
|
|
386
|
+
readonly default: {
|
|
387
|
+
readonly name: "Tronscan";
|
|
388
|
+
readonly url: "https://shasta.tronscan.org";
|
|
389
|
+
};
|
|
390
|
+
};
|
|
391
|
+
blockTime?: number | undefined | undefined;
|
|
392
|
+
contracts?: {
|
|
393
|
+
[x: string]: import("viem").ChainContract | {
|
|
394
|
+
[sourceId: number]: import("viem").ChainContract | undefined;
|
|
395
|
+
} | undefined;
|
|
396
|
+
ensRegistry?: import("viem").ChainContract | undefined;
|
|
397
|
+
ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
398
|
+
multicall3?: import("viem").ChainContract | undefined;
|
|
399
|
+
erc6492Verifier?: import("viem").ChainContract | undefined;
|
|
400
|
+
} | undefined;
|
|
401
|
+
ensTlds?: readonly string[] | undefined;
|
|
402
|
+
name: "TRON Shasta";
|
|
403
|
+
nativeCurrency: {
|
|
404
|
+
readonly name: "TRX";
|
|
405
|
+
readonly symbol: "TRX";
|
|
406
|
+
readonly decimals: 6;
|
|
407
|
+
};
|
|
408
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
409
|
+
rpcUrls: {
|
|
410
|
+
readonly default: {
|
|
411
|
+
readonly http: readonly ["https://rpc.walletconnect.org/v1"];
|
|
412
|
+
};
|
|
413
|
+
};
|
|
414
|
+
sourceId?: number | undefined | undefined;
|
|
415
|
+
testnet: true;
|
|
416
|
+
custom?: Record<string, unknown> | undefined;
|
|
417
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
418
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
419
|
+
formatters?: undefined;
|
|
420
|
+
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
421
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
422
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
423
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
424
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
425
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
426
|
+
}] | undefined;
|
|
427
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
428
|
+
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
429
|
+
id: "0x94a9059e";
|
|
430
|
+
chainNamespace: "tron";
|
|
431
|
+
caipNetworkId: "tron:0x94a9059e";
|
|
432
|
+
assets?: {
|
|
433
|
+
imageId: string | undefined;
|
|
434
|
+
imageUrl: string | undefined;
|
|
435
|
+
} | undefined;
|
|
436
|
+
readonly network: "tron-shasta";
|
|
331
437
|
})[] | ({
|
|
332
438
|
blockExplorers: {
|
|
333
439
|
readonly default: {
|
|
@@ -421,4 +527,4 @@ export declare function getNetworksByLibrary(library: string): ({
|
|
|
421
527
|
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
422
528
|
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
423
529
|
})[];
|
|
424
|
-
export declare function getLastNetworkNameByLibrary(library: string): "Bitcoin Testnet" | "Solana Testnet" | "TON Testnet" | "Polygon";
|
|
530
|
+
export declare function getLastNetworkNameByLibrary(library: string): "Bitcoin Testnet" | "Solana Testnet" | "TON Testnet" | "TRON Shasta" | "Polygon";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reown/appkit-testing",
|
|
3
|
-
"version": "1.8.19
|
|
3
|
+
"version": "1.8.19",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/esm/exports/index.js",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"README.md"
|
|
12
12
|
],
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@reown/appkit": "1.8.19
|
|
14
|
+
"@reown/appkit": "1.8.19"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"vitest": "3.1.3",
|