@jpool/bond-sdk 0.11.0-next.14 → 0.11.0-next.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -2084,6 +2084,7 @@ declare class JBondClient {
2084
2084
  bondType: BondType;
2085
2085
  bondName: string;
2086
2086
  voteAccount: PublicKeyInitData;
2087
+ payer: PublicKey;
2087
2088
  epoch: number;
2088
2089
  }): Promise<TransactionInstruction>;
2089
2090
  /**
package/dist/index.d.ts CHANGED
@@ -2084,6 +2084,7 @@ declare class JBondClient {
2084
2084
  bondType: BondType;
2085
2085
  bondName: string;
2086
2086
  voteAccount: PublicKeyInitData;
2087
+ payer: PublicKey;
2087
2088
  epoch: number;
2088
2089
  }): Promise<TransactionInstruction>;
2089
2090
  /**
package/dist/index.js CHANGED
@@ -7071,9 +7071,9 @@ var JBondClient = class _JBondClient {
7071
7071
  * This should not be used in production environments.
7072
7072
  */
7073
7073
  async getTestSetLastUpdateEpochIx(props) {
7074
- const { bondType, bondName, voteAccount, epoch } = props;
7074
+ const { bondType, bondName, voteAccount, payer, epoch } = props;
7075
7075
  const [validatorBond, _] = this.pda.validatorBond(bondType, bondName, voteAccount);
7076
- return this.program.methods.testSetLastUpdateEpoch(new import_bn.BN(epoch)).accountsPartial({ validatorBond }).instruction();
7076
+ return this.program.methods.testSetLastUpdateEpoch(new import_bn.BN(epoch)).accountsPartial({ validatorBond, payer }).instruction();
7077
7077
  }
7078
7078
  /**
7079
7079
  * Build lock funds instruction