@sprucelabs/data-stores 28.1.336 → 28.1.337

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.
@@ -893,7 +893,7 @@ const databaseAssertUtil = {
893
893
  return __awaiter(this, void 0, void 0, function* () {
894
894
  const db = yield connectToDabatase(connect);
895
895
  yield assertCantCreateUniqueIndexTwice(db, this.collectionName, ['uniqueField'], 1);
896
- yield assertCantCreateUniqueIndexTwice(db, this.collectionName, ['uniqueField', 'anotherField'], 2);
896
+ yield assertCantCreateUniqueIndexTwice(db, this.collectionName, ['uniqueField', 'someField2'], 2);
897
897
  yield this.shutdown(db);
898
898
  });
899
899
  },
@@ -810,7 +810,7 @@ const databaseAssertUtil = {
810
810
  async assertCantCreateUniqueIndexTwice(connect) {
811
811
  const db = await connectToDabatase(connect);
812
812
  await assertCantCreateUniqueIndexTwice(db, this.collectionName, ['uniqueField'], 1);
813
- await assertCantCreateUniqueIndexTwice(db, this.collectionName, ['uniqueField', 'anotherField'], 2);
813
+ await assertCantCreateUniqueIndexTwice(db, this.collectionName, ['uniqueField', 'someField2'], 2);
814
814
  await this.shutdown(db);
815
815
  },
816
816
  async assertSyncingUniqueIndexesIsRaceProof(connect) {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "28.1.336",
6
+ "version": "28.1.337",
7
7
  "files": [
8
8
  "build/**/*",
9
9
  "!build/__tests__",