Skip to content

Commit

Permalink
Update script source (#107)
Browse files Browse the repository at this point in the history
* scriptg

* push
  • Loading branch information
jojo-stripe authored Apr 2, 2024
1 parent db0b379 commit 11e1df1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const findScript = (): HTMLScriptElement | null => {

const injectScript = (): HTMLScriptElement => {
const script = document.createElement("script");
script.src = "https://connect-js.stripe.com/v0.1/connect.js";
script.src = "https://connect-js.stripe.com/v1.0/connect.js";

const head = document.head;

Expand Down
2 changes: 1 addition & 1 deletion src/utils/jestHelpers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const SCRIPT_SELECTOR =
'script[src^="https://connect-js.stripe.com/v0.1/connect.js"]';
'script[src^="https://connect-js.stripe.com/v1.0/connect.js"]';

export {};

0 comments on commit 11e1df1

Please sign in to comment.