Skip to content

Commit 773a29c

Browse files
committed
removal of transak config
1 parent 516bfb4 commit 773a29c

File tree

6 files changed

+0
-22
lines changed

6 files changed

+0
-22
lines changed

es/sdk/web/checkout-sdk/hooks/useSelectPaymentModal.mdx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,6 @@ function BuyNFT() {
111111
currencyAddress,
112112
collectionAddress,
113113
creditCardProviders: ['transak'],
114-
transakConfig: {
115-
contractId: 'your-contract-id',
116-
apiKey: 'your-api-key'
117-
},
118114
onSuccess: (txnHash: string) => {
119115
console.log('success!', txnHash)
120116
},
@@ -172,7 +168,6 @@ El objeto `settings` puede incluir las siguientes propiedades:
172168
| `currencyAddress` | `string` | Dirección del contrato del token de la moneda |
173169
| `collectionAddress` | `string` | Dirección del contrato de la colección NFT |
174170
| `creditCardProviders` | `string[]` | Lista de proveedores de tarjetas de crédito compatibles (por ejemplo, 'transak') |
175-
| `transakConfig` | `object` | Configuración para la integración con Transak |
176171
| `copyrightText` | `string` | Texto de derechos de autor para mostrar en el modal |
177172
| `onSuccess` | `(txnHash: string) => void` | Callback cuando la transacción es exitosa |
178173
| `onError` | `(error: Error) => void` | Callback cuando ocurre un error |

ja/sdk/web/checkout-sdk/hooks/useSelectPaymentModal.mdx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,6 @@ function BuyNFT() {
111111
currencyAddress,
112112
collectionAddress,
113113
creditCardProviders: ['transak'],
114-
transakConfig: {
115-
contractId: 'your-contract-id',
116-
apiKey: 'your-api-key'
117-
},
118114
onSuccess: (txnHash: string) => {
119115
console.log('success!', txnHash)
120116
},
@@ -172,7 +168,6 @@ type UseSelectPaymentModalReturnType = {
172168
| `currencyAddress` | `string` | 通貨トークンコントラクトのアドレス |
173169
| `collectionAddress` | `string` | NFTコレクションコントラクトのアドレス |
174170
| `creditCardProviders` | `string[]` | 対応しているクレジットカードプロバイダー一覧(例:'transak') |
175-
| `transakConfig` | `object` | Transak連携用の設定 |
176171
| `copyrightText` | `string` | モーダル内に表示する著作権テキスト |
177172
| `onSuccess` | `(txnHash: string) => void` | トランザクションが成功した際のコールバック |
178173
| `onError` | `(error: Error) => void` | エラー発生時のコールバック |

ja/sdk/web/hooks/useERC1155SaleContractCheckout.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ export interface SelectPaymentSettings {
9797
enableTransferFunds?: boolean
9898
creditCardProviders?: string[]
9999
copyrightText?: string
100-
transakConfig?: TransakConfig
101100
customProviderCallback?: (onSuccess: (txHash: string) => void, onError: (error: Error) => void, onClose: () => void) => void
102101
supplementaryAnalyticsInfo?: SupplementaryAnalyticsInfo
103102
}

ja/sdk/web/hooks/useSelectPaymentModal.mdx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@ function App() {
6464
currencyAddress,
6565
collectionAddress,
6666
creditCardProviders: ['transak'],
67-
transakConfig: {
68-
contractId: 'your-contract-id',
69-
apiKey: 'your-api-key'
70-
},
7167
copyrightText: 'ⓒ2024 Your Company',
7268
onSuccess: (txnHash: string) => {
7369
console.log('success!', txnHash)
@@ -122,7 +118,6 @@ type UseSelectPaymentModalReturnType = {
122118
| `currencyAddress` | `string` | 通貨トークンコントラクトのアドレス |
123119
| `collectionAddress` | `string` | NFTコレクションコントラクトのアドレス |
124120
| `creditCardProviders` | `string[]` | 対応するクレジットカードプロバイダーのリスト(例: 'transak') |
125-
| `transakConfig` | `object` | Transak連携用の設定 |
126121
| `copyrightText` | `string` | モーダル内に表示する著作権テキスト |
127122
| `onSuccess` | `(txnHash: string) => void` | トランザクションが成功した際のコールバック |
128123
| `onError` | `(error: Error) => void` | エラー発生時のコールバック |

sdk/web/checkout-sdk/hooks/useERC1155SaleContractCheckout.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ export interface SelectPaymentSettings {
102102
enableTransferFunds?: boolean
103103
creditCardProviders?: string[]
104104
copyrightText?: string
105-
transakConfig?: TransakConfig
106105
customProviderCallback?: (onSuccess: (txHash: string) => void, onError: (error: Error) => void, onClose: () => void) => void
107106
supplementaryAnalyticsInfo?: SupplementaryAnalyticsInfo
108107
}

sdk/web/checkout-sdk/hooks/useSelectPaymentModal.mdx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,6 @@ function BuyNFT() {
112112
currencyAddress,
113113
collectionAddress,
114114
creditCardProviders: ['transak'],
115-
transakConfig: {
116-
contractId: 'your-contract-id',
117-
apiKey: 'your-api-key'
118-
},
119115
onSuccess: (txnHash: string) => {
120116
console.log('success!', txnHash)
121117
},
@@ -175,7 +171,6 @@ The `settings` object can include the following properties:
175171
| `currencyAddress` | `string` | Address of the currency token contract |
176172
| `collectionAddress` | `string` | Address of the NFT collection contract |
177173
| `creditCardProviders` | `string[]` | List of supported credit card providers (e.g., 'transak') |
178-
| `transakConfig` | `object` | Configuration for Transak integration |
179174
| `copyrightText` | `string` | Copyright text to display in the modal |
180175
| `onSuccess` | `(txnHash: string) => void` | Callback when transaction succeeds |
181176
| `onError` | `(error: Error) => void` | Callback when an error occurs |

0 commit comments

Comments
 (0)