@dfm-fi/agent 0.2.1966 → 0.2.1967

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.
@@ -48,7 +48,7 @@ export const END_DISC = disc('rebalance_leg_end_owner');
48
48
  export function rebalancerProgramId() {
49
49
  return process.env.DFM_REBALANCER_PROGRAM_ID?.trim() || DEFAULT_REBALANCER_PROGRAM;
50
50
  }
51
- export const rebalancerConfigOf = (vault, program = rebalancerProgramId()) => PublicKey.findProgramAddressSync([Buffer.from('rebalancer_config'), new PublicKey(vault).toBuffer()], new PublicKey(program))[0].toBase58();
51
+ export const rebalancerConfigOf = (vault, program = rebalancerProgramId()) => PublicKey.findProgramAddressSync([Buffer.from('rebalancer'), new PublicKey(vault).toBuffer()], new PublicKey(program))[0].toBase58();
52
52
  const at = (ix, i) => ix.keys[i]?.pubkey.toBase58() ?? refuse(`missing account #${i}`);
53
53
  const hasDisc = (ix, d) => !!ix && Buffer.from(ix.data).subarray(0, 8).equals(d);
54
54
  export function verifyRebalanceLegIxs(payer, ixs, e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dfm-fi/agent",
3
- "version": "0.2.1966",
3
+ "version": "0.2.1967",
4
4
  "description": "DFM v2 MCP server — drive the full fund launch → deposit → redeem (+ manage) lifecycle from an AI agent against the live API.",
5
5
  "homepage": "https://app.dfm.finance/docs/agent",
6
6
  "mcpName": "io.github.DFM-Finance/dfm-agent",