Skip to content

Commit

Permalink
bump: m3m3 sdk ver
Browse files Browse the repository at this point in the history
  • Loading branch information
00xSam committed Dec 15, 2024
1 parent fc87be9 commit 443050b
Show file tree
Hide file tree
Showing 5 changed files with 115 additions and 68 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Security

## @mercurial-finance/dynamic-amm-sdk [1.1.20] - PR[#183](https://github.com/mercurial-finance/mercurial-dynamic-amm-sdk/pull/183)
## @mercurial-finance/dynamic-amm-sdk [1.1.21] - PR[#190](https://github.com/mercurial-finance/mercurial-dynamic-amm-sdk/pull/190)

### Changed

- Use optimal CU when creating pool instead of requesting max CU

## @mercurial-finance/dynamic-amm-sdk [1.1.20] - PR[#183](https://github.com/mercurial-finance/mercurial-dynamic-amm-sdk/pull/183)

### Added

- Update `@meteora-ag/[email protected]`

## dynamic-amm [0.6.1] - PR [180](https://github.com/mercurial-finance/mercurial-dynamic-amm-sdk/pull/180)

### Added
Expand Down
4 changes: 2 additions & 2 deletions ts-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mercurial-finance/dynamic-amm-sdk",
"version": "1.1.20",
"version": "1.1.21",
"description": "Mercurial Vaults SDK is a typescript library that allows you to interact with Mercurial v2's AMM.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand All @@ -17,7 +17,7 @@
"@mercurial-finance/token-math": "6.0.0",
"@mercurial-finance/vault-sdk": "2.2.0",
"@metaplex-foundation/mpl-token-metadata": "~2.13.0",
"@meteora-ag/stake-for-fee": "1.0.28",
"@meteora-ag/m3m3": "1.0.4",
"@project-serum/anchor": "^0.24.2",
"@solana/buffer-layout": "^3 || ^4",
"@solana/spl-token": "^0.4.6",
Expand Down
167 changes: 104 additions & 63 deletions ts-client/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ts-client/src/amm/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import {
TOKEN_PROGRAM_ID,
} from '@solana/spl-token';
import VaultImpl, { calculateWithdrawableAmount, getVaultPdas } from '@mercurial-finance/vault-sdk';
import StakeForFee, { deriveFeeVault, STAKE_FOR_FEE_PROGRAM_ID, StakeForFeeProgram } from '@meteora-ag/stake-for-fee';
import StakeForFee, { deriveFeeVault, STAKE_FOR_FEE_PROGRAM_ID, StakeForFeeProgram } from '@meteora-ag/m3m3';
import invariant from 'invariant';
import {
AccountType,
Expand Down
2 changes: 1 addition & 1 deletion ts-client/src/amm/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
STAKE_FOR_FEE_PROGRAM_ID,
IDL as StakeForFeeIDL,
StakeForFee as StakeForFeeIdl,
} from '@meteora-ag/stake-for-fee';
} from '@meteora-ag/m3m3';
import { AnchorProvider, BN, Program } from '@coral-xyz/anchor';
import {
ASSOCIATED_TOKEN_PROGRAM_ID,
Expand Down

0 comments on commit 443050b

Please sign in to comment.