@exodus/bitcoin-plugin 1.0.14 → 1.0.15

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/bitcoin-plugin",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
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.14",
22
+ "@exodus/bitcoin-api": "^2.3.15",
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": "5ab75b92c2a84548b0407b278047713df58152c7"
29
+ "gitHead": "90be61265b73fc6f3238604aea72368cf684faa5"
30
30
  }
@@ -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),