@basis-theory/basis-theory-js 1.53.0 → 1.54.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.53.0",
3
+ "version": "1.54.0",
4
4
  "repository": "https://github.com/Basis-Theory/basis-theory-js",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -20,6 +20,7 @@ interface SanitizedElementOptions {
20
20
  iconPosition?: string;
21
21
  cardBrand?: string;
22
22
  autoComplete?: string;
23
+ value?: CardElementValue<'static'> | CardExpirationDateValue<'static'> | string;
23
24
  }
24
25
  declare type ElementOptions = ElementInternalOptions & SanitizedElementOptions;
25
26
  declare type Transform = RegExp | [RegExp, string?] | null;
@@ -1,5 +1,5 @@
1
1
  import type { Auditable } from './shared';
2
- declare const APPLICATION_TYPES: readonly ["private", "public", "management"];
2
+ declare const APPLICATION_TYPES: readonly ["private", "public", "management", "expiring"];
3
3
  declare const TRANSFORM_TYPES: readonly ["mask", "redact", "reveal"];
4
4
  declare type ApplicationType = typeof APPLICATION_TYPES[number];
5
5
  declare type TransformType = typeof TRANSFORM_TYPES[number];
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.TRANSFORM_TYPES = exports.APPLICATION_TYPES = void 0;
7
- const APPLICATION_TYPES = ['private', 'public', 'management'];
7
+ const APPLICATION_TYPES = ['private', 'public', 'management', 'expiring'];
8
8
  exports.APPLICATION_TYPES = APPLICATION_TYPES;
9
9
  const TRANSFORM_TYPES = ['mask', 'redact', 'reveal'];
10
10
  exports.TRANSFORM_TYPES = TRANSFORM_TYPES;