@bsv/wallet-toolbox 2.1.20 → 2.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,10 @@ This document captures the history of significant changes to the wallet-toolbox
|
|
|
4
4
|
The git commit history contains the details but is unable to draw
|
|
5
5
|
attention to changes that materially alter behavior or extend functionality.
|
|
6
6
|
|
|
7
|
+
## wallet-toolbox 2.1.21
|
|
8
|
+
|
|
9
|
+
- Fix spending authorization bypass in querySpentSince, PR#150
|
|
10
|
+
|
|
7
11
|
## wallet-toolbox 2.1.20
|
|
8
12
|
|
|
9
13
|
- Update cdn.projectbabbage.com valid blockheaders file hash.
|
|
@@ -1973,7 +1973,7 @@ class WalletPermissionsManager {
|
|
|
1973
1973
|
labels: [`admin originator ${labelOrigin}`, `admin month ${this.getCurrentMonthYearUTC()}`],
|
|
1974
1974
|
labelQueryMode: 'all'
|
|
1975
1975
|
}, this.adminOriginator);
|
|
1976
|
-
total += actions.reduce((a, e) => a
|
|
1976
|
+
total += actions.reduce((a, e) => a - e.satoshis, 0);
|
|
1977
1977
|
}
|
|
1978
1978
|
return total;
|
|
1979
1979
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bsv/wallet-toolbox",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.22",
|
|
4
4
|
"description": "BRC100 conforming wallet, wallet storage and wallet signer components",
|
|
5
5
|
"main": "./out/src/index.js",
|
|
6
6
|
"types": "./out/src/index.d.ts",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
},
|
|
39
39
|
"homepage": "https://github.com/bsv-blockchain/wallet-toolbox#readme",
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@bsv/auth-express-middleware": "^2.0.
|
|
42
|
-
"@bsv/payment-express-middleware": "^2.0.
|
|
41
|
+
"@bsv/auth-express-middleware": "^2.0.5",
|
|
42
|
+
"@bsv/payment-express-middleware": "^2.0.2",
|
|
43
43
|
"@bsv/sdk": "^2.0.13",
|
|
44
44
|
"better-sqlite3": "^12.6.2",
|
|
45
45
|
"express": "^4.21.2",
|