@ethersproject/wordlists
Advanced tools
Comparing version 5.0.0-beta.121 to 5.0.0-beta.122
{ | ||
"name": "@ethersproject/wordlists", | ||
"version": "5.0.0-beta.121", | ||
"version": "5.0.0-beta.122", | ||
"description": "Word lists for BIP39 wallets.", | ||
@@ -26,3 +26,3 @@ "main": "index.js", | ||
}, | ||
"tarballHash": "0xc33319db98f1a15d5424d35a95950cbdb306d3be6da57e011b5ba023e725a87b" | ||
"tarballHash": "0xc76a8414d3f2e70ad564f9c82d6eaa9e831e467ebed51e4668aff916146e6436" | ||
} |
@@ -9,4 +9,3 @@ export declare function check(wordlist: Wordlist): string; | ||
join(words: Array<string>): string; | ||
static isWordlist(value: any): value is Wordlist; | ||
} | ||
export declare function register(lang: Wordlist, name?: string): void; |
@@ -5,2 +5,3 @@ "use strict"; | ||
var exportWordlist = false; | ||
var errors_1 = require("@ethersproject/errors"); | ||
var hash_1 = require("@ethersproject/hash"); | ||
@@ -22,4 +23,5 @@ var properties_1 = require("@ethersproject/properties"); | ||
function Wordlist(locale) { | ||
var _newTarget = this.constructor; | ||
errors_1.checkAbstract(_newTarget, Wordlist); | ||
properties_1.defineReadOnly(this, "locale", locale); | ||
properties_1.setType(this, "Wordlist"); | ||
} | ||
@@ -34,5 +36,2 @@ // Subclasses may override this | ||
}; | ||
Wordlist.isWordlist = function (value) { | ||
return properties_1.isType(value, "Wordlist"); | ||
}; | ||
return Wordlist; | ||
@@ -39,0 +38,0 @@ }()); |
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
105842
25
1036