@hardkas/accounts 0.12.0-rc.20 → 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,7 +1,6 @@
1
1
  import {
2
2
  parseWasmTxToRpc
3
- } from "../chunk-R5P3WIWR.js";
4
- import "../chunk-MCKGQKYU.js";
3
+ } from "../chunk-GM2BY4VS.js";
5
4
  export {
6
5
  parseWasmTxToRpc
7
6
  };
@@ -1,7 +1,6 @@
1
1
  import {
2
2
  KeystoreManager
3
3
  } from "./chunk-YLG2NIAU.js";
4
- import "./chunk-MCKGQKYU.js";
5
4
  export {
6
5
  KeystoreManager
7
6
  };
@@ -4,8 +4,7 @@ import {
4
4
  listHardkasAccounts,
5
5
  resolveHardkasAccount,
6
6
  resolveHardkasAccountAddress
7
- } from "./chunk-YBNHOFVX.js";
8
- import "./chunk-MCKGQKYU.js";
7
+ } from "./chunk-7KKJXU73.js";
9
8
  export {
10
9
  assertAccountCompatible,
11
10
  describeAccount,
@@ -1,11 +1,12 @@
1
1
  import {
2
2
  detectCapabilities,
3
3
  getKaspaSigningBackendStatus,
4
- loadKaspaWasm
5
- } from "./chunk-6DPO5V3N.js";
6
- import "./chunk-MCKGQKYU.js";
4
+ loadKaspaWasm,
5
+ loadKaspaWasmSync
6
+ } from "./chunk-BNF566PS.js";
7
7
  export {
8
8
  detectCapabilities,
9
9
  getKaspaSigningBackendStatus,
10
- loadKaspaWasm
10
+ loadKaspaWasm,
11
+ loadKaspaWasmSync
11
12
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hardkas/accounts",
3
- "version": "0.12.0-rc.20",
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.20",
28
- "@hardkas/config": "0.12.0-rc.20",
29
- "@hardkas/core": "0.12.0-rc.20",
30
- "@hardkas/localnet": "0.12.0-rc.20",
31
- "@hardkas/tx-builder": "0.12.0-rc.20"
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",
@@ -1,15 +0,0 @@
1
- var __getOwnPropNames = Object.getOwnPropertyNames;
2
- var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
3
- get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
4
- }) : x)(function(x) {
5
- if (typeof require !== "undefined") return require.apply(this, arguments);
6
- throw Error('Dynamic require of "' + x + '" is not supported');
7
- });
8
- var __commonJS = (cb, mod) => function __require2() {
9
- return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
10
- };
11
-
12
- export {
13
- __require,
14
- __commonJS
15
- };