Skip to content

Commit c4d91f1

Browse files
committed
Update link workflow and fix links
1 parent 69fef87 commit c4d91f1

89 files changed

Lines changed: 362 additions & 327 deletions

File tree

Some content is hidden

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

.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

delegation-toolkit/index.md

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -71,36 +71,36 @@ The MetaMask Delegation Toolkit is integrated with multiple ecosystem partners.
7171
Check out the following documentation from these partners:
7272

7373
<CardList
74-
items={[
75-
{
76-
href: "https://scaffoldeth.io/extensions",
77-
title: "Scaffold-ETH 2",
78-
description: "Install the MetaMask Delegation Toolkit extension for Scaffold-ETH 2.",
79-
buttonIcon: 'external-arrow',
80-
},
81-
{
82-
href: "https://viem.sh/account-abstraction/accounts/smart/toMetaMaskSmartAccount",
83-
title: "Viem",
84-
description: "Use MetaMask Smart Accounts with Viem.",
85-
buttonIcon: 'external-arrow',
86-
},
87-
{
88-
href: "https://docs.arbitrum.io/for-devs/third-party-docs/MetaMask/",
89-
title: "Arbitrum",
90-
description: "Use MetaMask Smart Accounts with Arbitrum.",
91-
buttonIcon: 'external-arrow',
92-
},
93-
{
94-
href: "https://docs.pimlico.io/guides/how-to/accounts/use-metamask-account",
95-
title: "permissionless.js",
96-
description: "Use MetaMask Smart Accounts with permissionless.js.",
97-
buttonIcon: 'external-arrow',
98-
},
99-
{
100-
href: "https://docs.monad.xyz/tooling-and-infra/account-abstraction/wallet-providers#metamask-delegation-toolkit",
101-
title: "Monad",
102-
description: "Use MetaMask Smart Accounts with Monad Testnet.",
103-
buttonIcon: 'external-arrow',
104-
}
105-
]}
74+
items={[
75+
{
76+
href: "https://scaffoldeth.io/extensions",
77+
title: "Scaffold-ETH 2",
78+
description: "Install the MetaMask Delegation Toolkit extension for Scaffold-ETH 2.",
79+
buttonIcon: "external-arrow",
80+
},
81+
{
82+
href: "https://viem.sh/account-abstraction/accounts/smart/toMetaMaskSmartAccount",
83+
title: "Viem",
84+
description: "Use MetaMask Smart Accounts with Viem.",
85+
buttonIcon: "external-arrow",
86+
},
87+
{
88+
href: "https://docs.arbitrum.io/for-devs/third-party-docs/MetaMask",
89+
title: "Arbitrum",
90+
description: "Use MetaMask Smart Accounts with Arbitrum.",
91+
buttonIcon: "external-arrow",
92+
},
93+
{
94+
href: "https://docs.pimlico.io/guides/how-to/accounts/use-metamask-account",
95+
title: "permissionless.js",
96+
description: "Use MetaMask Smart Accounts with permissionless.js.",
97+
buttonIcon: "external-arrow",
98+
},
99+
{
100+
href: "https://docs.monad.xyz/tooling-and-infra/account-abstraction/wallet-providers#metamask-delegation-toolkit",
101+
title: "Monad",
102+
description: "Use MetaMask Smart Accounts with Monad Testnet.",
103+
buttonIcon: "external-arrow",
104+
}
105+
]}
106106
/>

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)