Skip to content

Commit aeae1c2

Browse files
committed
Expose "protocol_error" event type
Signed-off-by: Andrew Richardson <[email protected]>
1 parent bdfc90a commit aeae1c2

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

lib/interfaces.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,8 @@ export interface FireFlyEnrichedEvent extends FireFlyEventResponse {
171171
operation?: FireFlyOperationResponse;
172172
}
173173

174-
export interface FireFlyEventDelivery extends FireFlyEnrichedEvent {
174+
export interface FireFlyEventDelivery extends Omit<FireFlyEnrichedEvent, 'type'> {
175+
type: FireFlyEnrichedEvent['type'] | 'protocol_error';
175176
subscription: {
176177
id: string;
177178
name: string;

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hyperledger/firefly-sdk",
3-
"version": "1.2.14",
3+
"version": "1.2.15",
44
"description": "Client SDK for Hyperledger FireFly",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)