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

@basis-theory/basis-theory-js

Package Overview
Dependencies
Maintainers
0
Versions
182
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@basis-theory/basis-theory-js - npm Package Compare versions

Comparing version 4.17.1 to 4.18.0

3

BasisTheory.js

@@ -189,3 +189,4 @@ "use strict";

const elementsUseNgApi = this.initOptions.elementsUseNgApi || false;
await elements.init(apiKey, elementsBaseUrl.toString().replace(/\/$/u, ''), elementsUseNgApi);
const disableTelemetry = this.initOptions.disableTelemetry || false;
await elements.init(apiKey, elementsBaseUrl.toString().replace(/\/$/u, ''), elementsUseNgApi, disableTelemetry);
this.elements = elements;

@@ -192,0 +193,0 @@ } // these should be set by the init call only.

{
"name": "@basis-theory/basis-theory-js",
"version": "4.17.1",
"version": "4.18.0",
"repository": "https://github.com/Basis-Theory/basis-theory-js",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

@@ -62,3 +62,3 @@ import type { HttpClient } from '../../types/sdk';

interface BasisTheoryElementsInternal extends BasisTheoryElements {
init: (apiKey: string | undefined, elementsBaseUrl: string, elementsUseNgApi: boolean | undefined) => Promise<BasisTheoryElements>;
init: (apiKey: string | undefined, elementsBaseUrl: string, elementsUseNgApi: boolean | undefined, disableTelemetry: boolean | undefined) => Promise<BasisTheoryElements>;
hasElement: (payload: unknown) => boolean;

@@ -65,0 +65,0 @@ client: HttpClient;

@@ -11,2 +11,3 @@ import { CreditCardType } from './cardTypes';

useNgApi: boolean | undefined;
disableTelemetry?: boolean | undefined;
}

@@ -13,0 +14,0 @@ declare enum InputMode {

@@ -21,2 +21,3 @@ import type { BasisTheoryElements } from '../../types/elements';

elementsUseNgApi?: boolean;
disableTelemetry?: boolean;
}

@@ -23,0 +24,0 @@ interface BasisTheoryInit {

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