@streamflow/stream 9.0.1 → 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.
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/solana/index.cjs +1 -1
- package/dist/cjs/solana/index.cjs.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/solana/index.js +1 -1
- package/dist/esm/solana/index.js.map +1 -1
- package/package.json +4 -4
|
@@ -2591,7 +2591,7 @@ var SolanaStreamClient = class extends BaseStreamClient {
|
|
|
2591
2591
|
floorPrice
|
|
2592
2592
|
} = streamParams;
|
|
2593
2593
|
const { isNative, sender, computeLimit, computePrice, metadataPubKeys } = extParams;
|
|
2594
|
-
common.invariant(
|
|
2594
|
+
common.invariant(priceOracle || !oracleType || oracleType === "none", "Price oracle is required for the specified oracle type");
|
|
2595
2595
|
common.assertHasPublicKey(sender, "Sender's PublicKey is not available, check passed wallet adapter!");
|
|
2596
2596
|
const recipientPublicKey = new web3_js.PublicKey(recipient);
|
|
2597
2597
|
const mintPublicKey = isNative ? splToken.NATIVE_MINT : new web3_js.PublicKey(mint);
|