@opra/elastic 1.0.6 → 1.0.7
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.
|
@@ -61,7 +61,8 @@ class ElasticCollectionService extends elastic_entity_service_js_1.ElasticEntity
|
|
|
61
61
|
input,
|
|
62
62
|
options,
|
|
63
63
|
};
|
|
64
|
-
command.input._id =
|
|
64
|
+
command.input._id =
|
|
65
|
+
command.input._id == null || command.input._id === '' ? this._generateId(command) : command.input._id;
|
|
65
66
|
return this._executeCommand(command, () => this._create(command));
|
|
66
67
|
}
|
|
67
68
|
/**
|
|
@@ -58,7 +58,8 @@ export class ElasticCollectionService extends ElasticEntityService {
|
|
|
58
58
|
input,
|
|
59
59
|
options,
|
|
60
60
|
};
|
|
61
|
-
command.input._id =
|
|
61
|
+
command.input._id =
|
|
62
|
+
command.input._id == null || command.input._id === '' ? this._generateId(command) : command.input._id;
|
|
62
63
|
return this._executeCommand(command, () => this._create(command));
|
|
63
64
|
}
|
|
64
65
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opra/elastic",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "Opra Elastic Search adapter package",
|
|
5
5
|
"author": "Panates",
|
|
6
6
|
"license": "MIT",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
},
|
|
13
13
|
"peerDependencies": {
|
|
14
14
|
"@elastic/elasticsearch": ">=8.7.0",
|
|
15
|
-
"@opra/common": "^1.0.
|
|
16
|
-
"@opra/core": "^1.0.
|
|
15
|
+
"@opra/common": "^1.0.7",
|
|
16
|
+
"@opra/core": "^1.0.7"
|
|
17
17
|
},
|
|
18
18
|
"type": "module",
|
|
19
19
|
"exports": {
|