Skip to content

Commit 8b36a3b

Browse files
authored
Merge pull request #104 from pimlicolabs/refactor/batua-flashfund
deprecate batua & flashfund docs
2 parents 3d1cc88 + f1e41a8 commit 8b36a3b

25 files changed

+80
-80
lines changed

docs/pages/guides/getting-started.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ Pimlico offers two types of paymasters to abstract away gas fees for your users:
4747

4848
[Learn more about our Paymasters →](/references/paymaster)
4949

50-
### Batua
50+
{/* ### Batua
5151
5252
A fully customizable smart account UI component built with shadcn/ui and secured with passkeys. Batua makes it easy to add account abstraction to your application with a beautiful, ready-to-use interface.
5353
54-
[Learn more about Batua →](https://batua.sh/)
54+
[Learn more about Batua →](https://batua.sh/) */}
5555

5656
## Quick Start
5757

docs/pages/guides/how-to/sponsorship-policies/webhook.mdx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ const body = {
4949
}
5050
```
5151

52+
{/*
5253
### FlashFund Withdrawal
5354
These webhooks are triggered when using the [flashfund_sponsorWithdrawal](/references/flash-fund/endpoints/flashfund_sponsorWithdrawal) endpoint.
5455
@@ -97,6 +98,7 @@ const body = {
9798
}
9899
}
99100
```
101+
*/}
100102

101103
## How to verify the webhook
102104

@@ -128,14 +130,7 @@ export default async function handler(req: VercelRequest, res: VercelResponse) {
128130
switch(webhookEvent.type) {
129131
case "sponsorshipPolicy.webhook":
130132
case "user_operation.sponsorship.requested":
131-
case "flash_fund.sponsorship.requested":
132-
return res.status(200).json({
133-
sponsor: true
134-
})
135133
case "user_operation.sponsorship.finalized":
136-
case "flash_fund.sponsorship.finalized":
137-
// Handle notification - no response needed
138-
return res.status(200).end()
139134
default:
140135
return res.status(400).json({ error: "Unknown webhook type" })
141136
}

docs/pages/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ import { HomePage } from 'vocs/components'
2929
## [<span className="underline text-teal-600 hover:text-teal-800 hover:underline">Paymasters →</span>](/references/paymaster)
3030
Sponsoring the gas fees for user operations on 100+ chains with a simple API endpoint.
3131
</div>
32-
<div>
32+
{/* <div>
3333
## [<span className="underline text-yellow-600 hover:text-yellow-800 hover:underline">Batua →</span>](https://batua.sh/)
3434
Fully customizable smart account shadcn/ui component secured with passkeys.
3535
</div>
36-
{/* <div>
36+
<div>
3737
## [<span className="underline text-yellow-600 hover:text-yellow-800 hover:underline">FlashFund →</span>](/references/flash-fund)
3838
Access instant ETH across any chain through developer-funded credit or user-controlled resource locks.
3939
</div> */}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)