@rocicorp/zero 0.18.2025031401 → 0.18.2025031801
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/out/advanced.js +1 -1
- package/out/{chunk-4HTOMAT6.js → chunk-472VY5VS.js} +7 -22
- package/out/{chunk-4HTOMAT6.js.map → chunk-472VY5VS.js.map} +2 -2
- package/out/{chunk-SVJISXWE.js → chunk-MJCITZ5S.js} +80 -74
- package/out/chunk-MJCITZ5S.js.map +7 -0
- package/out/solid.js +4 -25
- package/out/solid.js.map +2 -2
- package/out/zero-cache/src/auth/jwt.d.ts +5 -1
- package/out/zero-cache/src/auth/jwt.d.ts.map +1 -1
- package/out/zero-cache/src/auth/jwt.js +13 -0
- package/out/zero-cache/src/auth/jwt.js.map +1 -1
- package/out/zero-cache/src/services/change-source/pg/initial-sync.d.ts.map +1 -1
- package/out/zero-cache/src/services/change-source/pg/initial-sync.js +3 -3
- package/out/zero-cache/src/services/change-source/pg/initial-sync.js.map +1 -1
- package/out/zero-cache/src/services/change-source/protocol/current/data.d.ts +1 -0
- package/out/zero-cache/src/services/change-source/protocol/current/data.d.ts.map +1 -1
- package/out/zero-cache/src/services/change-source/protocol/current/data.js +11 -0
- package/out/zero-cache/src/services/change-source/protocol/current/data.js.map +1 -1
- package/out/zero-cache/src/services/change-source/protocol/current/downstream.d.ts +3 -0
- package/out/zero-cache/src/services/change-source/protocol/current/downstream.d.ts.map +1 -1
- package/out/zero-cache/src/services/change-streamer/change-streamer-http.d.ts +1 -0
- package/out/zero-cache/src/services/change-streamer/change-streamer-http.d.ts.map +1 -1
- package/out/zero-cache/src/services/change-streamer/change-streamer-http.js +21 -3
- package/out/zero-cache/src/services/change-streamer/change-streamer-http.js.map +1 -1
- package/out/zero-cache/src/services/change-streamer/change-streamer.d.ts +1 -0
- package/out/zero-cache/src/services/change-streamer/change-streamer.d.ts.map +1 -1
- package/out/zero-cache/src/services/replicator/change-processor.d.ts.map +1 -1
- package/out/zero-cache/src/services/replicator/change-processor.js +19 -12
- package/out/zero-cache/src/services/replicator/change-processor.js.map +1 -1
- package/out/zero-cache/src/services/view-syncer/client-handler.d.ts +1 -3
- package/out/zero-cache/src/services/view-syncer/client-handler.d.ts.map +1 -1
- package/out/zero-cache/src/services/view-syncer/client-handler.js +4 -23
- package/out/zero-cache/src/services/view-syncer/client-handler.js.map +1 -1
- package/out/zero-cache/src/services/view-syncer/cvr-store.d.ts +1 -1
- package/out/zero-cache/src/services/view-syncer/cvr-store.d.ts.map +1 -1
- package/out/zero-cache/src/services/view-syncer/cvr-store.js +4 -6
- package/out/zero-cache/src/services/view-syncer/cvr-store.js.map +1 -1
- package/out/zero-cache/src/services/view-syncer/cvr.d.ts +2 -2
- package/out/zero-cache/src/services/view-syncer/cvr.d.ts.map +1 -1
- package/out/zero-cache/src/services/view-syncer/cvr.js +4 -4
- package/out/zero-cache/src/services/view-syncer/cvr.js.map +1 -1
- package/out/zero-cache/src/services/view-syncer/view-syncer.d.ts.map +1 -1
- package/out/zero-cache/src/services/view-syncer/view-syncer.js +6 -7
- package/out/zero-cache/src/services/view-syncer/view-syncer.js.map +1 -1
- package/out/zero-cache/src/types/lite.d.ts +6 -3
- package/out/zero-cache/src/types/lite.d.ts.map +1 -1
- package/out/zero-cache/src/types/lite.js +9 -7
- package/out/zero-cache/src/types/lite.js.map +1 -1
- package/out/zero-protocol/src/down.d.ts +0 -1
- package/out/zero-protocol/src/down.d.ts.map +1 -1
- package/out/zero-protocol/src/poke.d.ts +0 -2
- package/out/zero-protocol/src/poke.d.ts.map +1 -1
- package/out/zero-protocol/src/poke.js +0 -2
- package/out/zero-protocol/src/poke.js.map +1 -1
- package/out/zero-protocol/src/protocol-version.d.ts +1 -8
- package/out/zero-protocol/src/protocol-version.d.ts.map +1 -1
- package/out/zero-protocol/src/protocol-version.js +4 -12
- package/out/zero-protocol/src/protocol-version.js.map +1 -1
- package/out/zero-solid/src/solid-view.d.ts.map +1 -1
- package/out/zero.js +2 -2
- package/out/zql/src/ivm/array-view.d.ts.map +1 -1
- package/out/zql/src/ivm/array-view.js +2 -3
- package/out/zql/src/ivm/array-view.js.map +1 -1
- package/out/zql/src/ivm/view-apply-change.d.ts +5 -1
- package/out/zql/src/ivm/view-apply-change.d.ts.map +1 -1
- package/out/zql/src/ivm/view-apply-change.js +68 -71
- package/out/zql/src/ivm/view-apply-change.js.map +1 -1
- package/out/zql/src/query/expression.d.ts +1 -1
- package/out/zql/src/query/expression.d.ts.map +1 -1
- package/out/zql/src/query/expression.js +1 -3
- package/out/zql/src/query/expression.js.map +1 -1
- package/package.json +2 -2
- package/out/chunk-SVJISXWE.js.map +0 -7
package/out/advanced.js
CHANGED
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
throwInvalidType,
|
|
22
22
|
unreachable,
|
|
23
23
|
valuesEqual
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-MJCITZ5S.js";
|
|
25
25
|
import {
|
|
26
26
|
__export,
|
|
27
27
|
__reExport
|
|
@@ -11074,7 +11074,6 @@ var ArrayView = class {
|
|
|
11074
11074
|
onDestroy;
|
|
11075
11075
|
#dirty = false;
|
|
11076
11076
|
#complete = false;
|
|
11077
|
-
#refCountMap = /* @__PURE__ */ new WeakMap();
|
|
11078
11077
|
constructor(input, format = { singular: false, relationships: {} }, queryComplete = true) {
|
|
11079
11078
|
this.#input = input;
|
|
11080
11079
|
this.#schema = input.getSchema();
|
|
@@ -11124,22 +11123,14 @@ var ArrayView = class {
|
|
|
11124
11123
|
{ type: "add", node },
|
|
11125
11124
|
this.#schema,
|
|
11126
11125
|
"",
|
|
11127
|
-
this.#format
|
|
11128
|
-
this.#refCountMap
|
|
11126
|
+
this.#format
|
|
11129
11127
|
);
|
|
11130
11128
|
}
|
|
11131
11129
|
this.flush();
|
|
11132
11130
|
}
|
|
11133
11131
|
push(change) {
|
|
11134
11132
|
this.#dirty = true;
|
|
11135
|
-
applyChange(
|
|
11136
|
-
this.#root,
|
|
11137
|
-
change,
|
|
11138
|
-
this.#schema,
|
|
11139
|
-
"",
|
|
11140
|
-
this.#format,
|
|
11141
|
-
this.#refCountMap
|
|
11142
|
-
);
|
|
11133
|
+
applyChange(this.#root, change, this.#schema, "", this.#format);
|
|
11143
11134
|
}
|
|
11144
11135
|
flush() {
|
|
11145
11136
|
if (!this.#dirty) {
|
|
@@ -11174,9 +11165,7 @@ var ExpressionBuilder = class {
|
|
|
11174
11165
|
and = and;
|
|
11175
11166
|
or = or;
|
|
11176
11167
|
not = not2;
|
|
11177
|
-
exists(relationship, cb)
|
|
11178
|
-
return this.#exists(relationship, cb);
|
|
11179
|
-
}
|
|
11168
|
+
exists = (relationship, cb) => this.#exists(relationship, cb);
|
|
11180
11169
|
};
|
|
11181
11170
|
function and(...conditions) {
|
|
11182
11171
|
const expressions = filterTrue(filterUndefined(conditions));
|
|
@@ -12323,8 +12312,6 @@ var pokeStartBodySchema = valita_exports.object({
|
|
|
12323
12312
|
// with initial cookie `null`, before the first request. So we have to be
|
|
12324
12313
|
// able to send a base cookie with value `null` to match that state.
|
|
12325
12314
|
baseCookie: nullableVersionSchema,
|
|
12326
|
-
// Deprecated: Replaced by pokeEnd.cookie.
|
|
12327
|
-
cookie: versionSchema.optional(),
|
|
12328
12315
|
/**
|
|
12329
12316
|
* This field is always set if the poke contains a `rowsPatch`.
|
|
12330
12317
|
* It may be absent for patches that only update clients and queries.
|
|
@@ -12420,10 +12407,8 @@ var Custom = "custom";
|
|
|
12420
12407
|
|
|
12421
12408
|
// ../zero-protocol/src/protocol-version.ts
|
|
12422
12409
|
var PROTOCOL_VERSION = 7;
|
|
12423
|
-
var MIN_SERVER_SUPPORTED_SYNC_PROTOCOL =
|
|
12410
|
+
var MIN_SERVER_SUPPORTED_SYNC_PROTOCOL = 6;
|
|
12424
12411
|
assert(MIN_SERVER_SUPPORTED_SYNC_PROTOCOL < PROTOCOL_VERSION);
|
|
12425
|
-
var MIN_SERVER_SUPPORTED_PERMISSIONS_PROTOCOL = 4;
|
|
12426
|
-
assert(MIN_SERVER_SUPPORTED_PERMISSIONS_PROTOCOL < PROTOCOL_VERSION);
|
|
12427
12412
|
|
|
12428
12413
|
// ../zero-protocol/src/push.ts
|
|
12429
12414
|
var CRUD_MUTATION_NAME = "_zero_crud";
|
|
@@ -14499,7 +14484,7 @@ function makeMessage(message, context, logLevel) {
|
|
|
14499
14484
|
}
|
|
14500
14485
|
|
|
14501
14486
|
// ../zero-client/src/client/version.ts
|
|
14502
|
-
var version2 = "0.18.
|
|
14487
|
+
var version2 = "0.18.2025031801";
|
|
14503
14488
|
|
|
14504
14489
|
// ../zero-client/src/client/log-options.ts
|
|
14505
14490
|
var LevelFilterLogSink = class {
|
|
@@ -16804,4 +16789,4 @@ export {
|
|
|
16804
16789
|
escapeLike,
|
|
16805
16790
|
Zero
|
|
16806
16791
|
};
|
|
16807
|
-
//# sourceMappingURL=chunk-
|
|
16792
|
+
//# sourceMappingURL=chunk-472VY5VS.js.map
|