@chainflip/redis 1.0.0 → 1.0.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 +17 -7
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
|
-
}>, "
|
|
18
|
+
}>, "Usdc" | "Usdt" | "Flip" | "Eth" | "Dot" | "Btc" | "ArbUsdc" | "ArbEth" | "Sol" | "SolUsdc" | "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: "
|
|
63
|
+
asset: "Usdc" | "Usdt" | "Flip" | "Eth" | "Dot" | "Btc" | "ArbUsdc" | "ArbEth" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
|
|
64
64
|
amount: bigint;
|
|
65
65
|
deposit_chain_block_height: number;
|
|
66
66
|
deposit_details: {
|
|
@@ -352,8 +352,8 @@ declare class RedisClient {
|
|
|
352
352
|
getPendingVaultSwap(chain: ChainflipChain, txId: string): Promise<{
|
|
353
353
|
amount: bigint;
|
|
354
354
|
destinationAddress: string;
|
|
355
|
-
inputAsset: "
|
|
356
|
-
outputAsset: "
|
|
355
|
+
inputAsset: "Usdc" | "Usdt" | "Flip" | "Eth" | "Dot" | "Btc" | "ArbUsdc" | "ArbEth" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
|
|
356
|
+
outputAsset: "Usdc" | "Usdt" | "Flip" | "Eth" | "Dot" | "Btc" | "ArbUsdc" | "ArbEth" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
|
|
357
357
|
affiliateFees: {
|
|
358
358
|
account: string;
|
|
359
359
|
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
|
-
}>, "
|
|
18
|
+
}>, "Usdc" | "Usdt" | "Flip" | "Eth" | "Dot" | "Btc" | "ArbUsdc" | "ArbEth" | "Sol" | "SolUsdc" | "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: "
|
|
63
|
+
asset: "Usdc" | "Usdt" | "Flip" | "Eth" | "Dot" | "Btc" | "ArbUsdc" | "ArbEth" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
|
|
64
64
|
amount: bigint;
|
|
65
65
|
deposit_chain_block_height: number;
|
|
66
66
|
deposit_details: {
|
|
@@ -352,8 +352,8 @@ declare class RedisClient {
|
|
|
352
352
|
getPendingVaultSwap(chain: ChainflipChain, txId: string): Promise<{
|
|
353
353
|
amount: bigint;
|
|
354
354
|
destinationAddress: string;
|
|
355
|
-
inputAsset: "
|
|
356
|
-
outputAsset: "
|
|
355
|
+
inputAsset: "Usdc" | "Usdt" | "Flip" | "Eth" | "Dot" | "Btc" | "ArbUsdc" | "ArbEth" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
|
|
356
|
+
outputAsset: "Usdc" | "Usdt" | "Flip" | "Eth" | "Dot" | "Btc" | "ArbUsdc" | "ArbEth" | "Sol" | "SolUsdc" | "HubDot" | "HubUsdt" | "HubUsdc";
|
|
357
357
|
affiliateFees: {
|
|
358
358
|
account: string;
|
|
359
359
|
commissionBps: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chainflip/redis",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": "https://github.com/chainflip-io/chainflip-product-toolkit.git",
|
|
6
6
|
"publishConfig": {
|
|
@@ -11,13 +11,23 @@
|
|
|
11
11
|
"dist",
|
|
12
12
|
"README.md"
|
|
13
13
|
],
|
|
14
|
-
"
|
|
15
|
-
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"require": {
|
|
17
|
+
"types": "./dist/index.d.cts",
|
|
18
|
+
"default": "./dist/index.cjs"
|
|
19
|
+
},
|
|
20
|
+
"import": {
|
|
21
|
+
"types": "./dist/index.d.ts",
|
|
22
|
+
"default": "./dist/index.js"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
},
|
|
16
26
|
"dependencies": {
|
|
17
|
-
"@chainflip/utils": "0.8.
|
|
18
|
-
"bignumber.js": "^9.
|
|
19
|
-
"ioredis": "^5.6.
|
|
20
|
-
"zod": "^3.24.
|
|
27
|
+
"@chainflip/utils": "0.8.6",
|
|
28
|
+
"bignumber.js": "^9.3.0",
|
|
29
|
+
"ioredis": "^5.6.1",
|
|
30
|
+
"zod": "^3.24.3"
|
|
21
31
|
},
|
|
22
32
|
"scripts": {
|
|
23
33
|
"eslint:check": "pnpm eslint --max-warnings 0 './**/*.ts'",
|