@getopenpay/openpay-js 0.2.11-alpha.5523a0e → 0.2.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -543,7 +543,7 @@ declare const OjsFlows = {
543
543
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
544
544
  } satisfies Record<string, OjsFlow<any, any>>;
545
545
 
546
- declare type OnCheckoutError = (message: string) => void;
546
+ declare type OnCheckoutError = (message: string, errorCode?: string) => void;
547
547
 
548
548
  declare type OnCheckoutStarted = () => void;
549
549