Commit Graph

231 Commits

Author SHA1 Message Date
janniks
5445b73e05 feat!: switch from buffer to uint8array (#1343)
BREAKING CHANGE:
Removes compatibility with `bip32` package from @stacks/wallet-sdk. Now all derivation methods only rely on HDKey from @scure/bip32.

BREAKING CHANGE:
To reduce the bundle sizes of applications using Stacks.js we are moving away from Buffer (a polyfill to match Node.js APIs) to Uint8Arrays (which Buffers use in the background anyway). To make the switch easier we have introduced a variety of methods for converting between strings and Uint8Arrays: `hexToBytes`, `bytesToHex`, `utf8ToBytes`, `bytesToUtf8`, `asciiToBytes`, `bytesToAscii`, and `concatBytes`.

Co-authored-by: janniks <janniks@users.noreply.github.com>
2022-09-30 11:35:58 +02:00
janniks
5ced687bbb chore: update packages 2022-09-29 21:59:06 +02:00
janniks
889fa22f87 ci: update changelog preset 2022-09-27 17:59:55 +02:00
janniks
9341e20501 chore: add deprecation notice to keychain package methods 2022-09-06 16:43:27 +02:00
ahsan-javaid
132e0c5bea fix: offload bip39 from keychain 2022-08-18 14:52:08 +02:00
janniks
16a23c9db6 docs: update command help information 2022-08-02 11:04:53 -04:00
janniks
2c5cdf4b52 chore: update package file 2022-08-02 11:04:53 -04:00
janniks
b7acc7de73 fix: update version buffer size for pox addresses 2022-07-19 11:13:06 -04:00
janniks
62355bc69d fix: update make_keychain command 2022-07-15 12:37:43 -04:00
janniks
bed2b2befa ci: add changeset cli 2022-06-16 18:46:25 +02:00
janniks
0653fd43a4 ci: update beta action 2022-06-16 17:23:51 +02:00
janniks
dd0e3030c8 chore(release): publish v4.3.0 2022-06-16 15:07:33 +02:00
janniks
a99f0f70c5 chore: fix build keyword interface problem 2022-06-10 18:37:16 +02:00
janniks
6d1a5dcb5b build: audit deps, closes #1264 2022-06-10 18:37:16 +02:00
beguene
a4c0577c7e feat: add SIP-018 support
closes #1283 #1281
2022-06-07 13:54:23 +02:00
janniks
f104aad523 chore(release): publish v4.2.2 2022-06-01 20:57:55 +02:00
janniks
462f5e2fe5 fix: update jsontokens lib 2022-06-01 19:54:32 +02:00
janniks
cff19320b2 chore(release): publish v4.2.1 2022-05-29 00:30:00 +02:00
janniks
13d2edff22 chore(release): publish v4.2.0 2022-05-25 18:00:43 +02:00
janniks
c1966f91e6 docs: update polyfilling section 2022-05-24 16:56:08 +02:00
janniks
16fcbb5974 build: reduce polyfilling 2022-05-24 16:56:08 +02:00
janniks
8912bca06b fix: offload bitcoinjs from stacking, closes #1259 2022-05-24 16:56:08 +02:00
janniks
0d7847e06d chore(release): publish v4.1.2 2022-05-23 22:06:04 +02:00
janniks
fa211f2ae6 build: add missing dep 2022-05-23 15:29:15 +02:00
janniks
f8cd319212 fix: update api client 2022-05-19 20:14:32 +02:00
janniks
62b63fe95b chore(release): publish v4.1.1 2022-05-19 18:50:40 +02:00
janniks
79152d3091 fix: add blockstack dependency 2022-05-19 18:01:31 +02:00
janniks
d0ca86ec45 chore(release): publish v4.1.0 2022-05-19 15:41:24 +02:00
janniks
ef456327a3 feat: add fetch middleware for api keys and request init
docs: optimize ts docs
2022-05-19 15:33:35 +02:00
janniks
32c7d76ff0 chore(release): publish v4.0.2 2022-05-19 14:24:33 +02:00
AhsanJavaid
91b511b45a fix: offload bn.js dependency 2022-05-17 22:57:22 +02:00
janniks
2add622be6 chore(release): publish v4.0.1 2022-05-09 17:41:35 +02:00
janniks
5be97a259e chore(release): publish v4.0.0 2022-04-20 15:47:55 +02:00
janniks
ade44441a4 chore(release): publish v4.0.0-beta.0 2022-04-19 17:39:21 +02:00
janniks
e2f3cf93f1 fix: remove doPublicKeysMatchUsername 2022-04-19 16:12:08 +02:00
janniks
d1685e1ed8 build: audit fix 2022-04-15 19:42:44 +02:00
janniks
265b4830d8 chore: bootstrap 2022-04-14 12:05:06 +02:00
janniks
8fc7c68bb7 build(docs): fix release version 2022-04-14 12:05:06 +02:00
janniks
d22cd821aa build: fix auth package 2022-04-14 12:05:06 +02:00
janniks
d548f163fb build(deps): dedupe deps 2022-04-14 12:05:06 +02:00
janniks
a8be6d3952 build(deps): dedupe 2022-04-14 12:05:06 +02:00
janniks
b5e4e72b45 chore: rebuild lockfile 2022-04-13 14:36:07 +02:00
janniks
39df092df2 chore: remove deps 2022-04-13 14:36:07 +02:00
janniks
c7ea7fe6b4 chore: bootstrap 2022-04-13 14:36:07 +02:00
janniks
7561a2c2db test: add readme tests 2022-04-13 14:36:07 +02:00
janniks
c2136bba91 chore: remove root version 2022-04-13 14:36:07 +02:00
janniks
896112d503 refactor: remove bs58check 2022-04-13 14:36:07 +02:00
janniks
7b654afaef refactor: remove bitcoinjs-lib 2022-04-13 14:36:07 +02:00
janniks
bd8c847e4a chore: update dep 2022-03-30 19:40:09 +02:00
janniks
6190895a41 chore(release): publish v3.5.0 2022-03-30 19:37:18 +02:00