@solana/spl-governance
Advanced tools
Comparing version 0.3.14 to 0.3.15
@@ -211,3 +211,3 @@ import { PublicKey } from '@solana/web3.js'; | ||
councilVoteTipping: VoteTipping; | ||
reserved: number[]; | ||
reserved?: Uint8Array; | ||
constructor(args: { | ||
@@ -224,2 +224,3 @@ communityVoteThreshold: VoteThreshold; | ||
councilVoteTipping: VoteTipping; | ||
reserved?: Uint8Array; | ||
}); | ||
@@ -226,0 +227,0 @@ } |
@@ -244,4 +244,3 @@ "use strict"; | ||
this.useCommunityVoterWeightAddin = !!args.useCommunityVoterWeightAddin; | ||
this.useMaxCommunityVoterWeightAddin = | ||
!!args.useMaxCommunityVoterWeightAddin; | ||
this.useMaxCommunityVoterWeightAddin = !!args.useMaxCommunityVoterWeightAddin; | ||
this.reserved = args.reserved; | ||
@@ -302,4 +301,3 @@ } | ||
constructor(args) { | ||
var _a, _b, _c, _d, _e; | ||
this.reserved = [0, 0]; | ||
var _a, _b, _c, _d, _e, _f; | ||
this.communityVoteThreshold = args.communityVoteThreshold; | ||
@@ -322,2 +320,3 @@ this.minCommunityTokensToCreateProposal = | ||
(_e = args.councilVoteTipping) !== null && _e !== void 0 ? _e : this.communityVoteTipping; | ||
this.reserved = (_f = args.reserved) !== null && _f !== void 0 ? _f : new Uint8Array(3); | ||
} | ||
@@ -324,0 +323,0 @@ } |
@@ -231,2 +231,3 @@ "use strict"; | ||
['communityVetoVoteThreshold', 'VoteThreshold'], | ||
['reserved', [3]], | ||
] | ||
@@ -611,5 +612,3 @@ : []), | ||
['config', accounts_1.GovernanceConfig], | ||
...(accountVersion >= constants_1.ACCOUNT_VERSION_V2 | ||
? [['reserved', [3]]] | ||
: [['reserved', [6]]]), | ||
...(accountVersion >= constants_1.ACCOUNT_VERSION_V2 ? [] : [['reserved', [6]]]), | ||
['votingProposalCount', 'u16'], | ||
@@ -616,0 +615,0 @@ ], |
{ | ||
"name": "@solana/spl-governance", | ||
"version": "0.3.14", | ||
"version": "0.3.15", | ||
"description": "SPL Governance Client API", | ||
@@ -5,0 +5,0 @@ "author": "Solana Maintainers <maintainers@solana.foundation>", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
493182
6947