@streamflow/stream 5.2.7 → 5.2.8

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.
@@ -21,6 +21,8 @@ export declare const isPayment: (streamData: {
21
21
  }) => boolean;
22
22
  export declare const isVesting: (streamData: {
23
23
  canTopup: boolean;
24
+ depositedAmount: BN;
25
+ cliffAmount: BN;
24
26
  }) => boolean;
25
27
  export declare const isTokenLock: (streamData: {
26
28
  canTopup: boolean;
@@ -30,7 +30,7 @@ var isPayment = function (streamData) {
30
30
  };
31
31
  exports.isPayment = isPayment;
32
32
  var isVesting = function (streamData) {
33
- return !streamData.canTopup && !exports.isCliffCloseToDepositedAmount;
33
+ return !streamData.canTopup && !(0, exports.isCliffCloseToDepositedAmount)(streamData);
34
34
  };
35
35
  exports.isVesting = isVesting;
36
36
  var isTokenLock = function (streamData) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamflow/stream",
3
- "version": "5.2.7",
3
+ "version": "5.2.8",
4
4
  "description": "JavaScript SDK to interact with Streamflow protocol.",
5
5
  "main": "dist/index.js",
6
6
  "homepage": "https://github.com/streamflow-finance/js-sdk/",