@tscircuit/core 0.0.638 → 0.0.639
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 +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12767,7 +12767,7 @@ import { identity as identity5 } from "transformation-matrix";
|
|
|
12767
12767
|
var package_default = {
|
|
12768
12768
|
name: "@tscircuit/core",
|
|
12769
12769
|
type: "module",
|
|
12770
|
-
version: "0.0.
|
|
12770
|
+
version: "0.0.638",
|
|
12771
12771
|
types: "dist/index.d.ts",
|
|
12772
12772
|
main: "dist/index.js",
|
|
12773
12773
|
module: "dist/index.js",
|
|
@@ -13036,11 +13036,11 @@ var RootCircuit = class {
|
|
|
13036
13036
|
);
|
|
13037
13037
|
}
|
|
13038
13038
|
getClientOrigin() {
|
|
13039
|
-
if (typeof window !== "undefined") {
|
|
13039
|
+
if (typeof window !== "undefined" && window.location) {
|
|
13040
13040
|
return window.location.origin;
|
|
13041
13041
|
}
|
|
13042
|
-
if (typeof self !== "undefined") {
|
|
13043
|
-
return self.origin;
|
|
13042
|
+
if (typeof self !== "undefined" && self.location) {
|
|
13043
|
+
return self.location.origin;
|
|
13044
13044
|
}
|
|
13045
13045
|
return "";
|
|
13046
13046
|
}
|