From 772daa6ec2e7d956c6a66cd5bec05fca7e60cc7a Mon Sep 17 00:00:00 2001 From: Dawid Sowa Date: Wed, 13 Nov 2024 13:23:58 +0100 Subject: [PATCH] fix: add preauth request resolver --- examples/simple-dapp/src/main.ts | 55 ++++++++++++++++++- .../request-resolver/resolvers/index.ts | 1 + .../resolvers/pre-authorization-response.ts | 46 ++++++++++++++++ .../modules/wallet-request/wallet-request.ts | 9 ++- packages/dapp-toolkit/src/schemas/index.ts | 8 +-- 5 files changed, 108 insertions(+), 11 deletions(-) create mode 100644 packages/dapp-toolkit/src/modules/wallet-request/request-resolver/resolvers/pre-authorization-response.ts diff --git a/examples/simple-dapp/src/main.ts b/examples/simple-dapp/src/main.ts index c88491bd..401fcaa8 100644 --- a/examples/simple-dapp/src/main.ts +++ b/examples/simple-dapp/src/main.ts @@ -36,7 +36,58 @@ content.innerHTML = `
- +