spice-couchbase 2.0.33 → 2.0.34

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