New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@basis-theory/basis-theory-elements-interfaces

Package Overview
Dependencies
Maintainers
9
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@basis-theory/basis-theory-elements-interfaces - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

5

elements/elements.d.ts

@@ -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, };

2

package.json
{
"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' });
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc