From ddef0b20b63531a3976240902953795c12042ad5 Mon Sep 17 00:00:00 2001 From: Kyle Peacock Date: Mon, 8 Jan 2024 13:17:08 -0800 Subject: [PATCH 01/13] feat: deprecates @dfinity/bls-verify --- docs/generated/changelog.html | 1 + packages/bls-verify/README.md | 2 + packages/bls-verify/package.json | 28 +- packages/bls-verify/src/index.test.ts | 99 - packages/bls-verify/src/index.ts | 28 +- packages/bls-verify/src/utils.ts | 27 - .../bls-verify/src/vendor/amcl-js/index.js | 1 - .../src/vendor/amcl-js/package.json | 15 - .../bls-verify/src/vendor/amcl-js/readme.md | 62 - .../bls-verify/src/vendor/amcl-js/src/aes.js | 882 ------ .../bls-verify/src/vendor/amcl-js/src/big.js | 1505 --------- .../bls-verify/src/vendor/amcl-js/src/bls.js | 184 -- .../src/vendor/amcl-js/src/bls192.js | 183 -- .../src/vendor/amcl-js/src/bls256.js | 188 -- .../bls-verify/src/vendor/amcl-js/src/ctx.js | 1203 -------- .../bls-verify/src/vendor/amcl-js/src/ecdh.js | 447 --- .../bls-verify/src/vendor/amcl-js/src/ecp.js | 1966 ------------ .../bls-verify/src/vendor/amcl-js/src/ecp2.js | 1094 ------- .../bls-verify/src/vendor/amcl-js/src/ecp4.js | 970 ------ .../bls-verify/src/vendor/amcl-js/src/ecp8.js | 1172 ------- .../bls-verify/src/vendor/amcl-js/src/ff.js | 1024 ------- .../bls-verify/src/vendor/amcl-js/src/fp.js | 833 ----- .../bls-verify/src/vendor/amcl-js/src/fp12.js | 1069 ------- .../bls-verify/src/vendor/amcl-js/src/fp16.js | 594 ---- .../bls-verify/src/vendor/amcl-js/src/fp2.js | 483 --- .../bls-verify/src/vendor/amcl-js/src/fp24.js | 1131 ------- .../bls-verify/src/vendor/amcl-js/src/fp4.js | 722 ----- .../bls-verify/src/vendor/amcl-js/src/fp48.js | 1225 -------- .../bls-verify/src/vendor/amcl-js/src/fp8.js | 737 ----- .../bls-verify/src/vendor/amcl-js/src/gcm.js | 471 --- .../src/vendor/amcl-js/src/hash256.js | 235 -- .../src/vendor/amcl-js/src/hash384.js | 361 --- .../src/vendor/amcl-js/src/hash512.js | 364 --- .../bls-verify/src/vendor/amcl-js/src/hmac.js | 764 ----- .../bls-verify/src/vendor/amcl-js/src/hpke.js | 297 -- .../bls-verify/src/vendor/amcl-js/src/mpin.js | 274 -- .../src/vendor/amcl-js/src/mpin192.js | 275 -- .../src/vendor/amcl-js/src/mpin256.js | 276 -- .../bls-verify/src/vendor/amcl-js/src/nhs.js | 766 ----- .../bls-verify/src/vendor/amcl-js/src/pair.js | 1076 ------- .../src/vendor/amcl-js/src/pair4.js | 819 ----- .../src/vendor/amcl-js/src/pair8.js | 918 ------ .../bls-verify/src/vendor/amcl-js/src/rand.js | 197 -- .../src/vendor/amcl-js/src/rom_curve.js | 2705 ----------------- .../src/vendor/amcl-js/src/rom_field.js | 1101 ------- .../bls-verify/src/vendor/amcl-js/src/rsa.js | 290 -- .../bls-verify/src/vendor/amcl-js/src/sha3.js | 392 --- .../src/vendor/amcl-js/src/share.js | 152 - .../src/vendor/amcl-js/src/uint64.js | 67 - 49 files changed, 7 insertions(+), 29668 deletions(-) delete mode 100644 packages/bls-verify/src/index.test.ts delete mode 100644 packages/bls-verify/src/utils.ts delete mode 100644 packages/bls-verify/src/vendor/amcl-js/index.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/package.json delete mode 100644 packages/bls-verify/src/vendor/amcl-js/readme.md delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/aes.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/big.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/bls.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/bls192.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/bls256.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/ctx.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/ecdh.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/ecp.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/ecp2.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/ecp4.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/ecp8.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/ff.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/fp.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/fp12.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/fp16.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/fp2.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/fp24.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/fp4.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/fp48.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/fp8.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/gcm.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/hash256.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/hash384.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/hash512.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/hmac.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/hpke.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/mpin.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/mpin192.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/mpin256.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/nhs.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/pair.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/pair4.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/pair8.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/rand.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/rom_curve.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/rom_field.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/rsa.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/sha3.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/share.js delete mode 100644 packages/bls-verify/src/vendor/amcl-js/src/uint64.js diff --git a/docs/generated/changelog.html b/docs/generated/changelog.html index b3fbfbeaa..1d33a26ad 100644 --- a/docs/generated/changelog.html +++ b/docs/generated/changelog.html @@ -12,6 +12,7 @@

Agent-JS Changelog

Version x.x.x