@basis-theory/react-elements 1.16.0 → 1.17.0

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/types/index.d.ts +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@basis-theory/react-elements",
3
- "version": "1.16.0",
3
+ "version": "1.17.0",
4
4
  "repository": "https://github.com/basis-theory/react-elements",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -30,7 +30,7 @@
30
30
  "tag": "latest"
31
31
  },
32
32
  "dependencies": {
33
- "@basis-theory/web-elements": "1.16.0"
33
+ "@basis-theory/web-elements": "1.17.0"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
package/types/index.d.ts CHANGED
@@ -570,7 +570,8 @@ export const basistheory: (apiKey: string, options?: BasisTheoryInitOptions) =>
570
570
  export class BasisTheoryApiError extends Error {
571
571
  readonly status: number;
572
572
  readonly data?: unknown | undefined;
573
- constructor(message: string, status: number, data?: unknown | undefined);
573
+ readonly _debug?: Record<string, unknown> | undefined;
574
+ constructor(message: string, status: number, data?: unknown | undefined, _debug?: Record<string, unknown> | undefined);
574
575
  }
575
576
  export class BasisTheoryValidationError<Details = Record<string, unknown>> extends Error {
576
577
  readonly details: Details;