Skip to content

Commit

Permalink
refactor: handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
tvd12 committed Jul 9, 2023
1 parent 02122ae commit 1b97963
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 21 deletions.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ repositories {

dependencies {
//noinspection GradleDynamicVersion
implementation "com.tvd12:ezyfox-server-android-client:1.0.2"
implementation "com.tvd12:ezyfox-server-android-client:1.0.5"
implementation "com.facebook.react:react-native:+" // From node_modules
}
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"lint": "eslint ."
},
"dependencies": {
"ezyfox-server-react-native-client": "^1.0.1",
"ezyfox-server-react-native-client": "^1.0.2",
"mvc-es6": "^1.1.1",
"react": "17.0.1",
"react-native": "0.64.2"
Expand Down
4 changes: 0 additions & 4 deletions lib/commonjs/ezy-handlers.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/commonjs/ezy-handlers.js.map

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions lib/module/ezy-handlers.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/module/ezy-handlers.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ezyfox-server-react-native-client",
"version": "1.0.1",
"version": "1.0.2",
"description": "EzyFox Server's React Native Client SDK",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down
7 changes: 0 additions & 7 deletions src/ezy-handlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,6 @@ class EzyConnectionSuccessHandler {
}

isEnableSSL(clientKey) {
if (
this.client.enableSSL &&
this.client.enableDebug &&
(!clientKey || clientKey.isEmpty)
) {
return false;
}
return this.client.enableSSL;
}

Expand Down

0 comments on commit 1b97963

Please sign in to comment.