@@ -50,8 +50,7 @@ import {
5050 MintWithCustomAuthRequest ,
5151 MintWithCustomAuthSchema ,
5252} from './schemas/MintWithCustomAuthSchema' ;
53- import { LitClient , NagaNetworkModule } from './type' ;
54- import { NagaLitClient } from './types/NagaLitClient.type' ;
53+ import { NagaNetworkModule } from './type' ;
5554
5655const _logger = getChildLogger ( {
5756 module : 'createLitClient' ,
@@ -84,7 +83,7 @@ export const createLitClient = async ({
8483 network,
8584} : {
8685 network : SupportedNetworkModule ;
87- } ) : Promise < LitClient > => {
86+ } ) => {
8887 switch ( network . id ) {
8988 // -- (v8) Naga Network Module
9089 case 'naga' :
@@ -144,7 +143,7 @@ export const createLitClient = async ({
144143 */
145144export const _createNagaLitClient = async (
146145 networkModule : NagaNetworkModule
147- ) : Promise < NagaLitClient > => {
146+ ) => {
148147 const _stateManager = await networkModule . createStateManager <
149148 Awaited < ReturnType < typeof orchestrateHandshake > > ,
150149 NagaNetworkModule
@@ -702,7 +701,7 @@ export const _createNagaLitClient = async (
702701 return response ;
703702 }
704703
705- const litClient : NagaLitClient = {
704+ const litClient = {
706705 // This function is likely be used by another module to get the current context, eg. auth manager
707706 // only adding what is required by other modules for now.
708707 // maybe you will need connectionInfo: _stateManager.getLatestConnectionInfo(),
0 commit comments