Compare commits

...

88 Commits

Author SHA1 Message Date
semantic-release-bot 180604ad7d chore(release): 0.1.0-develop.9 [skip ci]
# [0.1.0-develop.9](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.1.0-develop.8...v0.1.0-develop.9) (2023-10-12)
2023-10-12 12:10:49 +00:00
Derrick Hammer 1659cd3689
Merge remote-tracking branch 'origin/develop' into develop 2023-10-12 08:09:43 -04:00
Derrick Hammer 7bb1707b10
dep: update module hash 2023-10-12 08:09:35 -04:00
semantic-release-bot 8add7dd15e chore(release): 0.1.0-develop.8 [skip ci]
# [0.1.0-develop.8](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.1.0-develop.7...v0.1.0-develop.8) (2023-09-09)
2023-09-09 21:59:10 +00:00
Derrick Hammer 41788268ec
Merge remote-tracking branch 'origin/develop' into develop 2023-09-09 17:57:58 -04:00
Derrick Hammer 74ac3e4815
dep: update module hash 2023-09-09 17:57:49 -04:00
semantic-release-bot 217710770e chore(release): 0.1.0-develop.7 [skip ci]
# [0.1.0-develop.7](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.1.0-develop.6...v0.1.0-develop.7) (2023-09-03)
2023-09-03 05:32:13 +00:00
Derrick Hammer 36f6647c07
Merge remote-tracking branch 'origin/develop' into develop 2023-09-03 01:31:08 -04:00
Derrick Hammer 6296e15e74
dep: update libkernel 2023-09-03 01:31:03 -04:00
Derrick Hammer 2dc379f553
dep: update module hash 2023-09-03 01:30:31 -04:00
semantic-release-bot 3b43952d7a chore(release): 0.1.0-develop.6 [skip ci]
# [0.1.0-develop.6](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.1.0-develop.5...v0.1.0-develop.6) (2023-09-03)
2023-09-03 01:04:34 +00:00
Derrick Hammer 3e6f5d55b0
Merge remote-tracking branch 'origin/develop' into develop 2023-09-02 21:03:31 -04:00
Derrick Hammer d1c2e79697
dep: update module hash 2023-09-02 21:03:24 -04:00
semantic-release-bot 094113346d chore(release): 0.1.0-develop.5 [skip ci]
# [0.1.0-develop.5](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.1.0-develop.4...v0.1.0-develop.5) (2023-09-02)
2023-09-02 17:41:13 +00:00
Derrick Hammer 7369fa3afb
Merge remote-tracking branch 'origin/develop' into develop 2023-09-02 13:40:05 -04:00
Derrick Hammer e3ea4b5747
dep: update libkernel 2023-09-02 13:40:01 -04:00
Derrick Hammer 89e0978a05
dep: update module hash 2023-09-02 13:39:27 -04:00
semantic-release-bot 24975b6a3f chore(release): 0.1.0-develop.4 [skip ci]
# [0.1.0-develop.4](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.1.0-develop.3...v0.1.0-develop.4) (2023-08-04)
2023-08-04 16:05:21 +00:00
Derrick Hammer f6f3009bab
Merge remote-tracking branch 'origin/develop' into develop 2023-08-04 12:04:27 -04:00
Derrick Hammer 35fba3411f
dep: update module hash 2023-08-04 12:04:24 -04:00
semantic-release-bot cb30e024cd chore(release): 0.1.0-develop.3 [skip ci]
# [0.1.0-develop.3](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.1.0-develop.2...v0.1.0-develop.3) (2023-08-03)
2023-08-03 19:16:11 +00:00
Derrick Hammer ea0fbf1c44
Merge remote-tracking branch 'origin/develop' into develop 2023-08-03 15:15:05 -04:00
Derrick Hammer eb1ca8b469
dep: update module hash 2023-08-03 15:15:01 -04:00
semantic-release-bot b5ea1b1c2f chore(release): 0.1.0-develop.2 [skip ci]
# [0.1.0-develop.2](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.1.0-develop.1...v0.1.0-develop.2) (2023-08-02)

### Bug Fixes

* queryDns needs to be dnsQuery ([1558d45](1558d458cc))
2023-08-02 22:03:23 +00:00
Derrick Hammer a040f923b6
Merge remote-tracking branch 'origin/develop' into develop 2023-08-02 18:02:09 -04:00
Derrick Hammer 1558d458cc
fix: queryDns needs to be dnsQuery 2023-08-02 18:02:05 -04:00
semantic-release-bot bba38635c2 chore(release): 0.1.0-develop.1 [skip ci]
# [0.1.0-develop.1](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.19...v0.1.0-develop.1) (2023-08-02)

