@hardkas/sdk 0.1.0 → 0.2.1-alpha
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/index.d.ts +1 -0
- package/dist/index.js +4 -0
- package/package.json +15 -15
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as _hardkas_config from '@hardkas/config';
|
|
2
2
|
import { LoadedHardkasConfig } from '@hardkas/config';
|
|
3
|
+
export { defineHardkasConfig } from '@hardkas/config';
|
|
3
4
|
import { KaspaRpcClient } from '@hardkas/kaspa-rpc';
|
|
4
5
|
import { NetworkId } from '@hardkas/core';
|
|
5
6
|
export { ArtifactId, HardkasError, KaspaAddress, LineageId, NetworkId, SOMPI_PER_KAS, TxId, formatSompi, parseKasToSompi } from '@hardkas/core';
|
package/dist/index.js
CHANGED
|
@@ -220,6 +220,9 @@ var HardkasLocalnet = class {
|
|
|
220
220
|
}
|
|
221
221
|
};
|
|
222
222
|
|
|
223
|
+
// src/index.ts
|
|
224
|
+
import { defineHardkasConfig as defineHardkasConfig2 } from "@hardkas/config";
|
|
225
|
+
|
|
223
226
|
// src/tasks.ts
|
|
224
227
|
var TaskRegistry = class {
|
|
225
228
|
tasks = /* @__PURE__ */ new Map();
|
|
@@ -330,6 +333,7 @@ export {
|
|
|
330
333
|
SOMPI_PER_KAS,
|
|
331
334
|
buildPaymentPlan2 as buildPaymentPlan,
|
|
332
335
|
createTxPlanArtifact2 as createTxPlanArtifact,
|
|
336
|
+
defineHardkasConfig2 as defineHardkasConfig,
|
|
333
337
|
defineTask,
|
|
334
338
|
formatSompi2 as formatSompi,
|
|
335
339
|
parseKasToSompi2 as parseKasToSompi,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hardkas/sdk",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.2.1-alpha",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -13,17 +13,17 @@
|
|
|
13
13
|
".": "./dist/index.js"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@hardkas/accounts": "0.1
|
|
17
|
-
"@hardkas/
|
|
18
|
-
"@hardkas/
|
|
19
|
-
"@hardkas/
|
|
20
|
-
"@hardkas/
|
|
21
|
-
"@hardkas/
|
|
22
|
-
"@hardkas/
|
|
23
|
-
"@hardkas/simulator": "0.1
|
|
24
|
-
"@hardkas/
|
|
25
|
-
"@hardkas/
|
|
26
|
-
"@hardkas/
|
|
16
|
+
"@hardkas/accounts": "0.2.1-alpha",
|
|
17
|
+
"@hardkas/core": "0.2.1-alpha",
|
|
18
|
+
"@hardkas/l2": "0.2.1-alpha",
|
|
19
|
+
"@hardkas/artifacts": "0.2.1-alpha",
|
|
20
|
+
"@hardkas/config": "0.2.1-alpha",
|
|
21
|
+
"@hardkas/localnet": "0.2.1-alpha",
|
|
22
|
+
"@hardkas/kaspa-rpc": "0.2.1-alpha",
|
|
23
|
+
"@hardkas/simulator": "0.2.1-alpha",
|
|
24
|
+
"@hardkas/query": "0.2.1-alpha",
|
|
25
|
+
"@hardkas/tx-builder": "0.2.1-alpha",
|
|
26
|
+
"@hardkas/wallet-adapter": "0.2.1-alpha"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"tsup": "^8.3.5",
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
"author": "Javier Rodriguez",
|
|
35
35
|
"repository": {
|
|
36
36
|
"type": "git",
|
|
37
|
-
"url": "git+https://github.com/
|
|
37
|
+
"url": "git+https://github.com/KasLabDevs/HardKas.git",
|
|
38
38
|
"directory": "packages/sdk"
|
|
39
39
|
},
|
|
40
40
|
"bugs": {
|
|
41
|
-
"url": "https://github.com/
|
|
41
|
+
"url": "https://github.com/KasLabDevs/HardKas/issues"
|
|
42
42
|
},
|
|
43
|
-
"homepage": "https://github.com/
|
|
43
|
+
"homepage": "https://github.com/KasLabDevs/HardKas/tree/main/packages/sdk#readme",
|
|
44
44
|
"scripts": {
|
|
45
45
|
"build": "tsup src/index.ts --format esm --dts --clean",
|
|
46
46
|
"test": "vitest run",
|