Skip to content

Commit b24aa6a

Browse files
committed
refactor(auth-service): simplify mintWithAuth method by directly referencing pkpMint
1 parent 09ae78e commit b24aa6a

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

packages/lit-client/src/lib/LitClient/createLitClient.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -866,13 +866,7 @@ export const _createNagaLitClient = async (
866866
});
867867
},
868868
authService: {
869-
mintWithAuth: async (params: {
870-
authData: AuthData;
871-
authServiceBaseUrl?: string;
872-
scopes?: ('sign-anything' | 'personal-sign' | 'no-permissions')[];
873-
}) => {
874-
return networkModule.authService.pkpMint(params);
875-
},
869+
mintWithAuth: networkModule.authService.pkpMint,
876870
},
877871
executeJs: async (
878872
params: z.infer<typeof networkModule.api.executeJs.schemas.Input>

0 commit comments

Comments
 (0)