@rethinkhealth/hl7v2-utils 0.2.7 → 0.2.9

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.
package/dist/index.d.ts CHANGED
@@ -1,14 +1,14 @@
1
1
  /**
2
2
  * HL7v2 Delimiters type
3
3
  */
4
- export interface HL7v2Delimiters {
4
+ export type HL7v2Delimiters = {
5
5
  field: string;
6
6
  component: string;
7
7
  subcomponent: string;
8
8
  repetition: string;
9
9
  escape: string;
10
10
  segment: string;
11
- }
11
+ };
12
12
  export declare const DEFAULT_DELIMITERS: {
13
13
  field: string;
14
14
  component: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,kBAAkB;;;;;;;CAO9B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;CAO9B,CAAC"}
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ var DEFAULT_DELIMITERS = {
5
5
  repetition: "~",
6
6
  subcomponent: "&",
7
7
  escape: "\\",
8
- segment: "\n"
8
+ segment: "\r"
9
9
  };
10
10
  export {
11
11
  DEFAULT_DELIMITERS
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["/**\n * HL7v2 Delimiters type\n */\nexport interface HL7v2Delimiters {\n field: string;\n component: string;\n subcomponent: string;\n repetition: string;\n escape: string;\n segment: string; // now always a string\n}\n\nexport const DEFAULT_DELIMITERS = {\n field: '|',\n component: '^',\n repetition: '~',\n subcomponent: '&',\n escape: '\\\\',\n segment: '\\n',\n};\n"],"mappings":";AAYO,IAAM,qBAAqB;AAAA,EAChC,OAAO;AAAA,EACP,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,cAAc;AAAA,EACd,QAAQ;AAAA,EACR,SAAS;AACX;","names":[]}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["/**\n * HL7v2 Delimiters type\n */\nexport type HL7v2Delimiters = {\n field: string;\n component: string;\n subcomponent: string;\n repetition: string;\n escape: string;\n segment: string; // now always a string\n};\n\nexport const DEFAULT_DELIMITERS = {\n field: '|',\n component: '^',\n repetition: '~',\n subcomponent: '&',\n escape: '\\\\',\n segment: '\\r',\n};\n"],"mappings":";AAYO,IAAM,qBAAqB;AAAA,EAChC,OAAO;AAAA,EACP,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,cAAc;AAAA,EACd,QAAQ;AAAA,EACR,SAAS;AACX;","names":[]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rethinkhealth/hl7v2-utils",
3
3
  "description": "hl7v2 utilities",
4
- "version": "0.2.7",
4
+ "version": "0.2.9",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "name": "Melek Somai",
@@ -22,8 +22,8 @@
22
22
  "tsup": "8.5.0",
23
23
  "typescript": "^5.8.3",
24
24
  "vitest": "^3.2.4",
25
- "@rethinkhealth/testing": "0.0.0",
26
- "@rethinkhealth/tsconfig": "0.0.0"
25
+ "@rethinkhealth/tsconfig": "0.0.1",
26
+ "@rethinkhealth/testing": "0.0.1"
27
27
  },
28
28
  "repository": "rethinkhealth/hl7v2.git",
29
29
  "homepage": "https://www.rethinkhealth.io/hl7v2/docs",
@@ -35,7 +35,7 @@
35
35
  "nodejs",
36
36
  "typescript"
37
37
  ],
38
- "packageManager": "pnpm@10.12.1",
38
+ "packageManager": "pnpm@10.14.0",
39
39
  "publishConfig": {
40
40
  "access": "public"
41
41
  },