@mdbase-dev/sdk 0.1.23 → 0.1.24
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/application/asset-pins.json +4 -4
- package/dist/application/worker.js +7 -5
- package/dist/browser/mdbase-sdk.js +7 -5
- package/dist/browser/mdbase-sdk.min.js +12 -12
- package/dist/client.d.ts +2 -1
- package/dist/client.js +4 -1
- package/dist/client.js.map +1 -1
- package/dist/native/provenance.json +5 -5
- package/dist/native/runtime.wasm +0 -0
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"runtime": {
|
|
3
|
-
"sha256": "
|
|
4
|
-
"bytes":
|
|
5
|
-
"maxBytes":
|
|
3
|
+
"sha256": "baa99531197000bb01e2a5de83efdc5a7fbd77cc08586c8faed0c7534d36b6df",
|
|
4
|
+
"bytes": 3983441,
|
|
5
|
+
"maxBytes": 3983441,
|
|
6
6
|
"source": {
|
|
7
7
|
"repository": "mdbase-dev/mdbase-connect",
|
|
8
|
-
"commit": "
|
|
8
|
+
"commit": "ec6435ad928ad0658acbb6ba587ab743d6b250e3"
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
11
|
"sqlite": {
|
|
@@ -15693,12 +15693,12 @@ function appReleaseTrust() {
|
|
|
15693
15693
|
// src/application/asset-pins.json
|
|
15694
15694
|
var asset_pins_default = {
|
|
15695
15695
|
runtime: {
|
|
15696
|
-
sha256: "
|
|
15697
|
-
bytes:
|
|
15698
|
-
maxBytes:
|
|
15696
|
+
sha256: "baa99531197000bb01e2a5de83efdc5a7fbd77cc08586c8faed0c7534d36b6df",
|
|
15697
|
+
bytes: 3983441,
|
|
15698
|
+
maxBytes: 3983441,
|
|
15699
15699
|
source: {
|
|
15700
15700
|
repository: "mdbase-dev/mdbase-connect",
|
|
15701
|
-
commit: "
|
|
15701
|
+
commit: "ec6435ad928ad0658acbb6ba587ab743d6b250e3"
|
|
15702
15702
|
}
|
|
15703
15703
|
},
|
|
15704
15704
|
sqlite: {
|
|
@@ -25681,13 +25681,15 @@ var MdbaseClient = class _MdbaseClient {
|
|
|
25681
25681
|
if (r.state === "rejected") throw new MdbaseError(r.problem);
|
|
25682
25682
|
return r.preflight ?? { rewrites: [], broken: [] };
|
|
25683
25683
|
}
|
|
25684
|
-
/** Every page of a query.
|
|
25684
|
+
/** Every cursor page of a query. The page size defaults to 500 when `limit`
|
|
25685
|
+
* is omitted. `o.include` and `o.signal` apply to every page.
|
|
25685
25686
|
* Cursor resets require explicit caller clearing through `o.onReset`;
|
|
25686
25687
|
* otherwise cursor_expired/cursor_stale is thrown unchanged. The query and
|
|
25687
25688
|
* `o` are captured when iteration starts. */
|
|
25688
25689
|
async *pages(query, o = {}) {
|
|
25689
25690
|
const { include: include3, signal, onReset } = o;
|
|
25690
25691
|
const original = snapshotQueryValue(query);
|
|
25692
|
+
if (original.limit === void 0) original.limit = 500;
|
|
25691
25693
|
const originalInclude = include3 ? { ...include3 } : void 0;
|
|
25692
25694
|
const read = { ...originalInclude ? { include: originalInclude } : {}, ...signal ? { signal } : {} };
|
|
25693
25695
|
let cursor = original.cursor, restarted = false, pagesYielded = 0;
|
|
@@ -8141,13 +8141,15 @@ var MdbaseSDK = (() => {
|
|
|
8141
8141
|
if (r.state === "rejected") throw new MdbaseError(r.problem);
|
|
8142
8142
|
return r.preflight ?? { rewrites: [], broken: [] };
|
|
8143
8143
|
}
|
|
8144
|
-
/** Every page of a query.
|
|
8144
|
+
/** Every cursor page of a query. The page size defaults to 500 when `limit`
|
|
8145
|
+
* is omitted. `o.include` and `o.signal` apply to every page.
|
|
8145
8146
|
* Cursor resets require explicit caller clearing through `o.onReset`;
|
|
8146
8147
|
* otherwise cursor_expired/cursor_stale is thrown unchanged. The query and
|
|
8147
8148
|
* `o` are captured when iteration starts. */
|
|
8148
8149
|
async *pages(query, o = {}) {
|
|
8149
8150
|
const { include: include3, signal, onReset } = o;
|
|
8150
8151
|
const original = snapshotQueryValue(query);
|
|
8152
|
+
if (original.limit === void 0) original.limit = 500;
|
|
8151
8153
|
const originalInclude = include3 ? { ...include3 } : void 0;
|
|
8152
8154
|
const read2 = { ...originalInclude ? { include: originalInclude } : {}, ...signal ? { signal } : {} };
|
|
8153
8155
|
let cursor = original.cursor, restarted = false, pagesYielded = 0;
|
|
@@ -50783,12 +50785,12 @@ ${end.comment}` : end.comment;
|
|
|
50783
50785
|
// src/application/asset-pins.json
|
|
50784
50786
|
var asset_pins_default = {
|
|
50785
50787
|
runtime: {
|
|
50786
|
-
sha256: "
|
|
50787
|
-
bytes:
|
|
50788
|
-
maxBytes:
|
|
50788
|
+
sha256: "baa99531197000bb01e2a5de83efdc5a7fbd77cc08586c8faed0c7534d36b6df",
|
|
50789
|
+
bytes: 3983441,
|
|
50790
|
+
maxBytes: 3983441,
|
|
50789
50791
|
source: {
|
|
50790
50792
|
repository: "mdbase-dev/mdbase-connect",
|
|
50791
|
-
commit: "
|
|
50793
|
+
commit: "ec6435ad928ad0658acbb6ba587ab743d6b250e3"
|
|
50792
50794
|
}
|
|
50793
50795
|
},
|
|
50794
50796
|
sqlite: {
|