Compare commits

..

60 Commits

Author SHA1 Message Date
semantic-release-bot f0ea145523 chore(release): 0.0.2-develop.18 [skip ci]
## [0.0.2-develop.18](https://git.lumeweb.com/LumeWeb/kernel-rpc-client/compare/v0.0.2-develop.17...v0.0.2-develop.18) (2023-10-13)
2023-10-13 10:57:36 +00:00
Derrick Hammer 8d709b4245
Merge remote-tracking branch 'origin/develop' into develop 2023-10-13 06:56:14 -04:00
Derrick Hammer 395d439657
dep: update module hash 2023-10-13 06:56:02 -04:00
Derrick Hammer c8ef5eda84
dep: update libkernel 2023-10-13 06:55:38 -04:00
semantic-release-bot 9fdf17cb9d chore(release): 0.0.2-develop.17 [skip ci]
## [0.0.2-develop.17](https://git.lumeweb.com/LumeWeb/kernel-rpc-client/compare/v0.0.2-develop.16...v0.0.2-develop.17) (2023-09-04)
2023-09-04 10:33:55 +00:00
Derrick Hammer ee05aef866
Merge remote-tracking branch 'origin/develop' into develop 2023-09-04 06:32:51 -04:00
Derrick Hammer f7036ad053
dep: update libkernel 2023-09-04 06:32:39 -04:00
Derrick Hammer 94544ee09b
dep: update module hash 2023-09-04 06:32:20 -04:00
semantic-release-bot 1c7c0afbad chore(release): 0.0.2-develop.16 [skip ci]
## [0.0.2-develop.16](https://git.lumeweb.com/LumeWeb/kernel-rpc-client/compare/v0.0.2-develop.15...v0.0.2-develop.16) (2023-09-03)
2023-09-03 05:15:43 +00:00
Derrick Hammer af2af4d6eb
Merge remote-tracking branch 'origin/develop' into develop 2023-09-03 01:14:51 -04:00
Derrick Hammer c82910c3d4
dep: update module hash 2023-09-03 01:14:46 -04:00
Derrick Hammer 380996a33b
dep: update deps 2023-09-03 01:14:34 -04:00
semantic-release-bot dd46f5c83e chore(release): 0.0.2-develop.15 [skip ci]
## [0.0.2-develop.15](https://git.lumeweb.com/LumeWeb/kernel-rpc-client/compare/v0.0.2-develop.14...v0.0.2-develop.15) (2023-09-02)
2023-09-02 17:24:08 +00:00
Derrick Hammer 1b80266886
Merge remote-tracking branch 'origin/develop' into develop 2023-09-02 13:23:16 -04:00
Derrick Hammer 5e4f763bb2
dep: update libkernel 2023-09-02 13:22:07 -04:00
semantic-release-bot 8eee4ede53 chore(release): 0.0.2-develop.14 [skip ci]
## [0.0.2-develop.14](https://git.lumeweb.com/LumeWeb/kernel-rpc-client/compare/v0.0.2-develop.13...v0.0.2-develop.14) (2023-09-02)
2023-09-02 13:28:20 +00:00
Derrick Hammer d3bf492419
Merge remote-tracking branch 'origin/develop' into develop 2023-09-02 09:27:26 -04:00
Derrick Hammer 3843758ddf
dep: update module hash 2023-09-02 09:27:22 -04:00
semantic-release-bot 7909adb099 chore(release): 0.0.2-develop.13 [skip ci]
## [0.0.2-develop.13](https://git.lumeweb.com/LumeWeb/kernel-rpc-client/compare/v0.0.2-develop.12...v0.0.2-develop.13) (2023-07-29)
2023-07-29 16:35:31 +00:00
Derrick Hammer 720259acff
Merge remote-tracking branch 'origin/develop' into develop 2023-07-29 12:34:35 -04:00
Derrick Hammer a82a0a92a5
dep: update module hash 2023-07-29 12:34:32 -04:00
semantic-release-bot 0c10daf1be chore(release): 0.0.2-develop.12 [skip ci]
## [0.0.2-develop.12](https://git.lumeweb.com/LumeWeb/kernel-rpc-client/compare/v0.0.2-develop.11...v0.0.2-develop.12) (2023-07-24)
2023-07-24 18:12:06 +00:00
Derrick Hammer e50719aecc
Merge remote-tracking branch 'origin/develop' into develop 2023-07-24 14:11:04 -04:00
Derrick Hammer ab9e2df053
dep: update module hash 2023-07-24 14:11:00 -04:00
semantic-release-bot 4651e69012 chore(release): 0.0.2-develop.11 [skip ci]
## [0.0.2-develop.11](https://git.lumeweb.com/LumeWeb/kernel-rpc-client/compare/v0.0.2-develop.10...v0.0.2-develop.11) (2023-07-23)
2023-07-23 18:49:48 +00:00
Derrick Hammer 01370746cd
Merge remote-tracking branch 'origin/develop' into develop 2023-07-23 14:48:31 -04:00
Derrick Hammer 95562530fd
dep: update module hash 2023-07-23 14:48:26 -04:00
semantic-release-bot 9ba113db22 chore(release): 0.0.2-develop.10 [skip ci]
## [0.0.2-develop.10](https://git.lumeweb.com/LumeWeb/kernel-rpc-client/compare/v0.0.2-develop.9...v0.0.2-develop.10) (2023-07-23)
2023-07-23 00:21:42 +00:00
Derrick Hammer 6c5f27797a
Merge remote-tracking branch 'origin/develop' into develop 2023-07-22 20:20:46 -04:00
Derrick Hammer d37e9f291d
dep: update module hash 2023-07-22 20:20:42 -04:00
semantic-release-bot f8897d2760 chore(release): 0.0.2-develop.9 [skip ci]
## [0.0.2-develop.9](https://git.lumeweb.com/LumeWeb/kernel-rpc-client/compare/v0.0.2-develop.8...v0.0.2-develop.9) (2023-07-22)
2023-07-22 14:32:28 +00:00
Derrick Hammer 6ce90622fa
Merge remote-tracking branch 'origin/develop' into develop 2023-07-22 10:31:27 -04:00
Derrick Hammer a3065a4d7e
dep: update module hash 2023-07-22 10:31:24 -04:00
semantic-release-bot 9ddb676634 chore(release): 0.0.2-develop.8 [skip ci]
## [0.0.2-develop.8](https://git.lumeweb.com/LumeWeb/kernel-rpc-client/compare/v0.0.2-develop.7...v0.0.2-develop.8) (2023-07-22)
2023-07-22 11:28:48 +00:00
Derrick Hammer 1bb6f9061e
Merge remote-tracking branch 'origin/develop' into develop 2023-07-22 07:27:52 -04:00
Derrick Hammer 97ba10bbd3
dep: update module hash 2023-07-22 07:27:49 -04:00
semantic-release-bot 5577971c70 chore(release): 0.0.2-develop.7 [skip ci]
## [0.0.2-develop.7](https://git.lumeweb.com/LumeWeb/kernel-rpc-client/compare/v0.0.2-develop.6...v0.0.2-develop.7) (2023-07-22)
2023-07-22 10:28:26 +00:00
Derrick Hammer 1f340d6609
Merge remote-tracking branch 'origin/develop' into develop 2023-07-22 06:27:28 -04:00
Derrick Hammer 41789a3d6e
dep: update module hash 2023-07-22 06:27:25 -04:00
semantic-release-bot c79811cb3b chore(release): 0.0.2-develop.6 [skip ci]
## [0.0.2-develop.6](https://git.lumeweb.com/LumeWeb/kernel-rpc-client/compare/v0.0.2-develop.5...v0.0.2-develop.6) (2023-07-22)
2023-07-22 02:03:55 +00:00
Derrick Hammer bf0a1f84d9
Merge remote-tracking branch 'origin/develop' into develop 2023-07-21 22:03:01 -04:00
Derrick Hammer 4f59209f81
dep: update module hash 2023-07-21 22:02:58 -04:00
semantic-release-bot efb8b28316 chore(release): 0.0.2-develop.5 [skip ci]
## [0.0.2-develop.5](https://git.lumeweb.com/LumeWeb/kernel-rpc-client/compare/v0.0.2-develop.4...v0.0.2-develop.5) (2023-07-22)
2023-07-22 00:49:31 +00:00
Derrick Hammer a16e355a14
Merge remote-tracking branch 'origin/develop' into develop 2023-07-21 20:48:38 -04:00
Derrick Hammer 52326202a3
dep: update module hash 2023-07-21 20:48:35 -04:00
semantic-release-bot 7d989e0f63 chore(release): 0.0.2-develop.4 [skip ci]
## [0.0.2-develop.4](https://git.lumeweb.com/LumeWeb/kernel-rpc-client/compare/v0.0.2-develop.3...v0.0.2-develop.4) (2023-07-12)
2023-07-12 10:56:43 +00:00
Derrick Hammer caa59983f7
Merge remote-tracking branch 'origin/develop' into develop 2023-07-12 06:55:37 -04:00
Derrick Hammer 43e58cbfea
dep: update deps 2023-07-12 06:55:32 -04:00
Derrick Hammer f74819c8ae
dep: update module hash 2023-07-12 06:55:05 -04:00
semantic-release-bot ec800fd1d5 chore(release): 0.0.2-develop.3 [skip ci]
## [0.0.2-develop.3](https://git.lumeweb.com/LumeWeb/kernel-rpc-client/compare/v0.0.2-develop.2...v0.0.2-develop.3) (2023-07-11)
2023-07-11 11:19:52 +00:00
Derrick Hammer 85010a3683
Merge remote-tracking branch 'origin/develop' into develop 2023-07-11 07:18:43 -04:00
Derrick Hammer 82a9bf50e2
dep: update module hash 2023-07-11 07:18:39 -04:00
semantic-release-bot dee53875e3 chore(release): 0.0.2-develop.2 [skip ci]
## [0.0.2-develop.2](https://git.lumeweb.com/LumeWeb/kernel-rpc-client/compare/v0.0.2-develop.1...v0.0.2-develop.2) (2023-07-08)
2023-07-08 11:53:34 +00:00
Derrick Hammer 549bc4ee40
Merge remote-tracking branch 'origin/develop' into develop 2023-07-08 07:52:43 -04:00
Derrick Hammer f889afbdba
dep: update module hash 2023-07-08 07:52:36 -04:00
Derrick Hammer 911bd058d5
dep: update deps 2023-07-08 07:52:09 -04:00
semantic-release-bot 1044ef8532 chore(release): 0.0.2-develop.1 [skip ci]
## [0.0.2-develop.1](https://git.lumeweb.com/LumeWeb/kernel-rpc-client/compare/v0.0.1...v0.0.2-develop.1) (2023-07-05)

