@react-native-kakao/user 3.0.0-next.2 → 3.0.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - 8e19172: Upgrade Kakao Android SDK to 2.25.0 and iOS SDK to 2.29.0. Install the iOS SDK through Swift Package Manager while preserving CocoaPods installation and SDK version override names. Remove retired SDK options and response fields, and update blocked-account error codes.
8
+ - f077598: Require React Native 0.76 or later with the New Architecture. Expo integrations require SDK 52 or later.
9
+
10
+ ### Patch Changes
11
+
12
+ - 6ff02a9: Return Android token application IDs using the documented appId key.
13
+ - 69598dd: Return user connection and synchronization timestamps on Android and iOS.
14
+ - 7fe35a2: Fall back to Kakao Account login when KakaoTalk login fails without user cancellation.
15
+ - Updated dependencies [8e19172]
16
+ - Updated dependencies [11da5f6]
17
+ - Updated dependencies [b0ef3d1]
18
+ - Updated dependencies [8e19172]
19
+ - Updated dependencies [f077598]
20
+ - @react-native-kakao/core@3.0.0
21
+
22
+ ## 3.0.0-next.3
23
+
24
+ ### Patch Changes
25
+
26
+ - 6ff02a9: Return Android token application IDs using the documented appId key.
27
+ - 69598dd: Return user connection and synchronization timestamps on Android and iOS.
28
+ - @react-native-kakao/core@3.0.0-next.3
29
+
3
30
  ## 3.0.0-next.2
4
31
 
5
32
  ### Patch Changes
@@ -318,6 +318,8 @@ class RNCKakaoUserModule internal constructor(
318
318
  promise.resolve(
319
319
  argMap().apply {
320
320
  putD("id", user.id?.toDouble())
321
+ putL("connectedAt", user.connectedAt?.unix)
322
+ putL("synchedAt", user.synchedAt?.unix)
321
323
  putString("name", user.kakaoAccount?.name)
322
324
 
323
325
  putString("email", user.kakaoAccount?.email)
@@ -400,7 +402,7 @@ class RNCKakaoUserModule internal constructor(
400
402
  argMap().apply {
401
403
  putL("id", accessTokenInfo.id)
402
404
  putL("expiresIn", accessTokenInfo.expiresIn)
403
- putI("appID", accessTokenInfo.appId)
405
+ putI("appId", accessTokenInfo.appId)
404
406
  },
405
407
  )
406
408
  }
@@ -284,6 +284,8 @@ import RNCKakaoCore
284
284
  } else if let user {
285
285
  resolve([
286
286
  "id": user.id as Any,
287
+ "connectedAt": user.connectedAt?.timeIntervalSince1970 as Any,
288
+ "synchedAt": user.synchedAt?.timeIntervalSince1970 as Any,
287
289
  "name": user.kakaoAccount?.name as Any,
288
290
  "email": user.kakaoAccount?.email as Any,
289
291
  "nickname": user.kakaoAccount?.profile?.nickname as Any,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@react-native-kakao/user",
3
3
  "description": "React Native Kakao User SDK",
4
- "version": "3.0.0-next.2",
4
+ "version": "3.0.0",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
7
7
  "types": "lib/typescript/src/index.d.ts",
@@ -29,7 +29,7 @@
29
29
  "homepage": "https://rnkakao.mjstudio.net",
30
30
  "scripts": {
31
31
  "prepare": "husky",
32
- "prepack": "bob build && zx ../../script/remove-web-declaration-files.mjs .",
32
+ "prepack": "bob build && node ../../script/remove-web-declaration-files.ts .",
33
33
  "clean": "del-cli android/ lib"
34
34
  },
35
35
  "keywords": [
@@ -57,18 +57,17 @@
57
57
  "access": "public"
58
58
  },
59
59
  "devDependencies": {
60
- "@react-native-kakao/core": "3.0.0-next.2",
60
+ "@react-native-kakao/core": "3.0.0",
61
61
  "@types/invariant": "^2",
62
62
  "@types/react": "~19.2.2",
63
63
  "del-cli": "^5.1.0",
64
64
  "react": "19.2.3",
65
65
  "react-native": "0.86.3",
66
66
  "react-native-builder-bob": "0.40.7",
67
- "typescript": "~6.0.3",
68
- "zx": "8.8.5"
67
+ "typescript": "~6.0.3"
69
68
  },
70
69
  "peerDependencies": {
71
- "@react-native-kakao/core": "3.0.0-next.2",
70
+ "@react-native-kakao/core": "3.0.0",
72
71
  "react": "*",
73
72
  "react-native": ">=0.76.0"
74
73
  },