entropic-bond 1.51.11 → 1.51.12
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/lib/entropic-bond.js
CHANGED
|
@@ -322,7 +322,7 @@ const M = (d = class {
|
|
|
322
322
|
const r = this[e.name];
|
|
323
323
|
if (Array.isArray(r)) {
|
|
324
324
|
if (e.cachedProps)
|
|
325
|
-
throw new Error(
|
|
325
|
+
throw new Error(`${this.className}.${e.name} is an array but cached props are not allowed in array references`);
|
|
326
326
|
return r.map((s) => (e.isPureReference || this.pushDocument(t, d.collectionPath(s, e), s), this.buildRefObject(s, d.collectionPath(s, e), e.cachedProps)));
|
|
327
327
|
} else
|
|
328
328
|
return e.isPureReference || this.pushDocument(t, d.collectionPath(r, e), r), this.buildRefObject(r, d.collectionPath(r, e), e.cachedProps);
|
|
@@ -1524,7 +1524,7 @@ const p = class p extends T {
|
|
|
1524
1524
|
}
|
|
1525
1525
|
};
|
|
1526
1526
|
p.error = { shouldBeRegistered: "You should register an auth service before using Auth." }, p._instance = void 0;
|
|
1527
|
-
let
|
|
1527
|
+
let $ = p;
|
|
1528
1528
|
class me extends T {
|
|
1529
1529
|
constructor() {
|
|
1530
1530
|
super(...arguments), this.pendingPromises = [], this._fakeRegisteredUsers = {};
|
|
@@ -1630,7 +1630,7 @@ const g = class g {
|
|
|
1630
1630
|
}
|
|
1631
1631
|
};
|
|
1632
1632
|
g.error = { shouldBeRegistered: "You should register a cloud functions service with useCloudFunctionsService static method before using CloudFunctions." };
|
|
1633
|
-
let
|
|
1633
|
+
let V = g;
|
|
1634
1634
|
class ge {
|
|
1635
1635
|
constructor(e) {
|
|
1636
1636
|
this._registeredFunctions = e;
|
|
@@ -1722,10 +1722,10 @@ function we(i, e) {
|
|
|
1722
1722
|
return e.split(".").reduce((t, r) => t[r], i);
|
|
1723
1723
|
}
|
|
1724
1724
|
export {
|
|
1725
|
-
|
|
1725
|
+
$ as Auth,
|
|
1726
1726
|
me as AuthMock,
|
|
1727
1727
|
T as AuthService,
|
|
1728
|
-
|
|
1728
|
+
V as CloudFunctions,
|
|
1729
1729
|
ge as CloudFunctionsMock,
|
|
1730
1730
|
v as CloudStorage,
|
|
1731
1731
|
C as DataSource,
|