diff --git a/package.json b/package.json index 610b972..bdc4c7a 100644 --- a/package.json +++ b/package.json @@ -91,7 +91,7 @@ "standard-version": "^9.3.2" }, "dependencies": { - "@krakenjs/cross-domain-utils": "^3.0.2" + "@krakenjs/cross-domain-utils": "^v4.0.0-typescript.2" }, "lint-staged": { "*": "prettier --write --ignore-unknown" diff --git a/src/weakmap.js b/src/weakmap.js index 86c3606..012ee87 100644 --- a/src/weakmap.js +++ b/src/weakmap.js @@ -1,6 +1,9 @@ /* @flow */ -import { isWindow, isWindowClosed } from "@krakenjs/cross-domain-utils/src"; +import { + isWindow, + isWindowClosed, +} from "@krakenjs/cross-domain-utils/dist/esm"; import { hasNativeWeakMap } from "./native"; import { noop, safeIndexOf } from "./util";