7 Commits

Author SHA1 Message Date
janniks
a8d5a6e120 docs: update migration guide 2023-04-19 16:57:33 +02:00
janniks
bbf86d4d51 docs: update migration guide 2022-10-04 15:50:47 +02:00
janniks
dddeb6891b fix: rename incorrect nft post-condition codes 2022-10-04 15:04:43 +02:00
janniks
25032e046b docs: update migration docs 2022-09-30 11:35:58 +02:00
janniks
d5eacc3356 docs: update migration docs 2022-09-30 11:35:58 +02:00
janniks
65ce1218d6 fix(encryption)!: change message signing prefix, closes #1328
BREAKING CHANGE:
The message signing prefix was changed from `Stacks Message Signing` to `Stacks Signed Message`.
2022-09-30 11:35:58 +02:00
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