ggez-banking-sdk 0.1.19 → 0.1.21

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.
@@ -13,7 +13,7 @@ const useRegExp = () => {
13
13
  DateRegexPattern: /^\d{4}-\d{2}-\d{2}$/u,
14
14
  DateTimeRegexPattern: /^(19|20)\d{2}-(0[1-9]|1[0-2])-(0[1-9]|1\d|2\d|3[01])T(0[0-9]|1[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]){1,22}$/,
15
15
  SortRegexPattern: /^(asc|desc)$/,
16
- URLRegexPattern: /^(http|https):\/\/[\w\-_.]+(\.[\w\-_.]+)*(\/[\w\-.,@?^=%&:\/~+#]*)?$/,
16
+ URLRegexPattern: /^(http|https):\/\/[\w\-_.]+(\:[0-9]+)?(\.[\w\-_.]+)*(\/[\w\-.,@?^=%&:\/~+#]*)?$/,
17
17
  TerminalSecurityIDRegexPattern: /^[/+0-9a-zA-Z=_-]{1,50}$/,
18
18
  ResultSetDateRegexPattern: /^([0-9]{4})[\/|-]((0[1-9])|(1[0-2]))[\/|-]((0[1-9])|(1[0-9])|(2[0-9])|(3[0-1]))$/,
19
19
  StatementMonthRegexPattern: /^([0-9]{4})[\/|-]((0[1-9])|(1[0-2]))$/,
@@ -109,10 +109,10 @@ const useRegExp = () => {
109
109
  BlockchainAddress: /^[a-zA-Z0-9]{26,64}$/,
110
110
  GeneralName: /^[a-zA-Z].{2,49}$/,
111
111
  GGEZ1Balance: /^\d+(\.\d{1,2})?$/,
112
- Percentage: /^(100(\.00?)?|(\d{1,2}(\.\d{1,2})?))%$/,
112
+ Percentage: /^(100(\.00?)?|(\d{1,2}(\.\d{1,6})?))%$/,
113
113
  IntegerNumber: /^\d+$/,
114
114
  Pair: /^[A-Za-z0-9]{2,10}\/?[A-Za-z0-9]{2,10}$/,
115
- WSURl: /^wss:\/\/([a-zA-Z0-9\-]+\.)+[a-zA-Z]{2,6}(:[0-9]{1,5})?(\/[a-zA-Z0-9\-\/]*)?$/,
115
+ WSURl: /^wss:\/\/([a-zA-Z0-9\-_]+\.)+[a-zA-Z]{2,6}(:[0-9]{1,5})?(\/[a-zA-Z0-9\-_\/]*)?$/,
116
116
  DecimalNumber: /^\d+(\.\d{1,6})?$/
117
117
  };
118
118
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ggez-banking-sdk",
3
- "version": "0.1.19",
3
+ "version": "0.1.21",
4
4
  "description": "A Node.js package to handle GGEZ Banking API endpoints, Simplify the process of managing CRUD operations with this efficient and easy-to-use package.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",