Compare commits

...

24 Commits

Author SHA1 Message Date
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
Derrick Hammer d1346999b3
*update dist 2023-04-16 22:49:11 -04:00
Derrick Hammer bcfdd50ec2
*update module hash 2023-04-16 22:49:00 -04:00
Derrick Hammer 1d6fd84f33
*update dist 2023-04-16 21:01:12 -04:00
Derrick Hammer 10cafdd800
*update module hash 2023-04-16 21:00:26 -04:00
Derrick Hammer 6492be97cb
*Update dist 2023-04-09 12:50:19 -04:00
Derrick Hammer f95651504d
*update module hash 2023-04-09 12:49:53 -04:00
Derrick Hammer 7c4de683ac
*update dist 2023-04-04 11:40:11 -04:00
Derrick Hammer 58f07907f7
*update module hash 2023-04-04 11:39:55 -04:00
Derrick Hammer 2cd307564b
*update dist 2023-04-04 08:57:29 -04:00
Derrick Hammer 0d0a800f23
*update module hash 2023-04-04 08:57:09 -04:00
Derrick Hammer a63983f630
*update dist 2023-04-04 06:41:41 -04:00
Derrick Hammer e574256f2a
*update module hash 2023-04-04 06:41:18 -04:00
Derrick Hammer f66350b27a
*Update dist 2023-02-20 17:36:06 -05:00
Derrick Hammer ad71d295df
*Update module hash 2023-02-20 17:35:54 -05:00
Derrick Hammer 6db2285a15
*Update dist 2023-02-20 11:18:27 -05:00
Derrick Hammer 83cc6652b6
*Update module hash 2023-02-20 11:18:00 -05:00
Derrick Hammer 2890fbef2a
*Update dist 2023-02-20 07:42:16 -05:00
Derrick Hammer 2fe02aab3a
*Update module hash 2023-02-20 07:42:01 -05:00
Derrick Hammer e8e59421b8
*Add dist 2023-02-19 14:42:51 -05:00
Derrick Hammer bf72ae3695
*Initial version 2023-02-19 14:42:15 -05:00
7 changed files with 18221 additions and 4 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"
]
}

1
CHANGELOG.md Normal file
View File

@ -0,0 +1 @@
## [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)

20
LICENSE
View File

@ -1,9 +1,21 @@
MIT License
Copyright (c) <year> <copyright holders>
Copyright (c) 2022 Hammer Technologies LLC
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

18136
npm-shrinkwrap.json generated Normal file

File diff suppressed because it is too large Load Diff

29
package.json Normal file
View File

@ -0,0 +1,29 @@
{
"name": "@lumeweb/kernel-handshake-client",
"version": "0.0.2-develop.1",
"type": "module",
"main": "dist/index.js",
"repository": {
"type": "git",
"url": "gitea@git.lumeweb.com:LumeWeb/kernel-handshake-client.git"
},
"devDependencies": {
"@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.14"
},
"files": [
"lib"
],
"publishConfig": {
"access": "public"
}
}

21
src/index.ts Normal file
View File

@ -0,0 +1,21 @@
import { Client, factory } from "@lumeweb/libkernel/module";
const MODULE = "zduPvUcNY7u2AzXoiERPRNgATBcpHgR5BLtQtTdiVfE73yiiiFmfyfjGR5";
export interface Response {
id?: number;
error?: string;
result: any;
}
export class HandshakeClient extends Client {
public async ready(): Promise<void> {
return this.callModuleReturn("ready");
}
public async query(method: string, params: any): Promise<Response> {
return this.callModuleReturn("query", { method, params });
}
}
export const createClient = factory<HandshakeClient>(HandshakeClient, MODULE);