@streamflow/stream 9.0.0 → 9.0.2

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.
@@ -5185,7 +5185,7 @@ var SolanaStreamClient = class extends BaseStreamClient {
5185
5185
  floorPrice
5186
5186
  } = streamParams;
5187
5187
  const { isNative, sender, computeLimit, computePrice, metadataPubKeys } = extParams;
5188
- common.invariant(!priceOracle && oracleType && oracleType !== "none", "Price oracle is required for the specified oracle type");
5188
+ common.invariant(priceOracle || !oracleType || oracleType === "none", "Price oracle is required for the specified oracle type");
5189
5189
  common.assertHasPublicKey(sender, "Sender's PublicKey is not available, check passed wallet adapter!");
5190
5190
  const recipientPublicKey = new web3_js.PublicKey(recipient);
5191
5191
  const mintPublicKey = isNative ? splToken.NATIVE_MINT : new web3_js.PublicKey(mint);