@fjall/util 0.99.1 → 0.99.4

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/.minified CHANGED
@@ -1 +1 @@
1
- 53 files minified at 2026-05-22T01:26:13.531Z
1
+ 53 files minified at 2026-05-22T23:32:43.200Z
@@ -3,9 +3,11 @@
3
3
  *
4
4
  * Producer: `ClickHouseDatabase.getMigrationContributions()` emits the
5
5
  * managed-password user names (every entry in the construct's
6
- * `managedPasswords:` prop, plus the `schemaAdmin.name`) as a JSON-stringified
7
- * array of strings on the migration container's env, plus per-user
8
- * `USER_<NAME>_PASSWORD` secretsImport entries.
6
+ * `managedPasswords:` prop `schemaAdmin.name` is NOT included; the admin
7
+ * is XML-defined in `users_xml` storage which is read-only, so SQL ALTER
8
+ * against it would fail with `ACCESS_STORAGE_READONLY (495)`) as a
9
+ * JSON-stringified array of strings on the migration container's env,
10
+ * plus per-user `USER_<NAME>_PASSWORD` secretsImport entries.
9
11
  *
10
12
  * Consumer: `@fjall/clickhouse-migrations § provisionUsersFromEnv` parses the
11
13
  * env, reads each password from `process.env[USER_<NAME>_PASSWORD]` (injected
@@ -62,8 +64,9 @@ export declare const ManagedUserNameSchema: z.ZodString;
62
64
  export type ManagedUserName = z.infer<typeof ManagedUserNameSchema>;
63
65
  /**
64
66
  * Manifest = ordered array of managed user names. Order matches the
65
- * construct's `[schemaAdmin.name, ...managedPasswords]` order so provisioning
66
- * is deterministic across deploys.
67
+ * construct's `managedPasswords` declaration order so provisioning is
68
+ * deterministic across deploys. `schemaAdmin.name` is NOT included — see
69
+ * the producer note above.
67
70
  */
68
71
  export declare const ManagedUserNamesSchema: z.ZodArray<z.ZodString>;
69
72
  export type ManagedUserNames = z.infer<typeof ManagedUserNamesSchema>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fjall/util",
3
- "version": "0.99.1",
3
+ "version": "0.99.4",
4
4
  "description": "Common utility methods",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -82,6 +82,9 @@
82
82
  "files": [
83
83
  "dist/"
84
84
  ],
85
+ "publishConfig": {
86
+ "access": "public"
87
+ },
85
88
  "scripts": {
86
89
  "clean": "rm -rf ./dist ./sourcemaps",
87
90
  "clean:node": "rm -rf ./node_modules",
@@ -114,5 +117,5 @@
114
117
  "engines": {
115
118
  "node": ">=22.0.0"
116
119
  },
117
- "gitHead": "0b8cc9b7c5017ca126c884da4cb29793dd26c96a"
120
+ "gitHead": "4d52f0059ebb467b4a63603ed397dae36811d735"
118
121
  }