@deepnote/database-integrations 1.4.0 → 1.4.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.cjs CHANGED
@@ -420,7 +420,7 @@ const databaseIntegrationConfigSchema = zod.default.discriminatedUnion("type", [
420
420
  commonIntegrationConfig.extend({
421
421
  type: zod.default.literal("trino"),
422
422
  metadata: databaseMetadataSchemasByType["trino"],
423
- federated_auth_method: zod.default.null().optional()
423
+ federated_auth_method: zod.default.enum(["trino-oauth", "password"]).optional().nullable()
424
424
  })
425
425
  ]);
426
426
 
@@ -725,6 +725,7 @@ const getTrinoEnvVars = (integrationId, metadata, projectRootDirectory) => {
725
725
  return {
726
726
  url: `trino://${encodeURIComponent(metadata.user)}:${encodeURIComponent(metadata.password)}@${metadata.host}:${metadata.port}/${encodeURIComponent(metadata.database)}`,
727
727
  params: { connect_args: {
728
+ client_tags: ["deepnote/toolkit"],
728
729
  ...metadata.sslEnabled ? { http_scheme: "https" } : {},
729
730
  ...metadata.caCertificateName ? { verify: getCACertificatePath({
730
731
  projectRoot: projectRootDirectory,