Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement →
Sign In

@scure/bip39

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scure/bip39 - npm Package Compare versions

Comparing version
1.5.1
to
1.5.2
+3
-2
esm/index.d.ts
/**
* Audited & minimal JS implementation of
* [BIP39 mnemonic phrases](https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki).
* @module
* @example
```js
import * as bip39 from '@scure/bip39';

@@ -26,4 +28,3 @@ import { wordlist } from '@scure/bip39/wordlists/english';

import { wordlist as traditionalChinese } from '@scure/bip39/wordlists/traditional-chinese';
* @module
```
*/

@@ -30,0 +31,0 @@ /**

/**
* Audited & minimal JS implementation of
* [BIP39 mnemonic phrases](https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki).
* @module
* @example
```js
import * as bip39 from '@scure/bip39';

@@ -26,4 +28,3 @@ import { wordlist } from '@scure/bip39/wordlists/english';

import { wordlist as traditionalChinese } from '@scure/bip39/wordlists/traditional-chinese';
* @module
```
*/

@@ -30,0 +31,0 @@ /*! scure-bip39 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) */

/**
* Audited & minimal JS implementation of
* [BIP39 mnemonic phrases](https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki).
* @module
* @example
```js
import * as bip39 from '@scure/bip39';

@@ -26,4 +28,3 @@ import { wordlist } from '@scure/bip39/wordlists/english';

import { wordlist as traditionalChinese } from '@scure/bip39/wordlists/traditional-chinese';
* @module
```
*/

@@ -30,0 +31,0 @@ /**

@@ -5,3 +5,5 @@ "use strict";

* [BIP39 mnemonic phrases](https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki).
* @module
* @example
```js
import * as bip39 from '@scure/bip39';

@@ -28,4 +30,3 @@ import { wordlist } from '@scure/bip39/wordlists/english';

import { wordlist as traditionalChinese } from '@scure/bip39/wordlists/traditional-chinese';
* @module
```
*/

@@ -32,0 +33,0 @@ Object.defineProperty(exports, "__esModule", { value: true });

+11
-7
{
"name": "@scure/bip39",
"version": "1.5.1",
"version": "1.5.2",
"description": "Secure, audited & minimal implementation of BIP39 mnemonic phrases",

@@ -14,8 +14,9 @@ "files": [

"dependencies": {
"@noble/hashes": "~1.7.0",
"@scure/base": "~1.2.1"
"@noble/hashes": "~1.7.1",
"@scure/base": "~1.2.2"
},
"devDependencies": {
"@paulmillr/jsbt": "0.2.1",
"micro-should": "0.4.0",
"@paulmillr/jsbt": "0.3.1",
"micro-bmark": "0.4.0",
"micro-should": "0.5.1",
"prettier": "3.3.2",

@@ -42,6 +43,9 @@ "typescript": "5.5.2"

"scripts": {
"build": "tsc && tsc -p tsconfig.esm.json",
"build": "tsc && tsc -p tsconfig.cjs.json",
"build:release": "npx jsbt esbuild test/build",
"lint": "prettier --check 'src/**/*.ts' 'test/*.test.ts' 'scripts/*.js'",
"format": "prettier --write 'src/**/*.ts' 'test/*.test.ts' 'scripts/*.js'",
"test": "cd test && tsc && node bip39.test.js",
"test": "node test/index.js",
"test:bun": "bun test/index.js",
"test:deno": "deno --allow-env --allow-read test/index.js",
"fetch-wordlist": "./scripts/fetch-wordlist.js"

@@ -48,0 +52,0 @@ },

@@ -31,4 +31,8 @@ # scure-bip39

> npm install @scure/bip39
> `npm install @scure/bip39`
> `deno add jsr:@scure/bip39`
> `deno doc jsr:@scure/bip39` # command-line documentation
We don't provide source maps.

@@ -35,0 +39,0 @@ Wordlists are large, including source maps would double package size.

/**
* Audited & minimal JS implementation of
* [BIP39 mnemonic phrases](https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki).
* @module
* @example
```js
import * as bip39 from '@scure/bip39';

@@ -26,4 +28,3 @@ import { wordlist } from '@scure/bip39/wordlists/english';

import { wordlist as traditionalChinese } from '@scure/bip39/wordlists/traditional-chinese';
* @module
```
*/

@@ -30,0 +31,0 @@