-
-
Notifications
You must be signed in to change notification settings - Fork 3
Delete the sumupApi and squareApi alias wrapper exports #2061
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
6f09d07
9039160
366a499
855c65f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -846,16 +846,6 @@ export const squareApi: { | |
| }, | ||
| }; | ||
|
|
||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Because this deletion removes the top-level AGENTS.md reference: AGENTS.md:L170-L177 Useful? React with 👍 / 👎.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed in 366a499 — the Generated by Claude Code |
||
| // Wrapper exports for production code (delegate to squareApi for test mocking) | ||
| export const getSquareClient = () => squareApi.getSquareClient(); | ||
| export const resetSquareClient = () => squareApi.resetSquareClient(); | ||
| export const testSquareConnection = () => squareApi.testSquareConnection(); | ||
| export const createPaymentLink = (i: CheckoutIntent, b: string) => | ||
| squareApi.createPaymentLink(i, b); | ||
| export const retrieveOrder = (id: string) => squareApi.retrieveOrder(id); | ||
| export const retrievePayment = (id: string) => squareApi.retrievePayment(id); | ||
| export const refundPayment = (id: string) => squareApi.refundPayment(id); | ||
|
|
||
| /** Result of testing the Square connection */ | ||
| export type SquareConnectionTestResult = { | ||
| ok: boolean; | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.