@seedprotocol/sdk 0.1.33 → 0.1.34
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/{index-BgZMod4t.js → index-CcEb3bog.js} +7 -7
- package/dist/{index-BgZMod4t.js.map → index-CcEb3bog.js.map} +1 -1
- package/dist/{index-C5t1T2iY.js → index-Nlv4Ntcn.js} +2 -2
- package/dist/index-Nlv4Ntcn.js.map +1 -0
- package/dist/main.js +1 -1
- package/dist/{seed-Mp6JVHa2.js → seed-D-UZ24QJ.js} +2 -2
- package/dist/{seed-Mp6JVHa2.js.map → seed-D-UZ24QJ.js.map} +1 -1
- package/dist/{seed-nWPHoYI5.js → seed-Dxocb9te.js} +3 -3
- package/dist/{seed-nWPHoYI5.js.map → seed-Dxocb9te.js.map} +1 -1
- package/dist/{seed-VcgMFZrT.js → seed-PThkloRF.js} +3 -3
- package/dist/{seed-VcgMFZrT.js.map → seed-PThkloRF.js.map} +1 -1
- package/dist/{seed.schema.config-Cp-DUNSB.js → seed.schema.config-tTdFuWN5.js} +2 -2
- package/dist/{seed.schema.config-Cp-DUNSB.js.map → seed.schema.config-tTdFuWN5.js.map} +1 -1
- package/package.json +1 -1
- package/dist/index-C5t1T2iY.js.map +0 -1
|
@@ -999,7 +999,7 @@ const hydrateFromDb = fromCallback(({ sendBack, input: { context } }) => {
|
|
|
999
999
|
renderValue: refResolvedDisplayValue,
|
|
1000
1000
|
});
|
|
1001
1001
|
if (propertyNameFromDb === 'storageTransactionId') {
|
|
1002
|
-
const { Item } = yield import('./index-
|
|
1002
|
+
const { Item } = yield import('./index-Nlv4Ntcn.js');
|
|
1003
1003
|
const item = yield Item.find({
|
|
1004
1004
|
seedLocalId,
|
|
1005
1005
|
modelName: itemModelName,
|
|
@@ -4318,7 +4318,7 @@ const addModelsToDb = fromCallback(({ sendBack, input: { context } }) => {
|
|
|
4318
4318
|
if (!models$1) {
|
|
4319
4319
|
return;
|
|
4320
4320
|
}
|
|
4321
|
-
const { models: SeedModels } = yield import('./seed.schema.config-
|
|
4321
|
+
const { models: SeedModels } = yield import('./seed.schema.config-tTdFuWN5.js');
|
|
4322
4322
|
const allModels = Object.assign(Object.assign({}, SeedModels), models$1);
|
|
4323
4323
|
let hasModelsInDb = false;
|
|
4324
4324
|
const schemaDefsByModelName = new Map();
|
|
@@ -5782,11 +5782,11 @@ const globalMachine = setup({
|
|
|
5782
5782
|
(_a) => __awaiter(void 0, [_a], void 0, function* ({ context }) {
|
|
5783
5783
|
let SeedClass;
|
|
5784
5784
|
if (context.environment === 'node') {
|
|
5785
|
-
const { SeedNode } = yield import('./seed-
|
|
5785
|
+
const { SeedNode } = yield import('./seed-PThkloRF.js');
|
|
5786
5786
|
SeedClass = SeedNode;
|
|
5787
5787
|
}
|
|
5788
5788
|
else {
|
|
5789
|
-
const { SeedBrowser } = yield import('./seed-
|
|
5789
|
+
const { SeedBrowser } = yield import('./seed-Dxocb9te.js');
|
|
5790
5790
|
SeedClass = SeedBrowser;
|
|
5791
5791
|
}
|
|
5792
5792
|
return SeedClass;
|
|
@@ -6221,7 +6221,7 @@ const useItemProperty = ({ propertyName, seedLocalId, seedUid, }) => {
|
|
|
6221
6221
|
}
|
|
6222
6222
|
setProperty(() => foundProperty);
|
|
6223
6223
|
setIsInitialized(true);
|
|
6224
|
-
}), []);
|
|
6224
|
+
}), [internalStatus, isReadingFromDb]);
|
|
6225
6225
|
useEffect(() => {
|
|
6226
6226
|
if (internalStatus === 'ready') {
|
|
6227
6227
|
readFromDb();
|
|
@@ -6543,7 +6543,7 @@ const client = {
|
|
|
6543
6543
|
console.error('fs listeners not ready during init');
|
|
6544
6544
|
}
|
|
6545
6545
|
globalService.send({ type: 'init', endpoints, models, addresses });
|
|
6546
|
-
import('./seed.schema.config-
|
|
6546
|
+
import('./seed.schema.config-tTdFuWN5.js').then(({ models }) => {
|
|
6547
6547
|
for (const [key, value] of Object.entries(models)) {
|
|
6548
6548
|
setModel(key, value);
|
|
6549
6549
|
}
|
|
@@ -6600,4 +6600,4 @@ if (isNode()) {
|
|
|
6600
6600
|
}
|
|
6601
6601
|
|
|
6602
6602
|
export { CHILD_SNAPSHOT as C, GET_SCHEMAS as G, Item as I, Json as J, List as L, Model as M, Property as P, Relation as R, Text as T, GET_SEEDS as a, GET_SEED_IDS as b, GET_STORAGE_TRANSACTION_ID as c, GET_VERSIONS as d, GET_PROPERTIES as e, GET_ALL_PROPERTIES_FOR_ALL_VERSIONS as f, itemMachineAll as g, internalMachine as h, itemMachineSingle as i, isNode as j, isBrowser as k, isReactNative as l, ImageSrc as m, ItemProperty as n, useItem as o, useItemProperties as p, useCreateItem as q, useItemProperty as r, useDeleteItem as s, useGlobalServiceStatus as t, useItems as u, useServices as v, withSeed as w, getGlobalService as x, client as y, getCorrectId as z };
|
|
6603
|
-
//# sourceMappingURL=index-
|
|
6603
|
+
//# sourceMappingURL=index-CcEb3bog.js.map
|