### Features

* add queryDns method ([0ef0d1c](0ef0d1cb8e))
2023-08-02 21:38:13 +00:00
Derrick Hammer f793448e52
Merge remote-tracking branch 'origin/develop' into develop 2023-08-02 17:37:22 -04:00
Derrick Hammer 0ef0d1cb8e
feat: add queryDns method 2023-08-02 17:37:14 -04:00
semantic-release-bot fb3ba031bd chore(release): 0.0.2-develop.19 [skip ci]
## [0.0.2-develop.19](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.18...v0.0.2-develop.19) (2023-08-02)
2023-08-02 21:33:52 +00:00
Derrick Hammer 66544eaed8
Merge remote-tracking branch 'origin/develop' into develop 2023-08-02 17:33:00 -04:00
Derrick Hammer 0b5e37fac9
dep: update module hash 2023-08-02 17:32:56 -04:00
semantic-release-bot 8b3dae598d chore(release): 0.0.2-develop.18 [skip ci]
## [0.0.2-develop.18](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.17...v0.0.2-develop.18) (2023-07-31)
2023-07-31 19:46:58 +00:00
Derrick Hammer 1d8617d726
dep: update module hash 2023-07-31 15:46:01 -04:00
semantic-release-bot 3de1e97843 chore(release): 0.0.2-develop.17 [skip ci]
## [0.0.2-develop.17](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.16...v0.0.2-develop.17) (2023-07-29)
2023-07-29 18:25:35 +00:00
Derrick Hammer 1640d0bfbb
Merge remote-tracking branch 'origin/develop' into develop 2023-07-29 14:24:44 -04:00
Derrick Hammer cf0cf8354b
dep: update module hash 2023-07-29 14:24:41 -04:00
semantic-release-bot cefa0bf9da chore(release): 0.0.2-develop.16 [skip ci]
## [0.0.2-develop.16](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.15...v0.0.2-develop.16) (2023-07-29)
2023-07-29 16:57:50 +00:00
Derrick Hammer 698e7898aa
Merge remote-tracking branch 'origin/develop' into develop 2023-07-29 12:56:39 -04:00
Derrick Hammer 0221116b57
dep: update module hash 2023-07-29 12:56:35 -04:00
semantic-release-bot 9ba5eed696 chore(release): 0.0.2-develop.15 [skip ci]
## [0.0.2-develop.15](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.14...v0.0.2-develop.15) (2023-07-29)
2023-07-29 04:00:13 +00:00
Derrick Hammer 0f07dec62f
Merge remote-tracking branch 'origin/develop' into develop 2023-07-28 23:58:58 -04:00
Derrick Hammer ffaa128e06
dep: update module hash 2023-07-28 23:58:54 -04:00
semantic-release-bot b85be497e9 chore(release): 0.0.2-develop.14 [skip ci]
## [0.0.2-develop.14](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.13...v0.0.2-develop.14) (2023-07-24)
2023-07-24 18:09:48 +00:00
Derrick Hammer fdb5dd7f52
Merge remote-tracking branch 'origin/develop' into develop 2023-07-24 14:08:51 -04:00
Derrick Hammer 2daaecf561
dep: update module hash 2023-07-24 14:08:47 -04:00
semantic-release-bot 3599e467fd chore(release): 0.0.2-develop.13 [skip ci]
## [0.0.2-develop.13](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.12...v0.0.2-develop.13) (2023-07-23)
2023-07-23 19:06:17 +00:00
Derrick Hammer 8f3d346775
Merge remote-tracking branch 'origin/develop' into develop 2023-07-23 15:05:00 -04:00
Derrick Hammer e887520034
dep: update module hash 2023-07-23 15:04:56 -04:00
semantic-release-bot c254a571c9 chore(release): 0.0.2-develop.12 [skip ci]
## [0.0.2-develop.12](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.11...v0.0.2-develop.12) (2023-07-23)
2023-07-23 17:44:41 +00:00
Derrick Hammer 533d843b11
style: prettier 2023-07-23 13:43:25 -04:00
Derrick Hammer e4973fb27b
Merge remote-tracking branch 'origin/develop' into develop 2023-07-23 13:42:50 -04:00
Derrick Hammer 49a3518efe
refactor: have HandshakeClient extend NetworkClient 2023-07-23 13:42:43 -04:00
semantic-release-bot 5882770315 chore(release): 0.0.2-develop.11 [skip ci]
## [0.0.2-develop.11](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.10...v0.0.2-develop.11) (2023-07-23)
2023-07-23 12:58:12 +00:00
Derrick Hammer 193aca0dc1
Merge remote-tracking branch 'origin/develop' into develop 2023-07-23 08:56:50 -04:00
Derrick Hammer 9a0770f254
dep: update module hash 2023-07-23 08:56:47 -04:00
semantic-release-bot 810c1545bf chore(release): 0.0.2-develop.10 [skip ci]
## [0.0.2-develop.10](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.9...v0.0.2-develop.10) (2023-07-23)
2023-07-23 01:10:11 +00:00
Derrick Hammer dc2f4b6634
Merge remote-tracking branch 'origin/develop' into develop 2023-07-22 21:08:50 -04:00
Derrick Hammer 8d1a374d1b
dep: update module hash 2023-07-22 21:08:46 -04:00
semantic-release-bot 5f255282a8 chore(release): 0.0.2-develop.9 [skip ci]
## [0.0.2-develop.9](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.8...v0.0.2-develop.9) (2023-07-22)
2023-07-22 00:56:29 +00:00
Derrick Hammer b04f834592
Merge remote-tracking branch 'origin/develop' into develop 2023-07-21 20:55:18 -04:00
Derrick Hammer 0deadf71e3
dep: update module hash 2023-07-21 20:55:13 -04:00
semantic-release-bot 2a4f4cc183 chore(release): 0.0.2-develop.8 [skip ci]
## [0.0.2-develop.8](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.7...v0.0.2-develop.8) (2023-07-21)
2023-07-21 17:40:39 +00:00
Derrick Hammer a770413a29
Merge remote-tracking branch 'origin/develop' into develop 2023-07-21 13:39:40 -04:00
Derrick Hammer 3ae63019f3
dep: update module hash 2023-07-21 13:39:37 -04:00
semantic-release-bot 61908bb8e8 chore(release): 0.0.2-develop.7 [skip ci]
## [0.0.2-develop.7](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.6...v0.0.2-develop.7) (2023-07-19)
2023-07-19 17:54:04 +00:00
Derrick Hammer 572f5cbe1b
Merge remote-tracking branch 'origin/develop' into develop 2023-07-19 13:52:40 -04:00
Derrick Hammer e8c1e59c95
dep: update module hash 2023-07-19 13:52:33 -04:00
semantic-release-bot 0be24e8875 chore(release): 0.0.2-develop.6 [skip ci]
## [0.0.2-develop.6](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.5...v0.0.2-develop.6) (2023-07-19)
2023-07-19 16:30:46 +00:00
Derrick Hammer 966af8995a
Merge remote-tracking branch 'origin/develop' into develop 2023-07-19 12:29:34 -04:00
Derrick Hammer 13cb0a8f54
dep: add register method 2023-07-19 12:29:30 -04:00
semantic-release-bot e1e04afa28 chore(release): 0.0.2-develop.5 [skip ci]
## [0.0.2-develop.5](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.4...v0.0.2-develop.5) (2023-07-19)
2023-07-19 16:25:05 +00:00
Derrick Hammer 10f283dcec
Merge remote-tracking branch 'origin/develop' into develop 2023-07-19 12:23:51 -04:00
Derrick Hammer 1581fb7cdd
dep: upate module hash 2023-07-19 12:23:47 -04:00
semantic-release-bot 434130e7ec chore(release): 0.0.2-develop.4 [skip ci]
## [0.0.2-develop.4](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.3...v0.0.2-develop.4) (2023-07-15)

