mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-22 21:59:44 +03:00
fix: made price_feed_meta_info nullable (#46)
Co-authored-by: kuduzow <admin@intocode.ru>
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@orionprotocol/sdk",
|
"name": "@orionprotocol/sdk",
|
||||||
"version": "0.17.0",
|
"version": "0.17.1-rc.0",
|
||||||
"description": "Orion Protocol SDK",
|
"description": "Orion Protocol SDK",
|
||||||
"main": "./lib/esm/index.js",
|
"main": "./lib/esm/index.js",
|
||||||
"module": "./lib/esm/index.js",
|
"module": "./lib/esm/index.js",
|
||||||
|
|||||||
@@ -16,8 +16,10 @@ const rewardsMappingSchema = z.array(
|
|||||||
timestamp_ms: z.number(),
|
timestamp_ms: z.number(),
|
||||||
block_height: z.number(),
|
block_height: z.number(),
|
||||||
tx_hash: z.string(),
|
tx_hash: z.string(),
|
||||||
price_feed_meta_info: z.record(z.string(), z.record(z.string(), z.number())),
|
price_feed_meta_info: z
|
||||||
}),
|
.record(z.string(), z.record(z.string(), z.number()))
|
||||||
|
.nullable(),
|
||||||
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
export default rewardsMappingSchema;
|
export default rewardsMappingSchema;
|
||||||
|
|||||||
Reference in New Issue
Block a user