Compare commits

..

3 Commits

Author SHA1 Message Date
semantic-release-bot 5c34946604 chore(release): 0.1.0-develop.65 [skip ci]
# [0.1.0-develop.65](https://git.lumeweb.com/LumeWeb/libkernel/compare/v0.1.0-develop.64...v0.1.0-develop.65) (2023-10-09)

### Features

* add createNetworkClient helper ([6ecaf16](6ecaf16d4e))
2023-10-09 04:17:11 +00:00
Derrick Hammer 4693c00311
Merge remote-tracking branch 'origin/develop' into develop 2023-10-09 00:16:00 -04:00
Derrick Hammer 6ecaf16d4e
feat: add createNetworkClient helper 2023-10-09 00:15:47 -04:00
4 changed files with 19 additions and 3 deletions

View File

@ -1,3 +1,10 @@
# [0.1.0-develop.65](https://git.lumeweb.com/LumeWeb/libkernel/compare/v0.1.0-develop.64...v0.1.0-develop.65) (2023-10-09)
### Features
* add createNetworkClient helper ([6ecaf16](https://git.lumeweb.com/LumeWeb/libkernel/commit/6ecaf16d4e3789d3dc1537ad84eabc6774f489ac))
# [0.1.0-develop.64](https://git.lumeweb.com/LumeWeb/libkernel/compare/v0.1.0-develop.63...v0.1.0-develop.64) (2023-09-20)
# [0.1.0-develop.63](https://git.lumeweb.com/LumeWeb/libkernel/compare/v0.1.0-develop.62...v0.1.0-develop.63) (2023-09-16)

4
npm-shrinkwrap.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@lumeweb/libkernel",
"version": "0.1.0-develop.64",
"version": "0.1.0-develop.65",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@lumeweb/libkernel",
"version": "0.1.0-develop.64",
"version": "0.1.0-develop.65",
"dependencies": {
"@lumeweb/libweb": "0.2.0-develop.59",
"emittery": "^1.0.1",

View File

@ -1,6 +1,6 @@
{
"name": "@lumeweb/libkernel",
"version": "0.1.0-develop.64",
"version": "0.1.0-develop.65",
"main": "lib/index.js",
"type": "module",
"types": "lib/index.d.ts",

View File

@ -1,4 +1,5 @@
import defer from "p-defer";
export { defer };
export { log, logErr } from "./log.js";
@ -11,3 +12,11 @@ export { Client, factory } from "./client.js";
import NetworkClient from "./clients/network.js";
export { NetworkClient };
import { factory } from "./client.js";
class GenericNetworkClient extends NetworkClient {}
export function createNetworkClient(module: string): GenericNetworkClient {
return factory<GenericNetworkClient>(GenericNetworkClient, module)();
}