File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
packages/lit-node-client-nodejs/src/lib Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -874,7 +874,7 @@ export class LitNodeClientNodeJs
874874 // ========== Validate Params ==========
875875 if ( ! this . ready ) {
876876 const message =
877- '[executeJs] LitNodeClient is not ready. Please call await litNodeClient.connect() first.' ;
877+ '[executeJs] LitNodeClient is not ready. Please call await litNodeClient.connect() first.' ;
878878
879879 throw new LitNodeClientNotReadyError ( { } , message ) ;
880880 }
@@ -1991,13 +1991,9 @@ export class LitNodeClientNodeJs
19911991 if ( ! this . ready ) {
19921992 // If the client isn't ready, `connectedNodes` may be out-of-date, and we should throw an error immediately
19931993 const message =
1994- '[executeJs] LitNodeClient is not ready. Please call await litNodeClient.connect() first.' ;
1994+ '[executeJs] LitNodeClient is not ready. Please call await litNodeClient.connect() first.' ;
19951995
1996- throwError ( {
1997- message,
1998- errorKind : LIT_ERROR . LIT_NODE_CLIENT_NOT_READY_ERROR . kind ,
1999- errorCode : LIT_ERROR . LIT_NODE_CLIENT_NOT_READY_ERROR . name ,
2000- } ) ;
1996+ throw new LitNodeClientNotReadyError ( { } , message ) ;
20011997 }
20021998
20031999 this . connectedNodes . forEach ( ( nodeAddress : string ) => {
You can’t perform that action at this time.
0 commit comments