@zodic/shared 0.0.32 → 0.0.33

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.
@@ -36,6 +36,13 @@
36
36
  "when": 1737682853316,
37
37
  "tag": "0004_typical_king_bedlam",
38
38
  "breakpoints": true
39
+ },
40
+ {
41
+ "idx": 5,
42
+ "version": "6",
43
+ "when": 1737683444742,
44
+ "tag": "0005_powerful_meltdown",
45
+ "breakpoints": true
39
46
  }
40
47
  ]
41
48
  }
package/db/schema.ts CHANGED
@@ -57,7 +57,8 @@ export const usersTemp = sqliteTable(
57
57
  email: text('email').notNull().unique(),
58
58
  name: text('name').notNull(),
59
59
  profileImage: text('profile_image'),
60
- provider: text('provider').notNull(),
60
+ oauthProvider: text('oauth_provider'), // e.g., "google", "facebook", "apple", nullable for password-based login
61
+ oauthProviderId: text('oauth_provider_id').unique(), // Unique identifier from the provider
61
62
  ...timestampFields,
62
63
  },
63
64
  (t) => [index('users_temp_email_idx').on(t.email)]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zodic/shared",
3
- "version": "0.0.32",
3
+ "version": "0.0.33",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "publishConfig": {