@dhyasama/totem-merge 6.0.1 → 6.0.2

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/lib/helpers.js CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
 
3
3
  var _ = require('underscore');
4
- var utilities = require('@dhyasama/ffvc-utilities');
4
+ var utilities = require('@dhyasama/totem-utilities');
5
5
  var phoneFormatter = require('phone-formatter');
6
6
 
7
7
  var createSnapshot = module.exports.createSnapshot = function createSnapshot(context, collectionName, doc, createdBy, cb) {
package/package.json CHANGED
@@ -1,8 +1,12 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-merge",
3
- "version": "6.0.1",
3
+ "version": "6.0.2",
4
+ "license": "UNLICENSED",
4
5
  "description": "Org and person merging package",
5
6
  "main": "index.js",
7
+ "engines": {
8
+ "node": "12.13.1"
9
+ },
6
10
  "scripts": {
7
11
  "prestart": "node ./lib/changeBSON",
8
12
  "start": "NODE_ENV=test node ./cli",
@@ -13,8 +17,8 @@
13
17
  },
14
18
  "author": "Jason Reynolds",
15
19
  "dependencies": {
16
- "@dhyasama/totem-utilities": "^3.0.0",
17
- "@dhyasama/totem-logger": "^2.0.0",
20
+ "@dhyasama/totem-logger": "^2.0.1",
21
+ "@dhyasama/totem-utilities": "^3.0.2",
18
22
  "async": "^2.6.3",
19
23
  "commander": "^2.20.3",
20
24
  "mongoose": "~4.5.7",
@@ -22,7 +26,7 @@
22
26
  "underscore": "^1.8.3"
23
27
  },
24
28
  "devDependencies": {
25
- "@dhyasama/totem-models": "^8.0.0",
29
+ "@dhyasama/totem-models": "^8.0.4",
26
30
  "mocha": "^5.2.0",
27
31
  "mocha-mongoose": "^1.1.1",
28
32
  "should": "^8.2.2"
package/test/index.js CHANGED
@@ -491,7 +491,7 @@ describe('Merge', function() {
491
491
  stage: 'New'
492
492
  });
493
493
 
494
- Deal.upsert(deal, { account: new mongoose.Types.ObjectId() }, function(err, result1) {
494
+ Deal.upsert(deal, { CUSTOMER_ID: customer._id, account: new mongoose.Types.ObjectId() }, function(err, result1) {
495
495
 
496
496
  should.not.exist(err);
497
497
  should.exist(result1);