@absolutejs/auth 0.68.0 → 0.68.2

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.
@@ -528,7 +528,7 @@ import { desc as desc5, eq as eq7, sql as drizzleSql } from "drizzle-orm";
528
528
  import { drizzle as drizzle2 } from "drizzle-orm/neon-http";
529
529
  import { jsonb as jsonb3, pgTable as pgTable7, text as text3, timestamp, varchar as varchar7 } from "drizzle-orm/pg-core";
530
530
 
531
- // ../citra/dist/index.js
531
+ // node_modules/citra/dist/index.js
532
532
  var NUM_GENERATOR_BYTES = 32;
533
533
  var anilistProfileQuery = `query {
534
534
  Viewer {
@@ -678,7 +678,7 @@ var providers = defineProviders({
678
678
  tokenParamName: "token",
679
679
  url: (config) => `https://${config.baseURL ?? "absolutejs.ai"}/oauth2/revoke`
680
680
  },
681
- scopeRequired: true,
681
+ scopeRequired: false,
682
682
  subject: ["sub"],
683
683
  subjectBySource: {
684
684
  idToken: ["sub"],
@@ -3176,8 +3176,13 @@ var formatDefault = (value) => {
3176
3176
  }
3177
3177
  return String(value);
3178
3178
  };
3179
+ var columnSqlType = (column) => {
3180
+ const dimensions = Reflect.get(column, "dimensions");
3181
+ const elementType = column.getSQLType();
3182
+ return typeof dimensions === "number" && dimensions > 0 ? `${elementType}${"[]".repeat(dimensions)}` : elementType;
3183
+ };
3179
3184
  var columnSql = (column) => {
3180
- const parts = [`"${column.name}"`, column.getSQLType()];
3185
+ const parts = [`"${column.name}"`, columnSqlType(column)];
3181
3186
  if (column.primary)
3182
3187
  parts.push("PRIMARY KEY");
3183
3188
  if (column.notNull && !column.primary)
@@ -3601,5 +3606,5 @@ var main = async () => {
3601
3606
  };
3602
3607
  await main();
3603
3608
 
3604
- //# debugId=E8C287EE4E57D4C364756E2164756E21
3609
+ //# debugId=03868D61AE219DE664756E2164756E21
3605
3610
  //# sourceMappingURL=migrate.js.map