mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 03:13:56 +08:00
chore: fix toml format to address wasm build failure (#6967)
This commit is contained in:
committed by
GitHub
parent
3fdc41e6c9
commit
ecab2b1f51
@ -1478,6 +1478,7 @@ key2="Certificate Key"
|
||||
payment_method_type = "Visa"
|
||||
[jpmorgan.connector_auth.BodyKey]
|
||||
api_key="Access Token"
|
||||
key1="Client Secret"
|
||||
|
||||
[klarna]
|
||||
[[klarna.pay_later]]
|
||||
|
||||
@ -1714,6 +1714,7 @@ key2="Certificate Key"
|
||||
payment_method_type = "Visa"
|
||||
[jpmorgan.connector_auth.BodyKey]
|
||||
api_key="Access Token"
|
||||
key1="Client Secret"
|
||||
|
||||
[klarna]
|
||||
[[klarna.pay_later]]
|
||||
@ -4374,7 +4375,7 @@ placeholder="Enter locale"
|
||||
required=true
|
||||
type="Text"
|
||||
|
||||
[[ctp_mastercard.metadata.card_brands]]
|
||||
[ctp_mastercard.metadata.card_brands]
|
||||
name="card_brands"
|
||||
label="Card Brands"
|
||||
placeholder="Enter Card Brands"
|
||||
@ -4382,28 +4383,28 @@ required=true
|
||||
type="MultiSelect"
|
||||
options=["visa","mastercard"]
|
||||
|
||||
[[ctp_mastercard.metadata.acquirer_bin]]
|
||||
[ctp_mastercard.metadata.acquirer_bin]
|
||||
name="acquirer_bin"
|
||||
label="Acquire Bin"
|
||||
placeholder="Enter Acquirer Bin"
|
||||
required=true
|
||||
type="Text"
|
||||
|
||||
[[ctp_mastercard.metadata.acquirer_merchant_id]]
|
||||
[ctp_mastercard.metadata.acquirer_merchant_id]
|
||||
name="acquirer_merchant_id"
|
||||
label="Acquire Merchant Id"
|
||||
placeholder="Enter Acquirer Merchant Id"
|
||||
required=true
|
||||
type="Text"
|
||||
|
||||
[[ctp_mastercard.metadata.merchant_category_code]]
|
||||
[ctp_mastercard.metadata.merchant_category_code]
|
||||
name="merchant_category_code"
|
||||
label="Merchant Category Code"
|
||||
placeholder="Enter Merchant Category Code"
|
||||
required=true
|
||||
type="Text"
|
||||
|
||||
[[ctp_mastercard.metadata.merchant_country_code]]
|
||||
[ctp_mastercard.metadata.merchant_country_code]
|
||||
name="merchant_country_code"
|
||||
label="Merchant Country Code"
|
||||
placeholder="Enter Merchant Country Code"
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
FROM rust:latest as builder
|
||||
|
||||
ARG RUN_ENV=sandbox
|
||||
ARG EXTRA_FEATURES=""
|
||||
ARG FEATURES=""
|
||||
ARG VERSION_FEATURE_SET="v1"
|
||||
|
||||
RUN apt-get update \
|
||||
@ -19,7 +18,7 @@ ENV env=$env
|
||||
COPY . .
|
||||
RUN echo env
|
||||
RUN cargo install wasm-pack
|
||||
RUN wasm-pack build --target web --out-dir /tmp/wasm --out-name euclid crates/euclid_wasm -- --features ${VERSION_FEATURE_SET},${RUN_ENV},${EXTRA_FEATURES}
|
||||
RUN wasm-pack build --target web --out-dir /tmp/wasm --out-name euclid crates/euclid_wasm -- --features ${VERSION_FEATURE_SET},${FEATURES}
|
||||
|
||||
FROM scratch
|
||||
|
||||
|
||||
Reference in New Issue
Block a user