From 6475a2ba7e7adbc65a862a5905fe730d3a78957a Mon Sep 17 00:00:00 2001 From: junderw Date: Sun, 8 Sep 2024 23:19:07 +0900 Subject: [PATCH 1/2] Use NPM versions --- package-lock.json | 27 ++++++++++++--------------- package.json | 6 +++--- 2 files changed, 15 insertions(+), 18 deletions(-) diff --git a/package-lock.json b/package-lock.json index 500747e31..3fba0e200 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@noble/hashes": "^1.2.0", "bech32": "^2.0.0", - "bip174": "git://github.com/bitcoinjs/bip174.git#a475ce6bc50879448b054c3fe6a0d30ae1151b67", + "bip174": "^3.0.0-rc.0", "bs58check": "^4.0.0", "uint8array-tools": "^0.0.9", "valibot": "^0.38.0", @@ -29,7 +29,7 @@ "@typescript-eslint/eslint-plugin": "^8.2.0", "@typescript-eslint/parser": "^8.2.0", "better-npm-audit": "^3.7.3", - "bip32": "git://github.com/bitcoinjs/bip32.git#d220114b237aefc1965b53ae305cca063a46d3b9", + "bip32": "^5.0.0-rc.0", "bip39": "^3.1.0", "bip65": "^1.0.1", "bip68": "^1.0.3", @@ -37,7 +37,7 @@ "bs58": "^6.0.0", "c8": "^10.1.2", "dhttp": "^3.0.0", - "ecpair": "git://github.com/bitcoinjs/ecpair.git#0c8666fba4b1d626aa5a0ff81f88005ea1dee3b2", + "ecpair": "^3.0.0-rc.0", "eslint": "^9.9.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.2.1", @@ -1215,10 +1215,9 @@ } }, "node_modules/bip174": { - "version": "2.1.1", - "resolved": "git+ssh://git@github.com/bitcoinjs/bip174.git#a475ce6bc50879448b054c3fe6a0d30ae1151b67", - "integrity": "sha512-C7LLdoGN2Vc7548LBiFvz5LfBaRhj9ySMKQ3SsZPGC+Y1dGRRWMYvRBoEYUu4C4voEwtSxIp+cjG0ZkfAm4PyQ==", - "license": "MIT", + "version": "3.0.0-rc.0", + "resolved": "https://registry.npmjs.org/bip174/-/bip174-3.0.0-rc.0.tgz", + "integrity": "sha512-EmIEluP6pp1gIYxFFPgNP/mUudaI9UVwPpbuHHLeRh+DHeM7OpxyQPTOk5BiVHjnc2HjDJmF+AO+Huw3G6AxmA==", "dependencies": { "uint8array-tools": "^0.0.9", "varuint-bitcoin": "^2.0.0" @@ -1228,11 +1227,10 @@ } }, "node_modules/bip32": { - "version": "4.0.0", - "resolved": "git+ssh://git@github.com/bitcoinjs/bip32.git#d220114b237aefc1965b53ae305cca063a46d3b9", - "integrity": "sha512-Z8bzD4skSv2KfyjM/4K3yDDGsBP0v/mVkcTtE9o4gFaQCGIphBvpXbyyZnN8ByA+12aBjvZHO+I+4xVZ2g1TLQ==", + "version": "5.0.0-rc.0", + "resolved": "https://registry.npmjs.org/bip32/-/bip32-5.0.0-rc.0.tgz", + "integrity": "sha512-5hVFGrdCnF8GB1Lj2eEo4PRE7+jp+3xBLnfNjydivOkMvKmUKeJ9GG8uOy8prmWl3Oh154uzgfudR1FRkNBudA==", "dev": true, - "license": "MIT", "dependencies": { "@noble/hashes": "^1.2.0", "@scure/base": "^1.1.1", @@ -1617,11 +1615,10 @@ "dev": true }, "node_modules/ecpair": { - "version": "2.1.0", - "resolved": "git+ssh://git@github.com/bitcoinjs/ecpair.git#0c8666fba4b1d626aa5a0ff81f88005ea1dee3b2", - "integrity": "sha512-aBwXHe8kjGjgniLVg8f3WBrBK/uBLmSMIR/nDKpQ4lv5cbm8ix2dta6rQeyXh/wKwFl/im/74eHLJaIA53AqJg==", + "version": "3.0.0-rc.0", + "resolved": "https://registry.npmjs.org/ecpair/-/ecpair-3.0.0-rc.0.tgz", + "integrity": "sha512-y2CTHgI2MMeYiXd8IFgxgORWR1PpyeUACek4viZm12VcbooWhVnqFEHISO0NAiZKJb7CqXEOz5bnhv/UI0ULzw==", "dev": true, - "license": "MIT", "dependencies": { "uint8array-tools": "^0.0.8", "valibot": "^0.37.0", diff --git a/package.json b/package.json index 9497182d5..dd9c65a80 100644 --- a/package.json +++ b/package.json @@ -65,7 +65,7 @@ "dependencies": { "@noble/hashes": "^1.2.0", "bech32": "^2.0.0", - "bip174": "git://github.com/bitcoinjs/bip174.git#a475ce6bc50879448b054c3fe6a0d30ae1151b67", + "bip174": "^3.0.0-rc.0", "bs58check": "^4.0.0", "uint8array-tools": "^0.0.9", "valibot": "^0.38.0", @@ -84,13 +84,13 @@ "@typescript-eslint/eslint-plugin": "^8.2.0", "@typescript-eslint/parser": "^8.2.0", "better-npm-audit": "^3.7.3", - "bip32": "git://github.com/bitcoinjs/bip32.git#d220114b237aefc1965b53ae305cca063a46d3b9", + "bip32": "^5.0.0-rc.0", "bip39": "^3.1.0", "bip65": "^1.0.1", "bip68": "^1.0.3", "bs58": "^6.0.0", "dhttp": "^3.0.0", - "ecpair": "git://github.com/bitcoinjs/ecpair.git#0c8666fba4b1d626aa5a0ff81f88005ea1dee3b2", + "ecpair": "^3.0.0-rc.0", "eslint": "^9.9.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.2.1", From 56610d3f1e37559725770d5400abe9d02ac06417 Mon Sep 17 00:00:00 2001 From: junderw Date: Sun, 8 Sep 2024 23:26:19 +0900 Subject: [PATCH 2/2] 7.0.0-rc.0 --- package-lock.json | 4 ++-- package.json | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3fba0e200..4d81dded8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "bitcoinjs-lib", - "version": "6.1.6", + "version": "7.0.0-rc.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "bitcoinjs-lib", - "version": "6.1.6", + "version": "7.0.0-rc.0", "license": "MIT", "dependencies": { "@noble/hashes": "^1.2.0", diff --git a/package.json b/package.json index dd9c65a80..ca47758a9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bitcoinjs-lib", - "version": "6.1.6", + "version": "7.0.0-rc.0", "description": "Client-side Bitcoin JavaScript library", "type": "module", "main": "./src/cjs/index.cjs", @@ -11,10 +11,10 @@ "require": "./src/cjs/index.cjs", "import": "./src/esm/index.js", "types": "./src/cjs/index.d.ts" - }, + }, "./src/*": { "require": "./src/cjs/*.cjs", - "types": "./src/cjs/*.d.ts", + "types": "./src/cjs/*.d.ts", "import": "./src/esm/*.js" } },