@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.d.mts
CHANGED
|
@@ -2072,6 +2072,12 @@ declare class JBondClient {
|
|
|
2072
2072
|
bondName: string;
|
|
2073
2073
|
voteAccount: PublicKeyInitData;
|
|
2074
2074
|
}): Promise<TransactionInstruction>;
|
|
2075
|
+
/**
|
|
2076
|
+
* Build test set last update epoch instruction
|
|
2077
|
+
* NOTE!: This instruction is for testing purposes only.
|
|
2078
|
+
* It allows direct manipulation of the validator bond's last epoch update.
|
|
2079
|
+
* This should not be used in production environments.
|
|
2080
|
+
*/
|
|
2075
2081
|
getTestSetLastUpdateEpochIx(props: {
|
|
2076
2082
|
bondType: BondType;
|
|
2077
2083
|
bondName: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -2072,6 +2072,12 @@ declare class JBondClient {
|
|
|
2072
2072
|
bondName: string;
|
|
2073
2073
|
voteAccount: PublicKeyInitData;
|
|
2074
2074
|
}): Promise<TransactionInstruction>;
|
|
2075
|
+
/**
|
|
2076
|
+
* Build test set last update epoch instruction
|
|
2077
|
+
* NOTE!: This instruction is for testing purposes only.
|
|
2078
|
+
* It allows direct manipulation of the validator bond's last epoch update.
|
|
2079
|
+
* This should not be used in production environments.
|
|
2080
|
+
*/
|
|
2075
2081
|
getTestSetLastUpdateEpochIx(props: {
|
|
2076
2082
|
bondType: BondType;
|
|
2077
2083
|
bondName: string;
|
package/dist/index.js
CHANGED
|
@@ -7064,6 +7064,12 @@ var JBondClient = class _JBondClient {
|
|
|
7064
7064
|
const [validatorBond, _] = this.pda.validatorBond(bondType, bondName, voteAccount);
|
|
7065
7065
|
return this.program.methods.bondUpdate().accountsPartial({ validatorBond }).instruction();
|
|
7066
7066
|
}
|
|
7067
|
+
/**
|
|
7068
|
+
* Build test set last update epoch instruction
|
|
7069
|
+
* NOTE!: This instruction is for testing purposes only.
|
|
7070
|
+
* It allows direct manipulation of the validator bond's last epoch update.
|
|
7071
|
+
* This should not be used in production environments.
|
|
7072
|
+
*/
|
|
7067
7073
|
async getTestSetLastUpdateEpochIx(props) {
|
|
7068
7074
|
const { bondType, bondName, voteAccount, epoch } = props;
|
|
7069
7075
|
const [validatorBond, _] = this.pda.validatorBond(bondType, bondName, voteAccount);
|