Operating System
ubuntu 22.04
Browser Version
chrome
Firebase SDK Version
^9.21.0
Firebase SDK Product:
Firestore
Describe your project's tooling
Angular app. Using @firebase/firestore to define timestamp interface and class.
Express API built with firebase-admin/firestore.
Describe the problem
interface of timestamp from firebase-admin is different to firebase-js-sdk's.
firebase-admin { "_seconds":xxx, "_nanoseconds":xxx }
firebase-js-sdk { "seconds":xxx, "nanoseconds":xxx }
Steps and code to reproduce issue
build a simple app with angular and api communicate through json