Compare commits
5 Commits
v0.0.1
...
v0.1.0-dev
Author | SHA1 | Date |
---|---|---|
semantic-release-bot | f3f5580f6f | |
Derrick Hammer | d45072a38f | |
Derrick Hammer | c13197467b | |
Derrick Hammer | a6b1d89b97 | |
Derrick Hammer | 950fa42698 |
|
@ -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
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"preset": [
|
||||
"@lumeweb/node-library-preset"
|
||||
]
|
||||
}
|
|
@ -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))
|
2
LICENSE
2
LICENSE
|
@ -1,6 +1,6 @@
|
|||
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:
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -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"
|
||||
}
|
||||
}
|
|
@ -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);
|
Loading…
Reference in New Issue