@chainflip/redis 1.0.2-wbtc-dev.0 → 1.0.2-wbtc-dev.2
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 -4
- package/dist/index.d.ts +4 -4
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -15,7 +15,7 @@ declare const depositSchema: z.ZodPipeline<z.ZodEffects<z.ZodString, unknown, st
|
|
|
15
15
|
}>, AssetAndChain, {
|
|
16
16
|
asset: string;
|
|
17
17
|
chain: string;
|
|
18
|
-
}>, "Usdc" | "Usdt" | "Wbtc" | "Flip" | "Eth" | "Dot" | "Btc" | "ArbUsdc" | "ArbEth" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc", {
|
|
18
|
+
}>, "Usdc" | "Usdt" | "Wbtc" | "Flip" | "Eth" | "Dot" | "Btc" | "ArbUsdc" | "ArbUsdt" | "ArbEth" | "Sol" | "SolUsdc" | "SolUsdt" | "HubDot" | "HubUsdt" | "HubUsdc", {
|
|
19
19
|
asset: string;
|
|
20
20
|
chain: string;
|
|
21
21
|
}>;
|
|
@@ -60,7 +60,7 @@ declare const depositSchema: z.ZodPipeline<z.ZodEffects<z.ZodString, unknown, st
|
|
|
60
60
|
extrinsic_index: number;
|
|
61
61
|
}>]>>;
|
|
62
62
|
}, "strip", z.ZodTypeAny, {
|
|
63
|
-
asset: "Usdc" | "Usdt" | "Wbtc" | "Flip" | "Eth" | "Dot" | "Btc" | "ArbUsdc" | "ArbEth" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
|
|
63
|
+
asset: "Usdc" | "Usdt" | "Wbtc" | "Flip" | "Eth" | "Dot" | "Btc" | "ArbUsdc" | "ArbUsdt" | "ArbEth" | "Sol" | "SolUsdc" | "SolUsdt" | "HubDot" | "HubUsdt" | "HubUsdc";
|
|
64
64
|
amount: bigint;
|
|
65
65
|
deposit_chain_block_height: number;
|
|
66
66
|
deposit_details: {
|
|
@@ -301,8 +301,8 @@ declare class RedisClient {
|
|
|
301
301
|
getPendingVaultSwap(chain: ChainflipChain, txId: string): Promise<{
|
|
302
302
|
amount: bigint;
|
|
303
303
|
destinationAddress: string;
|
|
304
|
-
inputAsset: "Usdc" | "Usdt" | "Wbtc" | "Flip" | "Eth" | "Dot" | "Btc" | "ArbUsdc" | "ArbEth" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
|
|
305
|
-
outputAsset: "Usdc" | "Usdt" | "Wbtc" | "Flip" | "Eth" | "Dot" | "Btc" | "ArbUsdc" | "ArbEth" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
|
|
304
|
+
inputAsset: "Usdc" | "Usdt" | "Wbtc" | "Flip" | "Eth" | "Dot" | "Btc" | "ArbUsdc" | "ArbUsdt" | "ArbEth" | "Sol" | "SolUsdc" | "SolUsdt" | "HubDot" | "HubUsdt" | "HubUsdc";
|
|
305
|
+
outputAsset: "Usdc" | "Usdt" | "Wbtc" | "Flip" | "Eth" | "Dot" | "Btc" | "ArbUsdc" | "ArbUsdt" | "ArbEth" | "Sol" | "SolUsdc" | "SolUsdt" | "HubDot" | "HubUsdt" | "HubUsdc";
|
|
306
306
|
affiliateFees: {
|
|
307
307
|
account: string;
|
|
308
308
|
commissionBps: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ declare const depositSchema: z.ZodPipeline<z.ZodEffects<z.ZodString, unknown, st
|
|
|
15
15
|
}>, AssetAndChain, {
|
|
16
16
|
asset: string;
|
|
17
17
|
chain: string;
|
|
18
|
-
}>, "Usdc" | "Usdt" | "Wbtc" | "Flip" | "Eth" | "Dot" | "Btc" | "ArbUsdc" | "ArbEth" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc", {
|
|
18
|
+
}>, "Usdc" | "Usdt" | "Wbtc" | "Flip" | "Eth" | "Dot" | "Btc" | "ArbUsdc" | "ArbUsdt" | "ArbEth" | "Sol" | "SolUsdc" | "SolUsdt" | "HubDot" | "HubUsdt" | "HubUsdc", {
|
|
19
19
|
asset: string;
|
|
20
20
|
chain: string;
|
|
21
21
|
}>;
|
|
@@ -60,7 +60,7 @@ declare const depositSchema: z.ZodPipeline<z.ZodEffects<z.ZodString, unknown, st
|
|
|
60
60
|
extrinsic_index: number;
|
|
61
61
|
}>]>>;
|
|
62
62
|
}, "strip", z.ZodTypeAny, {
|
|
63
|
-
asset: "Usdc" | "Usdt" | "Wbtc" | "Flip" | "Eth" | "Dot" | "Btc" | "ArbUsdc" | "ArbEth" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
|
|
63
|
+
asset: "Usdc" | "Usdt" | "Wbtc" | "Flip" | "Eth" | "Dot" | "Btc" | "ArbUsdc" | "ArbUsdt" | "ArbEth" | "Sol" | "SolUsdc" | "SolUsdt" | "HubDot" | "HubUsdt" | "HubUsdc";
|
|
64
64
|
amount: bigint;
|
|
65
65
|
deposit_chain_block_height: number;
|
|
66
66
|
deposit_details: {
|
|
@@ -301,8 +301,8 @@ declare class RedisClient {
|
|
|
301
301
|
getPendingVaultSwap(chain: ChainflipChain, txId: string): Promise<{
|
|
302
302
|
amount: bigint;
|
|
303
303
|
destinationAddress: string;
|
|
304
|
-
inputAsset: "Usdc" | "Usdt" | "Wbtc" | "Flip" | "Eth" | "Dot" | "Btc" | "ArbUsdc" | "ArbEth" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
|
|
305
|
-
outputAsset: "Usdc" | "Usdt" | "Wbtc" | "Flip" | "Eth" | "Dot" | "Btc" | "ArbUsdc" | "ArbEth" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
|
|
304
|
+
inputAsset: "Usdc" | "Usdt" | "Wbtc" | "Flip" | "Eth" | "Dot" | "Btc" | "ArbUsdc" | "ArbUsdt" | "ArbEth" | "Sol" | "SolUsdc" | "SolUsdt" | "HubDot" | "HubUsdt" | "HubUsdc";
|
|
305
|
+
outputAsset: "Usdc" | "Usdt" | "Wbtc" | "Flip" | "Eth" | "Dot" | "Btc" | "ArbUsdc" | "ArbUsdt" | "ArbEth" | "Sol" | "SolUsdc" | "SolUsdt" | "HubDot" | "HubUsdt" | "HubUsdc";
|
|
306
306
|
affiliateFees: {
|
|
307
307
|
account: string;
|
|
308
308
|
commissionBps: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chainflip/redis",
|
|
3
|
-
"version": "1.0.2-wbtc-dev.
|
|
3
|
+
"version": "1.0.2-wbtc-dev.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"eslint:check": "pnpm eslint --max-warnings 0 './**/*.ts'",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@chainflip/utils": "0.11.2-wbtc-dev.
|
|
39
|
+
"@chainflip/utils": "0.11.2-wbtc-dev.2",
|
|
40
40
|
"bignumber.js": "^9.3.1",
|
|
41
41
|
"ioredis": "^5.8.2",
|
|
42
42
|
"zod": "^3.25.75"
|