### Bug Fixes

* fix package.json main ([8477c2b](8477c2bef0))
2023-07-15 11:05:49 +00:00
Derrick Hammer 8477c2bef0
fix: fix package.json main 2023-07-15 07:04:24 -04:00
semantic-release-bot 149cdb80f1 chore(release): 0.0.2-develop.3 [skip ci]
## [0.0.2-develop.3](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.2...v0.0.2-develop.3) (2023-07-14)
2023-07-14 09:51:16 +00:00
Derrick Hammer 9c8941ca2c
Merge remote-tracking branch 'origin/develop' into develop 2023-07-14 05:50:06 -04:00
Derrick Hammer df20d5591d
dep: update module hash 2023-07-14 05:50:00 -04:00
Derrick Hammer 84fac4fdaf
dep: update libkernel 2023-07-14 05:49:43 -04:00
semantic-release-bot cfe3c0ef43 chore(release): 0.0.2-develop.2 [skip ci]
## [0.0.2-develop.2](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.1...v0.0.2-develop.2) (2023-07-08)
2023-07-08 12:06:52 +00:00
Derrick Hammer cf36a36121
Merge remote-tracking branch 'origin/develop' into develop 2023-07-08 08:05:59 -04:00
Derrick Hammer 5c7ebbb299
dep: update module hash 2023-07-08 08:05:53 -04:00
Derrick Hammer 8f2ccb2811
dep: update libkernel 2023-07-08 08:05:40 -04:00
semantic-release-bot 031e070928 chore(release): 0.0.2-develop.1 [skip ci]
## [0.0.2-develop.1](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.1...v0.0.2-develop.1) (2023-07-05)
2023-07-05 17:34:27 +00:00
Derrick Hammer 0b3628c101
ci: setup 2023-07-05 13:33:24 -04:00
Derrick Hammer 111b7413c8
dep: update module hash 2023-07-05 13:08:53 -04:00
Derrick Hammer f842968b11
refactor: switch to new sdks 2023-07-05 13:08:38 -04:00
10 changed files with 18457 additions and 66 deletions

