@rabby-wallet/eth-hd-keyring 3.6.4 → 3.6.5

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/dist/index.js CHANGED
@@ -150,7 +150,7 @@ class HdKeyring extends eth_simple_keyring_1.default {
150
150
  const [address] = this._addressFromIndex(i);
151
151
  accounts.push({
152
152
  address,
153
- index: i,
153
+ index: i + 1,
154
154
  });
155
155
  }
156
156
  return accounts;
package/index.ts CHANGED
@@ -127,7 +127,7 @@ class HdKeyring extends SimpleKeyring {
127
127
  const [address] = this._addressFromIndex(i);
128
128
  accounts.push({
129
129
  address,
130
- index: i+1,
130
+ index: i + 1,
131
131
  });
132
132
  }
133
133
  return accounts;
@@ -156,7 +156,7 @@ class HdKeyring extends SimpleKeyring {
156
156
  const [address] = this._addressFromIndex(i);
157
157
  accounts.push({
158
158
  address,
159
- index: i,
159
+ index: i + 1,
160
160
  });
161
161
  }
162
162
 
@@ -167,7 +167,7 @@ class HdKeyring extends SimpleKeyring {
167
167
  return Promise.resolve(
168
168
  this.wallets.map((w) => {
169
169
  return sigUtil.normalize(w.getAddress().toString('hex'));
170
- })
170
+ }),
171
171
  );
172
172
  }
173
173
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rabby-wallet/eth-hd-keyring",
3
- "version": "3.6.4",
3
+ "version": "3.6.5",
4
4
  "description": "A simple standard interface for a seed phrase generated set of Ethereum accounts.",
5
5
  "keywords": [
6
6
  "ethereum",