edge-currency-plugins 1.1.1 → 1.1.2
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.
|
@@ -66,7 +66,9 @@ var _utils = require('./utils');
|
|
|
66
66
|
// each with a different list of custom servers.
|
|
67
67
|
// The Edge UI only allows for one active login, though,
|
|
68
68
|
// so this is OK for now:
|
|
69
|
-
|
|
69
|
+
pluginState.updateServers(userSettings).catch(err => {
|
|
70
|
+
log.error(err)
|
|
71
|
+
})
|
|
70
72
|
|
|
71
73
|
const asCurrencyPrivateKey = _cleaners3.asPrivateKey.call(void 0, coinInfo.name, coinInfo.coinType)
|
|
72
74
|
// Private key may be missing for watch-only wallets
|
|
@@ -407,7 +409,7 @@ var _utils = require('./utils');
|
|
|
407
409
|
nativeAmount = bs.sub(nativeAmount, networkFee)
|
|
408
410
|
|
|
409
411
|
const otherParams = {
|
|
410
|
-
|
|
412
|
+
unsignedTx: tx.hex,
|
|
411
413
|
psbt: {
|
|
412
414
|
base64: tx.psbtBase64,
|
|
413
415
|
inputs: tx.inputs,
|
|
@@ -6,9 +6,7 @@ export declare const asUtxoUserSettings: import("cleaners").ObjectCleaner<{
|
|
|
6
6
|
}>;
|
|
7
7
|
export declare type UtxoUserSettings = ReturnType<typeof asUtxoUserSettings>;
|
|
8
8
|
export interface UtxoTxOtherParams {
|
|
9
|
-
|
|
10
|
-
hex?: string;
|
|
11
|
-
};
|
|
9
|
+
unsignedTx: string;
|
|
12
10
|
psbt?: {
|
|
13
11
|
base64: string;
|
|
14
12
|
inputs: Input[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "edge-currency-plugins",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "Edge currency plugins to fetch and process wallet accounts, balances and transactions.",
|
|
5
5
|
"repository": "https://github.com/EdgeApp/edge-currency-plugins",
|
|
6
6
|
"license": "MIT",
|
|
@@ -49,6 +49,7 @@
|
|
|
49
49
|
"cleaners": "^0.3.12",
|
|
50
50
|
"disklet": "^0.4.5",
|
|
51
51
|
"edge-core-js": "^0.19.20",
|
|
52
|
+
"edge-sync-client": "^0.2.7",
|
|
52
53
|
"memlet": "^0.1.6",
|
|
53
54
|
"uri-js": "^4.4.0",
|
|
54
55
|
"url-parse": "^1.5.2",
|
package/CHANGELOG.md
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# edge-currency-plugins
|
|
2
|
-
|
|
3
|
-
## v1.1.1 (2022-07-12)
|
|
4
|
-
|
|
5
|
-
- Fix: Add feathercoin blockbook server
|
|
6
|
-
- Fix: Engine crashs on fetching server list network failure
|
|
7
|
-
- Fix: Spend issues caused by not saving UTXOs locally without needing a network event
|
|
8
|
-
|
|
9
|
-
## v1.1.0 (2022-06-29)
|
|
10
|
-
|
|
11
|
-
- Change: Computes the sat/vByte used for a given transaction, and adds feeRateUsed object to the EdgeTransaction output.
|
|
12
|
-
|
|
13
|
-
## v1.0.0 (2022-06-22)
|
|
14
|
-
|
|
15
|
-
- Fix: Fix a logic error in UtxoEngineState.processUtxos
|
|
16
|
-
- Change: Disable BCH to BSV splitting for now
|
|
17
|
-
- Change: Add detailed logs for Socket errors caused by cleaner
|
|
18
|
-
|
|
19
|
-
## v1.0.0-rc.6 (2022-06-21)
|
|
20
|
-
|
|
21
|
-
- Fix: Fee rounding errors for some spending cases (particularly sweek keys for segwit wallets)
|
|
22
|
-
- Change: Use WhatsOnChain.com as the block explorer URLs for BSV
|
|
23
|
-
|
|
24
|
-
## v1.0.0-rc.5 (2022-06-21)
|
|
25
|
-
|
|
26
|
-
- Fix: Insufficient funds error for edge case (max spend on a zero-balance wallet)
|
|
27
|
-
|
|
28
|
-
## v1.0.0-rc.4 (2022-06-20)
|
|
29
|
-
|
|
30
|
-
- Fix: Avoid redundant ADDRESSES_CHECKED events after initial sync
|
|
31
|
-
|
|
32
|
-
## v1.0.0-rc.3 (2022-06-20)
|
|
33
|
-
|
|
34
|
-
- Fix: Balance bug after sending transactions
|
|
35
|
-
|
|
36
|
-
## v1.0.0-rc.2 (2022-06-17)
|
|
37
|
-
|
|
38
|
-
- Fix: Improve connection states and fix reconnection bugs caused when connections are unreliable
|
|
39
|
-
- Fix: Improve BSV address format support for addresses coming from networks
|