13
.github/workflows/ci.yml vendored Normal file
View File

@ -0,0 +1,13 @@
name: Build/Publish
on:
push:
branches:
- master
- develop
- develop-*
jobs:
main:
uses: lumeweb/github-node-deploy-workflow/.github/workflows/main.yml@master
secrets: inherit

5
.presetterrc.json Normal file
View File

@ -0,0 +1,5 @@
{
"preset": [
"@lumeweb/node-library-preset"
]
}

70
CHANGELOG.md Normal file
View File

@ -0,0 +1,70 @@
# [0.1.0-develop.9](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.1.0-develop.8...v0.1.0-develop.9) (2023-10-12)
# [0.1.0-develop.8](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.1.0-develop.7...v0.1.0-develop.8) (2023-09-09)
# [0.1.0-develop.7](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.1.0-develop.6...v0.1.0-develop.7) (2023-09-03)
# [0.1.0-develop.6](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.1.0-develop.5...v0.1.0-develop.6) (2023-09-03)
# [0.1.0-develop.5](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.1.0-develop.4...v0.1.0-develop.5) (2023-09-02)
# [0.1.0-develop.4](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.1.0-develop.3...v0.1.0-develop.4) (2023-08-04)
# [0.1.0-develop.3](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.1.0-develop.2...v0.1.0-develop.3) (2023-08-03)
# [0.1.0-develop.2](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.1.0-develop.1...v0.1.0-develop.2) (2023-08-02)
### Bug Fixes
* queryDns needs to be dnsQuery ([1558d45](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/commit/1558d458cc193242ccfb96df0443c67fc950adb4))
# [0.1.0-develop.1](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.19...v0.1.0-develop.1) (2023-08-02)
### Features
* add queryDns method ([0ef0d1c](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/commit/0ef0d1cb8e5ade43d62203a1bba776f16d111e68))
## [0.0.2-develop.19](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.18...v0.0.2-develop.19) (2023-08-02)
## [0.0.2-develop.18](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.17...v0.0.2-develop.18) (2023-07-31)
## [0.0.2-develop.17](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.16...v0.0.2-develop.17) (2023-07-29)
## [0.0.2-develop.16](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.15...v0.0.2-develop.16) (2023-07-29)
## [0.0.2-develop.15](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.14...v0.0.2-develop.15) (2023-07-29)
## [0.0.2-develop.14](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.13...v0.0.2-develop.14) (2023-07-24)
## [0.0.2-develop.13](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.12...v0.0.2-develop.13) (2023-07-23)
## [0.0.2-develop.12](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.11...v0.0.2-develop.12) (2023-07-23)
## [0.0.2-develop.11](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.10...v0.0.2-develop.11) (2023-07-23)
## [0.0.2-develop.10](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.9...v0.0.2-develop.10) (2023-07-23)
## [0.0.2-develop.9](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.8...v0.0.2-develop.9) (2023-07-22)
## [0.0.2-develop.8](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.7...v0.0.2-develop.8) (2023-07-21)
## [0.0.2-develop.7](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.6...v0.0.2-develop.7) (2023-07-19)
## [0.0.2-develop.6](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.5...v0.0.2-develop.6) (2023-07-19)
## [0.0.2-develop.5](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.4...v0.0.2-develop.5) (2023-07-19)
## [0.0.2-develop.4](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.3...v0.0.2-develop.4) (2023-07-15)
### Bug Fixes
* fix package.json main ([8477c2b](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/commit/8477c2bef03a50a91d4bb0c87aae5cafe9ab1c7b))
## [0.0.2-develop.3](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.2...v0.0.2-develop.3) (2023-07-14)
## [0.0.2-develop.2](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.2-develop.1...v0.0.2-develop.2) (2023-07-08)
## [0.0.2-develop.1](https://git.lumeweb.com/LumeWeb/kernel-handshake-client/compare/v0.0.1...v0.0.2-develop.1) (2023-07-05)

