File tree 5 files changed +52
-4
lines changed
5 files changed +52
-4
lines changed Original file line number Diff line number Diff line change
1
+ ## Description
2
+
3
+ Add a short description of the change. If this is related to an issue, please add a reference to the issue.
4
+
5
+ ## CHANGELOG
6
+
7
+ * [ CHANGED] Describe your change here. Look at CHANGELOG.md to see the format.
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
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 1
1
# Changelog
2
2
3
+ ## 1.0.1
4
+
5
+ * [ ADDED] Add onAuthorizer support to iOS
6
+
3
7
## 1.0.0
4
8
5
9
* [ CHANGED] Removed unsupported functions from README
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
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @pusher/pusher-websocket-react-native" ,
3
- "version" : " 1.0.0 " ,
3
+ "version" : " 1.0.1 " ,
4
4
"description" : " Pusher Channels Client for React Native" ,
5
5
"main" : " lib/commonjs/index" ,
6
6
"module" : " lib/module/index" ,
You can’t perform that action at this time.
0 commit comments