@pax2pay/model-banking 0.1.383 → 0.1.384

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.
@@ -2,7 +2,6 @@ import { isly } from "isly"
2
2
 
3
3
  export type Batch = string
4
4
  export namespace Batch {
5
- export const regexp = new RegExp(/20\d\d(?:[0-2]\d\d|3[0-6]\d)0[1-6]$/)
6
- export const type = isly.string<Batch>(regexp)
5
+ export const type = isly.string<Batch>()
7
6
  export const is = type.is
8
7
  }
@@ -1,7 +1,6 @@
1
1
  import { isly } from "isly";
2
2
  export type Batch = string;
3
3
  export declare namespace Batch {
4
- const regexp: RegExp;
5
4
  const type: isly.Type<string>;
6
5
  const is: isly.Type.IsFunction<string>;
7
6
  }
@@ -1,8 +1,7 @@
1
1
  import { isly } from "isly";
2
2
  export var Batch;
3
3
  (function (Batch) {
4
- Batch.regexp = new RegExp(/20\d\d(?:[0-2]\d\d|3[0-6]\d)0[1-6]$/);
5
- Batch.type = isly.string(Batch.regexp);
4
+ Batch.type = isly.string();
6
5
  Batch.is = Batch.type.is;
7
6
  })(Batch || (Batch = {}));
8
7
  //# sourceMappingURL=Batch.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Batch.js","sourceRoot":"../","sources":["Settlement/Batch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAG3B,MAAM,KAAW,KAAK,CAIrB;AAJD,WAAiB,KAAK;IACR,YAAM,GAAG,IAAI,MAAM,CAAC,qCAAqC,CAAC,CAAA;IAC1D,UAAI,GAAG,IAAI,CAAC,MAAM,CAAQ,MAAA,MAAM,CAAC,CAAA;IACjC,QAAE,GAAG,MAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAJgB,KAAK,KAAL,KAAK,QAIrB"}
1
+ {"version":3,"file":"Batch.js","sourceRoot":"../","sources":["Settlement/Batch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAA;AAG3B,MAAM,KAAW,KAAK,CAGrB;AAHD,WAAiB,KAAK;IACR,UAAI,GAAG,IAAI,CAAC,MAAM,EAAS,CAAA;IAC3B,QAAE,GAAG,MAAA,IAAI,CAAC,EAAE,CAAA;AAC1B,CAAC,EAHgB,KAAK,KAAL,KAAK,QAGrB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pax2pay/model-banking",
3
- "version": "0.1.383",
3
+ "version": "0.1.384",
4
4
  "description": "Library containing data model types and functions for the Pax2Pay Banking API.",
5
5
  "author": "Pax2Pay Ltd",
6
6
  "license": "MIT",