@omegup/msync 0.1.68 → 0.1.69

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/index.js CHANGED
@@ -183,6 +183,7 @@ const firstSure = first;
183
183
  const last = (expr) => asExpr({ raw: (f) => asExprRaw({ $last: expr.raw(f).get() }) });
184
184
  const mergeObjects = (...exprs) => asExpr({ raw: (f) => asExprRaw({ $mergeObjects: exprs.map((x) => x.raw(f).get()) }) });
185
185
  const $objectToArray = (expr) => asExpr({ raw: (f) => asExprRaw({ $objectToArray: expr.raw(f).get() }) });
186
+ const $arrayToObject = (expr) => asExpr({ raw: (f) => asExprRaw({ $arrayToObject: expr.raw(f).get() }) });
186
187
  const anyElementTrue = (expr) => asExpr({ raw: (f) => asExprRaw({ $anyElementTrue: expr.raw(f).get() }) });
187
188
  const $reduce = (input, initialValue, inExpr) => asExpr({ raw: (f) => asExprRaw({ $reduce: {
188
189
  input: input.raw(f).get(),
@@ -2144,6 +2145,7 @@ const single = (view, needs = {}) => pipe((input) => executes(view, input, needs
2144
2145
  //#endregion
2145
2146
  exports.$accumulator = $accumulator;
2146
2147
  exports.$and = $and;
2148
+ exports.$arrayToObject = $arrayToObject;
2147
2149
  exports.$countDict = $countDict;
2148
2150
  exports.$countDictArray = $countDictArray;
2149
2151
  exports.$entries = $entries;