@ai-matrx/records 0.80.0 → 0.80.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/CHANGELOG.md +13 -0
- package/dist/app-table/index.cjs +6 -1
- package/dist/app-table/index.cjs.map +1 -1
- package/dist/app-table/index.d.cts +3 -3
- package/dist/app-table/index.d.ts +3 -3
- package/dist/app-table/index.js +6 -1
- package/dist/app-table/index.js.map +1 -1
- package/dist/{client-DHoI0qvP.d.cts → client-BfNJEpar.d.cts} +1 -1
- package/dist/{client-BcVOYKL1.d.ts → client-DKKRZKNw.d.ts} +1 -1
- package/dist/core/index.cjs +8 -3
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +4 -4
- package/dist/core/index.d.ts +4 -4
- package/dist/core/index.js +8 -3
- package/dist/core/index.js.map +1 -1
- package/dist/data/index.cjs +6 -1
- package/dist/data/index.cjs.map +1 -1
- package/dist/data/index.d.cts +2 -2
- package/dist/data/index.d.ts +2 -2
- package/dist/data/index.js +6 -1
- package/dist/data/index.js.map +1 -1
- package/dist/{declareTable-CDKHwyrF.d.ts → declareTable-Cg522Sk0.d.ts} +2 -2
- package/dist/{declareTable-DM9mPkSc.d.cts → declareTable-CzLMdOSy.d.cts} +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js.map +1 -1
- package/dist/react/index.cjs +6 -1
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +9 -3
- package/dist/react/index.d.ts +9 -3
- package/dist/react/index.js +6 -1
- package/dist/react/index.js.map +1 -1
- package/dist/{table-kind-Ct-nhoCZ.d.ts → table-kind-B9RBUmSb.d.ts} +9 -3
- package/dist/{table-kind-wYO_qjK1.d.cts → table-kind-DXktQGzR.d.cts} +9 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog — @ai-matrx/records
|
|
2
2
|
|
|
3
|
+
## 0.80.2
|
|
4
|
+
|
|
5
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
6
|
+
`git diff npm/records/v0.80.1..npm/records/v0.80.2 -- apps/shared/records`).
|
|
7
|
+
No source changes intended and no consumer action required.
|
|
8
|
+
|
|
9
|
+
## 0.80.1
|
|
10
|
+
### PAGE-BUNDLE-2 fix
|
|
11
|
+
|
|
12
|
+
THE PRIMED BUNDLE IS SEEN BY EVERY ENTRY: the package's entries (`/core`, `/react`, `/data`, `/app-table`) each bundle their own copy of the client, so 0.80.0's module-level registry was four registries — a host priming through `/core` was never seen by the `RecordsProvider` (`/react`), and the bundle was asked again. The registry now lives on `globalThis` under `Symbol.for("@ai-matrx/records/primed-table-page-bundles")`.
|
|
13
|
+
|
|
14
|
+
**Consumer action:** none.
|
|
15
|
+
|
|
3
16
|
## 0.80.0
|
|
4
17
|
### PAGE-BUNDLE-2
|
|
5
18
|
|
package/dist/app-table/index.cjs
CHANGED
|
@@ -418,11 +418,16 @@ function sha256Hex(text2) {
|
|
|
418
418
|
|
|
419
419
|
// src/core/primedBundle.ts
|
|
420
420
|
var PRIMED_TTL_MS = 15e3;
|
|
421
|
-
var
|
|
421
|
+
var REGISTRY = /* @__PURE__ */ Symbol.for("@ai-matrx/records/primed-table-page-bundles");
|
|
422
|
+
function registry() {
|
|
423
|
+
const g = globalThis;
|
|
424
|
+
return g[REGISTRY] ??= /* @__PURE__ */ new Map();
|
|
425
|
+
}
|
|
422
426
|
var primedKey = (organizationId, tableId, viewId) => `${organizationId}|${tableId}|${viewId ?? ""}`;
|
|
423
427
|
function takePrimedTablePageBundle(organizationId, tableId, viewId) {
|
|
424
428
|
if (!organizationId) return null;
|
|
425
429
|
const key = primedKey(organizationId, tableId, viewId);
|
|
430
|
+
const primed = registry();
|
|
426
431
|
const held = primed.get(key);
|
|
427
432
|
if (!held) return null;
|
|
428
433
|
primed.delete(key);
|