Skip to content

Commit

Permalink
update axo loader library
Browse files Browse the repository at this point in the history
  • Loading branch information
wsbrunson committed Feb 29, 2024
1 parent f841797 commit 2de6242
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/connect/component.jsx
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
4 changes: 2 additions & 2 deletions src/connect/component.test.js
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down Expand Up @@ -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(),
};
Expand Down

0 comments on commit 2de6242

Please sign in to comment.