@leofcoin/endpoint-clients 0.3.2 → 0.3.3

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/exports/direct.js CHANGED
@@ -23,7 +23,7 @@ class Client {
23
23
  return format ? formatUnits(balance) : balance;
24
24
  }
25
25
  selectedAccount() {
26
- return chain.selectedAccount;
26
+ return peernet.selectedAccount;
27
27
  }
28
28
  async selectAccount(address) {
29
29
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leofcoin/endpoint-clients",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "",
5
5
  "exports": {
6
6
  ".": {
package/src/direct.ts CHANGED
@@ -33,7 +33,7 @@ export default class Client {
33
33
  }
34
34
 
35
35
  selectedAccount() {
36
- return chain.selectedAccount
36
+ return peernet.selectedAccount
37
37
  }
38
38
 
39
39
  async selectAccount(address: any) {