@epicentral/sos-sdk 0.15.0-beta → 0.15.2-beta

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/index.ts CHANGED
@@ -12,7 +12,25 @@ export {
12
12
  export { parseOptionProgramInstruction } from "./shared/option-program-parser";
13
13
 
14
14
  export * from "./accounts/pdas";
15
- export * from "./accounts/fetchers";
15
+ export {
16
+ accountExists,
17
+ decodeCollateralVaultFromCollateralPoolRawData,
18
+ decodeOptionPoolTradePubkeysFromRawData,
19
+ fetchAccountData,
20
+ fetchBuyerPosition,
21
+ fetchBuyerSettlementClaim,
22
+ fetchCollateralPool,
23
+ fetchLenderPosition,
24
+ fetchMakerSettlementClaim,
25
+ fetchManyAccounts,
26
+ fetchMarketDataAccount,
27
+ fetchOptionAccount,
28
+ fetchOptionAccounts,
29
+ fetchOptionPool,
30
+ fetchPoolLoan,
31
+ fetchVault,
32
+ fetchWriterPosition,
33
+ } from "./accounts/fetchers";
16
34
  export * from "./accounts/list";
17
35
  export * from "./accounts/resolve-option";
18
36
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epicentral/sos-sdk",
3
- "version": "0.15.0-beta",
3
+ "version": "0.15.2-beta",
4
4
  "private": false,
5
5
  "description": "Solana Option Standard SDK. The frontend-first SDK for Native Options Trading on Solana. Created by Epicentral Labs.",
6
6
  "type": "module",
@@ -51,6 +51,7 @@ import {
51
51
  parseUnwindWriterUnsoldInstruction,
52
52
  parseUpdateImpliedVolatilityInstruction,
53
53
  parseUpdateMarketDataInstruction,
54
+ parseUpdateMarketDataSwitchboardFeedInstruction,
54
55
  parseWithdrawFromPositionInstruction,
55
56
  parseWriteToPoolInstruction,
56
57
  } from "../generated/instructions";
@@ -311,6 +312,11 @@ export function parseOptionProgramInstruction<
311
312
  parseUpdateMarketDataInstruction(instruction),
312
313
  instructionType,
313
314
  );
315
+ case OptionProgramInstruction.UpdateMarketDataSwitchboardFeed:
316
+ return withInstructionType(
317
+ parseUpdateMarketDataSwitchboardFeedInstruction(instruction),
318
+ instructionType,
319
+ );
314
320
  case OptionProgramInstruction.WithdrawFromPosition:
315
321
  return withInstructionType(
316
322
  parseWithdrawFromPositionInstruction(instruction),