@bluedot-innovation/models 8.3.1 → 8.3.3-beta

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 8.3.2
2
+ - Update mongoose version for security patch
3
+
1
4
  ## 8.3.1
2
5
  - Add unique index on canvasSso attributes for testing
3
6
 
@@ -17,7 +20,7 @@
17
20
  - Move helloSsoCode from destination to project model
18
21
 
19
22
  ## 8.2.2
20
- - Remove domain from helloSso featture
23
+ - Remove domain from helloSso feature
21
24
 
22
25
  ## 8.2.1
23
26
  - Add Hello SSO feature to Account model and helloSsoCode to Destinnation model
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bluedot-innovation/models",
3
- "version": "8.3.1",
3
+ "version": "8.3.3-beta",
4
4
  "main": "Models.js",
5
5
  "scripts": {
6
6
  "lint": "./node_modules/.bin/eslint -c .eslintrc.js ./models/*.js ./__tests__/**/*.js ./__tests__/**/**/*.js ./schemas/*.js",
@@ -31,13 +31,13 @@
31
31
  "dependencies": {
32
32
  "@bluedot-innovation/enums": "^2.1.5",
33
33
  "@bluedot-innovation/mongoose-json-patch": "^0.0.9",
34
- "@mongoosejs/double": "^0.2.0",
34
+ "@mongoosejs/double": "^0.3.0",
35
35
  "@turf/area": "^6.0.1",
36
36
  "@turf/helpers": "^6.1.4",
37
37
  "deep-equal": "^1.0.1",
38
38
  "fast-deep-equal": "^2.0.1",
39
39
  "lodash.clonedeep": "4.5.0",
40
- "mongoose": "^6.10.4",
40
+ "mongoose": "6.12.0",
41
41
  "uuid": "^3.1.0"
42
42
  }
43
43
  }
@@ -16,6 +16,14 @@ const indexes = {
16
16
  unique: false,
17
17
  partialFilterExpression: { destinationId: { $exists:true, $type:"string" } },
18
18
  name: "destinationIdWithinProject"
19
+ },
20
+ },
21
+ {
22
+ fields: {
23
+ destinationId: 1
24
+ },
25
+ options: {
26
+ name: "destinationId_index"
19
27
  }
20
28
  }
21
29
  ],
@@ -30,6 +38,14 @@ const indexes = {
30
38
  name: "destinationIdUniqueWithinProject"
31
39
  }
32
40
  },
41
+ {
42
+ fields: {
43
+ destinationId: 1
44
+ },
45
+ options: {
46
+ name: "destinationId_index"
47
+ }
48
+ },
33
49
  {
34
50
  fields: {
35
51
  name: 1