@t007/toast 0.0.14 → 0.0.19

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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  (() => {
3
- // ../sia-reactor/dist/chunk-UQIMMJTY.js
3
+ // ../sia-reactor/dist/chunk-P37ADJMM.js
4
4
  function onAllMethods(owner, callback, skipOwn = true, nested = false) {
5
5
  let proto = owner;
6
6
  while (proto && proto !== Object.prototype) {
@@ -21,7 +21,13 @@
21
21
  return Math.min(Math.max(val, min), max);
22
22
  }
23
23
 
24
- // ../sia-reactor/dist/chunk-4MJUBEI7.js
24
+ // ../sia-reactor/dist/chunk-DP74DVRT.js
25
+ var CTX = {
26
+ /** Flag indicating whether the application is running in development mode. */
27
+ isDevEnv: "undefined" !== typeof process ? process.env.NODE_ENV !== "production" : true,
28
+ /** active `Autotracker` instance, override for automatic dependency collection on `Reactor` traps. */
29
+ autotracker: null
30
+ };
25
31
  var RTR_BATCH = "undefined" !== typeof window ? ("undefined" !== typeof queueMicrotask ? queueMicrotask : setTimeout).bind(window) : "undefined" !== typeof process && process.nextTick ? process.nextTick : setTimeout;
26
32
  var RTR_LOG = console.log.bind(console, "[S.I.A Reactor]");
27
33
  var EVT_WARN = console.warn.bind(console, "[S.I.A Event]");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@t007/toast",
3
- "version": "0.0.14",
3
+ "version": "0.0.19",
4
4
  "description": "A lightweight, pure JS toast system.",
5
5
  "author": "Oketade Oluwatobiloba <tobioketade007@gmail.com>",
6
6
  "license": "MIT",
@@ -53,6 +53,6 @@
53
53
  "promise"
54
54
  ],
55
55
  "dependencies": {
56
- "@t007/utils": "^0.0.16"
56
+ "@t007/utils": "^0.0.21"
57
57
  }
58
58
  }