mirror of
https://github.com/fluencelabs/fluence-js.git
synced 2025-06-25 13:51:34 +00:00
* Review fixes * remove logs * Fixes * Todo to remove prefix later * Refactor service signatures * Fixes * Update lock file * Fix lockfile * Update deps * More fixes and renames * Fix compiler * Peer refactoring and cutting onConnectionChange API * Revert deleted API
This commit is contained in:
@ -20,11 +20,11 @@
|
||||
"base64-js": "1.5.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@fluencelabs/aqua-api": "0.12.4-main-cee4448-2196-1",
|
||||
"@fluencelabs/aqua-api": "0.13.0",
|
||||
"@fluencelabs/aqua-lib": "0.6.0",
|
||||
"@fluencelabs/aqua-to-js": "workspace:*",
|
||||
"@fluencelabs/js-client": "workspace:*",
|
||||
"@fluencelabs/registry": "0.8.8-1",
|
||||
"@fluencelabs/registry": "0.9.0",
|
||||
"@fluencelabs/trust-graph": "3.1.2",
|
||||
"ts-node": "10.9.1"
|
||||
}
|
||||
|
@ -15,7 +15,6 @@
|
||||
*/
|
||||
|
||||
import { Fluence, type ClientConfig } from "@fluencelabs/js-client";
|
||||
import { fromByteArray } from "base64-js";
|
||||
|
||||
import { test as particleTest } from "./_aqua/finalize_particle.js";
|
||||
import {
|
||||
@ -56,10 +55,6 @@ export type TestResult =
|
||||
|
||||
export const runTest = async (): Promise<TestResult> => {
|
||||
try {
|
||||
Fluence.onConnectionStateChange((state) => {
|
||||
console.info("connection state changed: ", state);
|
||||
});
|
||||
|
||||
console.log("connecting to Fluence Network...");
|
||||
console.log("multiaddr: ", relay.multiaddr);
|
||||
|
||||
@ -82,7 +77,6 @@ export const runTest = async (): Promise<TestResult> => {
|
||||
const client = Fluence.getClient();
|
||||
|
||||
console.log("my peer id: ", client.getPeerId());
|
||||
console.log("my sk id: ", fromByteArray(client.getPeerSecretKey()));
|
||||
|
||||
console.log("running hello test...");
|
||||
const hello = await helloTest();
|
||||
|
Reference in New Issue
Block a user