@react-native-kakao/navi 1.5.0 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/ios/RNCKakaoNaviManager.swift +6 -3
- package/package.json +4 -4
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2024
|
|
3
|
+
Copyright (c) 2024 MJ Studio
|
|
4
4
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
5
5
|
of this software and associated documentation files (the "Software"), to deal
|
|
6
6
|
in the Software without restriction, including without limitation the rights
|
|
@@ -25,7 +25,7 @@ import RNCKakaoCore
|
|
|
25
25
|
option: createOption(options: opts),
|
|
26
26
|
viaList: via?.map { createLocation($0) }
|
|
27
27
|
) else {
|
|
28
|
-
RNCKakaoUtil.reject(reject, "Failed to create construct navigateUrl")
|
|
28
|
+
RNCKakaoUtil.reject(reject, RNCKakaoError.unknown("Failed to create construct navigateUrl"))
|
|
29
29
|
return
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -34,7 +34,10 @@ import RNCKakaoCore
|
|
|
34
34
|
if success {
|
|
35
35
|
resolve(true)
|
|
36
36
|
} else {
|
|
37
|
-
RNCKakaoUtil.reject(
|
|
37
|
+
RNCKakaoUtil.reject(
|
|
38
|
+
reject,
|
|
39
|
+
RNCKakaoError.unknown("Failed to open navigateUrl \(navigateUrl)")
|
|
40
|
+
)
|
|
38
41
|
}
|
|
39
42
|
}
|
|
40
43
|
} else if openWebInstallUrlIfNaviAppNotAvailable {
|
|
@@ -42,7 +45,7 @@ import RNCKakaoCore
|
|
|
42
45
|
if success {
|
|
43
46
|
resolve(false)
|
|
44
47
|
} else {
|
|
45
|
-
RNCKakaoUtil.reject(reject, "Failed to open webNaviInstallUrl")
|
|
48
|
+
RNCKakaoUtil.reject(reject, RNCKakaoError.unknown("Failed to open webNaviInstallUrl"))
|
|
46
49
|
}
|
|
47
50
|
}
|
|
48
51
|
} else {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native-kakao/navi",
|
|
3
3
|
"description": "React Native Kakao Navi SDK",
|
|
4
|
-
"version": "1.5.
|
|
4
|
+
"version": "1.5.2",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
7
7
|
"types": "lib/typescript/src/index.d.ts",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"access": "public"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@react-native-kakao/core": "1.5.
|
|
65
|
+
"@react-native-kakao/core": "1.5.2",
|
|
66
66
|
"@types/invariant": "^2",
|
|
67
67
|
"@types/jest": "^29.5.5",
|
|
68
68
|
"@types/react": "^18.2.44",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"typescript": "5.1.6"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
|
-
"@react-native-kakao/core": "1.5.
|
|
77
|
+
"@react-native-kakao/core": "1.5.2",
|
|
78
78
|
"react": "*",
|
|
79
79
|
"react-native": "*"
|
|
80
80
|
},
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"javaPackageName": "net.mjstudio.rnkakao.navi"
|
|
111
111
|
}
|
|
112
112
|
},
|
|
113
|
-
"gitHead": "
|
|
113
|
+
"gitHead": "d2e36f7ac4fe2996320418ffb3020bd40bf4b73d",
|
|
114
114
|
"dependencies": {
|
|
115
115
|
"@mj-studio/js-util": "^1.0.34"
|
|
116
116
|
}
|