@hadron-fi/sdk 0.4.2 → 0.4.3
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 +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1294,7 +1294,7 @@ function buildSetPoolState(authority, configPda, params, programId = HADRON_PROG
|
|
|
1294
1294
|
data
|
|
1295
1295
|
});
|
|
1296
1296
|
}
|
|
1297
|
-
function buildUpdateDeltaStaleness(authority, configPda, params, programId = HADRON_PROGRAM_ID) {
|
|
1297
|
+
function buildUpdateDeltaStaleness(authority, configPda, curveMetaPda, params, programId = HADRON_PROGRAM_ID) {
|
|
1298
1298
|
const data = Buffer.alloc(1 + 1);
|
|
1299
1299
|
data.writeUInt8(Discriminator.UpdateDeltaStaleness, 0);
|
|
1300
1300
|
data.writeUInt8(params.deltaStaleness, 1);
|
|
@@ -1302,7 +1302,8 @@ function buildUpdateDeltaStaleness(authority, configPda, params, programId = HAD
|
|
|
1302
1302
|
programId,
|
|
1303
1303
|
keys: [
|
|
1304
1304
|
{ pubkey: authority, isSigner: true, isWritable: false },
|
|
1305
|
-
{ pubkey: configPda, isSigner: false, isWritable: true }
|
|
1305
|
+
{ pubkey: configPda, isSigner: false, isWritable: true },
|
|
1306
|
+
{ pubkey: curveMetaPda, isSigner: false, isWritable: false }
|
|
1306
1307
|
],
|
|
1307
1308
|
data
|
|
1308
1309
|
});
|
|
@@ -1732,6 +1733,7 @@ var Hadron = class _Hadron {
|
|
|
1732
1733
|
return buildUpdateDeltaStaleness(
|
|
1733
1734
|
authority,
|
|
1734
1735
|
this.poolAddress,
|
|
1736
|
+
this.addresses.curveMeta,
|
|
1735
1737
|
params,
|
|
1736
1738
|
this.programId
|
|
1737
1739
|
);
|