Skip to content

Commit f59a1f0

Browse files
authored
Merge pull request #56 from channel-io/develop
0.6.1
2 parents 63f4469 + 12b581c commit f59a1f0

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# 0.6.1
2+
3+
## Bug Fixes
4+
* Fix `setPage` - if page is null
5+
16
# 0.6.0
27

38
## Updates

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ export const ChannelIO = {
227227
setPage: (page) => {
228228
if (typeof page === "string") {
229229
ChannelModule.setPage(page)
230-
} else if (typeof page === null || page === undefined) {
230+
} else if (page === null || page === undefined) {
231231
ChannelModule.setPage(null)
232232
} else {
233233
console.error('ChannelIO', '"page" must be type of "string", null or undefined.')

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-channel-plugin",
3-
"version": "0.6.0",
3+
"version": "0.6.1",
44
"description": "react native module for channel io",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)