Commit Graph
412 Commits
Author SHA1 Message Date
Jaco 455ae2ccde Use @noble/curves (secp256k1 + ed25519) (#1776)
* Use @noble/curves (secp256k1 only for now)

* Re-add canonical signatures (now lowS)

* Swap tweetnacl usage for ed25519

* Adjust previously failing tests

* Adjust test for ethereum encoding

* hasBigInt for ed25519 operations

* CHANGELOG

* Publich beta to npm for size check
2023-04-12 12:58:17 +03:00
Jaco 1295c85df3 11.1.3 (#1789) 2023-04-01 09:58:20 +03:00
Jaco b794d22ac4 Allow empty string as valid base32/base58/base64 decoder input (#1788)
* Allow empty string as valid base32/base58/base64 decoder input

* Remove empty failure

* Validation with optional validation flag

* Empty validation
2023-03-31 09:18:38 +03:00
Jaco 45b040fbf8 Additional __PURE__ annotations (#1787)
* Additional __PURE__ annotations

* Revert as const (This _could_ yield breaking external changes)
2023-03-31 08:08:01 +03:00
Jaco 0aa441de96 11.1.2 (#1777)
* 11.1.2

* Bump dev

* Bump deps
2023-03-25 09:14:10 +02:00
Jaco 0a27c23439 Specific per-method JSDoc for hw-ledger (#1773)
* Specific per-method JSDoc for hw-ledger

* Adjust, less types floating around
2023-03-24 09:36:42 +02:00
Jaco cd494d7de0 Expand error details on invalid publicKey (#1772) 2023-03-23 11:11:53 +02:00
Jaco 2df8d01186 11.1.1 (#1771) 2023-03-18 14:12:07 +02:00
Jaco 816e30fb0a 11.0.2 (#1760) 2023-03-11 08:49:14 +02:00
Jaco 3437fb65cd 11.0.1 (#1753)
* 11.0.1

* Re-adjust for ws usage

* Correct dev dependencies

* Bump dev
2023-03-04 16:50:01 +02:00
Jaco 3d43aba4a1 Swap x-ws to use ws (#1749)
* Swap x-ws to use ws

* Revert swc usage

* Remove unneeded --env to test
2023-03-04 15:02:04 +02:00
Jaco 4619ab6668 10.4.2 (#1741)
* 10.4.2

* dep up changelog entry
2023-02-19 10:11:47 +02:00
Jaco a9f671b501 10.4.1 (#1728) 2023-02-12 11:14:33 +02:00
Jaco 900cf21bc5 Bump deps (#1726) 2023-02-07 15:08:02 +02:00
Jaco e29003f51e Add isClass helper (#1720)
* Add isClass helper

* add isOnFunction helper
2023-02-03 09:59:18 +02:00
Jaco f7ce22b158 10.3.1 (#1719) 2023-01-28 09:09:21 +02:00
Jaco f2afcfc1a7 Adjust internal character maps to operate on Uint8Array (#1685)
* Adjust internal character maps to operate on Uint8Array

* Use Uint8Array

* Actual perf testing

* Rename perf exports

* Expose specs in own tsconfig (circular)
2023-01-26 10:05:15 +02:00
Jaco 5b5cdae9ff Align bigint constans with those in BN (#1716) 2023-01-26 09:31:41 +02:00
Jaco 18d02f49fd Bump deps (w/ CHANGELOG) (#1715) 2023-01-25 10:42:41 +02:00
Jaco 5f9e345dd4 Drop stray console.error log (#1707) 2023-01-13 16:17:51 +02:00
Jaco 08bf4b7eb2 Bugfix for formatBalance (forceUnit), result < 0 (#1706)
* Bugfix for formatBalance (forceUnit), result < 0

* Deps up
2023-01-13 15:54:40 +02:00
Jaco 694fb8b241 10.2.4 (#1705) 2023-01-13 09:44:39 +02:00
Jaco 39403fcfe7 formatBalance withAll/withZero (#1703) 2023-01-11 15:45:19 +02:00
Jaco d291a76798 10.2.3 (#1702) 2023-01-07 15:02:13 +02:00
Jaco ceff8cc9ff Adjust Buffer check (#1701)
* Adjust Buffer check

* Adjust
2023-01-07 12:12:43 +02:00
Jaco a1afff886b 10.2.2 (#1700) 2023-01-06 12:25:00 +02:00
Jaco 2994c594fc Bump TS (#1691)
* Bump TS

* Add ss registry compare
2022-12-08 08:24:41 +02:00
Jaco f7d2bf9d11 10.2.1 (#1687) 2022-12-04 11:41:20 +02:00
Jaco 058786689e Bump @polkadot/wasm (#1686) 2022-12-03 11:04:22 +02:00
Jaco fa593ef1fc Add /*#__PURE__*/ annotations (#1684) 2022-12-02 09:59:59 +02:00
Jaco 984a4a1ae8 Adjust has{Buffer, Process} checks w/ globalThis (#1683) 2022-12-02 09:42:41 +02:00
Jaco 203321c83e 10.1.14 (#1681) 2022-11-27 09:01:20 +02:00
Jaco 9846e97d73 Bump deps (#1680)
* Bump deps

* Update network json compare
2022-11-26 17:49:56 +02:00
Jaco 33b8d410b4 10.1.13 (#1678) 2022-11-20 10:53:06 +02:00
Jaco b47d83fd3c Bump deps (#1676) 2022-11-19 08:42:33 +02:00
Jaco 9cf963170d 10.1.12 (#1673) 2022-11-13 10:25:32 +02:00
Jaco a6fa8cec17 `Bump deps (#1672)
* `Bump deps

* networks build
2022-11-09 14:11:28 +02:00
Jaco 6efca949cc 10.1.11 (#1666) 2022-10-15 12:50:55 +03:00
Jaco d0fd445c06 Bump deps (#1664)
* Bump deps

* Bump deps
2022-10-14 09:57:35 +03:00
Jaco f72be29dbf 10.1.10 (#1662) 2022-10-07 07:34:02 +03:00
Jaco 9523e6b0d3 Correct numberToHex(0) conversion (#1661) 2022-10-07 07:00:46 +03:00
Jaco 669d8b1a84 Ensure {bn, n}ToHex respects bitLength with 0 values (#1660) 2022-10-07 06:45:49 +03:00
Jaco 43f9676341 Bump deps (#1657) 2022-09-30 08:48:43 +03:00
Jaco 3b51154d60 10.1.9 (#1654) 2022-09-24 08:29:24 +03:00
Jaco 29057558ac CHANGELOG (#1653) 2022-09-23 12:20:29 +03:00
Jaco 640bab086e Bump deps (#1652) 2022-09-22 10:11:01 +03:00
Jaco 0c477e15c4 10.1.8 (#1649) 2022-09-17 09:22:50 +03:00
Jaco 35d1a8e57f Bump deps (#1648) 2022-09-14 11:19:00 +03:00
Jaco 4f4ce3549e Bump deps & CHANGELOG (#1642)
* Bump deps & CHANGELOG

* Downgrade rollup node-resolve
2022-09-07 13:27:13 +03:00
Jaco 9777bca5d4 10.1.7 (#1639) 2022-09-02 11:26:06 +03:00