@chargehive/types 2.0.1 → 2.0.2

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.
Files changed (2) hide show
  1. package/chargehive.d.ts +5 -0
  2. package/package.json +2 -2
package/chargehive.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import {FieldName as PCIBFieldName, PCIBridgeTokenizeResponse} from '@pci-bridge/types/pcibridge';
2
2
  import {FieldValidation} from '@pci-bridge/types/validation';
3
+ import {InitResponse} from '../src/types/paymentauth';
3
4
  import {Address, Person} from './address';
4
5
 
5
6
  declare global
@@ -36,6 +37,10 @@ export interface ChargeHiveType extends ChargeType, ChargeHiveEventTarget
36
37
 
37
38
  initialize(placementToken: string, projectId: string, options: ChargeHiveInitOptions);
38
39
 
40
+ isInitialized(): boolean;
41
+
42
+ getInitResponse(): InitResponse | undefined;
43
+
39
44
  validate(field?: FieldName, timeout?: number): Promise<Map<FieldName, FieldValidation>>;
40
45
 
41
46
  tokenize(): Promise<TokenizeResponse>;
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "*.d.ts"
7
7
  ],
8
8
  "dependencies": {
9
- "@pci-bridge/types": "^1.1.0"
9
+ "@pci-bridge/types": "^1.0.2"
10
10
  },
11
- "version": "2.0.1"
11
+ "version": "2.0.2"
12
12
  }