ibrica-timelock
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -25,9 +25,9 @@ /// <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; | ||
stream_name: String; | ||
stream_name: string; | ||
}; | ||
@@ -34,0 +34,0 @@ export interface TokenStreamData { |
@@ -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>; | ||
} |
@@ -74,3 +74,3 @@ "use strict"; | ||
* @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 | ||
*/ | ||
@@ -253,3 +253,3 @@ Timelock.create = function (connection, wallet, timelockProgramId, newAcc, recipient, mint, depositedAmount, start, end, period, cliff, cliffAmount, cancelable_by_sender, cancelable_by_recipient, withdrawal_public, transferable_by_sender, transferable_by_recipient, release_rate, stream_name) { | ||
* @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). | ||
*/ | ||
@@ -256,0 +256,0 @@ Timelock.topup = function (connection, wallet, timelockProgramId, stream, amount) { |
{ | ||
"name": "ibrica-timelock", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "SDK to interact with StreamFlow Finance's Timelock program on Solana.", | ||
@@ -5,0 +5,0 @@ "main": "dist/timelock.js", |
46964