New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@chargehive/types

Package Overview
Dependencies
Maintainers
2
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chargehive/types - npm Package Compare versions

Comparing version
2.7.1
to
2.7.2
+9
-2
chargehive.d.ts

@@ -60,3 +60,3 @@ import {

validate(field?: FieldName, timeout?: number): Promise<Map<FieldName, Validation>>;
validate(field?: FieldName, timeout?: number): Promise<ValidationEventData>;

@@ -316,3 +316,3 @@ tokenize(): Promise<TokenizeResponse>;

readonly 'authentication': AuthenticationEvent;
readonly 'error': object;
readonly 'error': ChargehiveErrorEvent;
readonly 'token-config': PaymentMethodTokenizationConfig[PaymentMethodType];

@@ -358,2 +358,9 @@ readonly 'capability': ChargehiveCapabilityEvent;

interface ChargehiveErrorEvent
{
requestId: string;
error: string;
code: string;
}
interface ChargehiveDeclinedEvent

@@ -360,0 +367,0 @@ {

+1
-1

@@ -11,3 +11,3 @@ {

},
"version": "2.7.1"
"version": "2.7.2"
}

@@ -7,3 +7,3 @@ import {

export type ValidationEventData = Map<FieldName, Validation>;
export type ValidationEventData = Map<FieldName | string, Validation>;

@@ -10,0 +10,0 @@ export type Validator = () => Promise<ValidationEventData>;