You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@basis-theory/basis-theory-js

Package Overview
Dependencies
Maintainers
8
Versions
187
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

to
1.0.1

8

index.d.ts

@@ -1,5 +0,7 @@

import 'regenerator-runtime/runtime';
import { BasisTheory } from './BasisTheory';
declare const _default: BasisTheory;
export default _default;
/**
* Default instance used to expose bundle in <script> tags. <br/>
* Not meant to be used in Node environment.
*/
export declare const _instance: BasisTheory;
export * from './BasisTheory';

@@ -6,0 +8,0 @@ export * from './encryption';

@@ -6,7 +6,7 @@ "use strict";

});
var _exportNames = {};
exports.default = void 0;
var _exportNames = {
_instance: true
};
exports._instance = void 0;
require("regenerator-runtime/runtime");
var _BasisTheory = require("./BasisTheory");

@@ -68,5 +68,8 @@

// import 'core-js';
var _default = new _BasisTheory.BasisTheory();
/**
* Default instance used to expose bundle in <script> tags. <br/>
* Not meant to be used in Node environment.
*/
const _instance = new _BasisTheory.BasisTheory();
exports.default = _default;
exports._instance = _instance;
{
"name": "@basis-theory/basis-theory-js",
"version": "1.0.0",
"version": "1.0.1",
"repository": "https://github.com/Basis-Theory/basis-theory-js",

@@ -10,7 +10,8 @@ "license": "Apache-2.0",

},
"main": "basis-theory-js.bundle.js",
"main": "index.js",
"module": "index.js",
"typings": "index.d.ts",
"files": [
"*"
"*",
"!*.bundle.js"
],

@@ -20,4 +21,2 @@ "dependencies": {

"camelcase-keys": "^6.2.2",
"core-js": "^3.8.3",
"process": "^0.11.10",
"snake-case": "^3.0.4",

@@ -31,9 +30,3 @@ "snakecase-keys": "^3.2.1"

"access": "public"
},
"size-limit": [
{
"path": "dist/basis-theory-js.bundle.js",
"limit": "50 KB"
}
]
}
}

@@ -1,3 +0,8 @@

# BasisTheory JS SDK (aka BasisTheory.js)
# Basis Theory JS SDK (aka BasisTheory.js)
[![Version](https://img.shields.io/npm/v/@basis-theory/basis-theory-js.svg)](https://www.npmjs.org/package/@basis-theory/basis-theory-js)
[![Verify](https://github.com/Basis-Theory/basis-theory-js/actions/workflows/release.yml/badge.svg)](https://github.com/Basis-Theory/basis-theory-js/actions/workflows/release.yml)
The [Basis Theory](https://basistheory.com/) JS SDK
## Installation

@@ -4,0 +9,0 @@

Sorry, the diff of this file is not supported yet