cry-synced-db-client 0.1.161 → 0.1.162

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -8
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2888,11 +2888,6 @@ function fixDotnetArrays(changes, serverRev, baseRev) {
2888
2888
  return cleaned;
2889
2889
  }
2890
2890
 
2891
- // src/utils/translateBracketPaths.ts
2892
- function translateBracketPathsToIndex(changes, _entity) {
2893
- return changes;
2894
- }
2895
-
2896
2891
  // src/utils/stripServerManaged.ts
2897
2892
  var SERVER_MANAGED_KEYS2 = /* @__PURE__ */ new Set(["_ts", "_rev", "_csq"]);
2898
2893
  function isObjectIdLike3(v) {
@@ -3142,7 +3137,7 @@ var _SyncEngine = class _SyncEngine {
3142
3137
  const delta = dirtyChangesMap.get(String(fullItem._id));
3143
3138
  if (delta) {
3144
3139
  const currentServerRev = typeof fullItem._rev === "number" ? fullItem._rev : void 0;
3145
- updates.push({ _id: fullItem._id, delta, currentServerRev, fullItem });
3140
+ updates.push({ _id: fullItem._id, delta, currentServerRev });
3146
3141
  } else {
3147
3142
  skipped.push({ _id: String(fullItem._id), reason: "no-delta-for-fullitem" });
3148
3143
  }
@@ -3209,10 +3204,9 @@ var _SyncEngine = class _SyncEngine {
3209
3204
  item.currentServerRev,
3210
3205
  dirtyBaseRev
3211
3206
  );
3212
- const cleanedChanges = translateBracketPathsToIndex(fixed, item.fullItem);
3213
3207
  return {
3214
3208
  _id: item._id,
3215
- update: cleanedChanges
3209
+ update: fixed
3216
3210
  };
3217
3211
  }),
3218
3212
  deletes: []
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cry-synced-db-client",
3
- "version": "0.1.161",
3
+ "version": "0.1.162",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",