├── .editorconfig ├── .eslintrc.js ├── .gitattributes ├── .github ├── CODEOWNERS ├── dependabot.yml └── workflows │ ├── build-test.yml │ ├── create-release-pr.yml │ ├── publish-docs.yml │ ├── publish-main-docs.yml │ ├── publish-rc-docs.yml │ ├── publish-release.yml │ └── security-code-scanner.yml ├── .gitignore ├── .nvmrc ├── .prettierrc.js ├── .yarn ├── plugins │ └── @yarnpkg │ │ └── plugin-allow-scripts.cjs └── releases │ └── yarn-3.2.2.cjs ├── .yarnrc.yml ├── CHANGELOG.md ├── LICENSE ├── README.md ├── jest.config.js ├── package.json ├── scripts ├── get.sh └── prepack.sh ├── src ├── __snapshots__ │ └── sign-typed-data.test.ts.snap ├── encryption.test.ts ├── encryption.ts ├── index.test.ts ├── index.ts ├── personal-sign.test.ts ├── personal-sign.ts ├── sign-eip7702-authorization.test.ts ├── sign-eip7702-authorization.ts ├── sign-typed-data.test.ts ├── sign-typed-data.ts ├── utils.test.ts └── utils.ts ├── tsconfig.json ├── typedoc.json └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/.github/CODEOWNERS -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/build-test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/.github/workflows/build-test.yml -------------------------------------------------------------------------------- /.github/workflows/create-release-pr.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/.github/workflows/create-release-pr.yml -------------------------------------------------------------------------------- /.github/workflows/publish-docs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/.github/workflows/publish-docs.yml -------------------------------------------------------------------------------- /.github/workflows/publish-main-docs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/.github/workflows/publish-main-docs.yml -------------------------------------------------------------------------------- /.github/workflows/publish-rc-docs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/.github/workflows/publish-rc-docs.yml -------------------------------------------------------------------------------- /.github/workflows/publish-release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/.github/workflows/publish-release.yml -------------------------------------------------------------------------------- /.github/workflows/security-code-scanner.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/.github/workflows/security-code-scanner.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/.gitignore -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | v18 2 | -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/.prettierrc.js -------------------------------------------------------------------------------- /.yarn/plugins/@yarnpkg/plugin-allow-scripts.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/.yarn/plugins/@yarnpkg/plugin-allow-scripts.cjs -------------------------------------------------------------------------------- /.yarn/releases/yarn-3.2.2.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/.yarn/releases/yarn-3.2.2.cjs -------------------------------------------------------------------------------- /.yarnrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/.yarnrc.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/README.md -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/package.json -------------------------------------------------------------------------------- /scripts/get.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/scripts/get.sh -------------------------------------------------------------------------------- /scripts/prepack.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/scripts/prepack.sh -------------------------------------------------------------------------------- /src/__snapshots__/sign-typed-data.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/src/__snapshots__/sign-typed-data.test.ts.snap -------------------------------------------------------------------------------- /src/encryption.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/src/encryption.test.ts -------------------------------------------------------------------------------- /src/encryption.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/src/encryption.ts -------------------------------------------------------------------------------- /src/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/src/index.test.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/personal-sign.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/src/personal-sign.test.ts -------------------------------------------------------------------------------- /src/personal-sign.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/src/personal-sign.ts -------------------------------------------------------------------------------- /src/sign-eip7702-authorization.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/src/sign-eip7702-authorization.test.ts -------------------------------------------------------------------------------- /src/sign-eip7702-authorization.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/src/sign-eip7702-authorization.ts -------------------------------------------------------------------------------- /src/sign-typed-data.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/src/sign-typed-data.test.ts -------------------------------------------------------------------------------- /src/sign-typed-data.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/src/sign-typed-data.ts -------------------------------------------------------------------------------- /src/utils.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/src/utils.test.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/src/utils.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/tsconfig.json -------------------------------------------------------------------------------- /typedoc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/typedoc.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MetaMask/eth-sig-util/HEAD/yarn.lock --------------------------------------------------------------------------------