@portone/browser-sdk
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -809,3 +809,3 @@ var _a; | ||
} | ||
constructor({ code, message, identityVerificationId, identityVerificationTxId, }) { | ||
constructor({ code, message, identityVerificationId, identityVerificationTxId, pgCode, pgMessage, }) { | ||
super(message); | ||
@@ -818,2 +818,4 @@ this.__portOneErrorType = 'IdentityVerificationError'; | ||
this.identityVerificationTxId = identityVerificationTxId; | ||
this.pgCode = pgCode; | ||
this.pgMessage = pgMessage; | ||
} | ||
@@ -830,3 +832,3 @@ } | ||
} | ||
constructor({ txId, paymentId, billingKey, code, message, }) { | ||
constructor({ txId, paymentId, billingKey, code, message, pgCode, pgMessage, }) { | ||
super(message); | ||
@@ -840,2 +842,4 @@ this.__portOneErrorType = 'IssueBillingKeyAndPayError'; | ||
this.message = message; | ||
this.pgCode = pgCode; | ||
this.pgMessage = pgMessage; | ||
} | ||
@@ -851,3 +855,3 @@ } | ||
} | ||
constructor({ code, message, billingKey, }) { | ||
constructor({ code, message, billingKey, pgCode, pgMessage, }) { | ||
super(message); | ||
@@ -859,2 +863,4 @@ this.__portOneErrorType = 'IssueBillingKeyError'; | ||
this.billingKey = billingKey; | ||
this.pgCode = pgCode; | ||
this.pgMessage = pgMessage; | ||
} | ||
@@ -885,3 +891,3 @@ } | ||
} | ||
constructor({ code, message, txId, paymentId, }) { | ||
constructor({ code, message, txId, paymentId, pgCode, pgMessage, }) { | ||
super(message); | ||
@@ -894,2 +900,4 @@ this.__portOneErrorType = 'PaymentError'; | ||
this.paymentId = paymentId; | ||
this.pgCode = pgCode; | ||
this.pgMessage = pgMessage; | ||
} | ||
@@ -896,0 +904,0 @@ } |
import { DanalIdentityVerificationBypass } from './Danal.js'; | ||
import { InicisUnifiedIdentityVerificationBypass } from './InicisUnified.js'; | ||
export type IdentityVerificationBypass = { | ||
danal?: DanalIdentityVerificationBypass; | ||
inicisUnified?: InicisUnifiedIdentityVerificationBypass; | ||
}; |
@@ -15,3 +15,5 @@ import { PortOneError } from './index.js'; | ||
identityVerificationTxId?: string; | ||
constructor({ code, message, identityVerificationId, identityVerificationTxId, }: { | ||
pgCode?: string; | ||
pgMessage?: string; | ||
constructor({ code, message, identityVerificationId, identityVerificationTxId, pgCode, pgMessage, }: { | ||
code: IdentityVerificationErrorCode; | ||
@@ -21,3 +23,5 @@ message: string; | ||
identityVerificationTxId?: string; | ||
pgCode?: string; | ||
pgMessage?: string; | ||
}); | ||
} |
@@ -17,3 +17,5 @@ import { CheckoutServiceErrorCode } from './CheckoutServiceErrorCode.js'; | ||
message: string; | ||
constructor({ txId, paymentId, billingKey, code, message, }: { | ||
pgCode?: string; | ||
pgMessage?: string; | ||
constructor({ txId, paymentId, billingKey, code, message, pgCode, pgMessage, }: { | ||
txId?: string; | ||
@@ -24,4 +26,6 @@ paymentId?: string; | ||
message: string; | ||
pgCode?: string; | ||
pgMessage?: string; | ||
}); | ||
} | ||
export default IssueBillingKeyAndPayError; |
@@ -14,8 +14,12 @@ import { PortOneError } from './index.js'; | ||
billingKey?: string; | ||
constructor({ code, message, billingKey, }: { | ||
pgCode?: string; | ||
pgMessage?: string; | ||
constructor({ code, message, billingKey, pgCode, pgMessage, }: { | ||
code: IssueBillingKeyErrorCode; | ||
message: string; | ||
billingKey?: string; | ||
pgCode?: string; | ||
pgMessage?: string; | ||
}); | ||
} | ||
export default IssueBillingKeyError; |
@@ -15,3 +15,5 @@ import { PortOneError } from './index.js'; | ||
paymentId?: string; | ||
constructor({ code, message, txId, paymentId, }: { | ||
pgCode?: string; | ||
pgMessage?: string; | ||
constructor({ code, message, txId, paymentId, pgCode, pgMessage, }: { | ||
code: PaymentErrorCode; | ||
@@ -21,3 +23,5 @@ message: string; | ||
paymentId?: string; | ||
pgCode?: string; | ||
pgMessage?: string; | ||
}); | ||
} |
{ | ||
"name": "@portone/browser-sdk", | ||
"type": "module", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "PortOne SDK for browser", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
147084
87
3987
1