Jaco
55ebc4f0d9
Check sign flag for i{8, 16, 32, ...} conversions ( #1867 )
...
* Check sign flag for i{8, 16, 32, ...} conversions
* Ensure negative path is tested on i32 perf
* CHANGELOG
* Comment check on top-most signed bit
* toBn test array
* toNumber uses exposed toBn tests
* Re-use tests in toBn
* Re-use expectations inside bnToU8a
* Remove explicit BE (swap to non-optimal reverse)
* Adjust
* Remove defunct "only BE" comment
* typo
* Use bnToU8a tests in biToU8a
* Flatten tests
* Additional tests
* Additional tests
2023-08-22 20:08:30 +03:00
Jaco
b939c3593c
12.4.1 ( #1864 )
2023-08-17 15:21:30 +03:00
Jaco
a8df82dfe0
Update internal buffer types ( #1862 )
...
* Update internal buffer types
* u8aToBuffer/isBuffer does not require Buffer type
* Re-add BufferObj equals
2023-08-16 12:22:18 +03:00
Jaco
0ec50b6159
Support for signRaw on Ledger SubstrateApp ( #1849 )
...
* Support for signRaw on Ledger SubstrateApp
* Adjust with callback return
* Ensure message is wrapped before signing
2023-06-21 09:15:10 +03:00
Jaco
7b3bbd3ef2
Bump deps ( #1850 )
2023-06-21 08:24:21 +03:00
Jaco
eaf9d97ae3
12.3.2 ( #1846 )
2023-06-12 08:20:17 +03:00
Jaco
8aab41648e
12.3.1 ( #1845 )
2023-06-11 09:20:32 +03:00
Jaco
5cca95e855
Adjust object index typings ( #1843 )
...
* Adjust object index typings
* Update packages/util/src/is/childClass.ts
* Expand meta definition
* Extend meta with extension info
* Adjust
* CHANGELOG
2023-06-10 07:44:28 +03:00
Jaco
eea99656ad
Only allow padding characters in base64 strings ( #1842 )
...
* Only allow padding characters in base64 strings
* Explicit padding sequence error
2023-06-06 08:31:44 +03:00
Jaco
b6a2693e5f
12.2.2 ( #1839 )
2023-06-04 11:58:18 +03:00
Jaco
d94c126744
Apply missing count assignment in for loops ( #1836 )
2023-05-30 11:50:04 +03:00
Jaco
0bf7bc416a
Bump dev deps ( #1830 )
2023-05-18 08:29:07 +03:00
Jaco
5272645abe
12.2.1 ( #1829 )
2023-05-13 11:17:53 +03:00
Jaco
e5373c35c8
Unroll u8aToBigInt loops ( #1821 )
...
* Unroll u8aToBigInt loops
* Bump dev
* Rolling tests
2023-05-13 10:51:46 +03:00
Jaco
9de142b5f6
Bump deps ( #1826 )
2023-05-05 09:39:58 +03:00
Jaco
dba5d3e7b3
Fix typings for isChildClass ( #1824 )
...
* Fix typings for isChildClass
* Adjust
2023-05-01 19:08:41 +03:00
Jaco
770471aef0
12.1.1 ( #1819 )
2023-04-29 08:44:25 +03:00
Jaco
fee81b89ac
Bump deps ( #1818 )
2023-04-28 09:07:41 +03:00
Jaco
785a23433d
Flatten Buffer | Uint8Array types ( #1816 )
...
* Flatten Buffer | Uint8Array types
* Remove dangling Buffer references
* CHANGELOG
* Adjust
2023-04-24 07:53:31 +03:00
Jaco
2d2a1a5989
12.0.1 ( #1815 )
...
* 12.0.1
* Inline xxhash single-use
* Adjust comments
2023-04-22 10:37:53 +03:00
Jaco
dfd07e04d4
Align x-randomvalues with webCrypto ( #1782 )
...
* Align x-randomvalues with webCrypto
* Deno export from browser
* export * for x-ws
* export * from RN
* CHANGELOG
2023-04-21 10:27:30 +03:00
Jaco
51a7263d38
Bump dev (w/ Node 16+ only) ( #1813 )
...
* Bump dev (w/ Node 16+ only)
* Lint
* Fix build
2023-04-21 10:10:27 +03:00
Jaco
b4bed3d801
Bump deps ( #1812 )
2023-04-20 09:52:10 +03:00
Jaco
a0e5d48208
CHANGELOG ( #1811 )
2023-04-15 14:30:49 +03:00
Jaco
3ee810904e
Adjust isCodec with better API alignment ( #1810 )
...
* Adjust isCodec with better API alignment
* Adjust tests
* Remove test dupes
2023-04-15 14:07:44 +03:00
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