@neutral-trade/sdk 0.4.11 → 0.4.12

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 CHANGED
@@ -187,7 +187,17 @@ declare enum DevnetVaultId {
187
187
  /** bundle-2 */
188
188
  bundle_2_100000003 = 100000003,
189
189
  /** bundle-4 */
190
- bundle_4_100000005 = 100000005,
190
+ bundle_4_100000004 = 100000004,
191
+ /** bundle-5 */
192
+ bundle_5_100000005 = 100000005,
193
+ /** bundle-6 */
194
+ bundle_6_100000006 = 100000006,
195
+ /** bundle-7 */
196
+ bundle_7_100000007 = 100000007,
197
+ /** bundle-8 */
198
+ bundle_8_100000008 = 100000008,
199
+ /** bundle-9 */
200
+ bundle_9_100000009 = 100000009,
191
201
  }
192
202
  //#endregion
193
203
  //#region src/utils/amount-raw.d.ts
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { A as VaultCategory, B as DEFAULT_BUNDLE_PROGRAM_ID_MAINNET, C as getBundleProgramId, D as isValidVaultAddress, E as getVaultRegistry, F as getSolanaTokenMint, G as isAllowlistedBundleProgramId, H as createAllowlistedBundleProgram, I as tokens, K as createDummyWallet, L as ALLOWLISTED_BUNDLE_PROGRAM_IDS_BY_CLUSTER, M as SupportedChain, N as SupportedToken, O as vaults, P as getSolanaTokenDecimals, R as BUNDLE_PROGRAM_ID_V2_MAINNET, S as parseAmountRawToBigInt, T as getVaultById, U as createBundleProgramById, V as assertAllowlistedBundleProgramId, W as getDefaultBundleProgramIdByCluster, _ as derivePendingAuthPDA, a as buildBundleDepositInstructions, b as getVaultDepositorAddressSync, d as computeRequestWithdrawalSharesFromAmountRaw, f as SEED_ORACLE, g as deriveOraclePDA, h as SEED_USER, i as initNeutralTradeCore, j as VaultType, k as vaultsDevnet, m as SEED_TEMP, n as buildRequestWithdrawInstructionForVaultId, o as buildBundleRequestSwitchInstruction, p as SEED_PENDING_AUTH, s as buildBundleRequestWithdrawInstruction, t as buildDepositInstructionsForVaultId, v as deriveTempDataPDA, w as getVaultByAddress, x as humanFloatToAmountRawString, y as deriveUserPDA, z as DEFAULT_BUNDLE_PROGRAM_ID_DEVNET } from "./neutral-trade-core-x0cLp5YE.mjs";
1
+ import { A as VaultCategory, B as DEFAULT_BUNDLE_PROGRAM_ID_MAINNET, C as getBundleProgramId, D as isValidVaultAddress, E as getVaultRegistry, F as getSolanaTokenMint, G as isAllowlistedBundleProgramId, H as createAllowlistedBundleProgram, I as tokens, K as createDummyWallet, L as ALLOWLISTED_BUNDLE_PROGRAM_IDS_BY_CLUSTER, M as SupportedChain, N as SupportedToken, O as vaults, P as getSolanaTokenDecimals, R as BUNDLE_PROGRAM_ID_V2_MAINNET, S as parseAmountRawToBigInt, T as getVaultById, U as createBundleProgramById, V as assertAllowlistedBundleProgramId, W as getDefaultBundleProgramIdByCluster, _ as derivePendingAuthPDA, a as buildBundleDepositInstructions, b as getVaultDepositorAddressSync, d as computeRequestWithdrawalSharesFromAmountRaw, f as SEED_ORACLE, g as deriveOraclePDA, h as SEED_USER, i as initNeutralTradeCore, j as VaultType, k as vaultsDevnet, m as SEED_TEMP, n as buildRequestWithdrawInstructionForVaultId, o as buildBundleRequestSwitchInstruction, p as SEED_PENDING_AUTH, s as buildBundleRequestWithdrawInstruction, t as buildDepositInstructionsForVaultId, v as deriveTempDataPDA, w as getVaultByAddress, x as humanFloatToAmountRawString, y as deriveUserPDA, z as DEFAULT_BUNDLE_PROGRAM_ID_DEVNET } from "./neutral-trade-core-CWk75xRT.mjs";
2
2
  import { PublicKey } from "@solana/web3.js";
3
3
 
4
4
  //#region src/constants/vault-ids.ts
@@ -184,7 +184,17 @@ let DevnetVaultId = /* @__PURE__ */ function(DevnetVaultId$1) {
184
184
  /** bundle-2 */
185
185
  DevnetVaultId$1[DevnetVaultId$1["bundle_2_100000003"] = 100000003] = "bundle_2_100000003";
186
186
  /** bundle-4 */
187
- DevnetVaultId$1[DevnetVaultId$1["bundle_4_100000005"] = 100000005] = "bundle_4_100000005";
187
+ DevnetVaultId$1[DevnetVaultId$1["bundle_4_100000004"] = 100000004] = "bundle_4_100000004";
188
+ /** bundle-5 */
189
+ DevnetVaultId$1[DevnetVaultId$1["bundle_5_100000005"] = 100000005] = "bundle_5_100000005";
190
+ /** bundle-6 */
191
+ DevnetVaultId$1[DevnetVaultId$1["bundle_6_100000006"] = 100000006] = "bundle_6_100000006";
192
+ /** bundle-7 */
193
+ DevnetVaultId$1[DevnetVaultId$1["bundle_7_100000007"] = 100000007] = "bundle_7_100000007";
194
+ /** bundle-8 */
195
+ DevnetVaultId$1[DevnetVaultId$1["bundle_8_100000008"] = 100000008] = "bundle_8_100000008";
196
+ /** bundle-9 */
197
+ DevnetVaultId$1[DevnetVaultId$1["bundle_9_100000009"] = 100000009] = "bundle_9_100000009";
188
198
  return DevnetVaultId$1;
189
199
  }({});
