From 1cc15d90e94e7d9bafc5c7c2dc2a3b48e79de639 Mon Sep 17 00:00:00 2001 From: Westin Wrzesinski Date: Wed, 8 Mar 2023 09:01:27 -0600 Subject: [PATCH] chore: update cross-domain-utils to typescript version --- package.json | 2 +- src/dom.js | 2 +- src/http.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index d37d884..ff5fe82 100644 --- a/package.json +++ b/package.json @@ -100,7 +100,7 @@ }, "dependencies": { "@krakenjs/cross-domain-safe-weakmap": "^2.0.2", - "@krakenjs/cross-domain-utils": "^3.0.2", + "@krakenjs/cross-domain-utils": "^4.0.0-typescript.2", "@krakenjs/zalgo-promise": "^2.0.0" }, "lint-staged": { diff --git a/src/dom.js b/src/dom.js index f86e547..cfb9909 100644 --- a/src/dom.js +++ b/src/dom.js @@ -7,7 +7,7 @@ import { assertSameDomain, type SameDomainWindowType, type CrossDomainWindowType, -} from "@krakenjs/cross-domain-utils/src"; +} from "@krakenjs/cross-domain-utils/dist/esm"; import { WeakMap } from "@krakenjs/cross-domain-safe-weakmap/src"; import { diff --git a/src/http.js b/src/http.js index 01ac117..e9315be 100644 --- a/src/http.js +++ b/src/http.js @@ -1,7 +1,7 @@ /* @flow */ import { ZalgoPromise } from "@krakenjs/zalgo-promise/src"; -import { type SameDomainWindowType } from "@krakenjs/cross-domain-utils/src"; +import { type SameDomainWindowType } from "@krakenjs/cross-domain-utils/dist/esm"; type RequestOptionsType = {| url: string,