@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.
package/dist/index.js CHANGED
@@ -181,7 +181,7 @@ var init_crypto = __esm(() => {
181
181
  textDecoder = new TextDecoder;
182
182
  });
183
183
 
184
- // ../citra/dist/index.js
184
+ // node_modules/citra/dist/index.js
185
185
  var BASE64_BLOCK_SIZE = 4;
186
186
  var NUM_GENERATOR_BYTES = 32;
187
187
  var anilistProfileQuery = `query {
@@ -332,7 +332,7 @@ var providers = defineProviders({
332
332
  tokenParamName: "token",
333
333
  url: (config) => `https://${config.baseURL ?? "absolutejs.ai"}/oauth2/revoke`
334
334
  },
335
- scopeRequired: true,
335
+ scopeRequired: false,
336
336
  subject: ["sub"],
337
337
  subjectBySource: {
338
338
  idToken: ["sub"],
@@ -38744,8 +38744,13 @@ var formatDefault = (value) => {
38744
38744
  }
38745
38745
  return String(value);
38746
38746
  };
38747
+ var columnSqlType = (column) => {
38748
+ const dimensions = Reflect.get(column, "dimensions");
38749
+ const elementType = column.getSQLType();
38750
+ return typeof dimensions === "number" && dimensions > 0 ? `${elementType}${"[]".repeat(dimensions)}` : elementType;
38751
+ };
38747
38752
  var columnSql = (column) => {
38748
- const parts = [`"${column.name}"`, column.getSQLType()];
38753
+ const parts = [`"${column.name}"`, columnSqlType(column)];
38749
38754
  if (column.primary)
38750
38755
  parts.push("PRIMARY KEY");
38751
38756
  if (column.notNull && !column.primary)
@@ -40277,5 +40282,5 @@ export {
40277
40282
  AGENT_CLAIM_GRANT_TYPE
40278
40283
  };
40279
40284
 
40280
- //# debugId=0D97867725FAEBB664756E2164756E21
40285
+ //# debugId=04FCA79A4D9B1E8A64756E2164756E21
40281
40286
  //# sourceMappingURL=index.js.map