@vleap/warps 3.0.0-alpha.102 → 3.0.0-alpha.103
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/dist/index.d.cts +4 -2
- package/dist/index.d.ts +4 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -264,6 +264,8 @@ type WarpChainAsset = {
|
|
|
264
264
|
amount?: bigint;
|
|
265
265
|
decimals?: number;
|
|
266
266
|
logoUrl?: string;
|
|
267
|
+
price?: number;
|
|
268
|
+
supply?: bigint;
|
|
267
269
|
};
|
|
268
270
|
type WarpChainAction = {
|
|
269
271
|
chain: WarpChain;
|
|
@@ -574,9 +576,9 @@ declare const shiftBigintBy: (value: bigint | string | number, decimals: number)
|
|
|
574
576
|
declare const toPreviewText: (text: string, maxChars?: number) => string;
|
|
575
577
|
declare const replacePlaceholders: (message: string, bag: Record<string, any>) => string;
|
|
576
578
|
declare const applyResultsToMessages: (warp: Warp, results: Record<string, any>) => Record<string, string>;
|
|
577
|
-
declare const getWarpWalletAddress: (wallet: WarpWalletDetails | string | null) => string | null;
|
|
579
|
+
declare const getWarpWalletAddress: (wallet: WarpWalletDetails | string | null | undefined) => string | null;
|
|
578
580
|
declare const getWarpWalletAddressFromConfig: (config: WarpClientConfig, chain: WarpChain) => string | null;
|
|
579
|
-
declare const getWarpWalletPrivateKey: (wallet: WarpWalletDetails | string | null) => string | null | undefined;
|
|
581
|
+
declare const getWarpWalletPrivateKey: (wallet: WarpWalletDetails | string | null | undefined) => string | null | undefined;
|
|
580
582
|
declare const getWarpWalletPrivateKeyFromConfig: (config: WarpClientConfig, chain: WarpChain) => string | null;
|
|
581
583
|
|
|
582
584
|
declare const getWarpInfoFromIdentifier: (prefixedIdentifier: string) => {
|
package/dist/index.d.ts
CHANGED
|
@@ -264,6 +264,8 @@ type WarpChainAsset = {
|
|
|
264
264
|
amount?: bigint;
|
|
265
265
|
decimals?: number;
|
|
266
266
|
logoUrl?: string;
|
|
267
|
+
price?: number;
|
|
268
|
+
supply?: bigint;
|
|
267
269
|
};
|
|
268
270
|
type WarpChainAction = {
|
|
269
271
|
chain: WarpChain;
|
|
@@ -574,9 +576,9 @@ declare const shiftBigintBy: (value: bigint | string | number, decimals: number)
|
|
|
574
576
|
declare const toPreviewText: (text: string, maxChars?: number) => string;
|
|
575
577
|
declare const replacePlaceholders: (message: string, bag: Record<string, any>) => string;
|
|
576
578
|
declare const applyResultsToMessages: (warp: Warp, results: Record<string, any>) => Record<string, string>;
|
|
577
|
-
declare const getWarpWalletAddress: (wallet: WarpWalletDetails | string | null) => string | null;
|
|
579
|
+
declare const getWarpWalletAddress: (wallet: WarpWalletDetails | string | null | undefined) => string | null;
|
|
578
580
|
declare const getWarpWalletAddressFromConfig: (config: WarpClientConfig, chain: WarpChain) => string | null;
|
|
579
|
-
declare const getWarpWalletPrivateKey: (wallet: WarpWalletDetails | string | null) => string | null | undefined;
|
|
581
|
+
declare const getWarpWalletPrivateKey: (wallet: WarpWalletDetails | string | null | undefined) => string | null | undefined;
|
|
580
582
|
declare const getWarpWalletPrivateKeyFromConfig: (config: WarpClientConfig, chain: WarpChain) => string | null;
|
|
581
583
|
|
|
582
584
|
declare const getWarpInfoFromIdentifier: (prefixedIdentifier: string) => {
|