@basis-theory/basis-theory-elements-interfaces
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -21,5 +21,6 @@ import type { ElementEventListener, EventType, Subscription } from './events'; | ||
} | ||
interface BasisTheoryElementsInit extends BasisTheoryElements { | ||
interface BasisTheoryElementsInternal extends BasisTheoryElements { | ||
init: (apiKey: string, elementsBaseUrl: string) => Promise<BasisTheoryElements>; | ||
hasElement: (payload: unknown) => boolean; | ||
} | ||
export type { BaseElement, CardElement, TextElement, BasisTheoryElements, BasisTheoryElementsInit, }; | ||
export type { BaseElement, CardElement, TextElement, BasisTheoryElements, BasisTheoryElementsInternal, }; |
{ | ||
"name": "@basis-theory/basis-theory-elements-interfaces", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"repository": "https://github.com/Basis-Theory/basis-theory-elements-interfaces", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
@@ -69,3 +69,3 @@ # Basis Theory Elements Interfaces | ||
const myInput = bt.createElement('text', { targetId: 'myInputId' }); | ||
const myInput: TextElement = bt.createElement('text', { targetId: 'myInputId' }); | ||
``` |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
54372
1043
0