@dhyasama/totem-models 11.61.0 → 11.62.0

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.
@@ -155,8 +155,8 @@ module.exports = function(mongoose, config) {
155
155
  if (!startTime) { return cb(new Error('startTime is required'), null); }
156
156
 
157
157
  var self = this;
158
- const strippedSummary = stripEmojis(summary);
159
-
158
+ const strippedSummary = summary.replace(/[\u{1F300}-\u{1F9FF}]|[\u{1F600}-\u{1F64F}]|[\u{1F680}-\u{1F6FF}]|[\u{2600}-\u{26FF}]|[\u{2700}-\u{27BF}]|[\u{1F900}-\u{1F9FF}]|[\u{1F1E0}-\u{1F1FF}]/gu, '').trim();
159
+
160
160
  // Find interactions where either the exact summary matches or the stripped summary matches
161
161
  var query = self.find({
162
162
  $or: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "11.61.0",
3
+ "version": "11.62.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",