@streamflow/stream 7.4.1 → 7.4.3
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.
|
@@ -2,14 +2,15 @@ import { SignerWalletAdapter } from "@solana/wallet-adapter-base";
|
|
|
2
2
|
import { AccountInfo, PublicKey, Keypair, VersionedTransaction, TransactionInstruction } from "@solana/web3.js";
|
|
3
3
|
import { ITransactionSolanaExt } from "@streamflow/common/solana";
|
|
4
4
|
import BN from "bn.js";
|
|
5
|
-
import { type IdlTypes } from "@coral-xyz/anchor";
|
|
5
|
+
import { type IdlAccounts, type IdlTypes } from "@coral-xyz/anchor";
|
|
6
6
|
import { AlignedStream, IRecipient, LinearStream, OracleTypeName, StreamType } from "../common/types.js";
|
|
7
7
|
import { StreamflowAlignedUnlocks as AlignedUnlocksIDL } from "./descriptor/streamflow_aligned_unlocks.js";
|
|
8
8
|
export { IChain, ICluster, ContractError } from "@streamflow/common";
|
|
9
9
|
type AlignedUnlocksTypes = IdlTypes<AlignedUnlocksIDL>;
|
|
10
|
-
|
|
11
|
-
export type
|
|
12
|
-
export type
|
|
10
|
+
type AlignedUnlocksAccounts = IdlAccounts<AlignedUnlocksIDL>;
|
|
11
|
+
export type AlignedUnlocksContract = AlignedUnlocksAccounts["contract"];
|
|
12
|
+
export type OracleType = IdlTypes<AlignedUnlocksIDL>["oracleType"];
|
|
13
|
+
export type TestOracle = AlignedUnlocksAccounts["testOracle"];
|
|
13
14
|
export type CreateParams = AlignedUnlocksTypes["createParams"];
|
|
14
15
|
export type ChangeOracleParams = AlignedUnlocksTypes["changeOracleParams"];
|
|
15
16
|
export type CreateTestOracleParams = AlignedUnlocksTypes["createTestOracleParams"];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@streamflow/stream",
|
|
3
|
-
"version": "7.4.
|
|
3
|
+
"version": "7.4.3",
|
|
4
4
|
"description": "JavaScript SDK to interact with Streamflow protocol.",
|
|
5
5
|
"homepage": "https://github.com/streamflow-finance/js-sdk/",
|
|
6
6
|
"main": "./dist/esm/index.js",
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"lint": "eslint --fix .",
|
|
43
43
|
"prepublishOnly": "pnpm run lint && pnpm run test run && pnpm run build"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "e22bbb3f9755ab0c1824b35f1781da39dea690a7",
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@streamflow/eslint-config": "7.4.
|
|
47
|
+
"@streamflow/eslint-config": "7.4.3",
|
|
48
48
|
"@types/bn.js": "5.1.1",
|
|
49
49
|
"@types/ethereum-checksum-address": "^0.0.0",
|
|
50
50
|
"date-fns": "2.28.0",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@solana/spl-token": "0.4.9",
|
|
60
60
|
"@solana/wallet-adapter-base": "0.9.19",
|
|
61
61
|
"@solana/web3.js": "1.95.4",
|
|
62
|
-
"@streamflow/common": "7.4.
|
|
62
|
+
"@streamflow/common": "7.4.3",
|
|
63
63
|
"@suiet/wallet-kit": "^0.3.3",
|
|
64
64
|
"aptos": "1.21.0",
|
|
65
65
|
"bn.js": "5.2.1",
|