Skip to content

Commit a548cbe

Browse files
committed
Merge branch 'master' into final-qa
2 parents bb9a914 + 0ec45e4 commit a548cbe

File tree

106 files changed

+616
-618
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+616
-618
lines changed

.github/workflows/chromatic.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: "Chromatic Publish"
22

33
on:
44
push:
5-
branches:
6-
- master
5+
paths:
6+
- "storybook/**"
77

88
jobs:
99
test:

_pages/builderkits/onchainkit/paymaster/errors.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ Below are a list of common error codes returned by the Paymaster.
2727

2828
| Message | Description |
2929
| :------------------------------------------------------------ | :---------------------------------------------------------------- |
30-
| rejected due to max per user op spend limit exceeded | UserOperation cost too large - configure Per UserOperation limit. |
31-
| rejected due to max monthly org spend limit | over max monthly spend - contact us to increase your limit. |
32-
| rejected due to max global usd spend limit reached | over configured max total USD - adjust your policy. |
30+
| rejected due to max per user op Spend Permission exceeded | UserOperation cost too large - configure Per UserOperation limit. |
31+
| rejected due to max monthly org Spend Permission | over max monthly spend - contact us to increase your limit. |
32+
| rejected due to max global usd Spend Permission reached | over configured max total USD - adjust your policy. |
3333
| rejected due to maximum per address transaction count reached | per sender address maximum number of txn sponsored reached. |
3434
| rejected due to maximum per address sponsorship reached | per sender address maximum USD sponsorship reached. |
3535
| attestation not found for address | sender address does not have required attestation. |

_pages/builderkits/onchainkit/paymaster/gasless-transactions-with-paymaster.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ You should eventually encounter an error similar to this:
645645
```json
646646
{
647647
"code": -32001,
648-
"message": "request denied - rejected due to max global usd spend limit reached"
648+
"message": "request denied - rejected due to max global usd Spend Permission reached"
649649
}
650650
```
651651

