@b3dotfun/sdk 0.0.66 → 0.0.67-alpha.0
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.
|
@@ -204,6 +204,11 @@ function useAuthentication(partnerId) {
|
|
|
204
204
|
client: thirdweb_1.client,
|
|
205
205
|
wallets: [wallet],
|
|
206
206
|
onConnect,
|
|
207
|
+
onTimeout: () => {
|
|
208
|
+
logout().catch(error => {
|
|
209
|
+
debug("@@useAuthentication:logout on timeout failed", { error });
|
|
210
|
+
});
|
|
211
|
+
},
|
|
207
212
|
});
|
|
208
213
|
/**
|
|
209
214
|
* useAutoConnectLoading starts as false
|
|
@@ -198,6 +198,11 @@ export function useAuthentication(partnerId) {
|
|
|
198
198
|
client,
|
|
199
199
|
wallets: [wallet],
|
|
200
200
|
onConnect,
|
|
201
|
+
onTimeout: () => {
|
|
202
|
+
logout().catch(error => {
|
|
203
|
+
debug("@@useAuthentication:logout on timeout failed", { error });
|
|
204
|
+
});
|
|
205
|
+
},
|
|
201
206
|
});
|
|
202
207
|
/**
|
|
203
208
|
* useAutoConnectLoading starts as false
|
package/package.json
CHANGED
|
@@ -240,6 +240,11 @@ export function useAuthentication(partnerId: string) {
|
|
|
240
240
|
client,
|
|
241
241
|
wallets: [wallet],
|
|
242
242
|
onConnect,
|
|
243
|
+
onTimeout: () => {
|
|
244
|
+
logout().catch(error => {
|
|
245
|
+
debug("@@useAuthentication:logout on timeout failed", { error });
|
|
246
|
+
});
|
|
247
|
+
},
|
|
243
248
|
});
|
|
244
249
|
|
|
245
250
|
/**
|