@chargehive/types 2.7.3 → 2.7.4

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 +4 -3
  2. package/package.json +1 -1
package/chargehive.d.ts CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  PCIBridgeTokenizeEphemeralResponse,
5
5
  PCIBridgeTokenizeResponse,
6
6
  } from '@pci-bridge/types/pcibridge';
7
- import {Validation, ValidationEventData, Validator} from './validation';
7
+ import {ValidationEventData, Validator} from './validation';
8
8
  import {Address, Person} from './address';
9
9
 
10
10
  type EmptyObject = Record<string, never>;
@@ -355,9 +355,10 @@ interface ChargehiveSuccessEvent
355
355
 
356
356
  interface ChargehiveErrorEvent
357
357
  {
358
- requestId: string;
358
+ requestId?: string;
359
+ code?: string;
359
360
  error: string;
360
- code: string;
361
+ method: PaymentMethodType;
361
362
  }
362
363
 
363
364
  interface ChargehiveDeclinedEvent
package/package.json CHANGED
@@ -8,5 +8,5 @@
8
8
  "dependencies": {
9
9
  "@pci-bridge/types": "*"
10
10
  },
11
- "version": "2.7.3"
11
+ "version": "2.7.4"
12
12
  }