ibrica-timelock
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -25,7 +25,7 @@ /// <reference types="node" /> | ||
cliff_amount: BN; | ||
cancelable_by_sender: Boolean; | ||
cancelable_by_recipient: Boolean; | ||
withdrawal_public: Boolean; | ||
transferable_by_sender: Boolean; | ||
transferable_by_recipient: Boolean; | ||
cancelable_by_sender: boolean; | ||
cancelable_by_recipient: boolean; | ||
withdrawal_public: boolean; | ||
transferable_by_sender: boolean; | ||
transferable_by_recipient: boolean; | ||
release_rate: BN; | ||
@@ -32,0 +32,0 @@ stream_name: string; |
@@ -26,5 +26,5 @@ /// <reference types="bn.js" /> | ||
* @param {BN} releaseRate - Period rate in recurring payment | ||
* @param {String} streamName - Name or subject of the stream | ||
* @param {string} streamName - Name or subject of the stream | ||
*/ | ||
static create(connection: Connection, wallet: Wallet, timelockProgramId: Address, newAcc: Keypair, recipient: PublicKey, mint: PublicKey, depositedAmount: BN, start: BN, end: BN, period: BN, cliff: BN, cliffAmount: BN, cancelable_by_sender: boolean, cancelable_by_recipient: boolean, withdrawal_public: boolean, transferable_by_sender: boolean, transferable_by_recipient: boolean, release_rate: BN, stream_name: String): Promise<TransactionSignature>; | ||
static create(connection: Connection, wallet: Wallet, timelockProgramId: Address, newAcc: Keypair, recipient: PublicKey, mint: PublicKey, depositedAmount: BN, start: BN, end: BN, period: BN, cliff: BN, cliffAmount: BN, cancelable_by_sender: boolean, cancelable_by_recipient: boolean, withdrawal_public: boolean, transferable_by_sender: boolean, transferable_by_recipient: boolean, release_rate: BN, stream_name: string): Promise<TransactionSignature>; | ||
/** | ||
@@ -63,5 +63,5 @@ * Attempts withdrawal from a specified stream. | ||
* @param {PublicKey} stream - Identifier of a stream (escrow account with metadata) to be transferred. | ||
* @param {BN} amount - Spcified amount to topup (increases deposited amount). | ||
* @param {BN} amount - Specified amount to topup (increases deposited amount). | ||
*/ | ||
static topup(connection: Connection, wallet: Wallet, timelockProgramId: Address, stream: PublicKey, amount: BN): Promise<TransactionSignature>; | ||
} |
{ | ||
"name": "ibrica-timelock", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "SDK to interact with StreamFlow Finance's Timelock program on Solana.", | ||
@@ -5,0 +5,0 @@ "main": "dist/timelock.js", |
46965