@portone/browser-sdk
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -747,2 +747,3 @@ var _a; | ||
}; | ||
const InversionPgProvider = Object.entries(PgProvider).reduce((acc, [k, v]) => (Object.assign(Object.assign({}, acc), { [v]: k })), {}); | ||
@@ -794,2 +795,3 @@ /** | ||
GiftCertificateType: GiftCertificateType, | ||
InversionPgProvider: InversionPgProvider, | ||
IssueBillingKeyUIType: IssueBillingKeyUIType, | ||
@@ -796,0 +798,0 @@ Locale: Locale, |
export type HyphenBypass = { | ||
disgnCd?: string; | ||
designCd?: string; | ||
}; |
@@ -18,2 +18,3 @@ export { Bank } from './Bank.js'; | ||
export { IssueBillingKeyUIType } from './IssueBillingKeyUIType.js'; | ||
export { InversionPgProvider } from './PgProvider.js'; | ||
export type { Address } from './Address.js'; | ||
@@ -20,0 +21,0 @@ export type { CashReceiptType } from './CashReceiptType.js'; |
@@ -47,1 +47,51 @@ export declare const PgProvider: { | ||
export type PgProvider = typeof PgProvider[keyof typeof PgProvider]; | ||
type InversionMap<T extends Record<keyof T, keyof any>> = { | ||
[K in keyof T as T[K]]: K; | ||
}; | ||
export declare const InversionPgProvider: InversionMap<{ | ||
readonly HTML5_INICIS: "PG_PROVIDER_HTML5_INICIS"; | ||
readonly PAYPAL: "PG_PROVIDER_PAYPAL"; | ||
readonly INICIS: "PG_PROVIDER_INICIS"; | ||
readonly DANAL: "PG_PROVIDER_DANAL"; | ||
readonly NICE: "PG_PROVIDER_NICE"; | ||
readonly DANAL_TPAY: "PG_PROVIDER_DANAL_TPAY"; | ||
readonly UPLUS: "PG_PROVIDER_UPLUS"; | ||
readonly NAVERPAY: "PG_PROVIDER_NAVERPAY"; | ||
readonly SETTLE: "PG_PROVIDER_SETTLE"; | ||
readonly KCP: "PG_PROVIDER_KCP"; | ||
readonly MOBILIANS: "PG_PROVIDER_MOBILIANS"; | ||
readonly KAKAOPAY: "PG_PROVIDER_KAKAOPAY"; | ||
readonly NAVERCO: "PG_PROVIDER_NAVERCO"; | ||
readonly KICC: "PG_PROVIDER_KICC"; | ||
readonly EXIMBAY: "PG_PROVIDER_EXIMBAY"; | ||
readonly SMILEPAY: "PG_PROVIDER_SMILEPAY"; | ||
readonly PAYCO: "PG_PROVIDER_PAYCO"; | ||
readonly KCP_BILLING: "PG_PROVIDER_KCP_BILLING"; | ||
readonly ALIPAY: "PG_PROVIDER_ALIPAY"; | ||
readonly CHAI: "PG_PROVIDER_CHAI"; | ||
readonly BLUEWALNUT: "PG_PROVIDER_BLUEWALNUT"; | ||
readonly SMARTRO: "PG_PROVIDER_SMARTRO"; | ||
readonly PAYMENTWALL: "PG_PROVIDER_PAYMENTWALL"; | ||
readonly TOSSPAYMENTS: "PG_PROVIDER_TOSSPAYMENTS"; | ||
readonly KCP_QUICK: "PG_PROVIDER_KCP_QUICK"; | ||
readonly DAOU: "PG_PROVIDER_DAOU"; | ||
readonly GALAXIA: "PG_PROVIDER_GALAXIA"; | ||
readonly TOSSPAY: "PG_PROVIDER_TOSSPAY"; | ||
readonly KCP_DIRECT: "PG_PROVIDER_KCP_DIRECT"; | ||
readonly SETTLE_ACC: "PG_PROVIDER_SETTLE_ACC"; | ||
readonly SETTLE_FIRM: "PG_PROVIDER_SETTLE_FIRM"; | ||
readonly INICIS_UNIFIED: "PG_PROVIDER_INICIS_UNIFIED"; | ||
readonly KSNET: "PG_PROVIDER_KSNET"; | ||
readonly PAYPAL_V2: "PG_PROVIDER_PAYPAL_V2"; | ||
readonly SMARTRO_V2: "PG_PROVIDER_SMARTRO_V2"; | ||
readonly NICE_V2: "PG_PROVIDER_NICE_V2"; | ||
readonly TOSS_BRANDPAY: "PG_PROVIDER_TOSS_BRANDPAY"; | ||
readonly WELCOME: "PG_PROVIDER_WELCOME"; | ||
readonly TOSSPAY_V2: "PG_PROVIDER_TOSSPAY_V2"; | ||
readonly INICIS_V2: "PG_PROVIDER_INICIS_V2"; | ||
readonly KPN: "PG_PROVIDER_KPN"; | ||
readonly KCP_V2: "PG_PROVIDER_KCP_V2"; | ||
readonly HYPHEN: "PG_PROVIDER_HYPHEN"; | ||
}>; | ||
export type InversionPgProvider = typeof InversionPgProvider[keyof typeof InversionPgProvider]; | ||
export {}; |
@@ -36,2 +36,3 @@ import { Entity, PaymentError, PaymentResponse } from './index.js'; | ||
shippingAddress?: Entity.Address; | ||
promotionGroupId?: string; | ||
}>; |
@@ -21,6 +21,8 @@ import { Entity } from './index.js'; | ||
transactionType: typeof Entity.TransactionType.IDENTITY_VERIFICATION; | ||
identityVerificationId?: string; | ||
identityVerificationId: string; | ||
identityVerificationTxId: string; | ||
code?: string; | ||
message?: string; | ||
pgCode?: string; | ||
pgMessage?: string; | ||
}; |
@@ -34,2 +34,4 @@ import { CapsToCamel } from '../utils.js'; | ||
message?: string; | ||
pgCode?: string; | ||
pgMessage?: string; | ||
}; | ||
@@ -36,0 +38,0 @@ type BillingKeyMethodOptions<Method extends Entity.BillingKeyMethod, T> = { |
@@ -41,2 +41,4 @@ import { CapsToCamel } from '../utils.js'; | ||
message?: string; | ||
pgCode?: string; | ||
pgMessage?: string; | ||
}; | ||
@@ -43,0 +45,0 @@ type BillingKeyAndPayMethodOptions<Method extends Entity.BillingKeyAndPayMethod, T> = { |
@@ -41,6 +41,8 @@ import { CapsToCamel, OneOfType } from '../utils.js'; | ||
transactionType: typeof Entity.TransactionType.PAYMENT; | ||
paymentId: string; | ||
txId: string; | ||
paymentId?: string; | ||
code?: string; | ||
message?: string; | ||
pgCode?: string; | ||
pgMessage?: string; | ||
}; | ||
@@ -47,0 +49,0 @@ type PayMethodOptions<Method extends Entity.PayMethod, T> = { |
{ | ||
"name": "@portone/browser-sdk", | ||
"type": "module", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"description": "PortOne SDK for browser", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
149972
4051
0