@chainflip/rpc 1.8.14 → 1.8.15
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/common.d.cts +6 -6
- package/dist/common.d.ts +6 -6
- package/dist/parsers.cjs +2 -2
- package/dist/parsers.d.cts +6 -6
- package/dist/parsers.d.ts +6 -6
- package/dist/parsers.mjs +2 -2
- package/package.json +1 -1
package/dist/common.d.cts
CHANGED
|
@@ -13931,7 +13931,7 @@ declare const rpcResult: {
|
|
|
13931
13931
|
amount: string;
|
|
13932
13932
|
}>, "many">;
|
|
13933
13933
|
deposits_pending_finalization: z.ZodArray<z.ZodObject<{
|
|
13934
|
-
deposit_id: z.ZodEffects<z.ZodNumber, bigint, number>;
|
|
13934
|
+
deposit_id: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
13935
13935
|
owed_amounts: z.ZodArray<z.ZodObject<{
|
|
13936
13936
|
account_id: z.ZodString;
|
|
13937
13937
|
amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
@@ -13949,7 +13949,7 @@ declare const rpcResult: {
|
|
|
13949
13949
|
amount: bigint;
|
|
13950
13950
|
}[];
|
|
13951
13951
|
}, {
|
|
13952
|
-
deposit_id: number;
|
|
13952
|
+
deposit_id: string | number;
|
|
13953
13953
|
owed_amounts: {
|
|
13954
13954
|
account_id: string;
|
|
13955
13955
|
amount: string;
|
|
@@ -13957,13 +13957,13 @@ declare const rpcResult: {
|
|
|
13957
13957
|
}>, "many">;
|
|
13958
13958
|
pending_withdrawals: z.ZodArray<z.ZodObject<{
|
|
13959
13959
|
account_id: z.ZodString;
|
|
13960
|
-
pending_deposits: z.ZodArray<z.
|
|
13960
|
+
pending_deposits: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>, "many">;
|
|
13961
13961
|
}, "strip", z.ZodTypeAny, {
|
|
13962
13962
|
account_id: string;
|
|
13963
13963
|
pending_deposits: bigint[];
|
|
13964
13964
|
}, {
|
|
13965
13965
|
account_id: string;
|
|
13966
|
-
pending_deposits:
|
|
13966
|
+
pending_deposits: (string | number)[];
|
|
13967
13967
|
}>, "many">;
|
|
13968
13968
|
network_fee_deduction_percent: z.ZodOptional<z.ZodNumber>;
|
|
13969
13969
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13991,7 +13991,7 @@ declare const rpcResult: {
|
|
|
13991
13991
|
amount: string;
|
|
13992
13992
|
}[];
|
|
13993
13993
|
deposits_pending_finalization: {
|
|
13994
|
-
deposit_id: number;
|
|
13994
|
+
deposit_id: string | number;
|
|
13995
13995
|
owed_amounts: {
|
|
13996
13996
|
account_id: string;
|
|
13997
13997
|
amount: string;
|
|
@@ -13999,7 +13999,7 @@ declare const rpcResult: {
|
|
|
13999
13999
|
}[];
|
|
14000
14000
|
pending_withdrawals: {
|
|
14001
14001
|
account_id: string;
|
|
14002
|
-
pending_deposits:
|
|
14002
|
+
pending_deposits: (string | number)[];
|
|
14003
14003
|
}[];
|
|
14004
14004
|
network_fee_deduction_percent?: number | undefined;
|
|
14005
14005
|
}>>, "many">;
|
package/dist/common.d.ts
CHANGED
|
@@ -13931,7 +13931,7 @@ declare const rpcResult: {
|
|
|
13931
13931
|
amount: string;
|
|
13932
13932
|
}>, "many">;
|
|
13933
13933
|
deposits_pending_finalization: z.ZodArray<z.ZodObject<{
|
|
13934
|
-
deposit_id: z.ZodEffects<z.ZodNumber, bigint, number>;
|
|
13934
|
+
deposit_id: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
13935
13935
|
owed_amounts: z.ZodArray<z.ZodObject<{
|
|
13936
13936
|
account_id: z.ZodString;
|
|
13937
13937
|
amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
@@ -13949,7 +13949,7 @@ declare const rpcResult: {
|
|
|
13949
13949
|
amount: bigint;
|
|
13950
13950
|
}[];
|
|
13951
13951
|
}, {
|
|
13952
|
-
deposit_id: number;
|
|
13952
|
+
deposit_id: string | number;
|
|
13953
13953
|
owed_amounts: {
|
|
13954
13954
|
account_id: string;
|
|
13955
13955
|
amount: string;
|
|
@@ -13957,13 +13957,13 @@ declare const rpcResult: {
|
|
|
13957
13957
|
}>, "many">;
|
|
13958
13958
|
pending_withdrawals: z.ZodArray<z.ZodObject<{
|
|
13959
13959
|
account_id: z.ZodString;
|
|
13960
|
-
pending_deposits: z.ZodArray<z.
|
|
13960
|
+
pending_deposits: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>, "many">;
|
|
13961
13961
|
}, "strip", z.ZodTypeAny, {
|
|
13962
13962
|
account_id: string;
|
|
13963
13963
|
pending_deposits: bigint[];
|
|
13964
13964
|
}, {
|
|
13965
13965
|
account_id: string;
|
|
13966
|
-
pending_deposits:
|
|
13966
|
+
pending_deposits: (string | number)[];
|
|
13967
13967
|
}>, "many">;
|
|
13968
13968
|
network_fee_deduction_percent: z.ZodOptional<z.ZodNumber>;
|
|
13969
13969
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -13991,7 +13991,7 @@ declare const rpcResult: {
|
|
|
13991
13991
|
amount: string;
|
|
13992
13992
|
}[];
|
|
13993
13993
|
deposits_pending_finalization: {
|
|
13994
|
-
deposit_id: number;
|
|
13994
|
+
deposit_id: string | number;
|
|
13995
13995
|
owed_amounts: {
|
|
13996
13996
|
account_id: string;
|
|
13997
13997
|
amount: string;
|
|
@@ -13999,7 +13999,7 @@ declare const rpcResult: {
|
|
|
13999
13999
|
}[];
|
|
14000
14000
|
pending_withdrawals: {
|
|
14001
14001
|
account_id: string;
|
|
14002
|
-
pending_deposits:
|
|
14002
|
+
pending_deposits: (string | number)[];
|
|
14003
14003
|
}[];
|
|
14004
14004
|
network_fee_deduction_percent?: number | undefined;
|
|
14005
14005
|
}>>, "many">;
|
package/dist/parsers.cjs
CHANGED
|
@@ -289,14 +289,14 @@ var cfBoostPoolDetails = _zod.z.array(
|
|
|
289
289
|
available_amounts: _zod.z.array(boostPoolAmount),
|
|
290
290
|
deposits_pending_finalization: _zod.z.array(
|
|
291
291
|
_zod.z.object({
|
|
292
|
-
deposit_id:
|
|
292
|
+
deposit_id: numberOrHex,
|
|
293
293
|
owed_amounts: _zod.z.array(boostPoolAmount)
|
|
294
294
|
})
|
|
295
295
|
),
|
|
296
296
|
pending_withdrawals: _zod.z.array(
|
|
297
297
|
_zod.z.object({
|
|
298
298
|
account_id: _zod.z.string(),
|
|
299
|
-
pending_deposits: _zod.z.array(
|
|
299
|
+
pending_deposits: _zod.z.array(numberOrHex)
|
|
300
300
|
})
|
|
301
301
|
),
|
|
302
302
|
network_fee_deduction_percent: _zod.z.number().optional()
|
package/dist/parsers.d.cts
CHANGED
|
@@ -15333,7 +15333,7 @@ declare const cfBoostPoolDetails: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.Zod
|
|
|
15333
15333
|
amount: string;
|
|
15334
15334
|
}>, "many">;
|
|
15335
15335
|
deposits_pending_finalization: z.ZodArray<z.ZodObject<{
|
|
15336
|
-
deposit_id: z.ZodEffects<z.ZodNumber, bigint, number>;
|
|
15336
|
+
deposit_id: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
15337
15337
|
owed_amounts: z.ZodArray<z.ZodObject<{
|
|
15338
15338
|
account_id: z.ZodString;
|
|
15339
15339
|
amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
@@ -15351,7 +15351,7 @@ declare const cfBoostPoolDetails: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.Zod
|
|
|
15351
15351
|
amount: bigint;
|
|
15352
15352
|
}[];
|
|
15353
15353
|
}, {
|
|
15354
|
-
deposit_id: number;
|
|
15354
|
+
deposit_id: string | number;
|
|
15355
15355
|
owed_amounts: {
|
|
15356
15356
|
account_id: string;
|
|
15357
15357
|
amount: string;
|
|
@@ -15359,13 +15359,13 @@ declare const cfBoostPoolDetails: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.Zod
|
|
|
15359
15359
|
}>, "many">;
|
|
15360
15360
|
pending_withdrawals: z.ZodArray<z.ZodObject<{
|
|
15361
15361
|
account_id: z.ZodString;
|
|
15362
|
-
pending_deposits: z.ZodArray<z.
|
|
15362
|
+
pending_deposits: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>, "many">;
|
|
15363
15363
|
}, "strip", z.ZodTypeAny, {
|
|
15364
15364
|
account_id: string;
|
|
15365
15365
|
pending_deposits: bigint[];
|
|
15366
15366
|
}, {
|
|
15367
15367
|
account_id: string;
|
|
15368
|
-
pending_deposits:
|
|
15368
|
+
pending_deposits: (string | number)[];
|
|
15369
15369
|
}>, "many">;
|
|
15370
15370
|
network_fee_deduction_percent: z.ZodOptional<z.ZodNumber>;
|
|
15371
15371
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -15393,7 +15393,7 @@ declare const cfBoostPoolDetails: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.Zod
|
|
|
15393
15393
|
amount: string;
|
|
15394
15394
|
}[];
|
|
15395
15395
|
deposits_pending_finalization: {
|
|
15396
|
-
deposit_id: number;
|
|
15396
|
+
deposit_id: string | number;
|
|
15397
15397
|
owed_amounts: {
|
|
15398
15398
|
account_id: string;
|
|
15399
15399
|
amount: string;
|
|
@@ -15401,7 +15401,7 @@ declare const cfBoostPoolDetails: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.Zod
|
|
|
15401
15401
|
}[];
|
|
15402
15402
|
pending_withdrawals: {
|
|
15403
15403
|
account_id: string;
|
|
15404
|
-
pending_deposits:
|
|
15404
|
+
pending_deposits: (string | number)[];
|
|
15405
15405
|
}[];
|
|
15406
15406
|
network_fee_deduction_percent?: number | undefined;
|
|
15407
15407
|
}>>, "many">;
|
package/dist/parsers.d.ts
CHANGED
|
@@ -15333,7 +15333,7 @@ declare const cfBoostPoolDetails: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.Zod
|
|
|
15333
15333
|
amount: string;
|
|
15334
15334
|
}>, "many">;
|
|
15335
15335
|
deposits_pending_finalization: z.ZodArray<z.ZodObject<{
|
|
15336
|
-
deposit_id: z.ZodEffects<z.ZodNumber, bigint, number>;
|
|
15336
|
+
deposit_id: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
15337
15337
|
owed_amounts: z.ZodArray<z.ZodObject<{
|
|
15338
15338
|
account_id: z.ZodString;
|
|
15339
15339
|
amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
@@ -15351,7 +15351,7 @@ declare const cfBoostPoolDetails: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.Zod
|
|
|
15351
15351
|
amount: bigint;
|
|
15352
15352
|
}[];
|
|
15353
15353
|
}, {
|
|
15354
|
-
deposit_id: number;
|
|
15354
|
+
deposit_id: string | number;
|
|
15355
15355
|
owed_amounts: {
|
|
15356
15356
|
account_id: string;
|
|
15357
15357
|
amount: string;
|
|
@@ -15359,13 +15359,13 @@ declare const cfBoostPoolDetails: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.Zod
|
|
|
15359
15359
|
}>, "many">;
|
|
15360
15360
|
pending_withdrawals: z.ZodArray<z.ZodObject<{
|
|
15361
15361
|
account_id: z.ZodString;
|
|
15362
|
-
pending_deposits: z.ZodArray<z.
|
|
15362
|
+
pending_deposits: z.ZodArray<z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>, "many">;
|
|
15363
15363
|
}, "strip", z.ZodTypeAny, {
|
|
15364
15364
|
account_id: string;
|
|
15365
15365
|
pending_deposits: bigint[];
|
|
15366
15366
|
}, {
|
|
15367
15367
|
account_id: string;
|
|
15368
|
-
pending_deposits:
|
|
15368
|
+
pending_deposits: (string | number)[];
|
|
15369
15369
|
}>, "many">;
|
|
15370
15370
|
network_fee_deduction_percent: z.ZodOptional<z.ZodNumber>;
|
|
15371
15371
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -15393,7 +15393,7 @@ declare const cfBoostPoolDetails: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.Zod
|
|
|
15393
15393
|
amount: string;
|
|
15394
15394
|
}[];
|
|
15395
15395
|
deposits_pending_finalization: {
|
|
15396
|
-
deposit_id: number;
|
|
15396
|
+
deposit_id: string | number;
|
|
15397
15397
|
owed_amounts: {
|
|
15398
15398
|
account_id: string;
|
|
15399
15399
|
amount: string;
|
|
@@ -15401,7 +15401,7 @@ declare const cfBoostPoolDetails: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.Zod
|
|
|
15401
15401
|
}[];
|
|
15402
15402
|
pending_withdrawals: {
|
|
15403
15403
|
account_id: string;
|
|
15404
|
-
pending_deposits:
|
|
15404
|
+
pending_deposits: (string | number)[];
|
|
15405
15405
|
}[];
|
|
15406
15406
|
network_fee_deduction_percent?: number | undefined;
|
|
15407
15407
|
}>>, "many">;
|
package/dist/parsers.mjs
CHANGED
|
@@ -289,14 +289,14 @@ var cfBoostPoolDetails = z.array(
|
|
|
289
289
|
available_amounts: z.array(boostPoolAmount),
|
|
290
290
|
deposits_pending_finalization: z.array(
|
|
291
291
|
z.object({
|
|
292
|
-
deposit_id:
|
|
292
|
+
deposit_id: numberOrHex,
|
|
293
293
|
owed_amounts: z.array(boostPoolAmount)
|
|
294
294
|
})
|
|
295
295
|
),
|
|
296
296
|
pending_withdrawals: z.array(
|
|
297
297
|
z.object({
|
|
298
298
|
account_id: z.string(),
|
|
299
|
-
pending_deposits: z.array(
|
|
299
|
+
pending_deposits: z.array(numberOrHex)
|
|
300
300
|
})
|
|
301
301
|
),
|
|
302
302
|
network_fee_deduction_percent: z.number().optional()
|