utils icon indicating copy to clipboard operation
utils copied to clipboard

Various JavaScript / TypeScript utilities of wide relevance to the MetaMask codebase.

Results 22 utils issues
Sort by recently updated
recently updated
newest added

The type for the keyring `deserialize` and `serialize` methods wrongly state that the full keyring state is expected. The deserialize method should accept the _serialized_ state, which is not the...

bug

We've added opaque types in MetaMask/snaps-monorepo#961. Those types are not testable using normal jest, but we can use tsd to write tests for types like we do in https://github.com/MetaMask/utils/blob/main/src/json.test-d.ts. We...

This PR adds the `Type extends string` generic type parameter to `Keyring`, making it `Keyring`. This will help to infer types coming from builders in `KeyringController`. In that regard, this...

Adding a new known CAIP namespace for Bitcoin. You can find a proper BIP-122 CAIP 2 identifier here: - https://github.com/ChainAgnostic/CAIPs/blob/main/CAIPs/caip-2.md#test-cases We could also update the for `KnownCaipNamespaces` to match those...

- Remove support for EoL Node.js versions 16, 21 - Align version of `@types/node` - ci: Update default Node version from v16 to v18 - ci: Only run lint on...

`.nvmrc` does not match the same file in the `metamask-module-template` repository.

team-wallet-framework

`tsconfig.json` does not match the same file in the `metamask-module-template` repository.

team-wallet-framework

`jest.config.js` does not match the same file in the `metamask-module-template` repository.

team-wallet-framework

`README.md` should contain "Install the current LTS version of [Node.js](https://nodejs.org/)", but does not.

team-wallet-framework