Skip to content

Commit

Permalink
fixup! protocol: make endCursor non-nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
fracek committed Jan 20, 2025
1 parent 9c60d1b commit 7a2608e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/protocol/src/stream.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ describe("StreamDataResponse", () => {
finality: "accepted",
data: [{ value: "hello" }, { value: "world" }],
production: "backfill",
endCursor: {
orderKey: 5_000_000n,
uniqueKey: "0x1234567890",
},
},
} as const;

Expand All @@ -120,6 +124,16 @@ describe("StreamDataResponse", () => {
100,
],
],
"endCursor": {
"orderKey": 5000000n,
"uniqueKey": Uint8Array [
18,
52,
86,
120,
144,
],
},
"finality": 2,
"production": 1,
},
Expand Down

0 comments on commit 7a2608e

Please sign in to comment.