@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.
- package/dist/{authorizers-OVWWAL5J.js → authorizers-CP222OTW.js} +1 -1
- package/dist/{chunk-TRVIQTIO.js → chunk-7KKJXU73.js} +84 -29
- package/dist/{chunk-6DPO5V3N.js → chunk-BNF566PS.js} +11 -20
- package/dist/{chunk-6Q4K4A24.js → chunk-CELVD4YG.js} +136 -135
- package/dist/{chunk-YJL7P33W.js → chunk-E73SSWAX.js} +4 -5
- package/dist/{chunk-R5P3WIWR.js → chunk-GM2BY4VS.js} +37 -15
- package/dist/{dev-accounts-B6ZVTPCW.js → dev-accounts-BSWPKAAE.js} +4 -4
- package/dist/index.d.ts +358 -10
- package/dist/index.js +575 -36
- package/dist/internal/wasm-rpc-serialization.d.ts +5 -1
- package/dist/internal/wasm-rpc-serialization.js +1 -1
- package/dist/{resolve-GHZEED5L.js → resolve-KMMTZWC3.js} +3 -1
- package/dist/{signer-backend-W3LNCQA3.js → signer-backend-LHWY7ULI.js} +5 -3
- package/package.json +6 -7
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
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,10 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
+
assertAccountCompatible,
|
|
2
3
|
describeAccount,
|
|
3
4
|
listHardkasAccounts,
|
|
4
5
|
resolveHardkasAccount,
|
|
5
6
|
resolveHardkasAccountAddress
|
|
6
|
-
} from "./chunk-
|
|
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
|
-
|
|
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.
|
|
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
|
-
"
|
|
27
|
-
"@hardkas/
|
|
28
|
-
"@hardkas/core": "0.12.0-rc.
|
|
29
|
-
"@hardkas/
|
|
30
|
-
"@hardkas/tx-builder": "0.12.0-rc.
|
|
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",
|