@nsshunt/stsfhirpg 1.2.20 → 1.2.22
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.cjs +1307 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1329 -14
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -3
- package/types/fhir-utils/fhirHashUtils.d.ts +1 -1
- package/types/fhir-utils/fhirHashUtils.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nsshunt/stsfhirpg",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.22",
|
|
4
4
|
"description": "STS FHIR Postgres (pg) Persistence",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
"chalk": "^5.6.2",
|
|
49
49
|
"jmespath": "^0.16.0",
|
|
50
50
|
"luxon": "^3.7.2",
|
|
51
|
-
"murmurhash3js": "^3.0.1",
|
|
52
51
|
"pg": "^8.20.0",
|
|
53
52
|
"redis": "^5.11.0",
|
|
54
53
|
"tiny-emitter": "^2.1.0",
|
|
55
|
-
"valid-url": "^1.0.9"
|
|
54
|
+
"valid-url": "^1.0.9",
|
|
55
|
+
"xxhashjs": "^0.2.2"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@nsshunt/stsdevtools": "^1.0.89",
|
|
@@ -62,6 +62,7 @@
|
|
|
62
62
|
"@types/node": "^25.5.2",
|
|
63
63
|
"@types/pg": "^8.20.0",
|
|
64
64
|
"@types/valid-url": "^1.0.7",
|
|
65
|
+
"@types/xxhashjs": "^0.2.4",
|
|
65
66
|
"@typescript-eslint/eslint-plugin": "^8.58.0",
|
|
66
67
|
"@typescript-eslint/parser": "^8.58.0",
|
|
67
68
|
"eslint": "^10.2.0",
|
|
@@ -6,10 +6,10 @@ export type TokenParam = {
|
|
|
6
6
|
* Normalize string values similar to HAPI FHIR (trim, collapse whitespace, lowercase)
|
|
7
7
|
*/
|
|
8
8
|
export declare function normalizeStringParam(input: string): string;
|
|
9
|
+
export declare function xxhash64Signed(input: string): bigint;
|
|
9
10
|
/**
|
|
10
11
|
* Converts first 64 bits of MurmurHash3_x64_128 result into signed BigInt
|
|
11
12
|
*/
|
|
12
|
-
export declare function murmur64Signed(input: string): bigint;
|
|
13
13
|
/**
|
|
14
14
|
* Compute hash for a normalized string search parameter
|
|
15
15
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fhirHashUtils.d.ts","sourceRoot":"","sources":["../../src/fhir-utils/fhirHashUtils.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,UAAU,GAAG;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAMF;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAE1D;AAMD
|
|
1
|
+
{"version":3,"file":"fhirHashUtils.d.ts","sourceRoot":"","sources":["../../src/fhir-utils/fhirHashUtils.ts"],"names":[],"mappings":"AAMA,MAAM,MAAM,UAAU,GAAG;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAMF;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAE1D;AAMD,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAIpD;AAGD;;GAEG;AAWH;;GAEG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,GAAG,MAAM,CAOzE;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,UAAU,GAAG,MAAM,CAGnE;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAE5D;AAED;;GAEG;AACH,wBAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,UAAQ,GAAG,MAAM,CAEnE"}
|