Skip to content

Commit 1f8757e

Browse files
committed
Merge branch 'main' into sdk-refactor-introduction
2 parents 7fc295a + 93b16ee commit 1f8757e

File tree

112 files changed

+21546
-15493
lines changed

Some content is hidden

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

112 files changed

+21546
-15493
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,7 @@
22
# so the listed codeowners apply only if there is no later match.
33

44
# Default owner for all other files
5-
* @MetaMask/activation
6-
7-
# Docusaurus configuration
8-
docusaurus.config.js @MetaMask/activation @MetaMask/tech-writers
9-
10-
# GitHub workflows and templates
11-
/.github/ @MetaMask/activation @MetaMask/tech-writers
12-
13-
# Static image and video files
14-
/static/ @MetaMask/activation @MetaMask/tech-writers
15-
16-
# Vercel configuration
17-
vercel.json @MetaMask/activation @MetaMask/tech-writers
18-
19-
# Sidebar files
20-
*-sidebar.js @MetaMask/activation @MetaMask/tech-writers
5+
* @MetaMask/dashboard @MetaMask/tech-writers
216

227
# All other Markdown files
238
*.md @MetaMask/tech-writers

developer-tools/dashboard/get-started/create-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Based on your plan, Infura allows for the following amount of API keys:
1313
- Developer plan - Allows up to five API keys.
1414
- Team plans and higher - No limit on the number of API keys.
1515

