@noy-db/hub 0.1.0-pre.4 → 0.1.0-pre.7
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/blobs/index.cjs.map +1 -1
- package/dist/blobs/index.d.cts +3 -3
- package/dist/blobs/index.d.ts +3 -3
- package/dist/blobs/index.js +2 -2
- package/dist/bundle/index.cjs +26 -3
- package/dist/bundle/index.cjs.map +1 -1
- package/dist/bundle/index.d.cts +3 -3
- package/dist/bundle/index.d.ts +3 -3
- package/dist/bundle/index.js +3 -1
- package/dist/{chunk-LSZHBNDG.js → chunk-3WCRU7TI.js} +2 -2
- package/dist/{chunk-PSHTHSIX.js → chunk-6IJQ27XN.js} +213 -10
- package/dist/chunk-6IJQ27XN.js.map +1 -0
- package/dist/{chunk-O5GK62FJ.js → chunk-B6HF6NTZ.js} +1 -1
- package/dist/chunk-B6HF6NTZ.js.map +1 -0
- package/dist/{chunk-AVWFLPNR.js → chunk-CL37QSND.js} +2 -2
- package/dist/chunk-EMIGCR7X.js +39 -0
- package/dist/chunk-EMIGCR7X.js.map +1 -0
- package/dist/{chunk-GJILMRPO.js → chunk-FAAWLVTF.js} +42 -4
- package/dist/chunk-FAAWLVTF.js.map +1 -0
- package/dist/chunk-GILMPJXB.js +155 -0
- package/dist/chunk-GILMPJXB.js.map +1 -0
- package/dist/{chunk-L77MEFCH.js → chunk-INSJBB5W.js} +3 -3
- package/dist/{chunk-QZIACZZU.js → chunk-KPF2HHPI.js} +2 -2
- package/dist/{chunk-NK2NSXXK.js → chunk-N2LMZKLR.js} +2 -2
- package/dist/{chunk-EARQCIL7.js → chunk-NZ4XCIKS.js} +3 -3
- package/dist/{chunk-E445ICYI.js → chunk-UFL4DUEV.js} +5 -3
- package/dist/chunk-UFL4DUEV.js.map +1 -0
- package/dist/consent/index.d.cts +3 -3
- package/dist/consent/index.d.ts +3 -3
- package/dist/{dev-unlock-XOUecfQ9.d.ts → dev-unlock-CcJ1qIi7.d.ts} +1 -1
- package/dist/{dev-unlock-5SmCVGyx.d.cts → dev-unlock-Dk14V6lX.d.cts} +1 -1
- package/dist/{hash-Bxud16vM.d.ts → hash-1Xsqx1jl.d.ts} +1 -1
- package/dist/{hash-CvuKN2gH.d.cts → hash-h_2U3TFb.d.cts} +1 -1
- package/dist/history/index.cjs.map +1 -1
- package/dist/history/index.d.cts +4 -4
- package/dist/history/index.d.ts +4 -4
- package/dist/history/index.js +2 -2
- package/dist/i18n/index.cjs +3 -1
- package/dist/i18n/index.cjs.map +1 -1
- package/dist/i18n/index.d.cts +3 -3
- package/dist/i18n/index.d.ts +3 -3
- package/dist/i18n/index.js +3 -3
- package/dist/{index-DN-J-5wT.d.cts → index-6xNpPsxR.d.cts} +1 -1
- package/dist/{index-Cy-MKrdK.d.ts → index-Cvb0efA_.d.cts} +39 -5
- package/dist/{index-BRHBCmLt.d.ts → index-DJTf9yxn.d.ts} +1 -1
- package/dist/{index-BvUiM47h.d.cts → index-DZn6Yick.d.ts} +39 -5
- package/dist/index.cjs +2001 -58
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +315 -19
- package/dist/index.d.ts +315 -19
- package/dist/index.js +1503 -41
- package/dist/index.js.map +1 -1
- package/dist/{ledger-HWXYGUIQ.js → ledger-5V67MAIL.js} +3 -3
- package/dist/periods/index.cjs.map +1 -1
- package/dist/periods/index.d.cts +3 -3
- package/dist/periods/index.d.ts +3 -3
- package/dist/periods/index.js +3 -3
- package/dist/public-envelope-DFJZHXVH.js +31 -0
- package/dist/public-envelope-DFJZHXVH.js.map +1 -0
- package/dist/query/index.d.cts +1 -1
- package/dist/query/index.d.ts +1 -1
- package/dist/session/index.cjs +4 -2
- package/dist/session/index.cjs.map +1 -1
- package/dist/session/index.d.cts +4 -4
- package/dist/session/index.d.ts +4 -4
- package/dist/session/index.js +1 -1
- package/dist/shadow/index.d.cts +3 -3
- package/dist/shadow/index.d.ts +3 -3
- package/dist/store/index.d.cts +3 -3
- package/dist/store/index.d.ts +3 -3
- package/dist/sync/index.cjs.map +1 -1
- package/dist/sync/index.d.cts +2 -2
- package/dist/sync/index.d.ts +2 -2
- package/dist/sync/index.js +2 -2
- package/dist/team/index.cjs +3 -1
- package/dist/team/index.cjs.map +1 -1
- package/dist/team/index.d.cts +3 -3
- package/dist/team/index.d.ts +3 -3
- package/dist/team/index.js +4 -4
- package/dist/tx/index.d.cts +3 -3
- package/dist/tx/index.d.ts +3 -3
- package/dist/{types-Dmi7nrC9.d.ts → types-D-6bmD2c.d.ts} +1271 -3
- package/dist/{types-BVSfkYg6.d.cts → types-D3QLmhlk.d.cts} +1271 -3
- package/package.json +1 -1
- package/dist/chunk-E445ICYI.js.map +0 -1
- package/dist/chunk-GJILMRPO.js.map +0 -1
- package/dist/chunk-O5GK62FJ.js.map +0 -1
- package/dist/chunk-PSHTHSIX.js.map +0 -1
- /package/dist/{chunk-LSZHBNDG.js.map → chunk-3WCRU7TI.js.map} +0 -0
- /package/dist/{chunk-AVWFLPNR.js.map → chunk-CL37QSND.js.map} +0 -0
- /package/dist/{chunk-L77MEFCH.js.map → chunk-INSJBB5W.js.map} +0 -0
- /package/dist/{chunk-QZIACZZU.js.map → chunk-KPF2HHPI.js.map} +0 -0
- /package/dist/{chunk-NK2NSXXK.js.map → chunk-N2LMZKLR.js.map} +0 -0
- /package/dist/{chunk-EARQCIL7.js.map → chunk-NZ4XCIKS.js.map} +0 -0
- /package/dist/{ledger-HWXYGUIQ.js.map → ledger-5V67MAIL.js.map} +0 -0
package/dist/periods/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a5 as PeriodsStrategy } from '../types-
|
|
2
|
-
export { a6 as CarryForwardContext, a7 as ClosePeriodOptions, a8 as OpenPeriodOptions, a9 as PERIODS_COLLECTION, aa as PeriodRecord, ab as ReadOnlyCollection, ac as appendPeriodLedgerEntry, ad as assertTsWritable, ae as chainAnchor, af as loadPeriods, ag as validatePeriodName } from '../types-
|
|
1
|
+
import { a5 as PeriodsStrategy } from '../types-D3QLmhlk.cjs';
|
|
2
|
+
export { a6 as CarryForwardContext, a7 as ClosePeriodOptions, a8 as OpenPeriodOptions, a9 as PERIODS_COLLECTION, aa as PeriodRecord, ab as ReadOnlyCollection, ac as appendPeriodLedgerEntry, ad as assertTsWritable, ae as chainAnchor, af as loadPeriods, ag as validatePeriodName } from '../types-D3QLmhlk.cjs';
|
|
3
3
|
import '../lazy-builder-CZVLKh0Z.cjs';
|
|
4
4
|
import '../predicate-SBHmi6D0.cjs';
|
|
5
5
|
import '../strategy-D-SrOLCl.cjs';
|
|
6
6
|
import '../strategy-BSxFXGzb.cjs';
|
|
7
|
-
import '../index-
|
|
7
|
+
import '../index-6xNpPsxR.cjs';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Active periods strategy factory. Only reachable through the
|
package/dist/periods/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a5 as PeriodsStrategy } from '../types-
|
|
2
|
-
export { a6 as CarryForwardContext, a7 as ClosePeriodOptions, a8 as OpenPeriodOptions, a9 as PERIODS_COLLECTION, aa as PeriodRecord, ab as ReadOnlyCollection, ac as appendPeriodLedgerEntry, ad as assertTsWritable, ae as chainAnchor, af as loadPeriods, ag as validatePeriodName } from '../types-
|
|
1
|
+
import { a5 as PeriodsStrategy } from '../types-D-6bmD2c.js';
|
|
2
|
+
export { a6 as CarryForwardContext, a7 as ClosePeriodOptions, a8 as OpenPeriodOptions, a9 as PERIODS_COLLECTION, aa as PeriodRecord, ab as ReadOnlyCollection, ac as appendPeriodLedgerEntry, ad as assertTsWritable, ae as chainAnchor, af as loadPeriods, ag as validatePeriodName } from '../types-D-6bmD2c.js';
|
|
3
3
|
import '../lazy-builder-BwEoBQZ9.js';
|
|
4
4
|
import '../predicate-SBHmi6D0.js';
|
|
5
5
|
import '../strategy-D-SrOLCl.js';
|
|
6
6
|
import '../strategy-BSxFXGzb.js';
|
|
7
|
-
import '../index-
|
|
7
|
+
import '../index-DJTf9yxn.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Active periods strategy factory. Only reachable through the
|
package/dist/periods/index.js
CHANGED
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
loadPeriods,
|
|
7
7
|
validatePeriodName,
|
|
8
8
|
withPeriods
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-3WCRU7TI.js";
|
|
10
10
|
import "../chunk-UF3BUNQZ.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-N2LMZKLR.js";
|
|
12
12
|
import "../chunk-CIMZBAZB.js";
|
|
13
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-B6HF6NTZ.js";
|
|
14
14
|
import "../chunk-MR4424N3.js";
|
|
15
15
|
import "../chunk-ACLDOTNQ.js";
|
|
16
16
|
export {
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DEFAULT_PUBLIC_ENVELOPE_SCHEMA,
|
|
3
|
+
PUBLIC_ENVELOPE_FIELDS,
|
|
4
|
+
resolveSchema
|
|
5
|
+
} from "./chunk-EMIGCR7X.js";
|
|
6
|
+
import {
|
|
7
|
+
PUBLIC_ENVELOPE_RECORD_ID,
|
|
8
|
+
isPublicEnvelope,
|
|
9
|
+
loadPublicEnvelope,
|
|
10
|
+
pickLocale,
|
|
11
|
+
readPublicEnvelope,
|
|
12
|
+
resolveLocale,
|
|
13
|
+
savePublicEnvelope,
|
|
14
|
+
validatePublicEnvelopeInput
|
|
15
|
+
} from "./chunk-GILMPJXB.js";
|
|
16
|
+
import "./chunk-B6HF6NTZ.js";
|
|
17
|
+
import "./chunk-ACLDOTNQ.js";
|
|
18
|
+
export {
|
|
19
|
+
DEFAULT_PUBLIC_ENVELOPE_SCHEMA,
|
|
20
|
+
PUBLIC_ENVELOPE_FIELDS,
|
|
21
|
+
PUBLIC_ENVELOPE_RECORD_ID,
|
|
22
|
+
isPublicEnvelope,
|
|
23
|
+
loadPublicEnvelope,
|
|
24
|
+
pickLocale,
|
|
25
|
+
readPublicEnvelope,
|
|
26
|
+
resolveLocale,
|
|
27
|
+
resolveSchema,
|
|
28
|
+
savePublicEnvelope,
|
|
29
|
+
validatePublicEnvelopeInput
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=public-envelope-DFJZHXVH.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/query/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { D as DEFAULT_JOIN_MAX_ROWS, J as JoinContext, m as JoinLeg, n as JoinStrategy, p as JoinableSource, q as LiveQuery, r as LiveUpstream, O as OrderBy, Q as Query, z as QueryPlan, H as QuerySource, $ as ScanBuilder, a0 as ScanPageProvider, ab as applyJoins, ac as buildLiveQuery, ad as executePlan, af as resetJoinWarnings } from '../index-
|
|
1
|
+
export { D as DEFAULT_JOIN_MAX_ROWS, J as JoinContext, m as JoinLeg, n as JoinStrategy, p as JoinableSource, q as LiveQuery, r as LiveUpstream, O as OrderBy, Q as Query, z as QueryPlan, H as QuerySource, $ as ScanBuilder, a0 as ScanPageProvider, ab as applyJoins, ac as buildLiveQuery, ad as executePlan, af as resetJoinWarnings } from '../index-6xNpPsxR.cjs';
|
|
2
2
|
export { a as Clause, C as CollectionIndexes, F as FieldClause, b as FilterClause, G as GroupClause, H as HashIndex, I as IndexDef, O as Operator, e as evaluateClause, c as evaluateFieldClause, r as readPath } from '../predicate-SBHmi6D0.cjs';
|
|
3
3
|
export { a as AggregateResult, b as AggregateSpec, c as Aggregation, d as AggregationUpstream, G as GROUPBY_MAX_CARDINALITY, e as GROUPBY_WARN_CARDINALITY, f as GroupedAggregation, g as GroupedQuery, h as GroupedRow, L as LiveAggregation, R as Reducer, i as ReducerOptions, j as avg, k as buildLiveAggregation, l as count, m as groupAndReduce, n as max, o as min, r as reduceRecords, p as resetGroupByWarnings, s as sum } from '../strategy-D-SrOLCl.cjs';
|
package/dist/query/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { D as DEFAULT_JOIN_MAX_ROWS, J as JoinContext, m as JoinLeg, n as JoinStrategy, p as JoinableSource, q as LiveQuery, r as LiveUpstream, O as OrderBy, Q as Query, z as QueryPlan, H as QuerySource, $ as ScanBuilder, a0 as ScanPageProvider, ab as applyJoins, ac as buildLiveQuery, ad as executePlan, af as resetJoinWarnings } from '../index-
|
|
1
|
+
export { D as DEFAULT_JOIN_MAX_ROWS, J as JoinContext, m as JoinLeg, n as JoinStrategy, p as JoinableSource, q as LiveQuery, r as LiveUpstream, O as OrderBy, Q as Query, z as QueryPlan, H as QuerySource, $ as ScanBuilder, a0 as ScanPageProvider, ab as applyJoins, ac as buildLiveQuery, ad as executePlan, af as resetJoinWarnings } from '../index-DJTf9yxn.js';
|
|
2
2
|
export { a as Clause, C as CollectionIndexes, F as FieldClause, b as FilterClause, G as GroupClause, H as HashIndex, I as IndexDef, O as Operator, e as evaluateClause, c as evaluateFieldClause, r as readPath } from '../predicate-SBHmi6D0.js';
|
|
3
3
|
export { a as AggregateResult, b as AggregateSpec, c as Aggregation, d as AggregationUpstream, G as GROUPBY_MAX_CARDINALITY, e as GROUPBY_WARN_CARDINALITY, f as GroupedAggregation, g as GroupedQuery, h as GroupedRow, L as LiveAggregation, R as Reducer, i as ReducerOptions, j as avg, k as buildLiveAggregation, l as count, m as groupAndReduce, n as max, o as min, r as reduceRecords, p as resetGroupByWarnings, s as sum } from '../strategy-D-SrOLCl.js';
|
package/dist/session/index.cjs
CHANGED
|
@@ -211,7 +211,8 @@ async function resolveSession(token) {
|
|
|
211
211
|
deks,
|
|
212
212
|
kek: null,
|
|
213
213
|
// KEK not available in session context
|
|
214
|
-
salt: base64ToBuffer(payload.salt)
|
|
214
|
+
salt: base64ToBuffer(payload.salt),
|
|
215
|
+
authenticators: []
|
|
215
216
|
};
|
|
216
217
|
}
|
|
217
218
|
function revokeSession(sessionId) {
|
|
@@ -445,7 +446,8 @@ async function loadDevUnlock(vault, userId, options = {}) {
|
|
|
445
446
|
permissions: parsed.permissions,
|
|
446
447
|
deks,
|
|
447
448
|
kek: null,
|
|
448
|
-
salt: base64ToBuffer(parsed.salt)
|
|
449
|
+
salt: base64ToBuffer(parsed.salt),
|
|
450
|
+
authenticators: []
|
|
449
451
|
};
|
|
450
452
|
}
|
|
451
453
|
function clearDevUnlock(vault, userId, options = {}) {
|