@basis-theory/basis-theory-js
Advanced tools
Comparing version
@@ -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'; |
17
index.js
@@ -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) | ||
[](https://www.npmjs.org/package/@basis-theory/basis-theory-js) | ||
[](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
4
-33.33%2044
0.29%70
7.69%92805
-47.47%105
-0.94%- Removed
- Removed
- Removed
- Removed