@volter/world-core 3.0.72 → 3.0.73

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.
@@ -1726,7 +1726,8 @@
1726
1726
  "database": "world"
1727
1727
  },
1728
1728
  "fill": {
1729
- "PLANETSCALE_DATABASE_URL": "http_url"
1729
+ "PLANETSCALE_DATABASE_URL": "http_url",
1730
+ "DATABASE_URL": "side:mysql:native_url"
1730
1731
  }
1731
1732
  },
1732
1733
  "prismaAdapter": {
@@ -1734,6 +1735,14 @@
1734
1735
  "export": "PrismaPlanetScale",
1735
1736
  "urlEnv": "PLANETSCALE_DATABASE_URL"
1736
1737
  },
1738
+ "sidePorts": [
1739
+ {
1740
+ "name": "mysql",
1741
+ "option": "wirePort",
1742
+ "flag": "--wire-port",
1743
+ "note": "MySQL's native wire over the same database psdb serves (mysql_native_password, text and prepared statements)"
1744
+ }
1745
+ ],
1737
1746
  "serveExport": "createPlanetscaleTwinServer"
1738
1747
  },
1739
1748
  "polar": {
@@ -7,9 +7,9 @@
7
7
  // - Nothing here reads the environment, and the tree references none of the rows it writes.
8
8
  // - Each batch is ONE transaction sent as ONE extended-protocol pipeline ending in ONE Sync: `BEGIN`, the role
9
9
  // (`SET LOCAL ROLE`), the transaction-local settings (`set_config(…, true)`), the statements and `COMMIT`, every value a
10
- // bind parameter. The PGlite host runs a connection's messages up to its Sync under one lock and lets another
11
- // connection's read into a session idle inside a transaction; a batch that never sits idle inside its transaction lets
12
- // nobody in, so its role and settings reach no other connection.
10
+ // bind parameter. The PGlite host holds one connection's whole transaction under one lock, readers included, and
11
+ // native PostgreSQL gives each connection its own session; either way the batch's role and settings reach no other
12
+ // connection.
13
13
  // - The role, which Postgres takes only as SQL text, is quoted as an identifier; which roles a caller may take is the
14
14
  // pack's rule (Supabase's three API roles), checked before a batch is made.
15
15
  // - A batch that fails leaves its transaction aborted (the backend skips to the Sync); it is ended with `ROLLBACK` before
@@ -1726,7 +1726,8 @@
1726
1726
  "database": "world"
1727
1727
  },
1728
1728
  "fill": {
1729
- "PLANETSCALE_DATABASE_URL": "http_url"
1729
+ "PLANETSCALE_DATABASE_URL": "http_url",
1730
+ "DATABASE_URL": "side:mysql:native_url"
1730
1731
  }
1731
1732
  },
1732
1733
  "prismaAdapter": {
@@ -1734,6 +1735,14 @@
1734
1735
  "export": "PrismaPlanetScale",
1735
1736
  "urlEnv": "PLANETSCALE_DATABASE_URL"
1736
1737
  },
1738
+ "sidePorts": [
1739
+ {
1740
+ "name": "mysql",
1741
+ "option": "wirePort",
1742
+ "flag": "--wire-port",
1743
+ "note": "MySQL's native wire over the same database psdb serves (mysql_native_password, text and prepared statements)"
1744
+ }
1745
+ ],
1737
1746
  "serveExport": "createPlanetscaleTwinServer"
1738
1747
  },
1739
1748
  "polar": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volter/world-core",
3
- "version": "3.0.72",
3
+ "version": "3.0.73",
4
4
  "description": "The kernel of Volter World: one log per twin, branches as pointers, checkpoints, the fold that keeps a twin current, the head that performs a write against the vendor, references, and the git plane. A twin package builds on it; the runtime serves it.",
5
5
  "keywords": [
6
6
  "twin",
@@ -7,9 +7,9 @@
7
7
  // - Nothing here reads the environment, and the tree references none of the rows it writes.
8
8
  // - Each batch is ONE transaction sent as ONE extended-protocol pipeline ending in ONE Sync: `BEGIN`, the role
9
9
  // (`SET LOCAL ROLE`), the transaction-local settings (`set_config(…, true)`), the statements and `COMMIT`, every value a
10
- // bind parameter. The PGlite host runs a connection's messages up to its Sync under one lock and lets another
11
- // connection's read into a session idle inside a transaction; a batch that never sits idle inside its transaction lets
12
- // nobody in, so its role and settings reach no other connection.
10
+ // bind parameter. The PGlite host holds one connection's whole transaction under one lock, readers included, and
11
+ // native PostgreSQL gives each connection its own session; either way the batch's role and settings reach no other
12
+ // connection.
13
13
  // - The role, which Postgres takes only as SQL text, is quoted as an identifier; which roles a caller may take is the
14
14
  // pack's rule (Supabase's three API roles), checked before a batch is made.
15
15
  // - A batch that fails leaves its transaction aborted (the backend skips to the Sync); it is ended with `ROLLBACK` before