Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.

Commit 63281bb

Browse files
committed
rename, update version
1 parent 6e7d1a9 commit 63281bb

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fluence",
3-
"version": "0.7.107",
3+
"version": "0.7.108",
44
"description": "the browser js-libp2p client for the Fluence network",
55
"main": "./dist/fluence.js",
66
"typings": "./dist/fluence.d.ts",

src/fluenceConnection.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ export class FluenceConnection {
3939
private readonly address: Multiaddr;
4040
readonly nodePeerId: PeerId;
4141
private readonly selfPeerIdStr: string;
42-
private readonly handleCall: (call: Particle) => void;
42+
private readonly handleParticle: (call: Particle) => void;
4343

44-
constructor(multiaddr: Multiaddr, hostPeerId: PeerId, selfPeerId: PeerId, handleCall: (call: Particle) => void) {
44+
constructor(multiaddr: Multiaddr, hostPeerId: PeerId, selfPeerId: PeerId, handleParticle: (call: Particle) => void) {
4545
this.selfPeerId = selfPeerId;
46-
this.handleCall = handleCall;
46+
this.handleParticle = handleParticle;
4747
this.selfPeerIdStr = selfPeerId.toB58String();
4848
this.address = multiaddr;
4949
this.nodePeerId = hostPeerId;
@@ -89,7 +89,7 @@ export class FluenceConnection {
8989
let particle = parseParticle(msg);
9090
log.debug('Particle is received:');
9191
log.debug(JSON.stringify(particle, undefined, 2));
92-
_this.handleCall(particle);
92+
_this.handleParticle(particle);
9393
} catch (e) {
9494
log.error('error on handling a new incoming message: ' + e);
9595
}

0 commit comments

Comments
 (0)