mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-13 21:52:36 +03:00
fix: made price_feed_meta_info nullable
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@orionprotocol/sdk",
|
||||
"version": "0.17.0",
|
||||
"version": "0.17.1-rc.0",
|
||||
"description": "Orion Protocol SDK",
|
||||
"main": "./lib/esm/index.js",
|
||||
"module": "./lib/esm/index.js",
|
||||
|
||||
@@ -16,8 +16,10 @@ const rewardsMappingSchema = z.array(
|
||||
timestamp_ms: z.number(),
|
||||
block_height: z.number(),
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user