Edu
Edu
Given `BigInt` is widespread at this point, may be worth updating the type of `value` to accept bigints, ```tsx const example1 = ( ); ``` in the meantime, can easily...
### Problem Different transaction types often require dedicated code. However, even after checking the payload type, the payload needs to be kept in its own variable to preserve any type...
Seems the same interface is declared twice? Maybe the result of merge-conflict resolution? https://github.com/hirosystems/stacks.js/blob/2cf886b6419232dbb54caccf5216b4f42605f3ad/packages/transactions/src/wire/types.ts#L275-L288
### What version of Stacks.js are you using? 7.0.3 ### Describe the bug Seems the `makeUnsignedSTXTokenTransfer` builder is missing an `undefined` check for automatically setting the fee and nonce, https://github.com/hirosystems/stacks.js/blob/2cf886b6419232dbb54caccf5216b4f42605f3ad/packages/transactions/src/builders.ts#L181-L191...
### Description Adds support for `IntegerType` to Stacks unit converters #### Breaking change? No, minor ### Example ```ts microStxToStx(1000000n) microStxToStx('1500') ``` ### Notes Unit tests for a module that wasn't...
### Problem @stacksjs/transactions makes both post condition mode types available as exports: https://github.com/hirosystems/stacks.js/blob/fd0bf26b5f29fc3c1bf79581d0ad9b89f0d7f15a/packages/transactions/src/postcondition-types.ts#L44 https://github.com/hirosystems/stacks.js/blob/fd0bf26b5f29fc3c1bf79581d0ad9b89f0d7f15a/packages/transactions/src/constants.ts#L88 but not the helper to that unifies into a single type, https://github.com/hirosystems/stacks.js/blob/fd0bf26b5f29fc3c1bf79581d0ad9b89f0d7f15a/packages/transactions/src/postcondition.ts#L97 which makes it hard...
### Problem In reactive FE libraries like React, mutating deeply nested data can make it difficult to sync the UI with the data. For example, setting a new fee mutates...
### What version of Stacks.js are you using? transactions 7.0.3 ### Describe the bug Seems the types for public and private keys have been switched in this section of the...
### Problem The way the types are currently constructed for `TxBroadcastResult`, https://github.com/hirosystems/stacks.js/blob/50399dc0a4f9abf30f072b0bceb7888d68d948ec/packages/transactions/src/types.ts#L156 makes it "impossible" to check for success or error with TS. The union only has the `txid` prop...
Fix link, change `-` to `_`.