ggez-banking-sdk 0.1.16 → 0.1.18

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.
@@ -111,4 +111,5 @@ export declare const useRegExp: () => {
111
111
  IntegerNumber: RegExp;
112
112
  Pair: RegExp;
113
113
  WSURl: RegExp;
114
+ DecimalNumber: RegExp;
114
115
  };
@@ -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\-\.,@?^=%&:\/~\+#]*[\w\-\@?^=%&\/~\+#]){1,2038}$/,
16
+ URLRegexPattern: /^(http|https):\/\/[\w\-_.]+(\.[\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]))$/,
@@ -111,8 +111,9 @@ const useRegExp = () => {
111
111
  GGEZ1Balance: /^\d+(\.\d{1,2})?$/,
112
112
  Percentage: /^(100(\.00?)?|(\d{1,2}(\.\d{1,2})?))%$/,
113
113
  IntegerNumber: /^\d+$/,
114
- Pair: /^[A-Z0-9]{2,10}\/?[A-Z0-9]{2,10}$/,
115
- WSURl: /^wss:\/\/ws\.coinstore\.com\/s\/ws$/
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\-\/]*)?$/,
116
+ DecimalNumber: /^\d+(\.\d{1,6})?$/
116
117
  };
117
118
  };
118
119
  exports.useRegExp = useRegExp;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ggez-banking-sdk",
3
- "version": "0.1.16",
3
+ "version": "0.1.18",
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",