@pioneer-platform/pioneer-events
Advanced tools
Comparing version 7.1.4 to 8.0.0
@@ -16,3 +16,4 @@ export declare class Events { | ||
private subscribeToKey; | ||
private subscribeToInvocation; | ||
constructor(wss: string, config: any, isTestnet?: boolean); | ||
} |
@@ -133,2 +133,22 @@ "use strict"; | ||
}; | ||
this.subscribeToInvocation = function (invocationId) { | ||
return __awaiter(this, void 0, void 0, function () { | ||
var tag; | ||
return __generator(this, function (_a) { | ||
tag = TAG + " | subscribeToInvocation | "; | ||
try { | ||
//attempt join | ||
this.socket.emit('join', { | ||
invocationId: invocationId | ||
}); | ||
return [2 /*return*/, true]; | ||
} | ||
catch (e) { | ||
log.error(tag, "e: ", e); | ||
throw e; | ||
} | ||
return [2 /*return*/]; | ||
}); | ||
}); | ||
}; | ||
this.subscribeToKey = function () { | ||
@@ -135,0 +155,0 @@ return __awaiter(this, void 0, void 0, function () { |
{ | ||
"name": "@pioneer-platform/pioneer-events", | ||
"version": "7.1.4", | ||
"version": "8.0.0", | ||
"main": "./lib/index.js", | ||
@@ -29,3 +29,4 @@ "types": "./lib/main.d.ts", | ||
"when": "^3.7.8" | ||
} | ||
}, | ||
"gitHead": "1131f9ac170d13140577ccb114d2b685ef179085" | ||
} |
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
46723
5
246
2
70