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

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,13 @@
1
1
  # Change Log
2
2
 
3
+ ## 3.0.0-next.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 6ff02a9: Return Android token application IDs using the documented appId key.
8
+ - 69598dd: Return user connection and synchronization timestamps on Android and iOS.
9
+ - @react-native-kakao/core@3.0.0-next.3
10
+
3
11
  ## 3.0.0-next.2
4
12
 
5
13
  ### 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-next.3",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
7
7
  "types": "lib/typescript/src/index.d.ts",
@@ -57,7 +57,7 @@
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-next.3",
61
61
  "@types/invariant": "^2",
62
62
  "@types/react": "~19.2.2",
63
63
  "del-cli": "^5.1.0",
@@ -68,7 +68,7 @@
68
68
  "zx": "8.8.5"
69
69
  },
70
70
  "peerDependencies": {
71
- "@react-native-kakao/core": "3.0.0-next.2",
71
+ "@react-native-kakao/core": "3.0.0-next.3",
72
72
  "react": "*",
73
73
  "react-native": ">=0.76.0"
74
74
  },