eth-crypto-ts 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/constants/index.d.ts +2 -0
- package/dist/index.cjs.js +215 -0
- package/dist/index.cjs.js.map +1 -0
- package/{src/index.ts → dist/index.d.ts} +4 -2
- package/dist/index.esm.js +196 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +196 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/cipher/index.d.ts +11 -0
- package/dist/lib/compress-public-key.d.ts +1 -0
- package/dist/lib/create-identity.d.ts +16 -0
- package/dist/lib/decompress-public-key.d.ts +1 -0
- package/dist/lib/decrypt-with-private-key.d.ts +2 -0
- package/dist/lib/encrypt-with-private-key.d.ts +2 -0
- package/dist/lib/hash/index.d.ts +4 -0
- package/dist/lib/public-key-by-private-key.d.ts +8 -0
- package/dist/lib/recover-public-key.d.ts +7 -0
- package/dist/lib/sign.d.ts +8 -0
- package/dist/lib/utils.d.ts +4 -0
- package/dist/types/index.d.ts +10 -0
- package/package.json +16 -2
- package/.eslintrc.js +0 -21
- package/.github/workflows/cd.yml +0 -43
- package/.github/workflows/ci.yml +0 -37
- package/.nvmrc +0 -1
- package/.prettierrc +0 -7
- package/.releaserc.json +0 -22
- package/audit-ci.jsonc +0 -7
- package/rollup.config.js +0 -76
- package/src/constants/index.ts +0 -3
- package/src/lib/cipher/index.ts +0 -46
- package/src/lib/compress-public-key.ts +0 -10
- package/src/lib/create-identity.ts +0 -41
- package/src/lib/decompress-public-key.ts +0 -14
- package/src/lib/decrypt-with-private-key.ts +0 -23
- package/src/lib/encrypt-with-private-key.ts +0 -23
- package/src/lib/hash/index.ts +0 -20
- package/src/lib/public-key-by-private-key.ts +0 -18
- package/src/lib/recover-public-key.ts +0 -30
- package/src/lib/sign.ts +0 -24
- package/src/lib/utils.ts +0 -19
- package/src/types/index.ts +0 -11
- package/tsconfig.json +0 -25
package/tsconfig.json
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"preventAssignment": true,
|
|
3
|
-
"include": ["src", "src/types"],
|
|
4
|
-
"exclude": ["node_modules", "**/*spec.ts", "**/*test.ts", "/test", "/tests", "test", "**/*__mocks__/*"],
|
|
5
|
-
"compilerOptions": {
|
|
6
|
-
"target": "ESNext",
|
|
7
|
-
"moduleResolution": "node", // use Node's module resolution algorithm, instead of the legacy TS one
|
|
8
|
-
"module": "esnext",
|
|
9
|
-
"lib": ["dom", "esnext"],
|
|
10
|
-
"rootDir": "./src",
|
|
11
|
-
"baseUrl": "./",
|
|
12
|
-
"outDir": "./dist",
|
|
13
|
-
"sourceMap": true,
|
|
14
|
-
"declaration": true, // output .d.ts declaration files for consumers
|
|
15
|
-
"allowJs": true,
|
|
16
|
-
"importHelpers": true,
|
|
17
|
-
"strict": true, // stricter type-checking for stronger correctness. Recommended by TS
|
|
18
|
-
"noImplicitReturns": true, // linter checks for common issues
|
|
19
|
-
"noFallthroughCasesInSwitch": true,
|
|
20
|
-
"noUnusedParameters": true,
|
|
21
|
-
"esModuleInterop": true, // interop between ESM and CJS modules. Recommended by TS
|
|
22
|
-
"skipLibCheck": true, // significant perf increase by skipping checking .d.ts files, particularly those in node_modules. Recommended by TS
|
|
23
|
-
"forceConsistentCasingInFileNames": true // error out if import and file system have a casing mismatch. Recommended by TS
|
|
24
|
-
}
|
|
25
|
-
}
|