Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit c8c0bf4

Browse files
committed
Merge branch '4.x' into ok/7017-Research-Snyk-Advisor-score-to-make-improvements
2 parents ed0251f + 9086b98 commit c8c0bf4

File tree

25 files changed

+251
-260
lines changed

25 files changed

+251
-260
lines changed

docs/.snyk

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
2+
version: v1.25.0
3+
# ignores vulnerabilities until expiry date; change duration by modifying expiry date
4+
ignore:
5+
SNYK-JS-BRACES-6838727:
6+
- '*':
7+
reason: Docusaurus issue
8+
expires: 3024-06-26T17:29:07.153Z
9+
created: 2024-05-27T17:29:07.159Z
10+
SNYK-JS-EXPRESS-6474509:
11+
- '*':
12+
reason: Docusaurus issue
13+
expires: 3024-06-26T17:29:31.142Z
14+
created: 2024-05-27T17:29:31.149Z
15+
SNYK-JS-INFLIGHT-6095116:
16+
- '*':
17+
reason: Docusaurus issue
18+
expires: 3024-06-26T17:29:51.622Z
19+
created: 2024-05-27T17:29:51.628Z
20+
SNYK-JS-MICROMATCH-6838728:
21+
- '*':
22+
reason: Docusaurus issue
23+
expires: 3024-06-26T17:30:47.237Z
24+
created: 2024-05-27T17:30:47.240Z
25+
SNYK-JS-SERIALIZEJAVASCRIPT-6147607:
26+
- '*':
27+
reason: Docusaurus issue
28+
expires: 3024-06-26T17:31:06.652Z
29+
created: 2024-05-27T17:31:06.656Z
30+
SNYK-JS-WEBPACKDEVMIDDLEWARE-6476555:
31+
- '*':
32+
reason: Docusaurus issue
33+
expires: 3024-06-26T20:52:00.793Z
34+
created: 2024-05-27T20:52:00.797Z
35+
36+
patch: {}

docs/docs/guides/advanced/_category_.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ label: '🧠 Advanced'
22
collapsible: true
33
collapsed: true
44
link: null
5-
position: 15
5+
position: 11

docs/docs/guides/events_subscriptions/_category_.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ label: '🔔 Events subscription'
22
collapsible: true
33
collapsed: true
44
link: null
5-
position: 7
5+
position: 5

docs/docs/guides/feedback/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
sidebar_position: 18
2+
sidebar_position: 17
33
sidebar_label: '🗣️ Feedback'
44
---
55

docs/docs/guides/getting_started/quickstart.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import { Web3 } from 'web3';
4343

4444
## Initialize `Web3` with a provider
4545

46-
[Providers](/guides/web3_providers_guide/) are objects that are responsible for enabling connectivity with the Ethereum network. The `Web3` object must be initialized with a valid provider to function as intended. Web3.js supports [HTTP](/guides/web3_providers_guide/#http-provider), [WebSocket](/guides/web3_providers_guide/#websocket-provider), and [IPC](/guides/web3_providers_guide/#ipc-provider) providers, and exposes packages for working with each type of provider.
46+
[Providers](/guides/web3_providers_guide/) are services that are responsible for enabling connectivity with the Ethereum network. The `Web3` object must be initialized with a valid provider to function as intended. Web3.js supports [HTTP](/guides/web3_providers_guide/#http-provider), [WebSocket](/guides/web3_providers_guide/#websocket-provider), and [IPC](/guides/web3_providers_guide/#ipc-provider) providers, and exposes packages for working with each type of provider.
4747

4848
Web3.js is in compliance with [EIP-1193](https://eips.ethereum.org/EIPS/eip-1193), the Ethereum Provider JavaScript API, so any EIP-1193 provider can be used to initialize the `Web3` object.
4949

@@ -248,7 +248,7 @@ console.log(eventTransfer);
248248
Web3.js allows user to subscribe to events for real-time notification of important contract interactions. Here is an example of creating a subscription to the Uniswap token's `Transfer` event:
249249

250250
:::note
251-
You MUST initialize the `Web3` object with a [WebSocket](/guides/web3_providers_guide/#websocket-provider) provider to subscribe to live events.
251+
HTTP providers do not support real-time event subscriptions. Use one of the other [provider types](/guides/web3_providers_guide/#providers-types) to subscribe to real-time events.
252252
:::
253253

254254
```ts

docs/docs/guides/hardhat_tutorial/_category_.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ label: '⛑️ Hardhat Tutorial'
22
collapsible: true
33
collapsed: true
44
link: null
5-
position: 3
5+
position: 6

docs/docs/guides/migration_from_other_libs/_category_.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ label: '🔄 Migration Guides'
22
collapsible: true
33
collapsed: true
44
link: null
5-
position: 12
5+
position: 15

docs/docs/guides/resources_and_troubleshooting/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
sidebar_position: 17
2+
sidebar_position: 16
33
sidebar_label: '📚 Resources & Troubleshooting'
44
---
55
# Resources & Troubleshooting

docs/docs/guides/smart_contracts/_category_.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ label: '📜 Smart Contracts'
22
collapsible: true
33
collapsed: true
44
link: null
5-
position: 6
5+
position: 4

docs/docs/guides/wagmi_usage/_category_.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ label: '🔄 Wagmi usage'
22
collapsible: true
33
collapsed: true
44
link: null
5-
position: 13
5+
position: 14

0 commit comments

Comments
 (0)