You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constmsg=`Error: Could not handshake with nodes after timeout of ${this.config.connectTimeout
703
-
}ms. Could only connect to ${Object.keys(serverKeys).length} of ${this.config.bootstrapUrls.length
704
-
} nodes. Please check your network connection and try again. Note that you can control this timeout with the connectTimeout config option which takes milliseconds.`;
702
+
constmsg=`Error: Could not handshake with nodes after timeout of ${
703
+
this.config.connectTimeout
704
+
}ms. Could only connect to ${Object.keys(serverKeys).length} of ${
705
+
this.config.bootstrapUrls.length
706
+
} nodes. Please check your network connection and try again. Note that you can control this timeout with the connectTimeout config option which takes milliseconds.`;
705
707
706
708
try{
707
709
thrownewInitError({},msg);
@@ -1029,8 +1031,8 @@ export class LitCore {
1029
1031
this._epochCache.currentNumber&&
1030
1032
this._epochCache.startTime&&
1031
1033
Math.floor(Date.now()/1000)<
1032
-
this._epochCache.startTime+
1033
-
Math.floor(EPOCH_PROPAGATION_DELAY/1000)&&
1034
+
this._epochCache.startTime+
1035
+
Math.floor(EPOCH_PROPAGATION_DELAY/1000)&&
1034
1036
this._epochCache.currentNumber>=3// FIXME: Why this check?
* This is a callback that will be used to generate an AuthSig within the session signatures. It's inclusion is required, as it defines the specific resources and abilities that will be allowed for the current session.
* This is a callback that will be used to generate an AuthSig within the session signatures. It's inclusion is required, as it defines the specific resources and abilities that will be allowed for the current session.
* An object that contains params to expose to the Lit Action. These will be injected to the JS runtime before your code runs, so you can use any of these as normal variables in your Lit Action.
0 commit comments