expensify-common 2.0.141 → 2.0.143
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/CONST.d.ts +1 -1
- package/dist/CONST.js +1 -1
- package/dist/Url.js +1 -1
- package/package.json +1 -1
package/dist/CONST.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ declare const g_cloudFront = "https://d2k5nsl2zxldvw.cloudfront.net";
|
|
|
7
7
|
*/
|
|
8
8
|
declare const g_cloudFrontImg = "https://d2k5nsl2zxldvw.cloudfront.net/images/";
|
|
9
9
|
declare const CONST: {
|
|
10
|
-
readonly CORPAY_DIRECT_REIMBURSEMENT_CURRENCIES: readonly ["USD", "GBP", "EUR", "AUD", "CAD"];
|
|
10
|
+
readonly CORPAY_DIRECT_REIMBURSEMENT_CURRENCIES: readonly ["USD", "GBP", "EUR", "AUD", "CAD", "SGD"];
|
|
11
11
|
/**
|
|
12
12
|
* Default max ACH limit. It can be overwritten by a private NVP
|
|
13
13
|
*
|
package/dist/CONST.js
CHANGED
|
@@ -15,7 +15,7 @@ exports.g_cloudFront = g_cloudFront;
|
|
|
15
15
|
const g_cloudFrontImg = `${g_cloudFront}/images/`;
|
|
16
16
|
exports.g_cloudFrontImg = g_cloudFrontImg;
|
|
17
17
|
const CONST = {
|
|
18
|
-
CORPAY_DIRECT_REIMBURSEMENT_CURRENCIES: ['USD', 'GBP', 'EUR', 'AUD', 'CAD'],
|
|
18
|
+
CORPAY_DIRECT_REIMBURSEMENT_CURRENCIES: ['USD', 'GBP', 'EUR', 'AUD', 'CAD', 'SGD'],
|
|
19
19
|
/**
|
|
20
20
|
* Default max ACH limit. It can be overwritten by a private NVP
|
|
21
21
|
*
|
package/dist/Url.js
CHANGED
|
@@ -14,7 +14,7 @@ exports.URL_WEBSITE_REGEX = URL_WEBSITE_REGEX;
|
|
|
14
14
|
const addEscapedChar = (reg) => `(?:${reg}|&(?:amp|#x27);)`;
|
|
15
15
|
const URL_PATH_REGEX = `(?:${addEscapedChar('[.,=(+$!*]')}?\\/${addEscapedChar('[-\\w$@.+!*:(),=%~]')}*${addEscapedChar('[-\\w~@:%)]')}|\\/)*`;
|
|
16
16
|
exports.URL_PATH_REGEX = URL_PATH_REGEX;
|
|
17
|
-
const URL_PARAM_REGEX = `(?:\\?${addEscapedChar('[-\\w$@.+!*()\\/,=%{}:;\\[\\]\\|_|~]')}
|
|
17
|
+
const URL_PARAM_REGEX = `(?:\\?${addEscapedChar('[-\\w$@.+!*()\\/,=%{}:;\\[\\]\\|_|~]')}+)?`;
|
|
18
18
|
exports.URL_PARAM_REGEX = URL_PARAM_REGEX;
|
|
19
19
|
const URL_FRAGMENT_REGEX = `(?:#${addEscapedChar('[-\\w$@.+!*()[\\],=%;\\/:~]')}*)?`;
|
|
20
20
|
exports.URL_FRAGMENT_REGEX = URL_FRAGMENT_REGEX;
|