flykup_model_development 3.1.48 → 3.1.49

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.
@@ -21,10 +21,11 @@ const UserSchema = new mongoose.Schema(
21
21
  // _id: false,
22
22
  // },
23
23
  // ],
24
- devices: [
24
+ devices: [
25
25
  {
26
26
  deviceId: { type: String, required: true },
27
- snsEndpointArn: { type: String }, // Store SNS endpoint ARN instead of fcmToken
27
+ snsEndpointArn: { type: String }, // Store SNS endpoint ARN
28
+ fcmToken: { type: String }, // ✅ Keep FCM token during migration
28
29
  platform: {
29
30
  type: String,
30
31
  enum: ["web", "android", "ios", "mobile-web"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flykup_model_development",
3
- "version": "3.1.48",
3
+ "version": "3.1.49",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "private": false,