@exodus/bitcoin-plugin 1.6.3 → 1.6.4
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 +5 -5
- package/src/create-asset.js +4 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/bitcoin-plugin",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.4",
|
|
4
4
|
"description": "Exodus bitcoin-plugin",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"files": [
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@exodus/asset-lib": "^4.0.0",
|
|
22
22
|
"@exodus/basic-utils": "^2.1.0",
|
|
23
|
-
"@exodus/bitcoin-api": "^2.6.
|
|
24
|
-
"@exodus/bitcoin-lib": "^2.2.
|
|
25
|
-
"@exodus/models": "^
|
|
23
|
+
"@exodus/bitcoin-api": "^2.6.4",
|
|
24
|
+
"@exodus/bitcoin-lib": "^2.2.11",
|
|
25
|
+
"@exodus/models": "^11.0.0",
|
|
26
26
|
"@exodus/text-encoding-utf8": "^1.0.2",
|
|
27
27
|
"bitcoinjs-lib": "^6.1.5",
|
|
28
28
|
"minimalistic-assert": "^1.0.1"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "33c832c0c550fa4a885aee9b34f7649bfb5fa464"
|
|
31
31
|
}
|
package/src/create-asset.js
CHANGED
|
@@ -38,6 +38,8 @@ export const createBitcoinAssetFactory = ({ asset, apiUrl, coinInfoNetwork }) =>
|
|
|
38
38
|
ordinalChainIndex = DEFAULT_ORDINAL_CHAIN_INDEX,
|
|
39
39
|
ordinalsEnabled = false,
|
|
40
40
|
brc20Enabled = false,
|
|
41
|
+
gapLimit = 10,
|
|
42
|
+
refreshGapLimit = 25,
|
|
41
43
|
overrideCallback = ({ asset }) => asset,
|
|
42
44
|
} = {}) => {
|
|
43
45
|
assert(asset, 'asset is required')
|
|
@@ -163,6 +165,8 @@ export const createBitcoinAssetFactory = ({ asset, apiUrl, coinInfoNetwork }) =>
|
|
|
163
165
|
ordinalsEnabled,
|
|
164
166
|
ordinalChainIndex,
|
|
165
167
|
apiUrl,
|
|
168
|
+
gapLimit,
|
|
169
|
+
refreshGapLimit,
|
|
166
170
|
...args,
|
|
167
171
|
})
|
|
168
172
|
const assetClientInterface = args.assetClientInterface
|