@vechain/connex
Advanced tools
Comparing version 0.3.0 to 0.4.0
@@ -37,3 +37,3 @@ /** | ||
/** | ||
* Create a ticker to track block-chain steps. | ||
* Create a ticker to track head block changes. | ||
* | ||
@@ -54,5 +54,6 @@ * @returns ticker object | ||
* | ||
* @param revision block id or number | ||
* @param revision block id or number, | ||
* assumed to current value of status.head.id if omitted | ||
*/ | ||
block(revision: string | number): Thor.BlockVisitor | ||
block(revision?: string | number): Thor.BlockVisitor | ||
@@ -83,3 +84,3 @@ /** | ||
/** | ||
* @returns a promise resolves right after new block added | ||
* @returns a promise resolves right after head block changed | ||
* @remarks The returned promise never rejects. | ||
@@ -390,3 +391,3 @@ */ | ||
size: number | ||
meta?: Transaction.Meta | ||
meta: Transaction.Meta | ||
} | ||
@@ -405,3 +406,3 @@ | ||
}[] | ||
meta?: Transaction.Meta | ||
meta: Transaction.Meta | ||
} | ||
@@ -568,6 +569,5 @@ | ||
} | ||
type ErrorType = 'BadMessage' | 'Rejected' | ||
} | ||
} | ||
type ErrorType = 'BadParameter' | 'Rejected' | ||
} | ||
@@ -574,0 +574,0 @@ |
{ | ||
"name": "@vechain/connex", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "Standard interface to connect DApp with VeChain and user", | ||
@@ -5,0 +5,0 @@ "main": "", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22649
497