@xuda.io/xuda-dbs-plugin-xuda 1.0.14 → 1.0.15

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/index.mjs +6 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -156,6 +156,12 @@ const get_index_json = async function (docInP, table_obj) {
156
156
  }
157
157
  };
158
158
 
159
+ const find_item_by_key_root = function (arr, key, val) {
160
+ return _.find(arr, function (e) {
161
+ return e[key] === val;
162
+ });
163
+ };
164
+
159
165
  export const Create = async (_, e, db, app_id_reference, table_obj) => {
160
166
  const batch = async function () {
161
167
  var docs = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/xuda-dbs-plugin-xuda",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "Xuda Database Socket for Xuda's proprietary structure powered by CouchDB",
5
5
  "scripts": {
6
6
  "pub": "npm version patch --force && npm publish --access public"