@bsv/wallet-toolbox-client 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.
@@ -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 + e.satoshis, 0);
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-client",
3
- "version": "2.1.20",
3
+ "version": "2.1.22",
4
4
  "description": "Client only Wallet Storage",
5
5
  "main": "./out/src/index.client.js",
6
6
  "types": "./out/src/index.client.d.ts",