190
200
 
package/dist/internal.mjs CHANGED
@@ -1,3 +1,3 @@
1
- import { c as buildBundleDepositInstructionsWithVault, i as initNeutralTradeCore, l as buildBundleRequestSwitchInstructionWithVault, n as buildRequestWithdrawInstructionForVaultId, r as getBundleProgramForVault, t as buildDepositInstructionsForVaultId, u as buildBundleRequestWithdrawInstructionWithVault } from "./neutral-trade-core-x0cLp5YE.mjs";
1
+ import { c as buildBundleDepositInstructionsWithVault, i as initNeutralTradeCore, l as buildBundleRequestSwitchInstructionWithVault, n as buildRequestWithdrawInstructionForVaultId, r as getBundleProgramForVault, t as buildDepositInstructionsForVaultId, u as buildBundleRequestWithdrawInstructionWithVault } from "./neutral-trade-core-CWk75xRT.mjs";
2
2
 
3
3
  export { buildBundleDepositInstructionsWithVault, buildBundleRequestSwitchInstructionWithVault, buildBundleRequestWithdrawInstructionWithVault, buildDepositInstructionsForVaultId, buildRequestWithdrawInstructionForVaultId, getBundleProgramForVault, initNeutralTradeCore };
@@ -13059,7 +13059,7 @@ var vaults_devnet_default = [
13059
13059
  "pointsEnabled": true
13060
13060
  },
13061
13061
  {
13062
- "vaultId": 100000005,
13062
+ "vaultId": 100000004,
13063
13063
  "name": "bundle-4",
13064
13064
  "type": "Bundle",
13065
13065
  "category": "Market Neutral",
@@ -13067,6 +13067,56 @@ var vaults_devnet_default = [
13067
13067
  "depositToken": "USDC",
13068
13068
  "pointsMultiplier": 1,
13069
13069
  "pointsEnabled": true
13070
+ },
13071
+ {
13072
+ "vaultId": 100000005,
13073
+ "name": "bundle-5",
13074
+ "type": "Bundle",
13075
+ "category": "Market Neutral",
13076
+ "vaultAddress": "J17FgERPmZ9JQNjpaCKb3ZsYseeyrpw3PXFPUrK7zLVa",
13077
+ "depositToken": "USDC",
13078
+ "pointsMultiplier": 1,
13079
+ "pointsEnabled": true
13080
+ },
13081
+ {
13082
+ "vaultId": 100000006,
13083
+ "name": "bundle-6",
13084
+ "type": "Bundle",
13085
+ "category": "Market Neutral",
13086
+ "vaultAddress": "3VUBZk5V1KiPBdAj1Zkrnm3w8zriAg8UJ8Z155Ja8xdS",
13087
+ "depositToken": "USDC",
13088
+ "pointsMultiplier": 1,
13089
+ "pointsEnabled": true
13090
+ },
13091
+ {
13092
+ "vaultId": 100000007,
13093
+ "name": "bundle-7",
13094
+ "type": "Bundle",
13095
+ "category": "Market Neutral",
13096
+ "vaultAddress": "C2SGzvgoZu754yVNEL8ChAyxePo54CPpuyY3qMkmBSJA",
13097
+ "depositToken": "USDC",
13098
+ "pointsMultiplier": 1,
13099
+ "pointsEnabled": true
13100
+ },
13101
+ {
13102
+ "vaultId": 100000008,
13103
+ "name": "bundle-8",
13104
+ "type": "Bundle",
13105
+ "category": "Directional",
13106
+ "vaultAddress": "H3jCQZWkMD3tPjLyzJiVq4unjX45YcN7J45zVPQXaegy",
13107
+ "depositToken": "USDC",
13108
+ "pointsMultiplier": 1,
13109
+ "pointsEnabled": true
13110
+ },
13111
+ {
13112
+ "vaultId": 100000009,
13113
+ "name": "bundle-9",
13114
+ "type": "Bundle",
13115
+ "category": "Directional",
13116
+ "vaultAddress": "4kdm7AHWVfXUDE4qErojXDdLGnU7taZN7rcJ11uaLkH1",
13117
+ "depositToken": "USDC",
13118
+ "pointsMultiplier": 1,
13119
+ "pointsEnabled": true
13070
13120
  }
13071
13121
  ];
13072
13122
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@neutral-trade/sdk",
3
3
  "type": "module",
4
- "version": "0.4.11",
4
+ "version": "0.4.12",
5
5
  "description": "SDK for Neutral Trade vaults",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/neutral-trade/sdk#readme",