@ballerine/common
Advanced tools
Comparing version 0.9.60 to 0.9.61
@@ -113,3 +113,3 @@ /** | ||
}; | ||
var URL_PATTERN = /^((https?):\/\/)?([\dA-Za-z][\w-]*\.)+[\dA-Za-z]+(\.[a-z]{2})?(\/[\w#.-]+)*(\/)?(\?[\w.-]+=[\w.-]+(&[\w.-]+=[\w.-]+)*)?(#[\w-]+)?$/; | ||
var URL_PATTERN = /^(https?:\/\/)?((([\da-z]([\da-z-]*[\da-z])*)\.)+[a-z]{2,}|((25[0-5]|2[0-4]\d|1\d{2}|\d{1,2})\.){3}(25[0-5]|2[0-4]\d|1\d{2}|\d{1,2})|localhost)(:\d{1,5})?(\/[\w!$%&'()*+,.:;=@~-]*)*(\?([\w!$%&'()*+,.:;=@~-]+=[\w!$%&'()*+,.:;=@~-]*(&[\w!$%&'()*+,.:;=@~-]+=[\w!$%&'()*+,.:;=@~-]*)*)?)?(#[\w!$%&'()*+,.:;=@~-]*)?$/i; | ||
@@ -116,0 +116,0 @@ exports.CommonWorkflowEvent = CommonWorkflowEvent; |
@@ -67,7 +67,7 @@ /** | ||
})), | ||
CountrySubdivision: typebox.Type.String({ | ||
CountrySubdivision: typebox.Type.Optional(typebox.Type.String({ | ||
description: 'The abbreviated state or province code for a merchant location (only supported for US and Canada merchants).', | ||
example: 'IL', | ||
maxLength: 2 | ||
}), | ||
})), | ||
Country: typebox.Type.String({ | ||
@@ -74,0 +74,0 @@ description: 'The three-digit country code of the principal owner. Valid values are Three digit alpha country codes as defined in ISO 3166-1.', |
@@ -109,5 +109,5 @@ /** | ||
}; | ||
var URL_PATTERN = /^((https?):\/\/)?([\dA-Za-z][\w-]*\.)+[\dA-Za-z]+(\.[a-z]{2})?(\/[\w#.-]+)*(\/)?(\?[\w.-]+=[\w.-]+(&[\w.-]+=[\w.-]+)*)?(#[\w-]+)?$/; | ||
var URL_PATTERN = /^(https?:\/\/)?((([\da-z]([\da-z-]*[\da-z])*)\.)+[a-z]{2,}|((25[0-5]|2[0-4]\d|1\d{2}|\d{1,2})\.){3}(25[0-5]|2[0-4]\d|1\d{2}|\d{1,2})|localhost)(:\d{1,5})?(\/[\w!$%&'()*+,.:;=@~-]*)*(\?([\w!$%&'()*+,.:;=@~-]+=[\w!$%&'()*+,.:;=@~-]*(&[\w!$%&'()*+,.:;=@~-]+=[\w!$%&'()*+,.:;=@~-]*)*)?)?(#[\w!$%&'()*+,.:;=@~-]*)?$/i; | ||
export { CommonWorkflowEvent, CommonWorkflowStates, MatchReasonCode, MatchResponseCode, MatchResponseCodes, ProcessStatus, ProcessStatuses, Severities, Severity, StateTag, StateTags, URL_PATTERN, UnifiedApiReason, UnifiedApiReasons, WorkflowDefinitionConfigThemeEnum, WorkflowDefinitionConfigThemes, WorkflowDefinitionVariant }; | ||
//# sourceMappingURL=index.js.map |
@@ -63,7 +63,7 @@ /** | ||
})), | ||
CountrySubdivision: Type.String({ | ||
CountrySubdivision: Type.Optional(Type.String({ | ||
description: 'The abbreviated state or province code for a merchant location (only supported for US and Canada merchants).', | ||
example: 'IL', | ||
maxLength: 2 | ||
}), | ||
})), | ||
Country: Type.String({ | ||
@@ -70,0 +70,0 @@ description: 'The three-digit country code of the principal owner. Valid values are Three digit alpha country codes as defined in ISO 3166-1.', |
@@ -5,3 +5,3 @@ { | ||
"author": "Ballerine <dev@ballerine.com>", | ||
"version": "0.9.60", | ||
"version": "0.9.61", | ||
"description": "common", | ||
@@ -8,0 +8,0 @@ "module": "./dist/esm/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
6559704
46084