@exodus/assets-feature 9.0.0 → 9.0.1

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/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [9.0.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/assets-feature@9.0.0...@exodus/assets-feature@9.0.1) (2026-02-20)
7
+
8
+ ### Bug Fixes
9
+
10
+ - fix(assets-feature): skip gap limit scanning for freshly created wallets (#15311)
11
+
6
12
  ## [9.0.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/assets-feature@8.8.0...@exodus/assets-feature@9.0.0) (2026-02-16)
7
13
 
8
14
  ### Features
@@ -19,6 +19,7 @@ class AssetClientInterface {
19
19
  #transactionSigner
20
20
  #walletAccountsAtom
21
21
  #multisigAtom
22
+ #freshlyCreated = false
22
23
 
23
24
  constructor({
24
25
  addressProvider,
@@ -50,6 +51,10 @@ class AssetClientInterface {
50
51
  this.#multisigAtom = multisigAtom
51
52
  }
52
53
 
54
+ setFreshlyCreated = (value) => {
55
+ this.#freshlyCreated = value
56
+ }
57
+
53
58
  createLogger = (namespace) => {
54
59
  return this.#createLogger(namespace)
55
60
  }
@@ -176,6 +181,10 @@ class AssetClientInterface {
176
181
  const confirmationsNumber = await this.getConfirmationsNumber({ assetName })
177
182
  const out = { confirmationsNumber }
178
183
 
184
+ if (this.#freshlyCreated) {
185
+ out.gapLimit = 0
186
+ }
187
+
179
188
  const gapLimit =
180
189
  this.#config?.compatibilityModeGapLimits?.[walletAccountInstance.compatibilityMode]
181
190
  if (typeof gapLimit === 'number') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/assets-feature",
3
- "version": "9.0.0",
3
+ "version": "9.0.1",
4
4
  "license": "MIT",
5
5
  "description": "This Exodus SDK feature provides access to instances of all blockchain asset adapters supported by the wallet, and enables you to search for and add custom tokens at runtime.",
6
6
  "type": "module",
@@ -83,5 +83,5 @@
83
83
  "access": "public",
84
84
  "provenance": false
85
85
  },
86
- "gitHead": "e4705df6624c1fe8793d11ecd99351bdb6bb3687"
86
+ "gitHead": "6dc89086935fcd111dfd71ac8d05c7f40861de72"
87
87
  }
package/plugin/index.js CHANGED
@@ -43,7 +43,12 @@ const createAssetsPlugin = ({
43
43
  return result?.config?.assets
44
44
  }
45
45
 
46
+ const onCreate = () => {
47
+ assetClientInterface.setFreshlyCreated(true)
48
+ }
49
+
46
50
  const onImport = async () => {
51
+ assetClientInterface.setFreshlyCreated(false)
47
52
  const assetsConfig = await getRemoteAssetsConfig()
48
53
  assetsModule.initialize({ assetClientInterface, assetsConfig })
49
54
  }
@@ -103,6 +108,7 @@ const createAssetsPlugin = ({
103
108
  }
104
109
 
105
110
  return {
111
+ onCreate,
106
112
  onImport: Object.defineProperty(onImport, 'priority', { value: 1, writable: false }),
107
113
  onStart: Object.defineProperty(onStart, 'priority', { value: 1, writable: false }),
108
114
  onLoad,