Skip to content

Commit

Permalink
Update handler.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
kilavvy authored Feb 28, 2025
1 parent 9aa7156 commit cc86711
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/background/src/secret-wasm/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
import {
GetPubkeyMsg,
GetTxEncryptionKeyMsg,
ReqeustEncryptMsg,
RequestEncryptMsg,
RequestDecryptMsg,
} from "./messages";
import { SecretWasmService } from "./service";
Expand All @@ -25,10 +25,10 @@ export const getHandler: (
env,
msg as GetPubkeyMsg
);
case ReqeustEncryptMsg:
return handleReqeustEncryptMsg(service, permissionInteractionService)(
case RequestEncryptMsg:
return handleRequestEncryptMsg(service, permissionInteractionService)(
env,
msg as ReqeustEncryptMsg
msg as RequestEncryptMsg
);
case RequestDecryptMsg:
return handleRequestDecryptMsg(service, permissionInteractionService)(
Expand Down Expand Up @@ -64,10 +64,10 @@ const handleGetPubkeyMsg: (
};
};

const handleReqeustEncryptMsg: (
const handleRequestEncryptMsg: (
service: SecretWasmService,
permissionInteractionService: PermissionInteractiveService
) => InternalHandler<ReqeustEncryptMsg> = (
) => InternalHandler<RequestEncryptMsg> = (
service,
permissionInteractionService
) => {
Expand Down

0 comments on commit cc86711

Please sign in to comment.