@@ -107,7 +107,7 @@ export const createQueryClass = (
107107 implementsClassName : string ,
108108 queryMsg : QueryMsg
109109) => {
110- context . addUtil ( 'CosmWasmClient ' ) ;
110+ context . addUtil ( 'ICosmWasmClient ' ) ;
111111
112112 const propertyNames = getMessageProperties ( queryMsg )
113113 . map ( ( method ) => Object . keys ( method . properties ) ?. [ 0 ] )
@@ -126,7 +126,7 @@ export const createQueryClass = (
126126 // client
127127 classProperty (
128128 'client' ,
129- t . tsTypeAnnotation ( t . tsTypeReference ( t . identifier ( 'CosmWasmClient ' ) ) )
129+ t . tsTypeAnnotation ( t . tsTypeReference ( t . identifier ( 'ICosmWasmClient ' ) ) )
130130 ) ,
131131
132132 // contractAddress
@@ -143,7 +143,7 @@ export const createQueryClass = (
143143 typedIdentifier (
144144 'client' ,
145145 t . tsTypeAnnotation (
146- t . tsTypeReference ( t . identifier ( 'CosmWasmClient ' ) )
146+ t . tsTypeReference ( t . identifier ( 'ICosmWasmClient ' ) )
147147 )
148148 ) ,
149149 typedIdentifier (
@@ -296,7 +296,7 @@ export const createExecuteClass = (
296296 extendsClassName : string | null ,
297297 execMsg : ExecuteMsg
298298) => {
299- context . addUtil ( 'SigningCosmWasmClient ' ) ;
299+ context . addUtil ( 'ISigningCosmWasmClient ' ) ;
300300
301301 const propertyNames = getMessageProperties ( execMsg )
302302 . map ( ( method ) => Object . keys ( method . properties ) ?. [ 0 ] )
@@ -371,7 +371,7 @@ export const createExecuteClass = (
371371 classProperty (
372372 'client' ,
373373 t . tsTypeAnnotation (
374- t . tsTypeReference ( t . identifier ( 'SigningCosmWasmClient ' ) )
374+ t . tsTypeReference ( t . identifier ( 'ISigningCosmWasmClient ' ) )
375375 ) ,
376376 false ,
377377 false ,
@@ -400,7 +400,7 @@ export const createExecuteClass = (
400400 typedIdentifier (
401401 'client' ,
402402 t . tsTypeAnnotation (
403- t . tsTypeReference ( t . identifier ( 'SigningCosmWasmClient ' ) )
403+ t . tsTypeReference ( t . identifier ( 'ISigningCosmWasmClient ' ) )
404404 )
405405 ) ,
406406 typedIdentifier ( 'sender' , t . tsTypeAnnotation ( t . tsStringKeyword ( ) ) ) ,
0 commit comments