Skip to content

Commit acf90a7

Browse files
authored
Add support for event streaming API (#1794)
1 parent bfe10df commit acf90a7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+2837
-2015
lines changed

.changeset/dull-oranges-tell.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@onflow/transport-grpc": patch
3+
---
4+
5+
Deprecate @onflow/transport-grpc & add "not implemented" error for subscribeEvents

.changeset/lucky-moons-smell.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@onflow/fcl": minor
3+
---
4+
5+
Add support for new event streaming API https://github.com/onflow/flips/blob/4152912f8ec39515eb1c4dddbc6605c6ebe70966/protocol/20230309-accessnode-event-streaming-api.md. Syntax remains unchanged & can be accessed via fcl.events().

.changeset/mean-bugs-cry.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@onflow/sdk": minor
3+
---
4+
5+
Add support for new event streaming API https://github.com/onflow/flips/blob/4152912f8ec39515eb1c4dddbc6605c6ebe70966/protocol/20230309-accessnode-event-streaming-api.md. Can be accessed through new SDK builder sdk.subscribeEvents(...).

.changeset/old-plants-nail.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@onflow/transport-http": minor
3+
---
4+
5+
Add support for event streaming API interaction (subscribeEvents)

.changeset/sixty-turkeys-destroy.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@onflow/typedefs": minor
3+
---
4+
5+
Add types for general stream connections & event streaming API

.github/workflows/integrate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ jobs:
1010
- uses: actions/checkout@v2
1111
- uses: actions/setup-node@v1
1212
with:
13-
node-version: 16.x
13+
node-version: 18.x
1414
- run: make ci

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
1919
fetch-depth: 0
2020

21-
# gallium is the v16 lts
22-
- name: Setup Node.js lts/gallium
21+
# v18 node
22+
- name: Setup Node.js lts/hydrogen
2323
uses: actions/setup-node@v2
2424
with:
25-
node-version: lts/gallium
25+
node-version: lts/hydrogen
2626

2727
- name: Install Dependencies
2828
run: npm i

0 commit comments

Comments
 (0)