sf-i-events 1.0.689 → 1.0.690

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 (3) hide show
  1. package/package.json +1 -1
  2. package/src/util.ts +1 -1
  3. package/util.js +1 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sf-i-events",
3
3
  "private": false,
4
- "version": "1.0.689",
4
+ "version": "1.0.690",
5
5
  "description": "Superflows Navigation Component",
6
6
  "main": "sf-i-events.js",
7
7
  "module": "sf-i-events.js",
package/src/util.ts CHANGED
@@ -219,7 +219,7 @@ const validateName = (name: string) => {
219
219
  if (interval > 1) {
220
220
  return Math.floor(interval) + " minutes later";
221
221
  }
222
- return Math.floor(Math.abs(seconds)) + " seconds later";
222
+ return Math.floor(Math.abs(seconds)) + " seconds";
223
223
 
224
224
  }
225
225
  }
package/util.js CHANGED
@@ -191,7 +191,7 @@ const timeSince = (date) => {
191
191
  if (interval > 1) {
192
192
  return Math.floor(interval) + " minutes later";
193
193
  }
194
- return Math.floor(Math.abs(seconds)) + " seconds later";
194
+ return Math.floor(Math.abs(seconds)) + " seconds";
195
195
  }
196
196
  };
197
197
  function readCookie(key) {