@onereach/billing-shared 29.4.19-beta.9230.0 → 29.5.0

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.
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LOGIN_AUDIT_SEARCH_TERM_REGEXP = exports.LOGIN_AUDIT_SEARCH_TERM_MAX_LENGTH = void 0;
3
+ exports.LOGIN_AUDIT_FILTER_VALUE_REGEXP = exports.LOGIN_AUDIT_FILTER_VALUE_MAX_LENGTH = exports.LOGIN_AUDIT_SEARCH_TERM_REGEXP = exports.LOGIN_AUDIT_SEARCH_TERM_MAX_LENGTH = void 0;
4
4
  exports.LOGIN_AUDIT_SEARCH_TERM_MAX_LENGTH = 40;
5
5
  exports.LOGIN_AUDIT_SEARCH_TERM_REGEXP = /^[\w.\-:/@]{1,40}$/;
6
+ exports.LOGIN_AUDIT_FILTER_VALUE_MAX_LENGTH = 64;
7
+ exports.LOGIN_AUDIT_FILTER_VALUE_REGEXP = /^[\w.-]{1,64}$/;
6
8
  //# sourceMappingURL=login-audit.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"login-audit.js","sourceRoot":"","sources":["../../../src/constants/login-audit.ts"],"names":[],"mappings":";;;AAAa,QAAA,kCAAkC,GAAG,EAAE,CAAC;AACxC,QAAA,8BAA8B,GAAG,oBAAoB,CAAC"}
1
+ {"version":3,"file":"login-audit.js","sourceRoot":"","sources":["../../../src/constants/login-audit.ts"],"names":[],"mappings":";;;AAAa,QAAA,kCAAkC,GAAG,EAAE,CAAC;AACxC,QAAA,8BAA8B,GAAG,oBAAoB,CAAC;AAGtD,QAAA,mCAAmC,GAAG,EAAE,CAAC;AACzC,QAAA,+BAA+B,GAAG,gBAAgB,CAAC"}
@@ -1,3 +1,5 @@
1
1
  export const LOGIN_AUDIT_SEARCH_TERM_MAX_LENGTH = 40;
2
2
  export const LOGIN_AUDIT_SEARCH_TERM_REGEXP = /^[\w.\-:/@]{1,40}$/;
3
+ export const LOGIN_AUDIT_FILTER_VALUE_MAX_LENGTH = 64;
4
+ export const LOGIN_AUDIT_FILTER_VALUE_REGEXP = /^[\w.-]{1,64}$/;
3
5
  //# sourceMappingURL=login-audit.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"login-audit.js","sourceRoot":"","sources":["../../../src/constants/login-audit.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kCAAkC,GAAG,EAAE,CAAC;AACrD,MAAM,CAAC,MAAM,8BAA8B,GAAG,oBAAoB,CAAC"}
1
+ {"version":3,"file":"login-audit.js","sourceRoot":"","sources":["../../../src/constants/login-audit.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,kCAAkC,GAAG,EAAE,CAAC;AACrD,MAAM,CAAC,MAAM,8BAA8B,GAAG,oBAAoB,CAAC;AAGnE,MAAM,CAAC,MAAM,mCAAmC,GAAG,EAAE,CAAC;AACtD,MAAM,CAAC,MAAM,+BAA+B,GAAG,gBAAgB,CAAC"}
@@ -1,3 +1,5 @@
1
1
  export declare const LOGIN_AUDIT_SEARCH_TERM_MAX_LENGTH = 40;
2
2
  export declare const LOGIN_AUDIT_SEARCH_TERM_REGEXP: RegExp;
3
+ export declare const LOGIN_AUDIT_FILTER_VALUE_MAX_LENGTH = 64;
4
+ export declare const LOGIN_AUDIT_FILTER_VALUE_REGEXP: RegExp;
3
5
  //# sourceMappingURL=login-audit.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"login-audit.d.ts","sourceRoot":"","sources":["../../../src/constants/login-audit.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kCAAkC,KAAK,CAAC;AACrD,eAAO,MAAM,8BAA8B,QAAuB,CAAC"}
1
+ {"version":3,"file":"login-audit.d.ts","sourceRoot":"","sources":["../../../src/constants/login-audit.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kCAAkC,KAAK,CAAC;AACrD,eAAO,MAAM,8BAA8B,QAAuB,CAAC;AAGnE,eAAO,MAAM,mCAAmC,KAAK,CAAC;AACtD,eAAO,MAAM,+BAA+B,QAAmB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/billing-shared",
3
- "version": "29.4.19-beta.9230.0",
3
+ "version": "29.5.0",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -1,2 +1,6 @@
1
1
  export const LOGIN_AUDIT_SEARCH_TERM_MAX_LENGTH = 40;
2
2
  export const LOGIN_AUDIT_SEARCH_TERM_REGEXP = /^[\w.\-:/@]{1,40}$/;
3
+
4
+ // narrower than the search term (CloudWatch)
5
+ export const LOGIN_AUDIT_FILTER_VALUE_MAX_LENGTH = 64;
6
+ export const LOGIN_AUDIT_FILTER_VALUE_REGEXP = /^[\w.-]{1,64}$/;