Skip to content

Commit 1939106

Browse files
committed
requested changes
1 parent e0043c9 commit 1939106

File tree

4 files changed

+3
-44
lines changed

4 files changed

+3
-44
lines changed

.babelrc

Lines changed: 0 additions & 12 deletions
This file was deleted.

android/src/main/java/com/xmartlabs/rnline/RNLine.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,8 @@ class RNLine(reactContext: ReactApplicationContext) : ReactContextBaseJavaModule
5656

5757
@ReactMethod
5858
fun login(args: ReadableMap, promise: Promise) {
59-
println(args)
6059
val scopes = if (args.hasKey(LoginArguments.SCOPES.key)) args.getArray(LoginArguments.SCOPES.key)!!.toArrayList() as List<String> else listOf("profile")
6160
val onlyWebLogin = args.hasKey(LoginArguments.ONLY_WEB_LOGIN.key) && args.getBoolean(LoginArguments.ONLY_WEB_LOGIN.key)
62-
println(onlyWebLogin)
6361
val botPromptString = if (args.hasKey(LoginArguments.BOT_PROMPT.key)) args.getString(LoginArguments.BOT_PROMPT.key)!! else "normal"
6462
login(
6563
scopes,

babel.config.js

Lines changed: 0 additions & 13 deletions
This file was deleted.

package.json

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
],
1212
"main": "dist/index.js",
1313
"types": "dist/index.d.ts",
14-
"version": "2.0.2",
14+
"version": "2.1.0",
1515
"homepage": "https://github.com/xmartlabs/react-native-line#readme",
1616
"keywords": [
1717
"react-native",
@@ -38,28 +38,17 @@
3838
"react-native": ">=0.61.1"
3939
},
4040
"devDependencies": {
41-
"@babel/core": "7.6.2",
42-
"@babel/runtime": "7.6.2",
4341
"@react-native-community/eslint-config": "0.0.5",
44-
"@types/jest": "24.0.24",
45-
"@types/lodash": "4.14.149",
4642
"@types/react-native": "0.60.25",
47-
"@types/react-test-renderer": "16.9.1",
4843
"@typescript-eslint/eslint-plugin": "2.12.0",
4944
"@typescript-eslint/parser": "2.12.0",
50-
"babel-jest": "24.9.0",
51-
"babel-plugin-module-resolver": "4.0.0",
52-
"babel-plugin-optional-require": "0.3.1",
5345
"eslint": "6.5.1",
5446
"eslint-config-prettier": "6.10.0",
5547
"eslint-plugin-prettier": "3.1.2",
5648
"eslint-plugin-simple-import-sort": "5.0.1",
5749
"eslint-plugin-sort-keys-fix": "1.1.0",
58-
"lint-staged": "10.1.3",
59-
"metro-react-native-babel-preset": "0.59.0",
6050
"prettier": "1.19.1",
61-
"react-test-renderer": "16.9.0",
62-
"typescript": "3.8.3"
51+
"typescript": "3.9.6"
6352
},
6453
"repository": {
6554
"type": "git",
@@ -71,9 +60,6 @@
7160
"android",
7261
"ios",
7362
"RNLine.podspec",
74-
"README.md",
75-
".eslintrc",
76-
".prettierrc.js",
77-
"babel.config.js"
63+
"README.md"
7864
]
7965
}

0 commit comments

Comments
 (0)