diff --git a/package.json b/package.json index 8e82d9715a..c679033ed5 100644 --- a/package.json +++ b/package.json @@ -110,8 +110,8 @@ "@krakenjs/post-robot": "^11.0.0", "@krakenjs/zalgo-promise": "^2.0.0", "@krakenjs/zoid": "^10.3.1", + "@paypal/accelerated-checkout-loader": "^1.0.0", "@paypal/common-components": "^1.0.35", - "@paypal/connect-loader-component": "1.1.1", "@paypal/funding-components": "^1.0.31", "@paypal/sdk-client": "^4.0.181", "@paypal/sdk-constants": "^1.0.141", diff --git a/src/connect/component.jsx b/src/connect/component.jsx index 8370249a1f..62780d6c86 100644 --- a/src/connect/component.jsx +++ b/src/connect/component.jsx @@ -1,5 +1,5 @@ /* @flow */ -import { loadAxo } from "@paypal/connect-loader-component"; +import { loadAxo } from "@paypal/accelerated-checkout-loader"; import { stringifyError } from "@krakenjs/belter/src"; import { getClientID, diff --git a/src/connect/component.test.js b/src/connect/component.test.js index d7e0e71c64..d15dcac12e 100644 --- a/src/connect/component.test.js +++ b/src/connect/component.test.js @@ -1,7 +1,7 @@ /* @flow */ import { getUserIDToken, getSDKToken } from "@paypal/sdk-client/src"; -import { loadAxo } from "@paypal/connect-loader-component"; +import { loadAxo } from "@paypal/accelerated-checkout-loader"; import { describe, expect, test, vi } from "vitest"; import { @@ -30,7 +30,7 @@ vi.mock("@paypal/sdk-client/src", () => { }; }); -vi.mock("@paypal/connect-loader-component", () => { +vi.mock("@paypal/accelerated-checkout-loader", () => { return { loadAxo: vi.fn(), };