File tree Expand file tree Collapse file tree 2 files changed +40
-3
lines changed Expand file tree Collapse file tree 2 files changed +40
-3
lines changed Original file line number Diff line number Diff line change
1
+ name : Prepare release
2
+
3
+ on :
4
+ pull_request :
5
+ types : [ labeled ]
6
+ branches :
7
+ - master
8
+
9
+ jobs :
10
+ prepare-release :
11
+ name : Prepare release
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v2
15
+ - name : Get current version
16
+ run : |
17
+ CURRENT_VERSION=$(npm view @pusher/pusher-websocket-react-native version)
18
+ echo "CURRENT_VERSION=$CURRENT_VERSION" >> $GITHUB_ENV
19
+ - uses : actions/checkout@v2
20
+ with :
21
+ repository : pusher/actions
22
+ token : ${{ secrets.PUSHER_CI_GITHUB_PRIVATE_TOKEN }}
23
+ path : .github/actions
24
+ - uses : ./.github/actions/prepare-version-bump
25
+ id : bump
26
+ with :
27
+ current_version : ${{ env.CURRENT_VERSION }}
28
+ - uses : actions/setup-node@v2
29
+ with :
30
+ node-version : 16.x
31
+ - run : yarn install
32
+ - name : Push
33
+ shell : bash
34
+ run : |
35
+ echo "$(jq '.version = "${{ steps.bump.outputs.new_version }}"' package.json)" > package.json
36
+
37
+ git add package.json CHANGELOG.md dist/
38
+ git commit -m "Bump to version ${{ steps.bump.outputs.new_version }}"
39
+ git push
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ import {
117
117
PusherMember ,
118
118
PusherChannel ,
119
119
PusherEvent ,
120
- } from ' pusher-websocket-react-native' ;
120
+ } from ' @pusher/ pusher-websocket-react-native' ;
121
121
122
122
const pusher = Pusher .getInstance ();
123
123
@@ -252,8 +252,6 @@ Called when a member is removed from the presence channel.
252
252
253
253
#### ` onAuthorizer `
254
254
255
- > :warning : Currently this feature is not working on iOS. We're working to get this done asap.
256
-
257
255
When passing the ` onAuthorizer() ` callback to the ` init() ` method, this callback is called to request auth information. Learn how
258
256
to [ generate the correct auth signatures] ( https://pusher.com/docs/channels/library_auth_reference/auth-signatures/ )
259
257
You can’t perform that action at this time.
0 commit comments