@rarible/types
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -7,3 +7,3 @@ declare const validAddress: unique symbol; | ||
export declare const ZERO_ADDRESS: Address; | ||
export declare function randomAddress(): import("./binary").Binary; | ||
export declare function randomAddress(): Address; | ||
export {}; |
@@ -24,4 +24,4 @@ "use strict"; | ||
function randomAddress() { | ||
return binary_1.randomBinary(20); | ||
return toAddress(binary_1.randomBinary(20)); | ||
} | ||
exports.randomAddress = randomAddress; |
@@ -7,3 +7,3 @@ declare const validWord: unique symbol; | ||
export declare const ZERO_WORD: Word; | ||
export declare function randomWord(): import("./binary").Binary; | ||
export declare function randomWord(): Word; | ||
export {}; |
@@ -24,4 +24,4 @@ "use strict"; | ||
function randomWord() { | ||
return binary_1.randomBinary(32); | ||
return toWord(binary_1.randomBinary(32)); | ||
} | ||
exports.randomWord = randomWord; |
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.1.3](https://github.com/rariblecom/ts-common/compare/@rarible/types@0.1.2...@rarible/types@0.1.3) (2021-07-20) | ||
### Bug Fixes | ||
* random function improve ([114c6c1](https://github.com/rariblecom/ts-common/commit/114c6c1444f19b76feff63316c76993088d3fc6a)) | ||
## [0.1.2](https://github.com/rariblecom/ts-common/compare/@rarible/types@0.1.1...@rarible/types@0.1.2) (2021-07-19) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@rarible/types", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"main": "build/index.js", | ||
@@ -35,3 +35,3 @@ "types": "build/index.d.ts", | ||
}, | ||
"gitHead": "29647e0e4b13c804541fdaef23a8382234bfa6de" | ||
"gitHead": "c576463677c8d48dc202f2bee98ba5ec1e3d634c" | ||
} |
Sorry, the diff of this file is not supported yet
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
25215