solana.js: published 2.0.57
This commit is contained in:
parent
e549a23267
commit
fdc4601580
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "@switchboard-xyz/solana.js",
|
||||
"version": "2.0.56",
|
||||
"version": "2.0.57",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@switchboard-xyz/solana.js",
|
||||
"version": "2.0.56",
|
||||
"version": "2.0.57",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@project-serum/anchor": "^0.25.0",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@switchboard-xyz/solana.js",
|
||||
"version": "2.0.56",
|
||||
"version": "2.0.57",
|
||||
"author": "",
|
||||
"license": "MIT",
|
||||
"description": "API wrapper for integrating with the Switchboard V2 program on Solana",
|
||||
|
|
|
@ -26,7 +26,7 @@ export class AggregatorJson implements CreateQueueFeedParams {
|
|||
disableCrank: boolean;
|
||||
crankIndex?: number;
|
||||
|
||||
resolutionMode?: number;
|
||||
slidingWindow?: boolean;
|
||||
basePriorityFee?: number;
|
||||
priorityFeeBump?: number;
|
||||
priorityFeeBumpPeriod?: number;
|
||||
|
@ -77,10 +77,7 @@ export class AggregatorJson implements CreateQueueFeedParams {
|
|||
this.crankIndex =
|
||||
'crankIndex' in object ? Number(object.crankIndex) : undefined;
|
||||
|
||||
this.resolutionMode =
|
||||
'resolutionMode' in object
|
||||
? parseNumber(object, 'resolutionMode', 0)
|
||||
: undefined;
|
||||
this.slidingWindow = parseBoolean(object, 'slidingWindow', undefined);
|
||||
|
||||
this.basePriorityFee =
|
||||
'basePriorityFee' in object
|
||||
|
@ -141,6 +138,7 @@ export class AggregatorJson implements CreateQueueFeedParams {
|
|||
forceReportPeriod: this.forceReportPeriod,
|
||||
historyLimit: this.historyLimit,
|
||||
disableCrank: this.disableCrank,
|
||||
slidingWindow: this.slidingWindow,
|
||||
basePriorityFee: this.basePriorityFee,
|
||||
priorityFeeBump: this.priorityFeeBump,
|
||||
priorityFeeBumpPeriod: this.priorityFeeBumpPeriod,
|
||||
|
|
Loading…
Reference in New Issue