@neuraiproject/neurai-assets 1.6.0 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/dist/NeuraiAssets.global.js +955 -864
- package/dist/NeuraiAssets.global.js.map +1 -1
- package/dist/browser.js +955 -864
- package/dist/browser.js.map +1 -1
- package/dist/index.cjs +955 -864
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +955 -864
- package/dist/index.js.map +1 -1
- package/index.d.ts +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1089,3 +1089,14 @@ The estimator assumes the most common spend layout for every input:
|
|
|
1089
1089
|
- PQ inputs → AuthScript v1 with the **default** `OP_TRUE` `witnessScript` and **no** `functionalArgs`
|
|
1090
1090
|
|
|
1091
1091
|
That covers all standard asset operations. If you build transactions whose PQ inputs use covenant `witnessScript`s, NoAuth (`authType=0x00`) or Legacy AuthScript (`authType=0x02`) witnesses, compute the witness size yourself and add it to the result of `estimateTransactionVbytes` (or use `estimateVirtualSize` from `@neuraiproject/neurai-sign-transaction` after building the raw transaction, which fills dummy witnesses of the worst-case size and returns the exact post-signing vsize).
|
|
1092
|
+
|
|
1093
|
+
### Large amounts and exact result envelopes
|
|
1094
|
+
|
|
1095
|
+
Pass large fractional quantities as decimal strings and RPC raw `satoshis` as
|
|
1096
|
+
bigint or integer strings. Build envelopes retain numeric display fields for
|
|
1097
|
+
safe monetary values; large fractional values are returned as decimal strings
|
|
1098
|
+
instead of rounding or preventing a valid build. Consumers must accept both.
|
|
1099
|
+
Canonical `createTransactionBuild` quantities and changes remain bigint.
|
|
1100
|
+
XNA string outputs are preserved during output ordering. Exact selection totals
|
|
1101
|
+
remain available as `totalSats` / raw methods; never use a rounded display value
|
|
1102
|
+
as a new transaction input.
|