@mercoa/react 0.0.49-rc1 → 0.0.49-rc2
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.
package/dist/index.es.js
CHANGED
|
@@ -42218,7 +42218,7 @@ parser$2.parseAddress = (W) => {
|
|
|
42218
42218
|
return oe = re[0].split(/\s+/), re.shift(), ie = re.shift(), pe.address = re.reverse().join(", "), pe.city = ie, pe.state = oe[0], pe.zip = oe[1], pe.fullAddress = W, pe;
|
|
42219
42219
|
};
|
|
42220
42220
|
var humanparserExports = humanparser.exports;
|
|
42221
|
-
const
|
|
42221
|
+
const vitePluginRequire_1721693194810_68601018 = /* @__PURE__ */ getDefaultExportFromCjs(humanparserExports);
|
|
42222
42222
|
function isObject$5(W) {
|
|
42223
42223
|
var re = typeof W;
|
|
42224
42224
|
return W != null && (re == "object" || re == "function");
|
|
@@ -42327,7 +42327,7 @@ function debounce$1(W, re, oe) {
|
|
|
42327
42327
|
return br.cancel = gr, br.flush = wr, br;
|
|
42328
42328
|
}
|
|
42329
42329
|
var debounce_1 = debounce$1;
|
|
42330
|
-
const debounce$2 = /* @__PURE__ */ getDefaultExportFromCjs(debounce_1), human =
|
|
42330
|
+
const debounce$2 = /* @__PURE__ */ getDefaultExportFromCjs(debounce_1), human = vitePluginRequire_1721693194810_68601018;
|
|
42331
42331
|
async function onSubmitCounterparty({
|
|
42332
42332
|
data: W,
|
|
42333
42333
|
mercoaSession: re,
|
|
@@ -42411,7 +42411,7 @@ const counterpartyYupValidation = {
|
|
|
42411
42411
|
lastName: create$6(),
|
|
42412
42412
|
middleName: create$6(),
|
|
42413
42413
|
suffix: create$6(),
|
|
42414
|
-
website: create$6().url("Website must
|
|
42414
|
+
website: create$6().url("Website must be a valid URL").transform((W) => W && !W.startsWith("http://") && !W.startsWith("https://") ? `http://${W}` : W),
|
|
42415
42415
|
description: create$6(),
|
|
42416
42416
|
accounts: create$2().of(create$3().shape({
|
|
42417
42417
|
accountId: create$6(),
|
|
@@ -47031,7 +47031,7 @@ function MCCBlock({
|
|
|
47031
47031
|
});
|
|
47032
47032
|
}
|
|
47033
47033
|
const websiteSchema = {
|
|
47034
|
-
website: create$6().url("Website must
|
|
47034
|
+
website: create$6().url("Website must be a valid URL").transform((W) => W && !W.startsWith("http://") && !W.startsWith("https://") ? `https://${W}` : W).required("Website is required")
|
|
47035
47035
|
};
|
|
47036
47036
|
function WebsiteBlock({
|
|
47037
47037
|
register: W,
|