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
11
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.2.2 to 4.3.0

threeds/BasisTheoryThreeDs.d.ts

4

BasisTheory.d.ts
import type { BasisTheoryElements, CardElement, CardExpirationDateElement, CardNumberElement, CardVerificationCodeElement, CreateCardElementOptions, CreateCardExpirationDateElementOptions, CreateCardNumberElementOptions, CreateCardVerificationCodeElementOptions, CreateTextElementOptions, TextElement, TokenizeData as ElementsTokenizeData, Tokens as ElementsTokens } from './types/elements';
import type { TokenizeData } from './types/models';
import type { Applications, ApplicationTemplates, BasisTheory as IBasisTheory, BasisTheoryInit, BasisTheoryInitOptions, BasisTheoryInitOptionsWithElements, BasisTheoryInitOptionsWithoutElements, HttpClient, Logs, Permissions, Proxies, Proxy, ReactorFormulas, Reactors, RequestOptions, Sessions, Tenants, Tokens } from './types/sdk';
import type { Applications, ApplicationTemplates, BasisTheory as IBasisTheory, BasisTheoryInit, BasisTheoryInitOptions, BasisTheoryInitOptionsWithElements, BasisTheoryInitOptionsWithoutElements, HttpClient, Logs, Permissions, Proxies, Proxy, ReactorFormulas, Reactors, RequestOptions, Sessions, Tenants, Tokens, ThreeDS } from './types/sdk';
export declare class BasisTheory implements BasisTheoryInit, IBasisTheory, BasisTheoryElements {

@@ -20,2 +20,3 @@ private _initStatus;

private _sessions?;
private _threeds?;
init(apiKey: string | undefined, options?: BasisTheoryInitOptionsWithoutElements): Promise<IBasisTheory>;

@@ -47,2 +48,3 @@ init(apiKey: string | undefined, options: BasisTheoryInitOptionsWithElements): Promise<IBasisTheory & BasisTheoryElements>;

get sessions(): Sessions;
get threeds(): ThreeDS;
/**

@@ -49,0 +51,0 @@ * @deprecated

@@ -32,2 +32,4 @@ "use strict";

var _threeds = require("./threeds");
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

@@ -139,2 +141,7 @@

});
this._threeds = new _threeds.BasisTheoryThreeDS({
apiKey,
baseURL: new URL(_common.CLIENT_BASE_PATHS.threeds, baseUrl).toString(),
appInfo
});
this._initStatus = 'done';

@@ -243,2 +250,6 @@ } catch (error) {

}
get threeds() {
return (0, _common.assertInit)(this._threeds);
}
/* eslint-enable accessor-pairs */

@@ -245,0 +256,0 @@

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

proxy: 'proxy',
sessions: 'sessions'
sessions: 'sessions',
threeds: '3ds'
};

@@ -44,0 +45,0 @@ exports.CLIENT_BASE_PATHS = CLIENT_BASE_PATHS;

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

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

import type { BasisTheoryElements } from '../../types/elements';
import type { Applications, ApplicationTemplates, HttpClient, Logs, Permissions, Proxies, Proxy, ReactorFormulas, Reactors, Sessions, Tenants, Tokenize, Tokens } from './services';
import type { Applications, ApplicationTemplates, HttpClient, Logs, Permissions, Proxies, Proxy, ReactorFormulas, Reactors, Sessions, Tenants, Tokenize, Tokens, ThreeDS } from './services';
interface ApplicationInfo {

@@ -43,2 +43,3 @@ name?: string;

tokens: Tokens;
threeds: ThreeDS;
}

@@ -45,0 +46,0 @@ interface ClientUserAgent {

@@ -15,1 +15,2 @@ export * from './shared';

export * from './application-templates';
export * from './threeds';

@@ -187,2 +187,15 @@ "use strict";

});
});
var _threeds = require("./threeds");
Object.keys(_threeds).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
if (key in exports && exports[key] === _threeds[key]) return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function () {
return _threeds[key];
}
});
});
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