@jpool/bond-sdk 0.11.0-next.12 → 0.11.0-next.13
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 +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -7032,6 +7032,12 @@ var JBondClient = class _JBondClient {
|
|
|
7032
7032
|
const [validatorBond, _] = this.pda.validatorBond(bondType, bondName, voteAccount);
|
|
7033
7033
|
return this.program.methods.bondUpdate().accountsPartial({ validatorBond }).instruction();
|
|
7034
7034
|
}
|
|
7035
|
+
/**
|
|
7036
|
+
* Build test set last update epoch instruction
|
|
7037
|
+
* NOTE!: This instruction is for testing purposes only.
|
|
7038
|
+
* It allows direct manipulation of the validator bond's last epoch update.
|
|
7039
|
+
* This should not be used in production environments.
|
|
7040
|
+
*/
|
|
7035
7041
|
async getTestSetLastUpdateEpochIx(props) {
|
|
7036
7042
|
const { bondType, bondName, voteAccount, epoch } = props;
|
|
7037
7043
|
const [validatorBond, _] = this.pda.validatorBond(bondType, bondName, voteAccount);
|