@wopr-network/platform-core 1.53.0 → 1.54.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.
@@ -144,6 +144,11 @@ function authOptions(cfg) {
144
144
  baseURL,
145
145
  basePath,
146
146
  socialProviders: resolveSocialProviders(cfg),
147
+ user: {
148
+ additionalFields: {
149
+ role: { type: "string", defaultValue: "user", input: false },
150
+ },
151
+ },
147
152
  account: {
148
153
  accountLinking: {
149
154
  enabled: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wopr-network/platform-core",
3
- "version": "1.53.0",
3
+ "version": "1.54.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -212,6 +212,11 @@ function authOptions(cfg: BetterAuthConfig): BetterAuthOptions {
212
212
  baseURL,
213
213
  basePath,
214
214
  socialProviders: resolveSocialProviders(cfg),
215
+ user: {
216
+ additionalFields: {
217
+ role: { type: "string", defaultValue: "user", input: false },
218
+ },
219
+ },
215
220
  account: {
216
221
  accountLinking: {
217
222
  enabled: true,