This repository was archived by the owner on Jul 10, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @fluencelabs/fluence" ,
3- "version" : " 0.27.3 " ,
3+ "version" : " 0.27.4 " ,
44 "description" : " TypeScript implementation of Fluence Peer" ,
55 "main" : " ./dist/index.js" ,
66 "typings" : " ./dist/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -655,6 +655,11 @@ export class FluencePeer {
655655 return ;
656656 }
657657
658+ // Do not proceed further if the particle is expired
659+ if ( item . particle . hasExpired ( ) ) {
660+ return ;
661+ }
662+
658663 // Do not continue if there was an error in particle interpretation
659664 if ( item . result instanceof Error ) {
660665 log . error ( 'Interpreter failed: ' , jsonify ( item . result . message ) ) ;
@@ -699,6 +704,10 @@ export class FluencePeer {
699704 particleContext : item . particle . getParticleContext ( ) ,
700705 } ;
701706
707+ if ( item . particle . hasExpired ( ) ) {
708+ // just in case do not call any services if the particle is already expired
709+ return ;
710+ }
702711 this . _execSingleCallRequest ( req )
703712 . catch ( ( err ) : CallServiceResult => {
704713 if ( err instanceof ServiceError ) {
You can’t perform that action at this time.
0 commit comments