evernode-js-client 0.5.17-beta-v3.0 → 0.5.17-beta-v3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +3 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -12738,7 +12738,7 @@ class FoundationClient extends BaseEvernodeClient {
12738
12738
  Buffer.from(candidateId, 'hex').copy(voteBuf, CANDIDATE_VOTE_UNIQUE_ID_MEMO_OFFSET);
12739
12739
  voteBuf.writeUInt8(vote, CANDIDATE_VOTE_VALUE_MEMO_OFFSET)
12740
12740
 
12741
- return await this.xrplAcc.makePayment(this.governorAddress,
12741
+ return await this.xrplAcc.makePayment(this.config.heartbeatAddress,
12742
12742
  XrplConstants.MIN_XRP_AMOUNT,
12743
12743
  XrplConstants.XRP,
12744
12744
  null,
@@ -12828,7 +12828,6 @@ const GovernorEvents = {
12828
12828
  CandidateWithdrew: EvernodeEvents.CandidateWithdrew,
12829
12829
  ChildHookUpdated: EvernodeEvents.ChildHookUpdated,
12830
12830
  GovernanceModeChanged: EvernodeEvents.GovernanceModeChanged,
12831
- FoundationVoted: EvernodeEvents.FoundationVoted,
12832
12831
  DudHostReported: EvernodeEvents.DudHostReported,
12833
12832
  DudHostRemoved: EvernodeEvents.DudHostRemoved,
12834
12833
  DudHostStatusChanged: EvernodeEvents.DudHostStatusChanged,
@@ -12856,7 +12855,8 @@ const { BaseEvernodeClient } = __nccwpck_require__(6263);
12856
12855
  const { EvernodeEvents } = __nccwpck_require__(9849);
12857
12856
 
12858
12857
  const HeartbeatEvents = {
12859
- Heartbeat: EvernodeEvents.Heartbeat
12858
+ Heartbeat: EvernodeEvents.Heartbeat,
12859
+ FoundationVoted: EvernodeEvents.FoundationVoted
12860
12860
  }
12861
12861
 
12862
12862
  class HeartbeatClient extends BaseEvernodeClient {
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  ],
7
7
  "homepage": "https://github.com/HotPocketDev/evernode-js-client",
8
8
  "license": "MIT",
9
- "version": "0.5.17-beta-v3.0",
9
+ "version": "0.5.17-beta-v3.1",
10
10
  "dependencies": {
11
11
  "elliptic": "6.5.4",
12
12
  "libsodium-wrappers": "0.7.10",