@cripty2001/utils 0.0.206 → 0.0.208

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/dist/index.js +1 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -217,9 +217,7 @@ const CURRENT_TS_MS = () => {
217
217
  };
218
218
  exports.CURRENT_TS_MS = CURRENT_TS_MS;
219
219
  function getClock(rate) {
220
- return whispr_1.Whispr.from({ curr: currentTsMs }, ({ curr }) => {
221
- return Math.floor(curr / rate);
222
- });
220
+ return (0, exports.CURRENT_TS_MS)().transform((curr) => Math.floor(curr / rate));
223
221
  }
224
222
  function timediff2HumanReadable(diffMs) {
225
223
  const { unit, diff } = (() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cripty2001/utils",
3
- "version": "0.0.206",
3
+ "version": "0.0.208",
4
4
  "description": "Internal Set of utils. If you need them use them, otherwise go to the next package ;)",
5
5
  "homepage": "https://github.com/cripty2001/utils#readme",
6
6
  "bugs": {