_pages/cookbook/account-abstraction/gasless-transactions-with-paymaster.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ async function sendTransaction(client, recipientAddress) {
294294
```json
295295
{
296296
"code": -32001,
297-
"message": "request denied - rejected due to max global usd spend limit reached"
297+
"message": "request denied - rejected due to max global usd Spend Permission reached"
298298
}
299299
```
300300
You’ve hit the **global** limit of sponsored gas. Increase it in the CDP dashboard and wait a few minutes for changes to take effect.

_pages/identity/smart-wallet/guides/sub-accounts/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ If you want to skip ahead and just get the final code, you can find it here:
4545
2. [Using Sub Accounts](/identity/smart-wallet/guides/sub-accounts/using-sub-accounts) - Explore how to interact with Sub Accounts in your application. This guide demonstrates:
4646

4747
- Signing messages with Sub Accounts using `useSignMessage`
48-
- Sending transactions with spend limits using `useSendTransaction`
48+
- Sending transactions with Spend Permissions using `useSendTransaction`
4949
- Building a complete interface for wallet connection and transactions
5050
- Understanding transaction limitations based on spend permissions

_pages/identity/smart-wallet/guides/sub-accounts/setup.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Let's break down the key preference parameters:
123123
- `keysUrl`: Points to the development environment for Smart Wallet testing
124124
- `options: 'smartWalletOnly'`: Ensures only Smart Wallet mode is used
125125
- `enableAutoSubAccounts: true`: When set to true, automatically creates a Sub Account at connection
126-
- `defaultSpendLimits`: Configures Spend Limits for Sub Account for a network (eg. Base Sepolia `84532`), including:
126+
- `defaultSpendLimits`: Configures Spend Permissions for Sub Account for a network (eg. Base Sepolia `84532`), including:
127127

128128
- Token address (In this case, `0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE` represents the native ETH)
129129
- Allowance WEI amount (in Hex)

_pages/use-cases/go-gasless.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ To confirm that your spend policies are correctly in place, try running the scri
332332
```json
333333
{
334334
"code": -32001,
335-
"message": "request denied - rejected due to max global usd spend limit reached"
335+
"message": "request denied - rejected due to max global usd Spend Permission reached"
336336
}
337337
```
338338
You’ve hit the **global** limit of sponsored gas. Increase it in the CDP dashboard and wait a few minutes for changes to take effect.

docs/cookbook/defi-your-app.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Lets add the `Swap` component to your app.
6767
You should now see the following swap component in your app:
6868

6969
<iframe
70-
src="https://682cef8eb764086a250fb541-zdfthryttt.chromatic.com/iframe.html?args=&id=onchainkit-swap-wallet--not-connected&viewMode=story&dark=true&hero=true"
70+
src="https://684b5e62b1ff46bc5bf83966-aijszlfakk.chromatic.com/iframe.html?args=&id=onchainkit-swap-wallet--not-connected&viewMode=story&dark=true&hero=true"
7171
width="100%"
7272
height="auto"
7373
/>
@@ -126,7 +126,7 @@ import { Earn } from '@coinbase/onchainkit/earn'; // [!code focus]
126126
Just like that, you've added a yield-generating vault to your app.
127127

128128
<iframe
129-
src="https://682cef8eb764086a250fb541-zdfthryttt.chromatic.com/iframe.html?args=&id=onchainkit-earn--main&viewMode=story&dark=true&hero=true"
129+
src="https://684b5e62b1ff46bc5bf83966-aijszlfakk.chromatic.com/iframe.html?args=&id=onchainkit-earn--main&viewMode=story&dark=true&hero=true"
130130
width="100%"
131131
height="400px"
132132
/>
@@ -190,7 +190,7 @@ function CustomDepositButtons() {
190190
</CodeGroup>
191191

192192
<iframe
193-
src="https://682cef8eb764086a250fb541-zdfthryttt.chromatic.com/iframe.html?args=&id=onchainkit-earn--predefined-deposit&viewMode=story&dark=true&hero=true"
193+
src="https://684b5e62b1ff46bc5bf83966-aijszlfakk.chromatic.com/iframe.html?args=&id=onchainkit-earn--predefined-deposit&viewMode=story&dark=true&hero=true"
194194
width="100%"
195195
height="280px"
196196
/>
@@ -223,7 +223,7 @@ import { FundCard } from '@coinbase/onchainkit/fund';
223223
```
224224

225225
<iframe
226-
src="https://682cef8eb764086a250fb541-zdfthryttt.chromatic.com/iframe.html?args=&id=onchainkit-fundcard--default&viewMode=story&dark=true&hero=true"
226+
src="https://684b5e62b1ff46bc5bf83966-aijszlfakk.chromatic.com/iframe.html?args=&id=onchainkit-fundcard--default&viewMode=story&dark=true&hero=true"
227227
width="100%"
228228
height="370px"
229229
/>
@@ -284,7 +284,7 @@ export default function BuyComponents() { // [!code focus]
284284
```
285285

286286
<iframe
287-
src="https://682cef8eb764086a250fb541-zdfthryttt.chromatic.com/iframe.html?args=&id=onchainkit-buy--disabled&viewMode=story&dark=true&hero=true"
287+
src="https://684b5e62b1ff46bc5bf83966-aijszlfakk.chromatic.com/iframe.html?args=&id=onchainkit-buy--disabled&viewMode=story&dark=true&hero=true"
288288
width="100%"
289289
height="auto"
290290
/>

docs/cookbook/go-gasless.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ To confirm that your spend policies are correctly in place, try running the scri
340340
```json
341341
{
342342
"code": -32001,
343-
"message": "request denied - rejected due to max global usd spend limit reached"
343+
"message": "request denied - rejected due to max global usd Spend Permission reached"
344344
}
345345
```
346346
You’ve hit the **global** limit of sponsored gas. Increase it in the CDP dashboard and wait a few minutes for changes to take effect.

docs/cookbook/onboard-any-user.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Lets add the `WalletModal` component to your app.
9393
</Steps>
9494

9595
<iframe
96-
src="https://682cef8eb764086a250fb541-zdfthryttt.chromatic.com/iframe.html?args=&id=onchainkit-wallet-walletcomponents--onboard&viewMode=story&dark=true&hero=true"
96+
src="https://684b5e62b1ff46bc5bf83966-aijszlfakk.chromatic.com/iframe.html?args=&id=onchainkit-wallet-walletcomponents--onboard&viewMode=story&dark=true&hero=true"
9797
width="100%"
9898
height="auto"
9999
/>

0 commit comments

Comments
 (0)