@sikka/aps 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -740,6 +740,7 @@ interface TokenizationFormProps {
740
740
  label?: string;
741
741
  button?: string;
742
742
  row?: string;
743
+ securityNotice?: string;
743
744
  };
744
745
  /** Custom error messages */
745
746
  errorMessages?: {
@@ -740,6 +740,7 @@ interface TokenizationFormProps {
740
740
  label?: string;
741
741
  button?: string;
742
742
  row?: string;
743
+ securityNotice?: string;
743
744
  };
744
745
  /** Custom error messages */
745
746
  errorMessages?: {
@@ -1055,7 +1055,7 @@ var TokenizationForm = ({
1055
1055
  if (securityNotice) {
1056
1056
  return securityNotice;
1057
1057
  }
1058
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: mergedStyles.securityNotice, children: "\u{1F512} Your card details are securely processed by Amazon Payment Services. We never store your card information." });
1058
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { style: mergedStyles.securityNotice, className: className.securityNotice, children: "\u{1F512} Your card details are securely processed by Amazon Payment Services. We never store your card information." });
1059
1059
  };
1060
1060
  return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { style: mergedStyles.container, className: className.container, children: [
1061
1061
  beforeForm,
@@ -1012,7 +1012,7 @@ var TokenizationForm = ({
1012
1012
  if (securityNotice) {
1013
1013
  return securityNotice;
1014
1014
  }
1015
- return /* @__PURE__ */ jsx2("div", { style: mergedStyles.securityNotice, children: "\u{1F512} Your card details are securely processed by Amazon Payment Services. We never store your card information." });
1015
+ return /* @__PURE__ */ jsx2("div", { style: mergedStyles.securityNotice, className: className.securityNotice, children: "\u{1F512} Your card details are securely processed by Amazon Payment Services. We never store your card information." });
1016
1016
  };
1017
1017
  return /* @__PURE__ */ jsxs("div", { style: mergedStyles.container, className: className.container, children: [
1018
1018
  beforeForm,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/aps",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "A Stripe-like developer-friendly SDK for Amazon Payment Services integration. Supports payment links, hosted checkout, tokenization, webhooks, and payment management.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",