@basis-theory/react-elements 1.8.0 → 1.10.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,23 @@
1
+ ## [1.9.0] - 2025-03-13
2
+
3
+ ### Features
4
+
5
+ - 4e13acd 2025-03-12 feat: generate versioned SRI for web-elements loader (#399) by kevin@basistheory.com
6
+
7
+ ### Bug Fixes
8
+
9
+ - c148762 2025-03-13 fix: add dd rum url to csp (#400) by kevin@basistheory.com
10
+
11
+ ### Chores
12
+
13
+ - dfc875d 2025-03-10 chore: add Elements PCI inventory script to PR check (#397) by brandon@basistheory.com
14
+
15
+ ## [1.8.0] - 2025-03-07
16
+
17
+ ### Features
18
+
19
+ - 0a14886 2025-03-07 feat(eng-8106): adding issuerCountry field into token intent model (#396) by 62716969+washluis-alencar@users.noreply.github.com
20
+
1
21
  ## [1.7.3] - 2025-03-07
2
22
 
3
23
  ### Bug Fixes
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@basis-theory/react-elements",
3
- "version": "1.8.0",
3
+ "version": "1.10.0",
4
4
  "repository": "https://github.com/basis-theory/react-elements",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@basis-theory/basis-theory-js": "^4.27.0",
35
- "@basis-theory/web-elements": "1.8.0"
35
+ "@basis-theory/web-elements": "1.10.0"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
@@ -479,6 +479,7 @@ interface BasisTheoryInitOptions {
479
479
  _devMode?: boolean;
480
480
  disableTelemetry?: boolean;
481
481
  useSameOriginApi?: boolean;
482
+ debug?: boolean;
482
483
  }
483
484
  declare global {
484
485
  interface Window {
@@ -3,6 +3,7 @@ interface BasisTheoryInitOptions {
3
3
  _devMode?: boolean;
4
4
  disableTelemetry?: boolean;
5
5
  useSameOriginApi?: boolean;
6
+ debug?: boolean;
6
7
  }
7
8
  declare const basistheory: (apiKey: string, options?: BasisTheoryInitOptions) => Promise<BasisTheoryElements | undefined>;
8
9
  export { basistheory, BasisTheoryInitOptions };
@@ -63,7 +63,7 @@ interface BasisTheoryElements {
63
63
  createElement(type: 'cardVerificationCode', options: CreateCardVerificationCodeElementOptions): CardVerificationCodeElement;
64
64
  }
65
65
  interface BasisTheoryElementsInternal extends BasisTheoryElements {
66
- init: (apiKey: string | undefined, elementsBaseUrl: string, elementsUseNgApi: boolean | undefined, disableTelemetry: boolean | undefined, elementsUseSameOriginApi: boolean | undefined) => Promise<BasisTheoryElements>;
66
+ init: (apiKey: string | undefined, elementsBaseUrl: string, elementsUseNgApi: boolean | undefined, elementsUseSameOriginApi: boolean | undefined, disableTelemetry: boolean | undefined, debug: boolean | undefined) => Promise<BasisTheoryElements>;
67
67
  hasElement: (payload: unknown) => boolean;
68
68
  }
69
69
  declare global {
@@ -1 +1 @@
1
- export const version: "1.8.0";
1
+ export const version: "1.10.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@basis-theory/react-elements",
3
- "version": "1.8.0",
3
+ "version": "1.10.0",
4
4
  "repository": "https://github.com/basis-theory/react-elements",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -57,7 +57,7 @@
57
57
  ],
58
58
  "dependencies": {
59
59
  "@basis-theory/basis-theory-js": "^4.27.0",
60
- "@basis-theory/web-elements": "1.8.0"
60
+ "@basis-theory/web-elements": "1.10.0"
61
61
  },
62
62
  "peerDependencies": {
63
63
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0",