Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bitauth/libauth",
"version": "2.1.0",
"version": "2.1.1",
"description": "ultra-lightweight library for Bitcoin Cash, Bitcoin, and Bitauth",
"type": "module",
"main": "./build/index.js",
Expand Down Expand Up @@ -216,4 +216,4 @@
"resolutions": {
"eslint-config-bitauth": "portal:./config/eslint-config-bitauth"
}
}
}
22 changes: 10 additions & 12 deletions src/lib/key/bip39.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,16 @@ import type { Sha512 } from '../lib.js';

import { deriveHdPrivateNodeFromSeed } from './hd-key.js';
import { generateRandomBytes } from './key-utils.js';
/* eslint-disable import/no-internal-modules */
import bip39WordListChineseSimplified from './word-lists/bip39.chinese-simplified.json' assert { type: 'json' };
import bip39WordListChineseTraditional from './word-lists/bip39.chinese-traditional.json' assert { type: 'json' };
import bip39WordListCzech from './word-lists/bip39.czech.json' assert { type: 'json' };
import bip39WordListEnglish from './word-lists/bip39.english.json' assert { type: 'json' };
import bip39WordListFrench from './word-lists/bip39.french.json' assert { type: 'json' };
import bip39WordListItalian from './word-lists/bip39.italian.json' assert { type: 'json' };
import bip39WordListJapanese from './word-lists/bip39.japanese.json' assert { type: 'json' };
import bip39WordListKorean from './word-lists/bip39.korean.json' assert { type: 'json' };
import bip39WordListPortuguese from './word-lists/bip39.portuguese.json' assert { type: 'json' };
import bip39WordListSpanish from './word-lists/bip39.spanish.json' assert { type: 'json' };
/* eslint-enable import/no-internal-modules */
import { bip39WordListChineseSimplified } from './word-lists/bip39.chinese-simplified.js';
import { bip39WordListChineseTraditional } from './word-lists/bip39.chinese-traditional.js';
import { bip39WordListCzech } from './word-lists/bip39.czech.js';
import { bip39WordListEnglish } from './word-lists/bip39.english.js';
import { bip39WordListFrench } from './word-lists/bip39.french.js';
import { bip39WordListItalian } from './word-lists/bip39.italian.js';
import { bip39WordListJapanese } from './word-lists/bip39.japanese.js';
import { bip39WordListKorean } from './word-lists/bip39.korean.js';
import { bip39WordListPortuguese } from './word-lists/bip39.portuguese.js';
import { bip39WordListSpanish } from './word-lists/bip39.spanish.js';

export {
bip39WordListChineseSimplified,
Expand Down
Loading