@basis-theory/basis-theory-js 1.45.0 → 1.46.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@basis-theory/basis-theory-js",
3
- "version": "1.45.0",
3
+ "version": "1.46.0",
4
4
  "repository": "https://github.com/Basis-Theory/basis-theory-js",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -0,0 +1,5 @@
1
+ interface Bank {
2
+ routingNumber: string;
3
+ accountNumber: string;
4
+ }
5
+ export type { Bank };
@@ -0,0 +1 @@
1
+ "use strict";
@@ -0,0 +1,7 @@
1
+ interface Card {
2
+ number: string;
3
+ expirationMonth?: number;
4
+ expirationYear?: number;
5
+ cvc?: string;
6
+ }
7
+ export type { Card };
@@ -0,0 +1 @@
1
+ "use strict";
@@ -8,3 +8,5 @@ export * from './reactors';
8
8
  export * from './permissions';
9
9
  export * from './tokenize';
10
10
  export * from './proxies';
11
+ export * from './banks';
12
+ export * from './cards';
@@ -132,4 +132,30 @@ Object.keys(_proxies).forEach(function (key) {
132
132
  return _proxies[key];
133
133
  }
134
134
  });
135
+ });
136
+
137
+ var _banks = require("./banks");
138
+
139
+ Object.keys(_banks).forEach(function (key) {
140
+ if (key === "default" || key === "__esModule") return;
141
+ if (key in exports && exports[key] === _banks[key]) return;
142
+ Object.defineProperty(exports, key, {
143
+ enumerable: true,
144
+ get: function () {
145
+ return _banks[key];
146
+ }
147
+ });
148
+ });
149
+
150
+ var _cards = require("./cards");
151
+
152
+ Object.keys(_cards).forEach(function (key) {
153
+ if (key === "default" || key === "__esModule") return;
154
+ if (key in exports && exports[key] === _cards[key]) return;
155
+ Object.defineProperty(exports, key, {
156
+ enumerable: true,
157
+ get: function () {
158
+ return _cards[key];
159
+ }
160
+ });
135
161
  });