@exodus/bitcoin-plugin 1.0.14 → 1.0.16
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/package.json +3 -3
- package/src/create-asset.js +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/bitcoin-plugin",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.16",
|
|
4
4
|
"description": "Exodus bitcoin-plugin",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"files": [
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@exodus/asset-lib": "^3.7.1",
|
|
22
|
-
"@exodus/bitcoin-api": "^2.3.
|
|
22
|
+
"@exodus/bitcoin-api": "^2.3.16",
|
|
23
23
|
"@exodus/bitcoin-lib": "^2.2.8",
|
|
24
24
|
"minimalistic-assert": "^1.0.1"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@exodus/keychain": "^3.0.0"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "ea21eb60e35f84cf2086ae0304bf9fa8ce4058b1"
|
|
30
30
|
}
|
package/src/create-asset.js
CHANGED
|
@@ -118,6 +118,7 @@ export const createBitcoinAssetFactory = ({ asset, apiUrl, coinInfoNetwork }) =>
|
|
|
118
118
|
createFeeMonitor: (args) =>
|
|
119
119
|
new BitcoinFeeMonitor({ ...args, insight: () => insightClient, assetName: asset.name }),
|
|
120
120
|
createHistoryMonitor: (args) => createBitcoinMonitor({ insightClient, apiUrl, ...args }),
|
|
121
|
+
features,
|
|
121
122
|
getFeeData: () => feeData,
|
|
122
123
|
getBalances,
|
|
123
124
|
getKeyIdentifier: createGetKeyIdentifier({
|
|
@@ -125,7 +126,7 @@ export const createBitcoinAssetFactory = ({ asset, apiUrl, coinInfoNetwork }) =>
|
|
|
125
126
|
allowedPurposes,
|
|
126
127
|
allowedChainIndices: [0, 1, 2],
|
|
127
128
|
}),
|
|
128
|
-
hasFeature: (feature) => !!features[feature],
|
|
129
|
+
hasFeature: (feature) => !!features[feature], // @deprecated use api.features instead
|
|
129
130
|
createAccountState: () => accountStateClass,
|
|
130
131
|
parseUnsignedTx,
|
|
131
132
|
parseTx: ({ unsignedTx }) => parseUnsignedTx(unsignedTx),
|