We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3c541f commit 377840aCopy full SHA for 377840a
1 file changed
clients/js/src/cmds/sui/setup.ts
@@ -235,7 +235,7 @@ export const addSetupCommands: YargsAddCommandsFn = (y: typeof yargs) =>
235
const getEmitterCapObjectId = async (
236
client: SuiGrpcClient,
237
tokenBridgeStateObjectId: string
238
-): Promise<string> => {
+): Promise<string | undefined> => {
239
const fields = await getObjectFields(client, tokenBridgeStateObjectId);
240
return fields?.emitter_cap?.id;
241
};
0 commit comments