@epicentral/sos-sdk 0.2.8 → 0.2.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epicentral/sos-sdk",
3
- "version": "0.2.8",
3
+ "version": "0.2.9",
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",
package/short/builders.ts CHANGED
@@ -242,11 +242,6 @@ export async function buildOptionMintTransactionWithDerivation(
242
242
  rpc: params.rpc,
243
243
  });
244
244
 
245
- invariant(
246
- !!resolved.escrowLongAccount && !!resolved.premiumVault && !!resolved.collateralVault,
247
- "Option pool and collateral pool must exist; ensure rpc is provided and pools are initialized."
248
- );
249
-
250
245
  const underlyingMint = resolved.underlyingMint ?? params.underlyingMint;
251
246
  const [makerLongAccount, makerShortAccount] = await Promise.all([
252
247
  deriveAssociatedTokenAddress(params.maker, resolved.longMint),