@caelo-cms/provisioning 0.12.1 → 0.12.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.
Files changed (2) hide show
  1. package/dist/agent-db.js +4 -1
  2. package/package.json +2 -2
package/dist/agent-db.js CHANGED
@@ -20324,8 +20324,11 @@ function thrownToQueryError(operation, thrown, access) {
20324
20324
  };
20325
20325
  }
20326
20326
  // ../query-api/src/change-journal.ts
20327
+ function arrayLiteral(values) {
20328
+ return `{${values.map((v) => `"${v.replace(/["\\]/g, (c) => `\\${c}`)}"`).join(",")}}`;
20329
+ }
20327
20330
  function textArray(values) {
20328
- return sql`ARRAY(SELECT jsonb_array_elements_text((${JSON.stringify(values)}::text)::jsonb))`;
20331
+ return sql`${arrayLiteral(values)}::text[]`;
20329
20332
  }
20330
20333
  var JOURNAL_RETENTION_MS = 24 * 60 * 60 * 1000;
20331
20334
  var JOURNAL_STALLED_CONSUMER_MS = 7 * 24 * 60 * 60 * 1000;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caelo-cms/provisioning",
3
- "version": "0.12.1",
3
+ "version": "0.12.2",
4
4
  "private": false,
5
5
  "license": "MPL-2.0",
6
6
  "description": "Pulumi-driven provisioning for Caelo CMS — `bunx @caelo-cms/provisioning --provider <self-hosted|gcp|aws|azure>` brings up a TLS-served install with Postgres + storage + secrets manager + the admin + the API gateway.",
@@ -40,7 +40,7 @@
40
40
  "prepublishOnly": "tsc -b --force && bun build ../platform-updater/src/agent-db.ts --target=bun --outfile=dist/agent-db.js && tsc --project stacks/gcp/tsconfig.json && tsc --project stacks/gcp-firebase/tsconfig.json"
41
41
  },
42
42
  "dependencies": {
43
- "@caelo-cms/shared": "^0.12.1",
43
+ "@caelo-cms/shared": "^0.12.2",
44
44
  "@clack/prompts": "1.8.1",
45
45
  "@pulumi/command": "^1",
46
46
  "@pulumi/gcp": "^10",