diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 30a675f65..f9bb5a05a 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -83,4 +83,5 @@ jobs: uses: FuelLabs/github-actions/.github/workflows/next-docs.yml@master with: doc-folder-path: 'packages/docs/docs' - src-folder-path: 'packages/docs/src' \ No newline at end of file + src-folder-path: 'packages/docs/src' + spellcheck-config-path: 'packages/docs/.spellcheck.yml' diff --git a/package.json b/package.json index 19766bf4f..5c29aa48a 100644 --- a/package.json +++ b/package.json @@ -137,7 +137,8 @@ "@adobe/css-tools": ">=4.3.1", "postcss@<8.4.31": ">=8.4.31", "zod@<=3.22.2": ">=3.22.3", - "@adobe/css-tools@<4.3.2": ">=4.3.2" + "@adobe/css-tools@<4.3.2": ">=4.3.2", + "@babel/traverse@<7.23.2": ">=7.23.2" } } } diff --git a/packages/docs/.spellcheck.yml b/packages/docs/.spellcheck.yml new file mode 100644 index 000000000..b9c8fe7cf --- /dev/null +++ b/packages/docs/.spellcheck.yml @@ -0,0 +1,21 @@ +matrix: + - name: SPCheck + aspell: + lang: en + dictionary: + encoding: utf-8 + wordlists: + - packages/docs/spell-check-custom-words.txt + pipeline: + - pyspelling.filters.markdown: + markdown_extensions: + - pymdownx.superfences + - pyspelling.filters.html: + comments: false + ignores: + - code + - pre + sources: + - '**/docs/*.mdx' + - '**/docs/**/*.mdx' + default_encoding: utf-8 diff --git a/packages/docs/docs/contributing/guide.mdx b/packages/docs/docs/contributing/guide.mdx index dde99f656..1a72a30c8 100644 --- a/packages/docs/docs/contributing/guide.mdx +++ b/packages/docs/docs/contributing/guide.mdx @@ -14,7 +14,7 @@ If you run into any difficulties getting started, you can always ask questions o There are many ways in which you may contribute to the Fuel Wallet project, some of which involve coding knowledge and some which do not. A few examples include: - Reporting bugs -- Adding new features or bugfixes for which there is already an open issue +- Adding new features or bug fixes for which there is already an open issue - Making feature requests Check out our [Help Wanted](https://github.com/FuelLabs/fuels-wallet/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22) or [Good First Issues](https://github.com/FuelLabs/fuels-wallet/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22) to find a suitable task. @@ -42,7 +42,7 @@ This is a rough outline of what a contributor's workflow looks like: - `test:` - Adding missing tests or correcting existing tests - `build:` - Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm) - `ci:` - Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs) - - `chore:` - Other changes that don't modify src or test files + - `chore:` - Other changes that don't modify `src` or test files - `revert:` - Reverts a previous commit - Make sure to mention the issue, which is created at step 1, in the commit message. - Your PR will be reviewed and some changes may be requested. diff --git a/packages/docs/docs/contributing/linking-deps.mdx b/packages/docs/docs/contributing/linking-deps.mdx index 1a56bf834..b30677c2b 100644 --- a/packages/docs/docs/contributing/linking-deps.mdx +++ b/packages/docs/docs/contributing/linking-deps.mdx @@ -5,7 +5,7 @@ category: Contributing # Supported dependencies -We support locally link with [@fuel-ui](https://github.com/FuelLabs/fuel-ui) and [@fuel-ts](https://github.com/FuelLabs/fuels-ts) repositories +We support locally link with [`@fuel-ui`](https://github.com/FuelLabs/fuel-ui) and [@fuel-ts](https://github.com/FuelLabs/fuels-ts) repositories # Using local dependencies in wallet project diff --git a/packages/docs/docs/contributing/running-locally.mdx b/packages/docs/docs/contributing/running-locally.mdx index 0b84173af..16a3803af 100644 --- a/packages/docs/docs/contributing/running-locally.mdx +++ b/packages/docs/docs/contributing/running-locally.mdx @@ -14,7 +14,7 @@ This is a guide that will show you how you can run this project locally if you w This project includes frontend. To begin, install dependencies: - [Node.js 18.14.1 or latest stable](https://nodejs.org/en/). We recommend using [nvm](https://github.com/nvm-sh/nvm) to install. -- [PNPM v7.18.2 or latest stable](https://pnpm.io/installation/) +- [pnpm v7.18.2 or latest stable](https://pnpm.io/installation/) - [Docker v0.8.2 or latest stable](https://docs.docker.com/get-docker/) - [Docker Compose v2.6.0 or latest stable](https://docs.docker.com/get-docker/) @@ -70,20 +70,20 @@ This section has a brief description of each directory. More details can be foun ### Useful Scripts -To make life easier we added as many useful scripts as possible to our [package.json](@repository/package.json). These are some of the most used during development: +To make life easier we added as many useful scripts as possible to our [`package.json`](@repository/package.json). These are some of the most used during development: ```sh pnpm ``` -| Script | Description | -| --------------- | ------------------------------------------------------------------------------- | -| `dev` | Run development server for the WebApp [packages/app](@repository/packages/app/) | -| `dev:storybook` | Run storybook, which is the place we use to develop our components. | -| `test` | Run all units tests that are based on Jest. | -| `test:e2e` | Run all E2E tests that are based on Cypress. | +| Script | Description | +| --------------- | -------------------------------------------------------------------------------- | +| `dev` | Run development server for the web app [packages/app](@repository/packages/app/) | +| `dev:storybook` | Run storybook, which is the place we use to develop our components. | +| `test` | Run all units tests that are based on Jest. | +| `test:e2e` | Run all E2E tests that are based on Cypress. | -> Other scripts can be found in [package.json](@repository/package.json). +> Other scripts can be found in [`package.json`](@repository/package.json). ### Running Tests diff --git a/packages/docs/docs/dev/abis.mdx b/packages/docs/docs/dev/abis.mdx index a149e7afd..38f75a352 100644 --- a/packages/docs/docs/dev/abis.mdx +++ b/packages/docs/docs/dev/abis.mdx @@ -15,7 +15,7 @@ To get the ABI of a contract ID use the `getAbi('contractId')` method on the `wi ## Adding ABI -To add Abi, use the `wallet.addAbi` method and pass in the `AbiMap` you want to add. +To add an ABI, use the `wallet.addAbi` method and pass in the `AbiMap` you want to add. diff --git a/packages/docs/docs/dev/connectors.mdx b/packages/docs/docs/dev/connectors.mdx index 8833b7df5..7e4d57c56 100644 --- a/packages/docs/docs/dev/connectors.mdx +++ b/packages/docs/docs/dev/connectors.mdx @@ -5,7 +5,7 @@ category: For Developers # Wallet Connectors -A Wallet Connector is an interface to integrate with third-party wallets on the Fuel Ecosystem. It exposes all currently installed wallets in a unified manner +A wallet connector is an interface to integrate with third-party wallets on the Fuel Ecosystem. It exposes all currently installed wallets in a unified manner via `window.fuel`. @@ -23,7 +23,7 @@ To list all available connectors you can use the `listConnectors()` method. ### Selecting connector -To select a different Wallet Connector use the `selectConnector(connectorName: string)` method. +To select a different wallet connector use the `selectConnector(connectorName: string)` method. `. +This event is triggered when the connectors list is updated. The callback function receives the list of connectors, `Array`. Otherwise, remember to filter events by the ones that have your Wallet Connector Name as the target. +> Otherwise, remember to filter events by the ones that have your wallet connector name as the target. ```ts import { ContentProxyConnection } from '@fuel-wallet/sdk'; diff --git a/packages/docs/docs/dev/getting-started.mdx b/packages/docs/docs/dev/getting-started.mdx index 99fb91c81..76326afa5 100644 --- a/packages/docs/docs/dev/getting-started.mdx +++ b/packages/docs/docs/dev/getting-started.mdx @@ -30,7 +30,7 @@ To use it, you must also install the [`fuels`](https://www.npmjs.com/package/fue npm install fuels @fuel-wallet/sdk ``` -To install the latest pre-release of `@fuel-wallet/sdk`, use the command: +To install the latest prerelease of `@fuel-wallet/sdk`, use the command: ```bash npm install fuels @fuel-wallet/sdk@master @@ -38,7 +38,7 @@ npm install fuels @fuel-wallet/sdk@master ### Usage -To use the SDK and the React Hooks in your TypeScript project, add the following line to your tsconfig.json file: +To use the SDK and the React Hooks in your TypeScript project, add the following line to your `tsconfig.json` file: ```json { @@ -93,7 +93,7 @@ Fuel Wallet provides a set of React hooks that improve the developer experience. npm install @fuel-wallet/react ``` -To install the latest pre-release of `@fuel-wallet/react`, use the command: +To install the latest prerelease of `@fuel-wallet/react`, use the command: ```bash npm install fuels @fuel-wallet/react@master diff --git a/packages/docs/docs/dev/hooks-reference.mdx b/packages/docs/docs/dev/hooks-reference.mdx index 0b156bb1d..dafaf10cb 100644 --- a/packages/docs/docs/dev/hooks-reference.mdx +++ b/packages/docs/docs/dev/hooks-reference.mdx @@ -5,7 +5,7 @@ category: For Developers # React Hooks Reference -## useAccount +## `useAccount` Retrieves the current fuel account and returns the account address ``. @@ -17,7 +17,7 @@ console.log(account); [See the source file](https://github.com/FuelLabs/fuels-wallet/blob/master/packages/react/src/hooks/useAccount.tsx) -## useAccounts +## `useAccounts` Retrieves the fuel accounts and returns the addresses of the accounts `` @@ -27,9 +27,9 @@ console.log(accounts); // [fuel1r20zhd..., fuel1qqluc9..., ...] ``` -{/* TODO add source file after pr is merged and useAccounts is in master */} +{/* TODO add source file after pr is merged and `useAccounts` is in master */} -## useBalance +## `useBalance` Fetches the balance `` of a specified address and asset ID. Additionally, it includes a listener that triggers a balance refresh when the window gains focus. @@ -45,7 +45,7 @@ console.log(balance); [See the source file](https://github.com/FuelLabs/fuels-wallet/blob/master/packages/react/src/hooks/useBalance.tsx) -## useChain +## `useChain` Fetches information about the current Fuel network ``. @@ -57,7 +57,7 @@ console.log(chain.name); [See the source file](https://github.com/FuelLabs/fuels-wallet/blob/master/packages/react/src/hooks/useChain.tsx) -## useConnect +## `useConnect` Facilitates the connection to the Fuel wallet. Allows selecting a connector by name. It also provides a function `>` to initiate the connection and relevant mutation properties for managing the connection state. @@ -73,7 +73,7 @@ handleConnect(); [See the source file](https://github.com/FuelLabs/fuels-wallet/blob/master/packages/react/src/hooks/useConnect.tsx) -## useConnectors +## `useConnectors` Retrieves a list of available connectors `>` for connecting to Fuel. @@ -85,7 +85,7 @@ console.log(connectors); [See the source file](https://github.com/FuelLabs/fuels-wallet/blob/master/packages/react/src/hooks/useConnectors.tsx) -## useDisconnect +## `useDisconnect` Facilitates disconnection from the Fuel Wallet. It provides a function `>` to initiate disconnection. @@ -101,9 +101,9 @@ handleDisconnect(); [See the source file](https://github.com/FuelLabs/fuels-wallet/blob/master/packages/react/src/hooks/useDisconnect.tsx) -## useIsConnected +## `useIsConnected` -Checks whether the user is connected to the Fuel protocol. It provides a boolean indicating the connection. +Checks whether the user is connected to the Fuel protocol. It provides a `boolean` indicating the connection. ```tsx const { isConnected } = useIsConnected(); @@ -113,9 +113,9 @@ console.log(isConnected); [See the source file](https://github.com/FuelLabs/fuels-wallet/blob/master/packages/react/src/hooks/useIsConnected.tsx) -## useNodeInfo +## `useNodeInfo` -Asynchronously retrieves information about the connected node, checks compatibility with a specified version. The function returns isCompatible `` and node information. +Asynchronously retrieves information about the connected node, checks compatibility with a specified version. The function returns `isCompatible` (a ``), and node information. ```tsx const { isCompatible } = useNodeInfo(); @@ -123,7 +123,7 @@ const { isCompatible } = useNodeInfo(); [See the source file](https://github.com/FuelLabs/fuels-wallet/blob/master/packages/react/src/hooks/useNodeInfo.tsx) -## useProvider +## `useProvider` Returns the provider from the Fuel object instance. @@ -133,7 +133,7 @@ const { provider } = useProvider(); [See the source file](https://github.com/FuelLabs/fuels-wallet/blob/master/packages/react/src/hooks/useProvider.tsx) -## useTransaction +## `useTransaction` Retrieves transaction information associated with a specific transaction ID by using the `provider.getTransaction` method. @@ -143,7 +143,7 @@ const { transaction } = useTransaction({ txId: 'fuel1r20zhd...' }); [See the source file](https://github.com/FuelLabs/fuels-wallet/blob/master/packages/react/src/hooks/useTransaction.tsx) -## useTransactionReceipts +## `useTransactionReceipts` Retrieves transaction receipts `` associated with a specific transaction ID using the `useFuel` hook. @@ -155,7 +155,7 @@ const { transactionReceipts } = useTransactionReceipts({ [See the source file](https://github.com/FuelLabs/fuels-wallet/blob/master/packages/react/src/hooks/useTransactionReceipts.tsx) -## useWallet +## `useWallet` Retrieves wallet instance `` and ensures the presence of a valid address and fuel instance. diff --git a/packages/docs/docs/dev/reference.mdx b/packages/docs/docs/dev/reference.mdx index 3e9ee38d6..b625ff33b 100644 --- a/packages/docs/docs/dev/reference.mdx +++ b/packages/docs/docs/dev/reference.mdx @@ -97,14 +97,14 @@ Add assets to the wallet. ### Get ABI `async getAbi(contractId: string): Promise`
-Get ABI of contractId given. +Get ABI of a given `contractId`. ### Has ABI `async hasAbi(contractId: string): Promise`
-Check if has ABI for contractId given. +Check if has ABI for a given `contractId`. @@ -136,15 +136,15 @@ sign, and send the transaction. ### Get Wallet `getWallet(address: string | AbstractAddress): Promise`
-Return `FuelWalletLocked` using a FuelWalletProvider on the connection point to request signed actions. +Return `FuelWalletLocked` using a `FuelWalletProvider` on the connection point to request signed actions. ### Get Provider `getProvider(): Promise`
-Return a FuelWalletProvider. This class extends the fuels-ts SDK's `Provider`, -enabling all of the methods available for `Provider` while using the FuelSDK on signature points to request user permissions. +Return a `FuelWalletProvider`. This class extends the `fuels-ts` SDK's `Provider`, +enabling all of the methods available for `Provider` while using the Fuel SDK on signature points to request user permissions. Note: The provider returned is tied to the current network selected by the user in their wallet. This means that if the user changes the network within their wallet, the DApp will also switch to that network. Support for specific DApp networks will be available in the future. @@ -254,7 +254,7 @@ This event is triggered when the client connects to a different network. The cal -### CurrentConnector +### `CurrentConnector` This event is triggered when the Current Connector is updated. The callback function receives the `FuelWalletConnector` object. diff --git a/packages/docs/docs/dev/test-utils.mdx b/packages/docs/docs/dev/test-utils.mdx index cf72663d2..ce3ed4e51 100644 --- a/packages/docs/docs/dev/test-utils.mdx +++ b/packages/docs/docs/dev/test-utils.mdx @@ -23,11 +23,11 @@ test.use({ pathToExtension: fuelPathToExtension }); If you are using custom test fixtures in your playwright tests then setup the `context` and `extensionId` fixtures as shown in the [playwright docs](https://playwright.dev/docs/chrome-extensions#testing). -## FuelWalletTestHelper +## `FuelWalletTestHelper` -The FuelWalletTestHelper is a class which allows you to interact with the fuel wallet extension. +The `FuelWalletTestHelper` is a class which allows you to interact with the fuel wallet extension. -### walletSetup +### `walletSetup` ```tsx static async walletSetup( @@ -40,9 +40,9 @@ static async walletSetup( ): Promise ``` -This function sets up your fuel wallet extension and returns an instace of FuelWalletTestHelper. +This function sets up your fuel wallet extension and returns an instance of `FuelWalletTestHelper`. -### walletConnect +### `walletConnect` ```tsx async walletConnect( @@ -53,7 +53,7 @@ async walletConnect( This function connects fuel wallet accounts to your web application through the connect popup window. It will throw an error if the connect popup window does not appear. -### walletApprove +### `walletApprove` ```tsx async walletApprove(): Promise @@ -61,7 +61,7 @@ async walletApprove(): Promise This function approves a transaction through the transaction popup window. It will throw an error if the transaction popup window does not appear. -### getWalletNotificationPage +### `getWalletNotificationPage` ```tsx async getWalletPopupPage(): Promise @@ -69,7 +69,7 @@ async getWalletPopupPage(): Promise This function returns the wallet popup page. It will throw an error is the popup does not exist. -### addAssetThroughSettings +### `addAssetThroughSettings` ```tsx async addAssetThroughSettings( @@ -83,7 +83,7 @@ async addAssetThroughSettings( This function adds an asset to the wallet through the settings. -### addAssetFromHomeBalance +### `addAssetFromHomeBalance` ```tsx async addAssetFromHomeBalance( @@ -97,7 +97,7 @@ async addAssetFromHomeBalance( This functions adds an asset to the wallet from the home page. It will throw an error if the wallet does not have any of the asset. -### addAccount +### `addAccount` ```tsx async addAccount(): Promise @@ -105,15 +105,15 @@ async addAccount(): Promise This function adds an account to the wallet. -### switchAccount +### `switchAccount` ```tsx async switchAccount(accountName: string): Promise ``` -This function switches to the account named accountName. It will throw an error if there are not accounts with accountName. +This function switches to the account named `accountName`. It will throw an error if there are not accounts with `accountName`. -### addNetwork +### `addNetwork` ```tsx async addNetwork(chainName: string, providerUrl: string): Promise @@ -121,13 +121,13 @@ async addNetwork(chainName: string, providerUrl: string): Promise This function adds a network to the wallet. It will not add the network if a network already exists with the same name. -### switchNetwork +### `switchNetwork` ```tsx async switchNetwork(chainName: string): Promise ``` -This function switches to the network named chainName. It will throw an error if there are no networks named chainName. +This function switches to the network named `chainName`. It will throw an error if there are no networks named `chainName`. ## Mocks diff --git a/packages/docs/spell-check-custom-words.txt b/packages/docs/spell-check-custom-words.txt new file mode 100644 index 000000000..e82415cff --- /dev/null +++ b/packages/docs/spell-check-custom-words.txt @@ -0,0 +1,96 @@ +SDK +SDKs +SDK's +testnet +testnets +mainnet +config +JSON +abigen +blockchain +blockchain's +ABI +ABIs +ERC +Ethereum +Ethereum's +natively +toolchain +toolchains +relayer +relayers +Infura +RPC +Sepolia +PoA +PoS +PoW +validator +validators +codespace +codespaces +Github +quickstart +forc +bytecode +struct +Fuelup +fuelup +LSP +graphQL +GraphQL +graphql +repo +repos +monorepo +monorepos +customizations +VSCode +frontend +dapp +fullstack +TypeScript +params +VM +FuelVM +FVM +stateful +runnable +CLI +dev +TODO +backend +https +APIs +urql +enum +enums +queryable +UTF +UTXO +UTXOs +ALU +TAI +cryptographic +backtraces +merkle +Merkle +mempool +EOA +args +dropdown +onboarding +Utils +js +DApp +async +customizable +npm +pnpm +BrowserStack +SauceLabs +env +http +localhost +nvm +prerelease \ No newline at end of file diff --git a/packages/docs/src/constants.ts b/packages/docs/src/constants.ts index 6326796f5..32e9fbee7 100644 --- a/packages/docs/src/constants.ts +++ b/packages/docs/src/constants.ts @@ -15,7 +15,7 @@ export const MENU_ORDER = [ 'For Developers/ABIs', 'For Developers/Wallet Connectors', 'For Developers/Reference', - 'For Developers/Hooks Reference', + 'For Developers/React Hooks Reference', 'For Developers/Playwright Utils', 'Contributing/Project Structure', 'Contributing/Contributing Guide', diff --git a/packages/docs/src/nav.json b/packages/docs/src/nav.json index 206d244e8..b4692e967 100644 --- a/packages/docs/src/nav.json +++ b/packages/docs/src/nav.json @@ -16,7 +16,7 @@ "ABIs", "Wallet Connectors", "Reference", - "Hooks Reference", + "React Hooks Reference", "Playwright Utils" ], "contributing": [ diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a62e69523..c947938cf 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -20,6 +20,7 @@ overrides: postcss@<8.4.31: '>=8.4.31' zod@<=3.22.2: '>=3.22.3' '@adobe/css-tools@<4.3.2': '>=4.3.2' + '@babel/traverse@<7.23.2': '>=7.23.2' importers: @@ -256,7 +257,7 @@ importers: version: 1.0.0 vite-plugin-markdown: specifier: ^2.1.0 - version: 2.1.0(vite@4.4.11) + version: 2.1.0(vite@4.5.1) xstate: specifier: ^4.38.2 version: 4.38.2 @@ -266,7 +267,7 @@ importers: devDependencies: '@crxjs/vite-plugin': specifier: ^1.0.14 - version: 1.0.14(vite@4.4.11) + version: 1.0.14(vite@4.5.1) '@graphql-codegen/cli': specifier: ^5.0.0 version: 5.0.0(@types/node@20.8.4)(graphql@16.8.1) @@ -332,7 +333,7 @@ importers: version: 7.4.6(react-dom@18.2.0)(react@18.2.0)(typescript@5.2.2) '@storybook/react-vite': specifier: ^7.4.6 - version: 7.4.6(react-dom@18.2.0)(react@18.2.0)(typescript@5.2.2)(vite@4.4.11) + version: 7.4.6(react-dom@18.2.0)(react@18.2.0)(typescript@5.2.2)(vite@4.5.1) '@storybook/react-webpack5': specifier: ^7.4.6 version: 7.4.6(@babel/core@7.23.2)(@swc/core@1.3.92)(@types/react-dom@18.2.13)(@types/react@18.2.28)(esbuild@0.19.5)(react-dom@18.2.0)(react@18.2.0)(typescript@5.2.2) @@ -371,7 +372,7 @@ importers: version: 6.1.7 '@vitejs/plugin-react': specifier: ^4.1.0 - version: 4.1.0(vite@4.4.11) + version: 4.1.0(vite@4.5.1) '@xstate/inspect': specifier: ^0.8.0 version: 0.8.0(ws@8.13.0)(xstate@4.38.2) @@ -407,16 +408,16 @@ importers: version: 5.2.2 vite: specifier: ^4.4.11 - version: 4.4.11(@types/node@20.8.4) + version: 4.5.1(@types/node@20.8.4) vite-plugin-clean: specifier: ^1.0.0 version: 1.0.0(@types/node@20.8.4) vite-plugin-static-copy: specifier: ^0.17.0 - version: 0.17.0(vite@4.4.11) + version: 0.17.0(vite@4.5.1) vite-tsconfig-paths: specifier: ^4.2.1 - version: 4.2.1(typescript@5.2.2)(vite@4.4.11) + version: 4.2.1(typescript@5.2.2)(vite@4.5.1) packages/docs: dependencies: @@ -604,7 +605,7 @@ importers: version: 6.7.5(eslint@8.51.0)(typescript@5.2.2) '@vitejs/plugin-react': specifier: ^4.1.0 - version: 4.1.0(vite@4.4.11) + version: 4.1.0(vite@4.5.1) eslint: specifier: ^8.51.0 version: 8.51.0 @@ -619,7 +620,7 @@ importers: version: 5.2.2 vite: specifier: ^4.4.11 - version: 4.4.11(@types/node@20.8.4) + version: 4.5.1(@types/node@20.8.4) packages/react: dependencies: @@ -2409,24 +2410,6 @@ packages: '@babel/parser': 7.22.7 '@babel/types': 7.22.5 - /@babel/traverse@7.22.11: - resolution: {integrity: sha512-mzAenteTfomcB7mfPtyi+4oe5BZ6MXxWcn4CX+h4IRJ+OOGXBrWU6jDQavkQI9Vuc5P+donFabBfFCcmWka9lQ==} - engines: {node: '>=6.9.0'} - dependencies: - '@babel/code-frame': 7.22.13 - '@babel/generator': 7.22.10 - '@babel/helper-environment-visitor': 7.22.5 - '@babel/helper-function-name': 7.22.5 - '@babel/helper-hoist-variables': 7.22.5 - '@babel/helper-split-export-declaration': 7.22.6 - '@babel/parser': 7.23.0 - '@babel/types': 7.23.0 - debug: 4.3.4 - globals: 11.12.0 - transitivePeerDependencies: - - supports-color - dev: true - /@babel/traverse@7.23.2: resolution: {integrity: sha512-azpe59SQ48qG6nu2CzcMLbxUudtN+dOM9kDbUqGq3HXUJRlo7i8fvPoxQUzYgLZ4cMVmuZgm8vvBpNeRhd6XSw==} engines: {node: '>=6.9.0'} @@ -2685,7 +2668,7 @@ packages: dev: true optional: true - /@crxjs/vite-plugin@1.0.14(vite@4.4.11): + /@crxjs/vite-plugin@1.0.14(vite@4.5.1): resolution: {integrity: sha512-emOueVCqFRFmpcfT80Xsm4mfuFw9VSp5GY4eh5qeLDeiP81g0hddlobVQCo0pE2ZvNnWbyhLrXEYAaMAXjNL6A==} engines: {node: '>=14'} peerDependencies: @@ -2705,9 +2688,9 @@ packages: picocolors: 1.0.0 react-refresh: 0.13.0 rollup: 2.79.1 - vite: 4.4.11(@types/node@20.8.4) + vite: 4.5.1(@types/node@20.8.4) optionalDependencies: - '@vitejs/plugin-react': 4.1.0(vite@4.4.11) + '@vitejs/plugin-react': 4.1.0(vite@4.5.1) transitivePeerDependencies: - supports-color dev: true @@ -4261,7 +4244,7 @@ packages: '@babel/core': 7.23.2 '@babel/parser': 7.22.11 '@babel/plugin-syntax-import-assertions': 7.22.5(@babel/core@7.23.2) - '@babel/traverse': 7.22.11 + '@babel/traverse': 7.23.2 '@babel/types': 7.22.11 '@graphql-tools/utils': 10.0.4(graphql@16.8.1) graphql: 16.8.1 @@ -4816,7 +4799,7 @@ packages: '@types/yargs': 17.0.24 chalk: 4.1.2 - /@joshwooding/vite-plugin-react-docgen-typescript@0.2.1(typescript@5.2.2)(vite@4.4.11): + /@joshwooding/vite-plugin-react-docgen-typescript@0.2.1(typescript@5.2.2)(vite@4.5.1): resolution: {integrity: sha512-ou4ZJSXMMWHqGS4g8uNRbC5TiTWxAgQZiVucoUrOCWuPrTbkpJbmVyIi9jU72SBry7gQtuMEDp4YR8EEXAg7VQ==} peerDependencies: typescript: '>= 4.3.x' @@ -4830,7 +4813,7 @@ packages: magic-string: 0.27.0 react-docgen-typescript: 2.2.2(typescript@5.2.2) typescript: 5.2.2 - vite: 4.4.11(@types/node@20.8.4) + vite: 4.5.1(@types/node@20.8.4) dev: true /@jridgewell/gen-mapping@0.3.3: @@ -8473,7 +8456,7 @@ packages: - supports-color dev: true - /@storybook/builder-vite@7.4.6(typescript@5.2.2)(vite@4.4.11): + /@storybook/builder-vite@7.4.6(typescript@5.2.2)(vite@4.5.1): resolution: {integrity: sha512-xV9STYK+TkqWWTf2ydm6jx+7P70fjD2UPd1XTUw08uKszIjhuuxk+bG/OF5R1E25mPunAKXm6kBFh351AKejBg==} peerDependencies: '@preact/preset-vite': '*' @@ -8508,7 +8491,7 @@ packages: remark-slug: 6.1.0 rollup: 3.28.1 typescript: 5.2.2 - vite: 4.4.11(@types/node@20.8.4) + vite: 4.5.1(@types/node@20.8.4) transitivePeerDependencies: - encoding - supports-color @@ -8829,7 +8812,7 @@ packages: dependencies: '@babel/generator': 7.22.10 '@babel/parser': 7.22.11 - '@babel/traverse': 7.22.11 + '@babel/traverse': 7.23.2 '@babel/types': 7.22.11 '@storybook/csf': 0.1.1 '@storybook/types': 7.4.6 @@ -9049,7 +9032,7 @@ packages: react-dom: 18.2.0(react@18.2.0) dev: true - /@storybook/react-vite@7.4.6(react-dom@18.2.0)(react@18.2.0)(typescript@5.2.2)(vite@4.4.11): + /@storybook/react-vite@7.4.6(react-dom@18.2.0)(react@18.2.0)(typescript@5.2.2)(vite@4.5.1): resolution: {integrity: sha512-jkjnrf3FxzR5wcmebXRPflrsM4WIDjWyW/NVFJwxi5PeIOk7fE7/QAPrm4NFRUu2Q7DeuH3oLKsw8bigvUI9RA==} engines: {node: '>=16'} peerDependencies: @@ -9062,17 +9045,17 @@ packages: react-dom: optional: true dependencies: - '@joshwooding/vite-plugin-react-docgen-typescript': 0.2.1(typescript@5.2.2)(vite@4.4.11) + '@joshwooding/vite-plugin-react-docgen-typescript': 0.2.1(typescript@5.2.2)(vite@4.5.1) '@rollup/pluginutils': 5.0.2 - '@storybook/builder-vite': 7.4.6(typescript@5.2.2)(vite@4.4.11) + '@storybook/builder-vite': 7.4.6(typescript@5.2.2)(vite@4.5.1) '@storybook/react': 7.4.6(react-dom@18.2.0)(react@18.2.0)(typescript@5.2.2) - '@vitejs/plugin-react': 3.1.0(vite@4.4.11) + '@vitejs/plugin-react': 3.1.0(vite@4.5.1) ast-types: 0.14.2 magic-string: 0.30.2 react: 18.2.0 react-docgen: 6.0.0-alpha.3 react-dom: 18.2.0(react@18.2.0) - vite: 4.4.11(@types/node@20.8.4) + vite: 4.5.1(@types/node@20.8.4) transitivePeerDependencies: - '@preact/preset-vite' - encoding @@ -10349,7 +10332,7 @@ packages: eslint-visitor-keys: 3.4.3 dev: true - /@vitejs/plugin-react@3.1.0(vite@4.4.11): + /@vitejs/plugin-react@3.1.0(vite@4.5.1): resolution: {integrity: sha512-AfgcRL8ZBhAlc3BFdigClmTUMISmmzHn7sB2h9U1odvc5U/MjWXsAaz18b/WoppUTDBzxOJwo2VdClfUcItu9g==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -10360,12 +10343,12 @@ packages: '@babel/plugin-transform-react-jsx-source': 7.22.5(@babel/core@7.23.2) magic-string: 0.27.0 react-refresh: 0.14.0 - vite: 4.4.11(@types/node@20.8.4) + vite: 4.5.1(@types/node@20.8.4) transitivePeerDependencies: - supports-color dev: true - /@vitejs/plugin-react@4.1.0(vite@4.4.11): + /@vitejs/plugin-react@4.1.0(vite@4.5.1): resolution: {integrity: sha512-rM0SqazU9iqPUraQ2JlIvReeaxOoRj6n+PzB1C0cBzIbd8qP336nC39/R9yPi3wVcah7E7j/kdU1uCUqMEU4OQ==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -10376,7 +10359,7 @@ packages: '@babel/plugin-transform-react-jsx-source': 7.22.5(@babel/core@7.23.2) '@types/babel__core': 7.20.2 react-refresh: 0.14.0 - vite: 4.4.11(@types/node@20.8.4) + vite: 4.5.1(@types/node@20.8.4) transitivePeerDependencies: - supports-color dev: true @@ -11742,7 +11725,7 @@ packages: normalize-path: 3.0.0 readdirp: 3.6.0 optionalDependencies: - fsevents: 2.3.2 + fsevents: 2.3.3 /chownr@1.1.4: resolution: {integrity: sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==} @@ -12203,12 +12186,12 @@ packages: peerDependencies: webpack: ^5.0.0 dependencies: - icss-utils: 5.1.0(postcss@8.4.31) - postcss: 8.4.31 - postcss-modules-extract-imports: 3.0.0(postcss@8.4.31) - postcss-modules-local-by-default: 4.0.3(postcss@8.4.31) - postcss-modules-scope: 3.0.0(postcss@8.4.31) - postcss-modules-values: 4.0.0(postcss@8.4.31) + icss-utils: 5.1.0(postcss@8.4.32) + postcss: 8.4.32 + postcss-modules-extract-imports: 3.0.0(postcss@8.4.32) + postcss-modules-local-by-default: 4.0.3(postcss@8.4.32) + postcss-modules-scope: 3.0.0(postcss@8.4.32) + postcss-modules-values: 4.0.0(postcss@8.4.32) postcss-value-parser: 4.2.0 semver: 7.5.4 webpack: 5.88.2(@swc/core@1.3.92)(esbuild@0.19.5) @@ -13423,7 +13406,7 @@ packages: resolution: {integrity: sha512-YNF+mZ/Wu2FU/gvmzuWtYc8rloubL7wfXCTgouFrnjGVXPA/EeYYA7pupXWrb3Iv1cTBeSSxxJIbK23l4MRNqg==} engines: {node: '>=8.3.0'} dependencies: - '@babel/traverse': 7.22.11 + '@babel/traverse': 7.23.2 '@babel/types': 7.22.11 c8: 7.14.0 transitivePeerDependencies: @@ -14103,6 +14086,14 @@ packages: engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} os: [darwin] requiresBuild: true + dev: true + optional: true + + /fsevents@2.3.3: + resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + requiresBuild: true optional: true /fuels@0.67.0: @@ -14847,13 +14838,13 @@ packages: dependencies: safer-buffer: 2.1.2 - /icss-utils@5.1.0(postcss@8.4.31): + /icss-utils@5.1.0(postcss@8.4.32): resolution: {integrity: sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==} engines: {node: ^10 || ^12 || >= 14} peerDependencies: postcss: '>=8.4.31' dependencies: - postcss: 8.4.31 + postcss: 8.4.32 dev: true /identity-obj-proxy@3.0.0: @@ -15705,7 +15696,7 @@ packages: micromatch: 4.0.5 walker: 1.0.8 optionalDependencies: - fsevents: 2.3.2 + fsevents: 2.3.3 dev: true /jest-haste-map@29.7.0: @@ -15724,7 +15715,7 @@ packages: micromatch: 4.0.5 walker: 1.0.8 optionalDependencies: - fsevents: 2.3.2 + fsevents: 2.3.3 /jest-leak-detector@29.7.0: resolution: {integrity: sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==} @@ -17460,8 +17451,8 @@ packages: /nanoclone@0.2.1: resolution: {integrity: sha512-wynEP02LmIbLpcYw8uBKpcfF6dmg2vcpKqxeH5UcoKEYdExslsdUA4ugFauuaeYdTB76ez6gJW8XAZ6CgkXYxA==} - /nanoid@3.3.6: - resolution: {integrity: sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==} + /nanoid@3.3.7: + resolution: {integrity: sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} hasBin: true @@ -18242,45 +18233,45 @@ packages: yaml: 2.3.1 dev: true - /postcss-modules-extract-imports@3.0.0(postcss@8.4.31): + /postcss-modules-extract-imports@3.0.0(postcss@8.4.32): resolution: {integrity: sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw==} engines: {node: ^10 || ^12 || >= 14} peerDependencies: postcss: '>=8.4.31' dependencies: - postcss: 8.4.31 + postcss: 8.4.32 dev: true - /postcss-modules-local-by-default@4.0.3(postcss@8.4.31): + /postcss-modules-local-by-default@4.0.3(postcss@8.4.32): resolution: {integrity: sha512-2/u2zraspoACtrbFRnTijMiQtb4GW4BvatjaG/bCjYQo8kLTdevCUlwuBHx2sCnSyrI3x3qj4ZK1j5LQBgzmwA==} engines: {node: ^10 || ^12 || >= 14} peerDependencies: postcss: '>=8.4.31' dependencies: - icss-utils: 5.1.0(postcss@8.4.31) - postcss: 8.4.31 + icss-utils: 5.1.0(postcss@8.4.32) + postcss: 8.4.32 postcss-selector-parser: 6.0.13 postcss-value-parser: 4.2.0 dev: true - /postcss-modules-scope@3.0.0(postcss@8.4.31): + /postcss-modules-scope@3.0.0(postcss@8.4.32): resolution: {integrity: sha512-hncihwFA2yPath8oZ15PZqvWGkWf+XUfQgUGamS4LqoP1anQLOsOJw0vr7J7IwLpoY9fatA2qiGUGmuZL0Iqlg==} engines: {node: ^10 || ^12 || >= 14} peerDependencies: postcss: '>=8.4.31' dependencies: - postcss: 8.4.31 + postcss: 8.4.32 postcss-selector-parser: 6.0.13 dev: true - /postcss-modules-values@4.0.0(postcss@8.4.31): + /postcss-modules-values@4.0.0(postcss@8.4.32): resolution: {integrity: sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==} engines: {node: ^10 || ^12 || >= 14} peerDependencies: postcss: '>=8.4.31' dependencies: - icss-utils: 5.1.0(postcss@8.4.31) - postcss: 8.4.31 + icss-utils: 5.1.0(postcss@8.4.32) + postcss: 8.4.32 dev: true /postcss-selector-parser@6.0.13: @@ -18299,7 +18290,16 @@ packages: resolution: {integrity: sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==} engines: {node: ^10 || ^12 || >=14} dependencies: - nanoid: 3.3.6 + nanoid: 3.3.7 + picocolors: 1.0.0 + source-map-js: 1.0.2 + dev: false + + /postcss@8.4.32: + resolution: {integrity: sha512-D/kj5JNu6oo2EIy+XL/26JEDTlIbB8hw85G8StOE6L74RQAVVP5rej6wxCNqyMbR4RkPfqvezVbPw81Ngd6Kcw==} + engines: {node: ^10 || ^12 || >=14} + dependencies: + nanoid: 3.3.7 picocolors: 1.0.0 source-map-js: 1.0.2 @@ -19548,7 +19548,7 @@ packages: engines: {node: '>=10.0.0'} hasBin: true optionalDependencies: - fsevents: 2.3.2 + fsevents: 2.3.3 dev: true /rollup@3.28.1: @@ -19556,7 +19556,7 @@ packages: engines: {node: '>=14.18.0', npm: '>=8.0.0'} hasBin: true optionalDependencies: - fsevents: 2.3.2 + fsevents: 2.3.3 /run-applescript@5.0.0: resolution: {integrity: sha512-XcT5rBksx1QdIhlFOCtgZkB99ZEouFZ1E2Kc2LHqNW13U3/74YGdkQRmThTwxy4QIyookibDKYZOPqX//6BlAg==} @@ -21575,7 +21575,7 @@ packages: resolution: {integrity: sha512-TsCGJaF1zFdBkOrdfj0phoVpVDncI01Arn3N1zREQ5sQm1NLTKBVBtfASEs+iH6kNTj9FOumOh/EptAqMbaGrw==} dependencies: '@rollup/pluginutils': 4.2.1 - vite: 4.4.11(@types/node@20.8.4) + vite: 4.5.1(@types/node@20.8.4) transitivePeerDependencies: - '@types/node' - less @@ -21586,7 +21586,7 @@ packages: - terser dev: true - /vite-plugin-markdown@2.1.0(vite@4.4.11): + /vite-plugin-markdown@2.1.0(vite@4.5.1): resolution: {integrity: sha512-eWLlrWzYZXEX3/HaXZo/KLjRpO72IUhbgaoFrbwB07ueXi6QfwqrgdZQfUcXTSofJCkN7GhErMC1K1RTAE0gGQ==} peerDependencies: vite: '>=2.9.16' @@ -21594,10 +21594,10 @@ packages: front-matter: 4.0.2 htmlparser2: 6.1.0 markdown-it: 12.3.2 - vite: 4.4.11(@types/node@20.8.4) + vite: 4.5.1(@types/node@20.8.4) dev: false - /vite-plugin-static-copy@0.17.0(vite@4.4.11): + /vite-plugin-static-copy@0.17.0(vite@4.5.1): resolution: {integrity: sha512-2HpNbHfDt8SDy393AGXh9llHkc8FJMQkI8s3T5WsH3SWLMO+f5cFIyPErl4yGKU9Uh3Vaqsd4lHZYTf042fQ2A==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -21607,10 +21607,10 @@ packages: fast-glob: 3.3.1 fs-extra: 11.1.1 picocolors: 1.0.0 - vite: 4.4.11(@types/node@20.8.4) + vite: 4.5.1(@types/node@20.8.4) dev: true - /vite-tsconfig-paths@4.2.1(typescript@5.2.2)(vite@4.4.11): + /vite-tsconfig-paths@4.2.1(typescript@5.2.2)(vite@4.5.1): resolution: {integrity: sha512-GNUI6ZgPqT3oervkvzU+qtys83+75N/OuDaQl7HmOqFTb0pjZsuARrRipsyJhJ3enqV8beI1xhGbToR4o78nSQ==} peerDependencies: vite: '>=2.9.16' @@ -21621,14 +21621,14 @@ packages: debug: 4.3.4 globrex: 0.1.2 tsconfck: 2.1.2(typescript@5.2.2) - vite: 4.4.11(@types/node@20.8.4) + vite: 4.5.1(@types/node@20.8.4) transitivePeerDependencies: - supports-color - typescript dev: true - /vite@4.4.11(@types/node@20.8.4): - resolution: {integrity: sha512-ksNZJlkcU9b0lBwAGZGGaZHCMqHsc8OpgtoYhsQ4/I2v5cnpmmmqe5pM4nv/4Hn6G/2GhTdj0DhZh2e+Er1q5A==} + /vite@4.5.1(@types/node@20.8.4): + resolution: {integrity: sha512-AXXFaAJ8yebyqzoNB9fu2pHoo/nWX+xZlaRwoeYUxEqBO+Zj4msE5G+BhGBll9lYEKv9Hfks52PAF2X7qDYXQA==} engines: {node: ^14.18.0 || >=16.0.0} hasBin: true peerDependencies: @@ -21657,10 +21657,10 @@ packages: dependencies: '@types/node': 20.8.4 esbuild: 0.18.17 - postcss: 8.4.31 + postcss: 8.4.32 rollup: 3.28.1 optionalDependencies: - fsevents: 2.3.2 + fsevents: 2.3.3 /w3c-xmlserializer@4.0.0: resolution: {integrity: sha512-d+BFHzbiCx6zGfz0HyQ6Rg69w9k19nviJspaj4yNscGjrHu94sVP+aRm75yEbCh+r2/yR+7q6hux9LVtbuTGBw==}