Skip to content

Commit 5884e66

Browse files
Update link workflow and fix links (#2419)
* Update link workflow and fix links * fix links
1 parent 9abced5 commit 5884e66

File tree

93 files changed

+373
-338
lines changed

Some content is hidden

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

93 files changed

+373
-338
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,12 @@ jobs:
5858
with:
5959
FILEPATHS: 'snaps,services,wallet,developer-tools,docs'
6060

61-
# linkCheck:
62-
# name: Link Checking
63-
# runs-on: ubuntu-latest
64-
# strategy:
65-
# matrix:
66-
# file-extensions: ['.md', '.mdx']
67-
# steps:
68-
# - uses: actions/checkout@v5
69-
# - name: LinkCheck
70-
# uses: ConsenSys/github-actions/docs-link-check@main
71-
# with:
72-
# FILE_EXTENSION: ${{ matrix.file-extensions }}
61+
linkCheck:
62+
name: Link Checking
63+
runs-on: ubuntu-latest
64+
steps:
65+
- uses: actions/checkout@v5
66+
- name: LinkCheck
67+
uses: ConsenSys/github-actions/docs-link-check@main
68+
with:
69+
CONFIG_FILE: '.linkspector.yml'

.github/workflows/trivy.yml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
1-
# ---
2-
# name: Trivy
3-
#
4-
# on:
5-
# pull_request:
6-
# branches:
7-
# - main
8-
#
9-
# jobs:
10-
# trivy:
11-
# name: Run trivy scanner
12-
# runs-on: ubuntu-latest
13-
# steps:
14-
# - uses: actions/checkout@v5
15-
# - name: Trivy
16-
# uses: ConsenSys/github-actions/trivy@main
17-
# with:
18-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1+
---
2+
name: Trivy
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
trivy:
10+
name: Run trivy scanner
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v5
14+
- name: Trivy
15+
uses: ConsenSys/github-actions/trivy@main
16+
with:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.linkspector.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
dirs:
2+
- ./delegation-toolkit
3+
- ./developer-tools
4+
- ./embedded-wallets
5+
- ./sdk
6+
- ./services
7+
- ./snaps
8+
- ./wallet
9+
excludedDirs:
10+
- ./build
11+
- ./.vercel
12+
- ./.docusaurus
13+
- ./node_modules
14+
useGitIgnore: true
15+
16+
ignorePatterns:
17+
- pattern: '^http(s)?://localhost'
18+
- pattern: '^http(s)?://127.0.0.1'
19+
- pattern: '^http(s)?://gitlab.com/ConsenSys/'
20+
- pattern: '^http(s)?://consensys.net'
21+
- pattern: '^http(s)?://.+.zendesk.com'
22+
- pattern: '^http(s)?://.+.etherscan.io'
23+
- pattern: '^http(s)?://help.figma.com'
24+
- pattern: '^http(s)?://metamask.io'
25+
- pattern: '^http(s)?://rivet.cloud'
26+
- pattern: '^/img/'
27+
- pattern: '^/delegation-toolkit/'
28+
- pattern: '^/developer-tools/'
29+
- pattern: '^/embedded-wallets/'
30+
- pattern: '^/sdk/'
31+
- pattern: '^/services/'
32+
- pattern: '^/snaps/'
33+
- pattern: '^/wallet/'
34+
- pattern: '^/tutorials/'
35+
aliveStatusCodes:
36+
- 200
37+
- 206
38+
- 400
39+
- 403
Lines changed: 34 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -51,35 +51,37 @@ Advanced Permissions allow you to perform executions on the behalf of MetaMask u
5151
The Smart Accounts Kit is integrated with multiple ecosystem partners.
5252
Check out the following documentation from these partners:
5353

54-
<CardList items={[
55-
{
56-
href: "https://scaffoldeth.io/extensions",
57-
title: "Scaffold-ETH 2",
58-
description: "Install the MetaMask Smart Accounts Kit extension for Scaffold-ETH 2.",
59-
buttonIcon: 'external-arrow',
60-
},
61-
{
62-
href: "https://viem.sh/account-abstraction/accounts/smart/toMetaMaskSmartAccount",
63-
title: "Viem",
64-
description: "Use MetaMask Smart Accounts with Viem.",
65-
buttonIcon: 'external-arrow',
66-
},
67-
{
68-
href: "https://docs.arbitrum.io/for-devs/third-party-docs/MetaMask/",
69-
title: "Arbitrum",
70-
description: "Use MetaMask Smart Accounts with Arbitrum.",
71-
buttonIcon: 'external-arrow',
72-
},
73-
{
74-
href: "https://docs.pimlico.io/guides/how-to/accounts/use-metamask-account",
75-
title: "permissionless.js",
76-
description: "Use MetaMask Smart Accounts with permissionless.js.",
77-
buttonIcon: 'external-arrow',
78-
},
79-
{
80-
href: "https://docs.monad.xyz/tooling-and-infra/account-abstraction/wallet-providers#metamask-delegation-toolkit",
81-
title: "Monad",
82-
description: "Use MetaMask Smart Accounts with Monad Testnet.",
83-
buttonIcon: 'external-arrow',
84-
}
85-
]}/>
54+
<CardList
55+
items={[
56+
{
57+
href: "https://scaffoldeth.io/extensions",
58+
title: "Scaffold-ETH 2",
59+
description: "Install the MetaMask Delegation Toolkit extension for Scaffold-ETH 2.",
60+
buttonIcon: "external-arrow",
61+
},
62+
{
63+
href: "https://viem.sh/account-abstraction/accounts/smart/toMetaMaskSmartAccount",
64+
title: "Viem",
65+
description: "Use MetaMask Smart Accounts with Viem.",
66+
buttonIcon: "external-arrow",
67+
},
68+
{
69+
href: "https://docs.arbitrum.io/for-devs/third-party-docs/MetaMask",
70+
title: "Arbitrum",
71+
description: "Use MetaMask Smart Accounts with Arbitrum.",
72+
buttonIcon: "external-arrow",
73+
},
74+
{
75+
href: "https://docs.pimlico.io/guides/how-to/accounts/use-metamask-account",
76+
title: "permissionless.js",
77+
description: "Use MetaMask Smart Accounts with permissionless.js.",
78+
buttonIcon: "external-arrow",
79+
},
80+
{
81+
href: "https://docs.monad.xyz/tooling-and-infra/account-abstraction/wallet-providers#metamask-delegation-toolkit",
82+
title: "Monad",
83+
description: "Use MetaMask Smart Accounts with Monad Testnet.",
84+
buttonIcon: "external-arrow",
85+
}
86+
]}
87+
/>

delegation-toolkit/reference/delegation/caveats.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ const caveats = [{
189189

190190
Ensures that the recipient's ERC-1155 token balance has changed within the allowed bounds — either increased by a minimum or decreased by a maximum specified amount.
191191

192-
Caveat enforcer contract: [`ERC1155BalanceBalanceEnforcer.sol`](https://github.com/MetaMask/delegation-framework/blob/main/src/enforcers/ERC1155BalanceBalanceEnforcer.sol)
192+
Caveat enforcer contract: [`ERC1155BalanceChangeEnforcer.sol`](https://github.com/MetaMask/delegation-framework/blob/main/src/enforcers/ERC1155BalanceChangeEnforcer.sol)
193193

194194
### Parameters
195195

developer-tools/dashboard/how-to/secure-an-api/set-rate-limits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Set rate limiting in the API key's **Settings** tab **Key Credit Limits** sectio
2828
When the number of used credits reaches this limit, all requests will be rejected until the next day (00:00 UTC).
2929

3030
If you exceed the specified limits, you'll receive a JSON response with an
31-
[HTTP error status code `429`](/services/reference/ethereum/json-rpc-methods#http-errors). For example:
31+
[HTTP error status code `429`](/services/reference/ethereum/json-rpc-methods/#http-errors). For example:
3232

3333
```json
3434
{

embedded-wallets/connect-blockchain/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The SDKs are now branded as MetaMask Embedded Wallet SDKs (formerly Web3Auth Plu
2424

2525
## Dashboard Configuration
2626

27-
The Embedded Wallets Web SDK(`@web3auth/modal`) from v10 onwards does not need any additional setup on the code side for blockchain connections. All of it is handled on the Dashboard. We can use any chain from the extensive list of predefined chains and add more if we need.
27+
The Embedded Wallets Web SDK (`@web3auth/modal`) from v10 onwards does not need any additional setup on the code side for blockchain connections. All of it is handled on the Dashboard. We can use any chain from the extensive list of predefined chains and add more if we need.
2828

2929
![Chains on Dashboard](https://i.ibb.co/4nCD2GTJ/chains.gif)
3030

gator_versioned_docs/version-0.11.0/reference/caveats.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ caveatBuilder.addCaveat("deployed",
160160

161161
Ensures that the recipient's ERC-1155 token balance has changed within the allowed bounds — either increased by a minimum or decreased by a maximum specified amount.
162162

163-
Caveat enforcer contract: [`ERC1155BalanceBalanceEnforcer.sol`](https://github.com/MetaMask/delegation-framework/blob/main/src/enforcers/ERC1155BalanceBalanceEnforcer.sol)
163+
Caveat enforcer contract: [`ERC1155BalanceChangeEnforcer.sol`](https://github.com/MetaMask/delegation-framework/blob/main/src/enforcers/ERC1155BalanceChangeEnforcer.sol)
164164

165165
### Parameters
166166

gator_versioned_docs/version-0.12.0/reference/caveats.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ caveatBuilder.addCaveat("deployed",
160160

161161
Ensures that the recipient's ERC-1155 token balance has changed within the allowed bounds — either increased by a minimum or decreased by a maximum specified amount.
162162

163-
Caveat enforcer contract: [`ERC1155BalanceBalanceEnforcer.sol`](https://github.com/MetaMask/delegation-framework/blob/main/src/enforcers/ERC1155BalanceBalanceEnforcer.sol)
163+
Caveat enforcer contract: [`ERC1155BalanceChangeEnforcer.sol`](https://github.com/MetaMask/delegation-framework/blob/main/src/enforcers/ERC1155BalanceChangeEnforcer.sol)
164164

165165
### Parameters
166166

gator_versioned_docs/version-0.13.0/reference/delegation/caveats.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ const caveats = [{
189189

190190
Ensures that the recipient's ERC-1155 token balance has changed within the allowed bounds — either increased by a minimum or decreased by a maximum specified amount.
191191

192-
Caveat enforcer contract: [`ERC1155BalanceBalanceEnforcer.sol`](https://github.com/MetaMask/delegation-framework/blob/main/src/enforcers/ERC1155BalanceBalanceEnforcer.sol)
192+
Caveat enforcer contract: [`ERC1155BalanceChangeEnforcer.sol`](https://github.com/MetaMask/delegation-framework/blob/main/src/enforcers/ERC1155BalanceChangeEnforcer.sol)
193193

194194
### Parameters
195195

0 commit comments

Comments
 (0)