@kodiak-finance/orderly-hooks 2.9.1-alpha.2 → 2.9.1-alpha.4
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/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -20095,6 +20095,9 @@ var FlagKeys = /* @__PURE__ */ ((FlagKeys2) => {
|
|
|
20095
20095
|
// src/index.ts
|
|
20096
20096
|
var ensureWindowEvents = () => {
|
|
20097
20097
|
if (typeof globalThis === "undefined") return;
|
|
20098
|
+
if (typeof process !== "undefined" && process.versions?.node) {
|
|
20099
|
+
return;
|
|
20100
|
+
}
|
|
20098
20101
|
const g = globalThis;
|
|
20099
20102
|
const win = g.window ?? g;
|
|
20100
20103
|
if (typeof win.addEventListener !== "function") {
|