12
dist/index.d.ts vendored
View File

@ -1,12 +0,0 @@
import { Client } from "@lumeweb/libkernel-universal";
export interface Response {
id?: number;
error?: string;
result: any;
}
export declare class HandshakeClient extends Client {
ready(): Promise<void>;
query(method: string, params: any): Promise<Response>;
}
export declare const createClient: (...args: any) => HandshakeClient;
//# sourceMappingURL=index.d.ts.map

1
dist/index.d.ts.map vendored
View File

@ -1 +0,0 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAW,MAAM,8BAA8B,CAAC;AAI/D,MAAM,WAAW,QAAQ;IACvB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,GAAG,CAAC;CACb;AAED,qBAAa,eAAgB,SAAQ,MAAM;IAC5B,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAItB,KAAK,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,GAAG,OAAO,CAAC,QAAQ,CAAC;CAGnE;AAED,eAAO,MAAM,YAAY,mCAAoD,CAAC"}

11
dist/index.js vendored
View File

@ -1,11 +0,0 @@
import { Client, factory } from "@lumeweb/libkernel-universal";
const MODULE = "AABCDWpcbyCkTWy5ZP6qZWZ5eiFe--CRJSMKxRYLE4usfQ";
export class HandshakeClient extends Client {
async ready() {
return this.callModuleReturn("ready");
}
async query(method, params) {
return this.callModuleReturn("query", { method, params });
}
}
export const createClient = factory(HandshakeClient, MODULE);

18341
npm-shrinkwrap.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,19 +1,29 @@
{
"name": "@lumeweb/kernel-handshake-client",
"version": "0.1.0",
"version": "0.1.0-develop.9",
"type": "module",
"main": "dist/index.js",
"dependencies": {
"@lumeweb/libkernel-universal": "git+https://git.lumeweb.com/LumeWeb/libkernel-universal.git",
"@noble/hashes": "^1.2.0",
"@siaweb/libweb": "git+https://git.lumeweb.com/LumeWeb/libsiaweb.git",
"backoff.js": "^1.0.4",
"eventemitter3": "^5.0.0"
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "gitea@git.lumeweb.com:LumeWeb/kernel-handshake-client.git"
},
"devDependencies": {
"@types/node": "^18.13.0",
"prettier": "^2.8.4",
"pretty": "^2.0.0",
"typescript": "^4.9.5"
"@lumeweb/node-library-preset": "^0.2.7",
"presetter": "*"
},
"readme": "ERROR: No README data found!",
"scripts": {
"prepare": "presetter bootstrap",
"build": "run build",
"semantic-release": "semantic-release"
},
"dependencies": {
"@lumeweb/libkernel": "^0.1.0-develop.39"
},
"files": [
"lib"
],
"publishConfig": {
"access": "public"
}
}

View File

@ -1,6 +1,6 @@
import { Client, factory } from "@lumeweb/libkernel-universal";
import { factory, NetworkClient } from "@lumeweb/libkernel/module";
const MODULE = "AABCDWpcbyCkTWy5ZP6qZWZ5eiFe--CRJSMKxRYLE4usfQ";
export const MODULE = "zrjGvTrdxGEsNZiHBQisebuEDYzHPkuq9L8GBRB5AZ2iwQf";
export interface Response {
id?: number;
@ -8,14 +8,13 @@ export interface Response {
result: any;
}
export class HandshakeClient extends Client {
public async ready(): Promise<void> {
return this.callModuleReturn("ready");
}
export class HandshakeClient extends NetworkClient {
public async query(method: string, params: any): Promise<Response> {
return this.callModuleReturn("query", { method, params });
}
public async dnsQuery(fqdn: string, type: string): Promise<Response> {
return this.callModuleReturn("dnsQuery", { fqdn, type });
}
}
export const createClient = factory<HandshakeClient>(HandshakeClient, MODULE);

View File

@ -1,23 +0,0 @@
{
"compilerOptions": {
"declaration": true,
"strict": true,
"module": "esnext",
"target": "esnext",
"esModuleInterop": true,
"sourceMap": false,
"rootDir": "src",
"outDir": "dist",
"typeRoots": [
"node_modules/@types",
],
"moduleResolution": "node",
"declarationMap": true,
"declarationDir": "dist",
"emitDeclarationOnly": false,
"allowJs": true
},
"include": [
"src"
]
}