Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix toml format to address wasm build failure #6967

Merged
merged 18 commits into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions crates/connector_configs/toml/sandbox.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]]
Expand Down Expand Up @@ -4374,36 +4375,36 @@ 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"
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"
Expand Down
5 changes: 2 additions & 3 deletions docker/wasm-build.Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand All @@ -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

Expand Down
Loading