@hardkas/accounts 0.12.0-rc.2 → 0.12.0-rc.21

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.
@@ -1,4 +1,8 @@
1
- declare function parseWasmTxToRpc(wasmTxStr: string, signedTx?: any, inputOverrides?: Record<number, {
1
+ /**
2
+ * Maps a WASM transaction to the RPC shape. Accepts `tx.serializeToObject()`
3
+ * (preferred: amounts stay exact bigints) or a JSON string.
4
+ */
5
+ declare function parseWasmTxToRpc(wasmTx: string | object, signedTx?: any, inputOverrides?: Record<number, {
2
6
  signatureScript: string;
3
7
  }>, plan?: any): any;
4
8
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  parseWasmTxToRpc
3
- } from "../chunk-R5P3WIWR.js";
3
+ } from "../chunk-GM2BY4VS.js";
4
4
  export {
5
5
  parseWasmTxToRpc
6
6
  };
@@ -1,10 +1,12 @@
1
1
  import {
2
+ assertAccountCompatible,
2
3
  describeAccount,
3
4
  listHardkasAccounts,
4
5
  resolveHardkasAccount,
5
6
  resolveHardkasAccountAddress
6
- } from "./chunk-TRVIQTIO.js";
7
+ } from "./chunk-7KKJXU73.js";
7
8
  export {
9
+ assertAccountCompatible,
8
10
  describeAccount,
9
11
  listHardkasAccounts,
10
12
  resolveHardkasAccount,
@@ -1,10 +1,12 @@
1
1
  import {
2
2
  detectCapabilities,
3
3
  getKaspaSigningBackendStatus,
4
- loadKaspaWasm
5
- } from "./chunk-6DPO5V3N.js";
4
+ loadKaspaWasm,
5
+ loadKaspaWasmSync
6
+ } from "./chunk-BNF566PS.js";
6
7
  export {
7
8
  detectCapabilities,
8
9
  getKaspaSigningBackendStatus,
9
- loadKaspaWasm
10
+ loadKaspaWasm,
11
+ loadKaspaWasmSync
10
12
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hardkas/accounts",
3
- "version": "0.12.0-rc.2",
3
+ "version": "0.12.0-rc.21",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -23,12 +23,11 @@
23
23
  ],
24
24
  "dependencies": {
25
25
  "hash-wasm": "^4.12.0",
26
- "kaspa-wasm": "0.13.0",
27
- "@hardkas/artifacts": "0.12.0-rc.2",
28
- "@hardkas/core": "0.12.0-rc.2",
29
- "@hardkas/config": "0.12.0-rc.2",
30
- "@hardkas/tx-builder": "0.12.0-rc.2",
31
- "@hardkas/localnet": "0.12.0-rc.2"
26
+ "@hardkas/artifacts": "0.12.0-rc.21",
27
+ "@hardkas/config": "0.12.0-rc.21",
28
+ "@hardkas/core": "0.12.0-rc.21",
29
+ "@hardkas/localnet": "0.12.0-rc.21",
30
+ "@hardkas/tx-builder": "0.12.0-rc.21"
32
31
  },
33
32
  "devDependencies": {
34
33
  "tsup": "^8.3.5",