tek-wallet 0.0.70 → 0.0.72

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.
@@ -86,7 +86,9 @@ exports.initialWalletData = {
86
86
  isAuthLoading: true,
87
87
  tokens: undefined,
88
88
  isTokensLoading: true,
89
- updateLogin: function () { },
89
+ updateLogin: function () {
90
+ console.warn("update login void");
91
+ },
90
92
  updateBalance: function () { },
91
93
  disconnect: function () { },
92
94
  };
@@ -187,7 +189,7 @@ function WalletDataProvider(_a) {
187
189
  react_1.default.useEffect(function () {
188
190
  updateLogin();
189
191
  console.warn("🚀 ~ React.useEffect ~ updateLogin:", updateLogin);
190
- }, []);
192
+ }, [updateLogin]);
191
193
  react_1.default.useEffect(function () {
192
194
  if (isAuthenticated) {
193
195
  updateBalance();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tek-wallet",
3
- "version": "0.0.70",
3
+ "version": "0.0.72",
4
4
  "description": "A custom React provider with TypeScript support",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",