@point-hub/papi 0.5.12 → 0.5.14

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/lib/index.js +2 -2
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -71764,13 +71764,13 @@ class DatabaseTestUtil {
71764
71764
  await DatabaseTestUtil.dbConnection.updateSchema(listSchema[i][j].collection, listSchema[i][j].schema);
71765
71765
  for (const unique of listSchema[i][j].unique) {
71766
71766
  if (unique.length) {
71767
- console.info(`[schema] ${listSchema[i][j].collection} - create unique attribute "name"`);
71767
+ console.info(`[schema] ${listSchema[i][j].collection} - create unique attribute "${unique}"`);
71768
71768
  await helper.createUnique(listSchema[i][j].collection, BaseMongoDBQuerystring.convertArrayToObject(unique, -1));
71769
71769
  }
71770
71770
  }
71771
71771
  for (const unique of listSchema[i][j].uniqueIfExists) {
71772
71772
  if (unique.length) {
71773
- console.info(`[schema] ${listSchema[i][j].collection} - create unique attribute "name"`);
71773
+ console.info(`[schema] ${listSchema[i][j].collection} - create unique attribute "${unique}"`);
71774
71774
  await helper.createUniqueIfNotNull(listSchema[i][j].collection, BaseMongoDBQuerystring.convertArrayToObject(unique, -1));
71775
71775
  }
71776
71776
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@point-hub/papi",
3
- "version": "0.5.12",
3
+ "version": "0.5.14",
4
4
  "description": "Point API Framework",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",