16-
For more information, see to the [Infura pricing page](https://www.infura.io/pricing).
16+
For more information, see the [Infura pricing page](https://www.infura.io/pricing).
1717

1818
:::
1919

developer-tools/dashboard/how-to/credit-usage.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: View your Infura credit usage stats.
55
# View credit usage
66

77
You can view your daily credit usage in relation to your daily credit quota limit. Daily credit usage
8-
counts are reset everyday at 00:00 UTC for all customers.
8+
counts are reset every day at 00:00 UTC for all customers.
99

1010
Select **View Usage** from the **Daily Credit Usage** section on the dashboard, or select
1111
the **Usage** tab from the **Settings** > **Billing** dropdown.

docs/whats-new.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ of the [MetaMask developer page](https://metamask.io/developer/).
1111

1212
## December 2024
1313

14-
- Documented [Snap Notifications Expanded View](/snaps/features/notifications/#expanded-view).
14+
- Documented [Swellchain](/services/reference/swellchain) support. ([#1776](https://github.com/MetaMask/metamask-docs/pull/1776))
15+
- Documented [Snaps notifications expanded view](/snaps/features/notifications/#expanded-view).
1516
([#1774](https://github.com/MetaMask/metamask-docs/pull/1774))
1617
- Documented [`snap_getInterfaceContext`](/snaps/reference/snaps-api/#snap_getinterfacecontext).
1718
([#1772](https://github.com/MetaMask/metamask-docs/pull/1772))

docusaurus.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,13 @@ const config = {
139139
breadcrumbs: false,
140140
sidebarItemsGenerator: async function ({ defaultSidebarItemsGenerator, ...args }) {
141141
const sidebarItems = await defaultSidebarItemsGenerator(args);
142-
const dymanicItems = await fetchAndGenerateDynamicSidebarItems(
142+
const dynamicItems = await fetchAndGenerateDynamicSidebarItems(
143143
MM_RPC_URL,
144144
MM_REF_PATH,
145145
NETWORK_NAMES.metamask
146146
)
147147
if (args.item.dirName === "reference/json-rpc-methods") {
148-
return [...sidebarItems, ...dymanicItems]
148+
return [...sidebarItems, ...dynamicItems]
149149
}
150150
return sidebarItems;
151151
}
@@ -355,7 +355,7 @@ const config = {
355355
appId: "AWX4QVM59R",
356356

357357
// Public API key: it is safe to commit it
358-
apiKey: "6095a25a6824bfa909fa0692e6847ec4",
358+
apiKey: "861f327c200a8eab62a28ee1396f90de",
359359

360360
indexName: "mm--v2-staging",
361361

package-lock.json

Lines changed: 19259 additions & 15361 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -29,21 +29,21 @@
2929
},
3030
"dependencies": {
3131
"@apidevtools/json-schema-ref-parser": "^11.7.2",
32-
"@docusaurus/core": "^3.5.2",
33-
"@docusaurus/plugin-content-docs": "^3.5.2",
34-
"@docusaurus/plugin-content-pages": "^3.5.2",
35-
"@docusaurus/preset-classic": "^3.5.2",
36-
"@docusaurus/theme-common": "^3.5.2",
37-
"@docusaurus/theme-mermaid": "^3.5.2",
32+
"@docusaurus/core": "^3.7.0",
33+
"@docusaurus/plugin-content-docs": "^3.7.0",
34+
"@docusaurus/plugin-content-pages": "^3.7.0",
35+
"@docusaurus/preset-classic": "^3.7.0",
36+
"@docusaurus/theme-common": "^3.7.0",
37+
"@docusaurus/theme-mermaid": "^3.7.0",
3838
"@intercom/messenger-js-sdk": "^0.0.14",
39-
"@mdx-js/react": "^3.0.0",
39+
"@mdx-js/react": "^3.1.0",
4040
"@metamask/design-tokens": "^1.11.1",
4141
"@metamask/eth-sig-util": "^7.0.3",
42-
"@metamask/profile-sync-controller": "^0.9.6",
42+
"@metamask/profile-sync-controller": "^4.1.0",
4343
"@metamask/sdk": "^0.31.1",
44-
"@rjsf/core": "^5.22.1",
44+
"@rjsf/core": "^5.24.1",
4545
"@rjsf/utils": "^5.18.4",
46-
"@rjsf/validator-ajv8": "^5.18.4",
46+
"@rjsf/validator-ajv8": "^5.24.1",
4747
"@sentry/browser": "^8.35.0",
4848
"@types/react": "^18.3.3",
4949
"clsx": "^2.1.1",
@@ -72,17 +72,17 @@
7272
"sass": "^1.80.4"
7373
},
7474
"devDependencies": {
75-
"@docusaurus/eslint-plugin": "^3.5.2",
76-
"@docusaurus/module-type-aliases": "^3.5.2",
77-
"@docusaurus/plugin-client-redirects": "^3.5.2",
78-
"@docusaurus/tsconfig": "^3.5.2",
79-
"@docusaurus/types": "^3.5.2",
75+
"@docusaurus/eslint-plugin": "^3.7.0",
76+
"@docusaurus/module-type-aliases": "^3.7.0",
77+
"@docusaurus/plugin-client-redirects": "^3.7.0",
78+
"@docusaurus/tsconfig": "^3.7.0",
79+
"@docusaurus/types": "^3.7.0",
8080
"@eslint/js": "^8.57.1",
8181
"@tsconfig/docusaurus": "^1.0.5",
8282
"@types/react-alert": "^7.0.6",
8383
"@types/react-modal": "^3.16.3",
8484
"@typescript-eslint/parser": "^8.6.0",
85-
"eslint": "^8.57.1",
85+
"eslint": "^9.18.0",
8686
"eslint-plugin-react": "^7.37.1",
8787
"stylelint": "^15.0.0 ",
8888
"stylelint-config-standard": "^34.0.0",

services/get-started/endpoints.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,13 @@ Include your authentication details when [making IPFS requests](/reference/ipfs/
155155
| Mainnet | JSON-RPC over HTTPS | `https://starknet-mainnet.infura.io/v3/<YOUR-API-KEY>` |
156156
| Testnet (Sepolia) | JSON-RPC over HTTPS | `https://starknet-sepolia.infura.io/v3/<YOUR-API-KEY>` |
157157

158+
## Swellchain
159+
160+
| Network | Description | URL |
161+
|---------|---------------------|----------------------------------------------------------|
162+
| Mainnet | JSON-RPC over HTTPS | `https://swellchain-mainnet.infura.io/v3/<YOUR-API-KEY>` |
163+
| Testnet | JSON-RPC over HTTPS | `https://swellchain-testnet.infura.io/v3/<YOUR-API-KEY>` |
164+
158165
## Unichain
159166

160167
| Network | Description | URL |
@@ -218,7 +225,7 @@ Specify the chain ID in your request to interact with the relevant network.
218225
| Network | Chain ID |
219226
|---------|----------|
220227
| Mainnet | 1 |
221-
| Holeksy | 17000 |
228+
| Holesky | 17000 |
222229
| Sepolia | 11155111 |
223230

224231
#### Fantom

services/get-started/pricing/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ credits toward your daily credit quota:
3737

3838
The following credit plans are available for new customers:
3939

40-
- **Free tier**: 6,000,000 daily credits, and 2,000 credits per second rate limit.
40+
- **Free tier**: 3,000,000 daily credits, and 500 credits per second rate limit.
4141
- **Developer**: 15,000,000 daily credits, and 4,000 credits per second rate limit.
4242
- **Team**: 75,000,000 daily credits, and 40,000 credits per second rate limit.
4343
- **Custom**: [Contact us](https://www.infura.io/contact) to determine the custom plan for your requirements.

services/how-to/avoid-rate-limiting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ additional credit packs for more capacity.
1616
If you've exceeded your allowed throughput limit, consider reducing the amount of requests per
1717
second, or upgrade for more capacity.
1818

19-
Credit quota limits are reset everyday at 00:00 UTC for all customers.
19+
Credit quota limits are reset every day at 00:00 UTC for all customers.
2020

2121
## Rate limit implications
2222

@@ -76,4 +76,4 @@ If you're consistently rate limited, consider these workarounds:
7676

7777
You can have Infura notify you when you're near your daily credit limit by selecting
7878
**Email Notifications** in the **Accounts** page of the Infura **Settings**. Infura sends emails
79-
when your daily credits reach 75%, 85%, and 100% of the allowed limit.
79+
when your daily credits reach 75%, 85%, and 100% of the allowed limit.

0 commit comments

Comments
 (0)