spice-couchbase 2.0.34 → 2.0.35

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/build/index.js +3 -3
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -181,9 +181,9 @@ module.exports = class Database {
181
181
 
182
182
  if (!_this3.checkGlobelConnectionObject(_this3.collection_name)) {
183
183
  if (!collection_exists) {
184
- /* await this.createCollection(this.collection_name, this.scope_name);
185
- await this.wait(2000);
186
- await this.createPrimaryIndex(this.scope_name, this.collection_name); */
184
+ yield _this3.createCollection(_this3.collection_name, _this3.scope_name);
185
+ yield _this3.wait(2000);
186
+ yield _this3.createPrimaryIndex(_this3.scope_name, _this3.collection_name);
187
187
  }
188
188
  }
189
189
  } catch (e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spice-couchbase",
3
- "version": "2.0.34",
3
+ "version": "2.0.35",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "scripts": {