Skip to content

Commit 16f7ee5

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

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
@@ -160,7 +160,8 @@ export interface FireFlyEnrichedEvent extends FireFlyEventResponse {
160160
operation?: FireFlyOperationResponse;
161161
}
162162

163-
export interface FireFlyEventDelivery extends FireFlyEnrichedEvent {
163+
export interface FireFlyEventDelivery extends Omit<FireFlyEnrichedEvent, 'type'> {
164+
type: FireFlyEnrichedEvent['type'] | 'protocol_error';
164165
subscription: {
165166
id: string;
166167
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.0.0",
3+
"version": "1.0.1",
44
"description": "Client SDK for Hyperledger FireFly",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

0 commit comments

Comments
 (0)