Compare commits

..

5 Commits

Author SHA1 Message Date
semantic-release-bot f3f5580f6f chore(release): 0.1.0-develop.1 [skip ci]
# [0.1.0-develop.1](https://git.lumeweb.com/LumeWeb/kernel-lavanet-client/compare/v0.0.1...v0.1.0-develop.1) (2023-08-21)

### Features

* initial version ([950fa42](950fa42698))
2023-08-21 07:38:59 +00:00
Derrick Hammer d45072a38f
ci: update npm-shrinkwrap.json 2023-08-21 03:37:51 -04:00
Derrick Hammer c13197467b
ci: set publishConfig 2023-08-21 03:36:07 -04:00
Derrick Hammer a6b1d89b97
ci: setup 2023-08-21 03:32:15 -04:00
Derrick Hammer 950fa42698
feat: initial version 2023-08-21 03:32:02 -04:00
7 changed files with 18053 additions and 1 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"
]
}

6
CHANGELOG.md Normal file
View File

@ -0,0 +1,6 @@
# [0.1.0-develop.1](https://git.lumeweb.com/LumeWeb/kernel-lavanet-client/compare/v0.0.1...v0.1.0-develop.1) (2023-08-21)
### Features
* initial version ([950fa42](https://git.lumeweb.com/LumeWeb/kernel-lavanet-client/commit/950fa42698e462252e303ad961d5c0b07c883d8e))

View File

@ -1,6 +1,6 @@
MIT License MIT License
Copyright (c) 2023 LumeWeb Copyright (c) 2023 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:

17991
npm-shrinkwrap.json generated Normal file

File diff suppressed because it is too large Load Diff

25
package.json Normal file
View File

@ -0,0 +1,25 @@
{
"name": "@lumeweb/kernel-lavanet-client",
"version": "0.1.0-develop.1",
"type": "module",
"repository": {
"type": "git",
"url": "gitea@git.lumeweb.com:LumeWeb/kernel-lavanet-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.36"
},
"publishConfig": {
"access": "public"
}
}

12
src/index.ts Normal file
View File

@ -0,0 +1,12 @@
import { Client, factory } from "@lumeweb/libkernel/module";
export const MODULE =
"zduJpuvFms8USLw62RcFreQLBspEgQeVe5b2DiA2GK1YM3yqxfnRzDDZk3";
export class LavaNetClient extends Client {
public async query(chain: string, query: any): Promise<number> {
return this.callModuleReturn("query", { chain, query });
}
}
export const createClient = factory<LavaNetClient>(LavaNetClient, MODULE);