@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.js CHANGED
@@ -396,7 +396,7 @@ const databaseIntegrationConfigSchema = z$1.discriminatedUnion("type", [
396
396
  commonIntegrationConfig.extend({
397
397
  type: z$1.literal("trino"),
398
398
  metadata: databaseMetadataSchemasByType["trino"],
399
- federated_auth_method: z$1.null().optional()
399
+ federated_auth_method: z$1.enum(["trino-oauth", "password"]).optional().nullable()
400
400
  })
401
401
  ]);
402
402
 
@@ -701,6 +701,7 @@ const getTrinoEnvVars = (integrationId, metadata, projectRootDirectory) => {
701
701
  return {
702
702
  url: `trino://${encodeURIComponent(metadata.user)}:${encodeURIComponent(metadata.password)}@${metadata.host}:${metadata.port}/${encodeURIComponent(metadata.database)}`,
703
703
  params: { connect_args: {
704
+ client_tags: ["deepnote/toolkit"],
704
705
  ...metadata.sslEnabled ? { http_scheme: "https" } : {},
705
706
  ...metadata.caCertificateName ? { verify: getCACertificatePath({
706
707
  projectRoot: projectRootDirectory,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepnote/database-integrations",
3
- "version": "1.4.0",
3
+ "version": "1.4.2",
4
4
  "description": "Deepnote database integration definitions",
5
5
  "keywords": [],
6
6
  "repository": {