@xian-tech/types 0.1.11 → 0.1.12-beta.2
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 +20 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# @xian-tech/types
|
|
2
|
+
|
|
3
|
+
This package owns the shared TypeScript contracts used across the `xian-js`
|
|
4
|
+
workspace: transaction payload and envelope types, signer interfaces, and
|
|
5
|
+
broadcast-mode and numeric helper types.
|
|
6
|
+
|
|
7
|
+
It has no workspace dependencies and no runtime logic. `@xian-tech/client`
|
|
8
|
+
and `@xian-tech/provider` build on these types so dapps, wallets, and tools
|
|
9
|
+
can share one transaction model.
|
|
10
|
+
|
|
11
|
+
## Contents
|
|
12
|
+
|
|
13
|
+
- `src/index.ts`: the full exported type surface, including
|
|
14
|
+
`XianTxPayload`, `XianUnsignedTransaction`, `XianSignedTransaction`,
|
|
15
|
+
`XianSigner`, `BroadcastMode`, and `XianNumber`.
|
|
16
|
+
|
|
17
|
+
## Notes
|
|
18
|
+
|
|
19
|
+
- Changes here are cross-package API changes; align `client/`, `provider/`,
|
|
20
|
+
and downstream wallet repos in the same change set.
|