### Reverts

* Revert "*Process the queue in reverse" ([f38c6f5](f38c6f53cf))
2023-07-05 08:13:08 +00:00
Derrick Hammer 64cef2cbf5
ci: update npm-shrinkwrap.json 2023-07-05 04:09:02 -04:00
Derrick Hammer c29aaf0b3b
ci: setup 2023-07-05 04:05:41 -04:00
Derrick Hammer 1738459cbb
refactor: move to new sdks 2023-07-05 04:05:21 -04:00
11 changed files with 18733 additions and 709 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"
]
}

40
CHANGELOG.md Normal file
View File

@ -0,0 +1,40 @@
## [0.0.2-develop.18](https://git.lumeweb.com/LumeWeb/kernel-rpc-client/compare/v0.0.2-develop.17...v0.0.2-develop.18) (2023-10-13)
## [0.0.2-develop.17](https://git.lumeweb.com/LumeWeb/kernel-rpc-client/compare/v0.0.2-develop.16...v0.0.2-develop.17) (2023-09-04)
## [0.0.2-develop.16](https://git.lumeweb.com/LumeWeb/kernel-rpc-client/compare/v0.0.2-develop.15...v0.0.2-develop.16) (2023-09-03)
## [0.0.2-develop.15](https://git.lumeweb.com/LumeWeb/kernel-rpc-client/compare/v0.0.2-develop.14...v0.0.2-develop.15) (2023-09-02)
## [0.0.2-develop.14](https://git.lumeweb.com/LumeWeb/kernel-rpc-client/compare/v0.0.2-develop.13...v0.0.2-develop.14) (2023-09-02)
## [0.0.2-develop.13](https://git.lumeweb.com/LumeWeb/kernel-rpc-client/compare/v0.0.2-develop.12...v0.0.2-develop.13) (2023-07-29)
## [0.0.2-develop.12](https://git.lumeweb.com/LumeWeb/kernel-rpc-client/compare/v0.0.2-develop.11...v0.0.2-develop.12) (2023-07-24)
## [0.0.2-develop.11](https://git.lumeweb.com/LumeWeb/kernel-rpc-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-rpc-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-rpc-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-rpc-client/compare/v0.0.2-develop.7...v0.0.2-develop.8) (2023-07-22)
## [0.0.2-develop.7](https://git.lumeweb.com/LumeWeb/kernel-rpc-client/compare/v0.0.2-develop.6...v0.0.2-develop.7) (2023-07-22)
## [0.0.2-develop.6](https://git.lumeweb.com/LumeWeb/kernel-rpc-client/compare/v0.0.2-develop.5...v0.0.2-develop.6) (2023-07-22)
## [0.0.2-develop.5](https://git.lumeweb.com/LumeWeb/kernel-rpc-client/compare/v0.0.2-develop.4...v0.0.2-develop.5) (2023-07-22)
## [0.0.2-develop.4](https://git.lumeweb.com/LumeWeb/kernel-rpc-client/compare/v0.0.2-develop.3...v0.0.2-develop.4) (2023-07-12)
## [0.0.2-develop.3](https://git.lumeweb.com/LumeWeb/kernel-rpc-client/compare/v0.0.2-develop.2...v0.0.2-develop.3) (2023-07-11)
## [0.0.2-develop.2](https://git.lumeweb.com/LumeWeb/kernel-rpc-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-rpc-client/compare/v0.0.1...v0.0.2-develop.1) (2023-07-05)
### Reverts
* Revert "*Process the queue in reverse" ([f38c6f5](https://git.lumeweb.com/LumeWeb/kernel-rpc-client/commit/f38c6f53cfa68d3866d0614ea9490aef9f47bca7))

58
dist/index.d.ts vendored
View File

@ -1,58 +0,0 @@
/// <reference types="node" />
import { ErrTuple } from "libskynet";
import type {
RPCRequest,
RPCResponse,
ClientRPCRequest,
} from "@lumeweb/interface-relay";
import { RpcQueryOptions } from "@lumeweb/rpc-client";
import { Buffer } from "buffer";
import { Client } from "@lumeweb/libkernel-universal";
export declare class RpcNetwork extends Client {
private _def;
constructor(def?: boolean);
private _networkId;
get networkId(): number;
get ready(): Promise<ErrTuple>;
simpleQuery({
relay,
query,
options,
}: {
relay?: Buffer | string;
query: ClientRPCRequest;
options?: RpcQueryOptions;
}): SimpleRpcQuery;
}
export declare abstract class RpcQueryBase extends Client {
protected _promise?: Promise<any>;
protected _network: RpcNetwork;
protected _query: RPCRequest;
protected _options: RpcQueryOptions;
protected _queryType: string;
constructor(
network: RpcNetwork,
query: RPCRequest,
options: RpcQueryOptions | undefined,
queryType: string
);
get result(): Promise<RPCResponse>;
run(): this;
}
export declare class SimpleRpcQuery extends RpcQueryBase {
protected _relay?: string | Buffer;
constructor({
network,
relay,
query,
options,
}: {
network: RpcNetwork;
relay?: string | Buffer;
query: RPCRequest;
options?: RpcQueryOptions;
});
run(): this;
}
export declare const createClient: (...args: any) => RpcNetwork;
//# 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,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,KAAK,EACV,UAAU,EACV,WAAW,EACX,gBAAgB,EACjB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,EAAE,MAAM,EAAW,MAAM,8BAA8B,CAAC;AAI/D,qBAAa,UAAW,SAAQ,MAAM;IACpC,OAAO,CAAC,IAAI,CAAU;gBAEV,GAAG,GAAE,OAAc;IAK/B,OAAO,CAAC,UAAU,CAAa;IAE/B,IAAI,SAAS,IAAI,MAAM,CAEtB;IAED,IAAI,KAAK,IAAI,OAAO,CAAC,QAAQ,CAAC,CAY7B;IACM,WAAW,CAAC,EACjB,KAAK,EACL,KAAK,EACL,OAAY,GACb,EAAE;QACD,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QACxB,KAAK,EAAE,gBAAgB,CAAC;QACxB,OAAO,CAAC,EAAE,eAAe,CAAC;KAC3B,GAAG,cAAc;CAQnB;AAED,8BAAsB,YAAa,SAAQ,MAAM;IAC/C,SAAS,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC;IAClC,SAAS,CAAC,QAAQ,EAAE,UAAU,CAAC;IAC/B,SAAS,CAAC,MAAM,EAAE,UAAU,CAAC;IAC7B,SAAS,CAAC,QAAQ,EAAE,eAAe,CAAC;IACpC,SAAS,CAAC,UAAU,EAAE,MAAM,CAAC;gBAG3B,OAAO,EAAE,UAAU,EACnB,KAAK,EAAE,UAAU,EACjB,OAAO,6BAAsB,EAC7B,SAAS,EAAE,MAAM;IASnB,IAAI,MAAM,IAAI,OAAO,CAAC,WAAW,CAAC,CAQjC;IAEM,GAAG,IAAI,IAAI;CASnB;AAED,qBAAa,cAAe,SAAQ,YAAY;IAC9C,SAAS,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;gBACvB,EACV,OAAO,EACP,KAAK,EACL,KAAK,EACL,OAAO,GACR,EAAE;QACD,OAAO,EAAE,UAAU,CAAC;QACpB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;QACxB,KAAK,EAAE,UAAU,CAAC;QAClB,OAAO,CAAC,EAAE,eAAe,CAAC;KAC3B;IAIM,GAAG,IAAI,IAAI;CAUnB;AAED,eAAO,MAAM,YAAY,8BAA8C,CAAC"}

83
dist/index.js vendored
View File

@ -1,83 +0,0 @@
import { Client, factory } from "@lumeweb/libkernel-universal";
const RPC_MODULE = "fAAKlPuoD2FgKq27nhNILSmf7nTYmI9mMmOfTujwXma-1g";
export class RpcNetwork extends Client {
_def;
constructor(def = true) {
super();
this._def = def;
}
_networkId = 0;
get networkId() {
return this._networkId;
}
get ready() {
if (this._def) {
this._networkId = 1;
}
else {
Promise.resolve()
.then(() => this.callModuleReturn(RPC_MODULE, "createNetwork"))
.then((ret) => (this._networkId = ret[0]));
}
return this.callModuleReturn("ready", {
network: this._networkId,
});
}
simpleQuery({ relay, query, options = {}, }) {
return createSimpleRpcQuery({
network: this,
relay,
query,
options,
}).run();
}
}
export class RpcQueryBase extends Client {
_promise;
_network;
_query;
_options;
_queryType;
constructor(network, query, options = {}, queryType) {
super();
this._network = network;
this._query = query;
this._options = options;
this._queryType = queryType;
}
get result() {
return this._promise
.then((result) => {
return result[0];
})
.catch((error) => {
return { error: error.message };
});
}
run() {
this._promise = this.callModule(this._queryType, {
query: this._query,
options: this._options,
network: this._network.networkId,
});
return this;
}
}
export class SimpleRpcQuery extends RpcQueryBase {
_relay;
constructor({ network, relay, query, options, }) {
super(network, query, options, "simpleQuery");
this._relay = relay;
}
run() {
this._promise = this.callModule(this._queryType, {
relay: this._relay,
query: this._query,
options: this._options,
network: this._network.networkId,
});
return this;
}
}
export const createClient = factory(RpcNetwork, RPC_MODULE);
const createSimpleRpcQuery = factory(SimpleRpcQuery, RPC_MODULE);

18622
npm-shrinkwrap.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,23 +1,31 @@
{
"name": "@lumeweb/kernel-rpc-client",
"version": "0.1.0",
"version": "0.0.2-develop.18",
"type": "module",
"main": "dist/index.js",
"dependencies": {
"@lumeweb/libkernel-universal": "git+https://git.lumeweb.com/LumeWeb/libkernel-universal.git",
"@lumeweb/rpc-client": "git+https://git.lumeweb.com/LumeWeb/rpc-client.git",
"buffer": "^6.0.3",
"libkernel": "^0.1.48",
"libkmodule": "^0.2.53",
"libskynet": "^0.0.62"
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "gitea@git.lumeweb.com:LumeWeb/kernel-rpc-client.git"
},
"devDependencies": {
"@lumeweb/cfg": "git+https://git.lumeweb.com/LumeWeb/cfg.git",
"@lumeweb/interface-relay": "git+https://git.lumeweb.com/LumeWeb/interface-relay.git",
"@types/b4a": "^1.6.0",
"@types/node": "^18.15.5",
"@types/node-cache": "^4.2.5",
"prettier": "^2.8.6",
"typescript": "^5.0.2"
"@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/interface-relay": "^0.0.2-develop.3",
"@lumeweb/libkernel": "^0.1.0-develop.66",
"@lumeweb/rpc-client": "^0.0.2-develop.6"
},
"files": [
"lib"
],
"publishConfig": {
"access": "public"
}
}

View File

@ -1,4 +1,4 @@
import { ErrTuple } from "libskynet";
import { ErrTuple } from "@lumeweb/libkernel";
import type {
RPCRequest,
RPCResponse,
@ -6,15 +6,15 @@ import type {
} from "@lumeweb/interface-relay";
import { RpcQueryOptions } from "@lumeweb/rpc-client";
import { Buffer } from "buffer";
import { Client, factory } from "@lumeweb/libkernel-universal";
import { Client, factory } from "@lumeweb/libkernel/module";
const RPC_MODULE = "fAAKlPuoD2FgKq27nhNILSmf7nTYmI9mMmOfTujwXma-1g";
const MODULE = "zrjCuhnta24371djuN7zyrw1S4mYJtrbAHXiQaQkCaTmb3k";
export class RpcNetwork extends Client {
private _def: boolean;
constructor(def: boolean = true) {
super();
constructor(module: string, def: boolean = true) {
super(module);
this._def = def;
}
@ -29,7 +29,7 @@ export class RpcNetwork extends Client {
this._networkId = 1;
} else {
Promise.resolve()
.then(() => this.callModuleReturn(RPC_MODULE, "createNetwork"))
.then(() => this.callModuleReturn(MODULE, "createNetwork"))
.then((ret: ErrTuple) => (this._networkId = ret[0]));
}
@ -37,6 +37,7 @@ export class RpcNetwork extends Client {
network: this._networkId,
});
}
public simpleQuery({
relay,
query,
@ -63,12 +64,13 @@ export abstract class RpcQueryBase extends Client {
protected _queryType: string;
constructor(
module: string,
network: RpcNetwork,
query: RPCRequest,
options: RpcQueryOptions = {},
queryType: string
queryType: string,
) {
super();
super(module);
this._network = network;
this._query = query;
this._options = options;
@ -98,20 +100,25 @@ export abstract class RpcQueryBase extends Client {
export class SimpleRpcQuery extends RpcQueryBase {
protected _relay?: string | Buffer;
constructor({
network,
relay,
query,
options,
}: {
network: RpcNetwork;
relay?: string | Buffer;
query: RPCRequest;
options?: RpcQueryOptions;
}) {
super(network, query, options, "simpleQuery");
constructor(
module: string,
{
network,
relay,
query,
options,
}: {
network: RpcNetwork;
relay?: string | Buffer;
query: RPCRequest;
options?: RpcQueryOptions;
},
) {
super(module, network, query, options, "simpleQuery");
this._relay = relay;
}
public run(): this {
this._promise = this.callModule(this._queryType, {
relay: this._relay,
@ -124,8 +131,5 @@ export class SimpleRpcQuery extends RpcQueryBase {
}
}
export const createClient = factory<RpcNetwork>(RpcNetwork, RPC_MODULE);
const createSimpleRpcQuery = factory<SimpleRpcQuery>(
SimpleRpcQuery,
RPC_MODULE
);
export const createClient = factory<RpcNetwork>(RpcNetwork, MODULE);
const createSimpleRpcQuery = factory<SimpleRpcQuery>(SimpleRpcQuery, 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"
]
}

503
yarn.lock
View File

@ -1,503 +0,0 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
"@hyperswarm/dht@^6.0.1":
version "6.2.1"
resolved "https://registry.yarnpkg.com/@hyperswarm/dht/-/dht-6.2.1.tgz#5f9942dcf9603d3d85e5c3ddf1f7a964afbebc69"
integrity sha512-UsDpb8A0jlN4uEft3Jwbc44lsdfxPGTAB9fLHNWY8wp1XHkHAYLLc/JIvqo07rgQSm8gQIXZJ2EDs7e9sKvdHQ==
dependencies:
"@hyperswarm/secret-stream" "^6.0.0"
b4a "^1.3.1"
bogon "^1.0.0"
compact-encoding "^2.4.1"
compact-encoding-net "^1.0.1"
debugging-stream "^2.0.0"
dht-rpc "^6.0.0"
events "^3.3.0"
hypercore-crypto "^3.3.0"
noise-curve-ed "^1.0.2"
noise-handshake "^2.1.0"
record-cache "^1.1.1"
safety-catch "^1.0.1"
sodium-universal "^3.0.4"
udx-native "^1.1.0"
xache "^1.1.0"
"@hyperswarm/secret-stream@^6.0.0":
version "6.0.0"
resolved "https://registry.yarnpkg.com/@hyperswarm/secret-stream/-/secret-stream-6.0.0.tgz#67db820308cc9fed899cb8f5e9f47ae819d5a4e3"
integrity sha512-0xuyJIJDe8JYk4uWUx25qJvWqybdjKU2ZIfP1GTqd7dQxwdR0bpYrQKdLkrn5txWSK4a28ySC2AjH0G3I0gXTA==
dependencies:
b4a "^1.1.0"
hypercore-crypto "^3.3.0"
noise-curve-ed "^1.0.2"
noise-handshake "^2.1.0"
sodium-secretstream "^1.0.0"
sodium-universal "^3.0.4"
streamx "^2.10.2"
timeout-refresh "^2.0.0"
"@lumeweb/dht-rpc-client@https://github.com/LumeWeb/dht-rpc-client.git":
version "0.1.0"
resolved "https://github.com/LumeWeb/dht-rpc-client.git#327c429d1e3c13666f34eb2d4b39bfe7db9064da"
dependencies:
"@hyperswarm/dht" "^6.0.1"
libskynet "^0.0.61"
msgpackr "^1.6.1"
"@lumeweb/relay-types@https://github.com/LumeWeb/relay-types.git":
version "0.1.0"
resolved "https://github.com/LumeWeb/relay-types.git#9768e2dc9dd8ccc2ee8569424bb9d7a2d8cde13e"
"@msgpackr-extract/msgpackr-extract-darwin-arm64@2.1.2":
version "2.1.2"
resolved "https://registry.yarnpkg.com/@msgpackr-extract/msgpackr-extract-darwin-arm64/-/msgpackr-extract-darwin-arm64-2.1.2.tgz#9571b87be3a3f2c46de05585470bc4f3af2f6f00"
integrity sha512-TyVLn3S/+ikMDsh0gbKv2YydKClN8HaJDDpONlaZR+LVJmsxLFUgA+O7zu59h9+f9gX1aj/ahw9wqa6rosmrYQ==
"@msgpackr-extract/msgpackr-extract-darwin-x64@2.1.2":
version "2.1.2"
resolved "https://registry.yarnpkg.com/@msgpackr-extract/msgpackr-extract-darwin-x64/-/msgpackr-extract-darwin-x64-2.1.2.tgz#bfbc6936ede2955218f5621a675679a5fe8e6f4c"
integrity sha512-YPXtcVkhmVNoMGlqp81ZHW4dMxK09msWgnxtsDpSiZwTzUBG2N+No2bsr7WMtBKCVJMSD6mbAl7YhKUqkp/Few==
"@msgpackr-extract/msgpackr-extract-linux-arm64@2.1.2":
version "2.1.2"
resolved "https://registry.yarnpkg.com/@msgpackr-extract/msgpackr-extract-linux-arm64/-/msgpackr-extract-linux-arm64-2.1.2.tgz#22555e28382af2922e7450634c8a2f240bb9eb82"
integrity sha512-vHZ2JiOWF2+DN9lzltGbhtQNzDo8fKFGrf37UJrgqxU0yvtERrzUugnfnX1wmVfFhSsF8OxrfqiNOUc5hko1Zg==
"@msgpackr-extract/msgpackr-extract-linux-arm@2.1.2":
version "2.1.2"
resolved "https://registry.yarnpkg.com/@msgpackr-extract/msgpackr-extract-linux-arm/-/msgpackr-extract-linux-arm-2.1.2.tgz#ffb6ae1beea7ac572b6be6bf2a8e8162ebdd8be7"
integrity sha512-42R4MAFeIeNn+L98qwxAt360bwzX2Kf0ZQkBBucJ2Ircza3asoY4CDbgiu9VWklq8gWJVSJSJBwDI+c/THiWkA==
"@msgpackr-extract/msgpackr-extract-linux-x64@2.1.2":
version "2.1.2"
resolved "https://registry.yarnpkg.com/@msgpackr-extract/msgpackr-extract-linux-x64/-/msgpackr-extract-linux-x64-2.1.2.tgz#7caf62eebbfb1345de40f75e89666b3d4194755f"
integrity sha512-RjRoRxg7Q3kPAdUSC5EUUPlwfMkIVhmaRTIe+cqHbKrGZ4M6TyCA/b5qMaukQ/1CHWrqYY2FbKOAU8Hg0pQFzg==
"@msgpackr-extract/msgpackr-extract-win32-x64@2.1.2":
version "2.1.2"
resolved "https://registry.yarnpkg.com/@msgpackr-extract/msgpackr-extract-win32-x64/-/msgpackr-extract-win32-x64-2.1.2.tgz#f2d8b9ddd8d191205ed26ce54aba3dfc5ae3e7c9"
integrity sha512-rIZVR48zA8hGkHIK7ED6+ZiXsjRCcAVBJbm8o89OKAMTmEAQ2QvoOxoiu3w2isAaWwzgtQIOFIqHwvZDyLKCvw==
"@skynetlabs/libskynet@^0.0.48":
version "0.0.48"
resolved "https://registry.yarnpkg.com/@skynetlabs/libskynet/-/libskynet-0.0.48.tgz#d40b00dc08e9939ebd22dc25d75d8f8718eb5895"
integrity sha512-wFqPLVuGyfuEU1PsE7AMC+ANcoJiz7iruJPUrNZC0riDv1qMrZw+tx44HlBXLJ1H50JZiGtRPr9zLgkPFhf9OA==
"@types/node@^18.0.6":
version "18.7.14"
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.7.14.tgz#0fe081752a3333392d00586d815485a17c2cf3c9"
integrity sha512-6bbDaETVi8oyIARulOE9qF1/Qdi/23z6emrUh0fNJRUmjznqrixD4MpGDdgOFk5Xb0m2H6Xu42JGdvAxaJR/wA==
b4a@^1.0.1, b4a@^1.1.0, b4a@^1.1.1, b4a@^1.3.0, b4a@^1.3.1, b4a@^1.5.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/b4a/-/b4a-1.6.0.tgz#5430a9cac1af388910dd1a1c1aa9d3a0a796ed68"
integrity sha512-fsTxXxj1081Yq5MOQ06gZ5+e2QcSyP2U6NofdOWyq+lrNI4IjkZ+fLVmoQ6uUCiNg1NWePMMVq93vOTdbJmErw==
base64-js@^1.3.1:
version "1.5.1"
resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a"
integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==
blake2b-wasm@^2.4.0:
version "2.4.0"
resolved "https://registry.yarnpkg.com/blake2b-wasm/-/blake2b-wasm-2.4.0.tgz#9115649111edbbd87eb24ce7c04b427e4e2be5be"
integrity sha512-S1kwmW2ZhZFFFOghcx73+ZajEfKBqhP82JMssxtLVMxlaPea1p9uoLiUZ5WYyHn0KddwbLc+0vh4wR0KBNoT5w==
dependencies:
b4a "^1.0.1"
nanoassert "^2.0.0"
blake2b@^2.1.1:
version "2.1.4"
resolved "https://registry.yarnpkg.com/blake2b/-/blake2b-2.1.4.tgz#817d278526ddb4cd673bfb1af16d1ad61e393ba3"
integrity sha512-AyBuuJNI64gIvwx13qiICz6H6hpmjvYS5DGkG6jbXMOT8Z3WUJ3V1X0FlhIoT1b/5JtHE3ki+xjtMvu1nn+t9A==
dependencies:
blake2b-wasm "^2.4.0"
nanoassert "^2.0.0"
bogon@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/bogon/-/bogon-1.1.0.tgz#14234260353d8f806c3a307202f66698f635d18b"
integrity sha512-a6SnToksXHuUlgeMvI/txWmTcKz7c7iBa8f0HbXL4toN1Uza/CTQ4F7n9jSDX49TCpxv3KUP100q4sZfwLyLiw==
dependencies:
compact-encoding "^2.11.0"
compact-encoding-net "^1.2.0"
buffer@^6.0.3:
version "6.0.3"
resolved "https://registry.yarnpkg.com/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6"
integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==
dependencies:
base64-js "^1.3.1"
ieee754 "^1.2.1"
chacha20-universal@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/chacha20-universal/-/chacha20-universal-1.0.4.tgz#e8a33a386500b1ce5361b811ec5e81f1797883f5"
integrity sha512-/IOxdWWNa7nRabfe7+oF+jVkGjlr2xUL4J8l/OvzZhj+c9RpMqoo3Dq+5nU1j/BflRV4BKnaQ4+4oH1yBpQG1Q==
dependencies:
nanoassert "^2.0.0"
compact-encoding-net@^1.0.1, compact-encoding-net@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/compact-encoding-net/-/compact-encoding-net-1.2.0.tgz#19d2efd55df10f2ee793576fc4483bf6d2218743"
integrity sha512-LVXpNpF7PGQeHRVVLGgYWzuVoYAaDZvKUsUxRioGfkotzvOh4AzoQF1HBH3zMNaSnx7gJXuUr3hkjnijaH/Eng==
dependencies:
compact-encoding "^2.4.1"
compact-encoding@^2.1.0, compact-encoding@^2.11.0, compact-encoding@^2.4.1, compact-encoding@^2.5.1:
version "2.11.0"
resolved "https://registry.yarnpkg.com/compact-encoding/-/compact-encoding-2.11.0.tgz#eff11cb0c328b3f82556cb391ed54519155fbdf8"
integrity sha512-CRfTuyy9Tg7EwxNKvIq3yFIr2JnJLyVr9Yj234VsDCL59hdXcZH3TdzY/2kwbAqVogIoRBJjnNKCEnXbxTIEeg==
dependencies:
b4a "^1.3.0"
debugging-stream@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/debugging-stream/-/debugging-stream-2.0.0.tgz#515cad5a35299cf4b4bc0afcbd69d52c809c84ce"
integrity sha512-xwfl6wB/3xc553uwtGnSa94jFxnGOc02C0WU2Nmzwr80gzeqn1FX4VcbvoKIhe8L/lPq4BTQttAbrTN94uN8rA==
dependencies:
streamx "^2.12.4"
dht-rpc@^6.0.0:
version "6.3.0"
resolved "https://registry.yarnpkg.com/dht-rpc/-/dht-rpc-6.3.0.tgz#bd9fbdc0a558182af35eb9c4e92aad38e6a6e68a"
integrity sha512-mJBX6DPEp5wwg42yzeoLkwM4PSewwZ+50VfchT3Bc26qY45ESQZ7J9cIuatRNkPt8MXdxQw0AaOoIw0NwmC8KA==
dependencies:
b4a "^1.3.1"
compact-encoding "^2.1.0"
compact-encoding-net "^1.0.1"
events "^3.3.0"
fast-fifo "^1.0.0"
kademlia-routing-table "^1.0.0"
nat-sampler "^1.0.1"
sodium-universal "^3.0.4"
streamx "^2.10.3"
time-ordered-set "^1.0.2"
udx-native "^1.2.0"
events@^3.3.0:
version "3.3.0"
resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400"
integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==
fast-fifo@^1.0.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/fast-fifo/-/fast-fifo-1.1.0.tgz#17d1a3646880b9891dfa0c54e69c5fef33cad779"
integrity sha512-Kl29QoNbNvn4nhDsLYjyIAaIqaJB6rBx5p3sL9VjaefJ+eMFBWVZiaoguaoZfzEKr5RhAti0UgM8703akGPJ6g==
function-bind@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==
has@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796"
integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==
dependencies:
function-bind "^1.1.1"
hmac-blake2b@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/hmac-blake2b/-/hmac-blake2b-2.0.0.tgz#09494e5d245d7afe45d157093080b159f7bacf15"
integrity sha512-JbGNtM1YRd8EQH/2vNTAP1oy5lJVPlBFYZfCJTu3k8sqOUm0rRIf/3+MCd5noVykETwTbun6jEOc+4Tu78ubHA==
dependencies:
nanoassert "^1.1.0"
sodium-native "^3.1.1"
sodium-universal "^3.0.0"
hypercore-crypto@^3.3.0:
version "3.3.0"
resolved "https://registry.yarnpkg.com/hypercore-crypto/-/hypercore-crypto-3.3.0.tgz#03ab5b44608a563e131f629f671c6f90a83c52e6"
integrity sha512-zAWbDqG7kWwS6rCxxTUeB/OeFAz3PoOmouKaoMubtDJYJsLHqXtA3wE2mLsw+E2+iYyom5zrFyBTFVYxmgwW6g==
dependencies:
b4a "^1.1.0"
compact-encoding "^2.5.1"
sodium-universal "^3.0.0"
ieee754@^1.2.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352"
integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==
is-core-module@^2.9.0:
version "2.10.0"
resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.10.0.tgz#9012ede0a91c69587e647514e1d5277019e728ed"
integrity sha512-Erxj2n/LDAZ7H8WNJXd9tw38GYM3dv8rk8Zcs+jJuxYTW7sozH+SS8NtrSjVL1/vpLvWi1hxy96IzjJ3EHTJJg==
dependencies:
has "^1.0.3"
kademlia-routing-table@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/kademlia-routing-table/-/kademlia-routing-table-1.0.1.tgz#6f18416f612e885a8d4df128f04c490a90d772f6"
integrity sha512-dKk19sC3/+kWhBIvOKCthxVV+JH0NrswSBq4sA4eOkkPMqQM1rRuOWte1WSKXeP8r9Nx4NuiH2gny3lMddJTpw==
libkernel@^0.1.43:
version "0.1.48"
resolved "https://registry.yarnpkg.com/libkernel/-/libkernel-0.1.48.tgz#b5d44bc786403b3bfead39e14ca4db5c54c8792e"
integrity sha512-h86j/D+5gnpw/h8DTQE1C9hWFRmQnw5ZU9L3fYTZIPqPEIIU40z+tnDp66Zbb6mcfYCr8+SGkhcCy3XsyHOvyQ==
dependencies:
"@skynetlabs/libskynet" "^0.0.48"
libskynet "^0.0.64"
libkmodule@^0.2.44:
version "0.2.51"
resolved "https://registry.yarnpkg.com/libkmodule/-/libkmodule-0.2.51.tgz#d454e6a889c74bf5a8fe5bf6db5c3dcfe9f527c1"
integrity sha512-zDJiIZNkuN2Ats6yPWTklwphHgpOYTt2gCy70XFNav3ReZ+tjE5UcGCeMdZTPlvXVbc9k/CaCxSqJ866SzuWTA==
dependencies:
libskynet "^0.0.65"
libskynet@^0.0.61:
version "0.0.61"
resolved "https://registry.yarnpkg.com/libskynet/-/libskynet-0.0.61.tgz#5583134796a0f687a3b6cfc2afac0edf905f693f"
integrity sha512-JQTcWwZ1G1ckZgmoLEhOkC+kM4e8uXtCGU/B1Hpijodou4zvZP5znwyQXigDdP02Kti7mBwPvKsary+tIXOTqQ==
libskynet@^0.0.62:
version "0.0.62"
resolved "https://registry.yarnpkg.com/libskynet/-/libskynet-0.0.62.tgz#6939de26a48beca4efb29eeed68c32538e61ca04"
integrity sha512-rKB09+EH3XJGPmJ7/ycND1jIUCMGQXlu9X9vpuiWp+/mqYh07jzKCNlGzInjw/nqluVAZORR6y1y9ULr5u/H+A==
libskynet@^0.0.64:
version "0.0.64"
resolved "https://registry.yarnpkg.com/libskynet/-/libskynet-0.0.64.tgz#ff933a770a76bd6faa06da52279f0638ff8db3d8"
integrity sha512-OPIxvxNTbo7H6KWU1YgQkfksNGTSQYVDsmGTji05/Gv2ZpwTOVJF4AMvggCHyLije8fNe4ZXRrBEtLQI3kpAaQ==
libskynet@^0.0.65:
version "0.0.65"
resolved "https://registry.yarnpkg.com/libskynet/-/libskynet-0.0.65.tgz#9c58c596f12026ff653925b15edb85bd980e2ce0"
integrity sha512-UcvzEotQa2JMBeWeUMKYLrHxRjuAtvU68PKfGt1rmcBtcup2d1pQewKxGNP4U3DIO062nvdcpU8ARvXu1pFgxQ==
msgpackr-extract@^2.0.2:
version "2.1.2"
resolved "https://registry.yarnpkg.com/msgpackr-extract/-/msgpackr-extract-2.1.2.tgz#56272030f3e163e1b51964ef8b1cd5e7240c03ed"
integrity sha512-cmrmERQFb19NX2JABOGtrKdHMyI6RUyceaPBQ2iRz9GnDkjBWFjNJC0jyyoOfZl2U/LZE3tQCCQc4dlRyA8mcA==
dependencies:
node-gyp-build-optional-packages "5.0.3"
optionalDependencies:
"@msgpackr-extract/msgpackr-extract-darwin-arm64" "2.1.2"
"@msgpackr-extract/msgpackr-extract-darwin-x64" "2.1.2"
"@msgpackr-extract/msgpackr-extract-linux-arm" "2.1.2"
"@msgpackr-extract/msgpackr-extract-linux-arm64" "2.1.2"
"@msgpackr-extract/msgpackr-extract-linux-x64" "2.1.2"
"@msgpackr-extract/msgpackr-extract-win32-x64" "2.1.2"
msgpackr@^1.6.1:
version "1.6.2"
resolved "https://registry.yarnpkg.com/msgpackr/-/msgpackr-1.6.2.tgz#176cd9f6b4437dad87a839b37f23c2dfee408d9a"
integrity sha512-bqSQ0DYJbXbrJcrZFmMygUZmqQiDfI2ewFVWcrZY12w5XHWtPuW4WppDT/e63Uu311ajwkRRXSoF0uILroBeTA==
optionalDependencies:
msgpackr-extract "^2.0.2"
nanoassert@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/nanoassert/-/nanoassert-1.1.0.tgz#4f3152e09540fde28c76f44b19bbcd1d5a42478d"
integrity sha512-C40jQ3NzfkP53NsO8kEOFd79p4b9kDXQMwgiY1z8ZwrDZgUyom0AHwGegF4Dm99L+YoYhuaB0ceerUcXmqr1rQ==
nanoassert@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/nanoassert/-/nanoassert-2.0.0.tgz#a05f86de6c7a51618038a620f88878ed1e490c09"
integrity sha512-7vO7n28+aYO4J+8w96AzhmU8G+Y/xpPDJz/se19ICsqj/momRbb9mh9ZUtkoJ5X3nTnPdhEJyc0qnM6yAsHBaA==
napi-macros@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/napi-macros/-/napi-macros-2.0.0.tgz#2b6bae421e7b96eb687aa6c77a7858640670001b"
integrity sha512-A0xLykHtARfueITVDernsAWdtIMbOJgKgcluwENp3AlsKN/PloyO10HtmoqnFAQAcxPkgZN7wdfPfEd0zNGxbg==
nat-sampler@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/nat-sampler/-/nat-sampler-1.0.1.tgz#2b68338ea6d4c139450cd971fd00a4ac1b33d923"
integrity sha512-yQvyNN7xbqR8crTKk3U8gRgpcV1Az+vfCEijiHu9oHHsnIl8n3x+yXNHl42M6L3czGynAVoOT9TqBfS87gDdcw==
node-gyp-build-optional-packages@5.0.3:
version "5.0.3"
resolved "https://registry.yarnpkg.com/node-gyp-build-optional-packages/-/node-gyp-build-optional-packages-5.0.3.tgz#92a89d400352c44ad3975010368072b41ad66c17"
integrity sha512-k75jcVzk5wnnc/FMxsf4udAoTEUv2jY3ycfdSd3yWu6Cnd1oee6/CfZJApyscA4FJOmdoixWwiwOyf16RzD5JA==
node-gyp-build@^4.3.0, node-gyp-build@^4.4.0:
version "4.5.0"
resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.5.0.tgz#7a64eefa0b21112f89f58379da128ac177f20e40"
integrity sha512-2iGbaQBV+ITgCz76ZEjmhUKAKVf7xfY1sRl4UiKQspfZMH2h06SyhNsnSVy50cwkFQDGLyif6m/6uFXHkOZ6rg==
noise-curve-ed@^1.0.2:
version "1.0.4"
resolved "https://registry.yarnpkg.com/noise-curve-ed/-/noise-curve-ed-1.0.4.tgz#8ae83f5d2d2e31d0c9c069271ca6e462d31cd884"
integrity sha512-plUUSEOU66FZ9TaBKpk4+fgQeeS+OLlThS2o8a1TxVpMWV2v1izvEnjSpFV9gEPZl4/1yN+S5KqLubFjogqQOw==
dependencies:
b4a "^1.1.0"
nanoassert "^2.0.0"
sodium-universal "^3.0.4"
noise-handshake@^2.1.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/noise-handshake/-/noise-handshake-2.2.0.tgz#24c98f502d49118770e1ec2af2894b8789f0ac7c"
integrity sha512-+0mFUc5YSnOPI+4K/7nr6XDGduITaUasPVurzrH03sk6yW+udKxP/qjEwEekRwIpnvcCKYnjiZ9HJenJv9ljZg==
dependencies:
b4a "^1.1.0"
hmac-blake2b "^2.0.0"
nanoassert "^2.0.0"
sodium-universal "^3.0.4"
path-parse@^1.0.7:
version "1.0.7"
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735"
integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==
prettier@^2.7.1:
version "2.7.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.7.1.tgz#e235806850d057f97bb08368a4f7d899f7760c64"
integrity sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==
queue-tick@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/queue-tick/-/queue-tick-1.0.0.tgz#011104793a3309ae86bfeddd54e251dc94a36725"
integrity sha512-ULWhjjE8BmiICGn3G8+1L9wFpERNxkf8ysxkAer4+TFdRefDaXOCV5m92aMB9FtBVmn/8sETXLXY6BfW7hyaWQ==
record-cache@^1.1.1:
version "1.2.0"
resolved "https://registry.yarnpkg.com/record-cache/-/record-cache-1.2.0.tgz#e601bc4f164d58330cc00055e27aa4682291c882"
integrity sha512-kyy3HWCez2WrotaL3O4fTn0rsIdfRKOdQQcEJ9KpvmKmbffKVvwsloX063EgRUlpJIXHiDQFhJcTbZequ2uTZw==
dependencies:
b4a "^1.3.1"
resolve@^1.17.0:
version "1.22.1"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.1.tgz#27cb2ebb53f91abb49470a928bba7558066ac177"
integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==
dependencies:
is-core-module "^2.9.0"
path-parse "^1.0.7"
supports-preserve-symlinks-flag "^1.0.0"
safety-catch@^1.0.1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/safety-catch/-/safety-catch-1.0.2.tgz#d64cbd57fd601da91c356b6ab8902f3e449a7a4b"
integrity sha512-C1UYVZ4dtbBxEtvOcpjBaaD27nP8MlvyAQEp2fOTOEe6pfUpk1cDUxij6BR1jZup6rSyUTaBBplK7LanskrULA==
sha256-universal@^1.1.0:
version "1.2.1"
resolved "https://registry.yarnpkg.com/sha256-universal/-/sha256-universal-1.2.1.tgz#051d92decce280cd6137d42d496eac88da942c0e"
integrity sha512-ghn3muhdn1ailCQqqceNxRgkOeZSVfSE13RQWEg6njB+itsFzGVSJv+O//2hvNXZuxVIRyNzrgsZ37SPDdGJJw==
dependencies:
b4a "^1.0.1"
sha256-wasm "^2.2.1"
sha256-wasm@^2.2.1:
version "2.2.2"
resolved "https://registry.yarnpkg.com/sha256-wasm/-/sha256-wasm-2.2.2.tgz#4940b6c9ba28f3f08b700efce587ef36d4d516d4"
integrity sha512-qKSGARvao+JQlFiA+sjJZhJ/61gmW/3aNLblB2rsgIxDlDxsJPHo8a1seXj12oKtuHVgJSJJ7QEGBUYQN741lQ==
dependencies:
b4a "^1.0.1"
nanoassert "^2.0.0"
sha512-universal@^1.1.0:
version "1.2.1"
resolved "https://registry.yarnpkg.com/sha512-universal/-/sha512-universal-1.2.1.tgz#829505a7586530515cc1a10b78815c99722c4df0"
integrity sha512-kehYuigMoRkIngCv7rhgruLJNNHDnitGTBdkcYbCbooL8Cidj/bS78MDxByIjcc69M915WxcQTgZetZ1JbeQTQ==
dependencies:
b4a "^1.0.1"
sha512-wasm "^2.3.1"
sha512-wasm@^2.3.1:
version "2.3.4"
resolved "https://registry.yarnpkg.com/sha512-wasm/-/sha512-wasm-2.3.4.tgz#b86b37112ff6d1fc3740f2484a6855f17a6e1300"
integrity sha512-akWoxJPGCB3aZCrZ+fm6VIFhJ/p8idBv7AWGFng/CZIrQo51oQNsvDbTSRXWAzIiZJvpy16oIDiCCPqTe21sKg==
dependencies:
b4a "^1.0.1"
nanoassert "^2.0.0"
siphash24@^1.0.1:
version "1.3.1"
resolved "https://registry.yarnpkg.com/siphash24/-/siphash24-1.3.1.tgz#7f87fd2c5db88d8d46335a68f780f281641c8b22"
integrity sha512-moemC3ZKiTzH29nbFo3Iw8fbemWWod4vNs/WgKbQ54oEs6mE6XVlguxvinYjB+UmaE0PThgyED9fUkWvirT8hA==
dependencies:
nanoassert "^2.0.0"
sodium-javascript@~0.8.0:
version "0.8.0"
resolved "https://registry.yarnpkg.com/sodium-javascript/-/sodium-javascript-0.8.0.tgz#0a94d7bb58ab17be82255f3949259af59778fdbc"
integrity sha512-rEBzR5mPxPES+UjyMDvKPIXy9ImF17KOJ32nJNi9uIquWpS/nfj+h6m05J5yLJaGXjgM72LmQoUbWZVxh/rmGg==
dependencies:
blake2b "^2.1.1"
chacha20-universal "^1.0.4"
nanoassert "^2.0.0"
sha256-universal "^1.1.0"
sha512-universal "^1.1.0"
siphash24 "^1.0.1"
xsalsa20 "^1.0.0"
sodium-native@^3.1.1, sodium-native@^3.2.0:
version "3.4.1"
resolved "https://registry.yarnpkg.com/sodium-native/-/sodium-native-3.4.1.tgz#44616c07ccecea15195f553af88b3e574b659741"
integrity sha512-PaNN/roiFWzVVTL6OqjzYct38NSXewdl2wz8SRB51Br/MLIJPrbM3XexhVWkq7D3UWMysfrhKVf1v1phZq6MeQ==
dependencies:
node-gyp-build "^4.3.0"
sodium-secretstream@^1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/sodium-secretstream/-/sodium-secretstream-1.0.2.tgz#ae6fec16555f1a1d9fd2460b41256736d5044e13"
integrity sha512-AsWztbBHhHid+w5g28ftXA0mTrS52Dup7FYI0GR7ri1TQTlVsw0z//FNlhIqWsgtBctO/DxQosacbElCpmdcZw==
dependencies:
b4a "^1.1.1"
sodium-universal "^3.0.4"
sodium-universal@^3.0.0, sodium-universal@^3.0.4:
version "3.1.0"
resolved "https://registry.yarnpkg.com/sodium-universal/-/sodium-universal-3.1.0.tgz#f2fa0384d16b7cb99b1c8551a39cc05391a3ed41"
integrity sha512-N2gxk68Kg2qZLSJ4h0NffEhp4BjgWHCHXVlDi1aG1hA3y+ZeWEmHqnpml8Hy47QzfL1xLy5nwr9LcsWAg2Ep0A==
dependencies:
blake2b "^2.1.1"
chacha20-universal "^1.0.4"
nanoassert "^2.0.0"
resolve "^1.17.0"
sha256-universal "^1.1.0"
sha512-universal "^1.1.0"
siphash24 "^1.0.1"
sodium-javascript "~0.8.0"
sodium-native "^3.2.0"
xsalsa20 "^1.0.0"
streamx@^2.10.2, streamx@^2.10.3, streamx@^2.12.0, streamx@^2.12.4:
version "2.12.5"
resolved "https://registry.yarnpkg.com/streamx/-/streamx-2.12.5.tgz#485d6b6bf74df6f94bc1cc262e67392ed6862dc0"
integrity sha512-Y+nkFw57Z5JHT3zLlqFm3GccOy2FeYdUrrqita6Dd8kr/8enPn9GKa8IYf3/DmEKfZl/E2sWoSKUnd4qhonrgg==
dependencies:
fast-fifo "^1.0.0"
queue-tick "^1.0.0"
supports-preserve-symlinks-flag@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09"
integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==
time-ordered-set@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/time-ordered-set/-/time-ordered-set-1.0.2.tgz#3bd931fc048234147f8c2b8b1ebbebb0a3ecb96f"
integrity sha512-vGO99JkxvgX+u+LtOKQEpYf31Kj3i/GNwVstfnh4dyINakMgeZCpew1e3Aj+06hEslhtHEd52g7m5IV+o1K8Mw==
timeout-refresh@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/timeout-refresh/-/timeout-refresh-2.0.1.tgz#f8ec7cf1f9d93b2635b7d4388cb820c5f6c16f98"
integrity sha512-SVqEcMZBsZF9mA78rjzCrYrUs37LMJk3ShZ851ygZYW1cMeIjs9mL57KO6Iv5mmjSQnOe/29/VAfGXo+oRCiVw==
udx-native@^1.1.0, udx-native@^1.2.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/udx-native/-/udx-native-1.4.0.tgz#5216a9717e0170c85901594dc4083eb4572da940"
integrity sha512-AE6s55T6W85NxoyHj6N2vxVRh/0aHDhzCBNTN7RHDXF2Vm3kKIyaor6LtyIRGuO8gMUZYay96HUP50MBWkcUhw==
dependencies:
b4a "^1.5.0"
events "^3.3.0"
napi-macros "^2.0.0"
node-gyp-build "^4.4.0"
streamx "^2.12.0"
xache@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/xache/-/xache-1.1.0.tgz#afc20dec9ff8b2260eea03f5ad9422dc0200c6e9"
integrity sha512-RQGZDHLy/uCvnIrAvaorZH/e6Dfrtxj16iVlGjkj4KD2/G/dNXNqhk5IdSucv5nSSnDK00y8Y/2csyRdHveJ+Q==
xsalsa20@^1.0.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/xsalsa20/-/xsalsa20-1.2.0.tgz#e5a05cb26f8cef723f94a559102ed50c1b44c25c"
integrity sha512-FIr/DEeoHfj7ftfylnoFt3rAIRoWXpx2AoDfrT2qD2wtp7Dp+COajvs/Icb7uHqRW9m60f5iXZwdsJJO3kvb7w==