@nmshd/connector-types 6.25.3 → 6.26.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.
- package/dist/QRCode.d.ts +1 -1
- package/dist/QRCode.d.ts.map +1 -1
- package/dist/QRCode.js +2 -2
- package/dist/QRCode.js.map +1 -1
- package/package.json +5 -5
package/dist/QRCode.d.ts
CHANGED
package/dist/QRCode.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QRCode.d.ts","sourceRoot":"","sources":["../src/QRCode.ts"],"names":[],"mappings":"AAEA,qBAAa,MAAM;IACK,OAAO,CAAC,QAAQ,CAAC,MAAM;IAA3C,OAAO;IAEA,QAAQ,IAAI,MAAM;WAIL,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"QRCode.d.ts","sourceRoot":"","sources":["../src/QRCode.ts"],"names":[],"mappings":"AAEA,qBAAa,MAAM;IACK,OAAO,CAAC,QAAQ,CAAC,MAAM;IAA3C,OAAO;IAEA,QAAQ,IAAI,MAAM;WAIL,GAAG,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;CAM9D"}
|
package/dist/QRCode.js
CHANGED
|
@@ -42,8 +42,8 @@ class QRCode {
|
|
|
42
42
|
asBase64() {
|
|
43
43
|
return this.base64;
|
|
44
44
|
}
|
|
45
|
-
static async for(
|
|
46
|
-
const dataUrl = await qrcodeLibrary.toDataURL(`nmshd://tr#${
|
|
45
|
+
static async for(reference) {
|
|
46
|
+
const dataUrl = await qrcodeLibrary.toDataURL(reference.startsWith("http") ? reference : `nmshd://tr#${reference}`);
|
|
47
47
|
const base64 = dataUrl.split(",")[1];
|
|
48
48
|
return new QRCode(base64);
|
|
49
49
|
}
|
package/dist/QRCode.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QRCode.js","sourceRoot":"","sources":["../src/QRCode.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sDAAwC;AAExC,MAAa,MAAM;IACf,YAAqC,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;IAAG,CAAC;IAEhD,QAAQ;QACX,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;IAEM,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"QRCode.js","sourceRoot":"","sources":["../src/QRCode.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sDAAwC;AAExC,MAAa,MAAM;IACf,YAAqC,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;IAAG,CAAC;IAEhD,QAAQ;QACX,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;IAEM,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,SAAiB;QACrC,MAAM,OAAO,GAAG,MAAM,aAAa,CAAC,SAAS,CAAC,SAAS,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,cAAc,SAAS,EAAE,CAAC,CAAC;QACpH,MAAM,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;QAErC,OAAO,IAAI,MAAM,CAAC,MAAM,CAAC,CAAC;IAC9B,CAAC;CACJ;AAbD,wBAaC"}
|
package/package.json
CHANGED
|
@@ -28,16 +28,16 @@
|
|
|
28
28
|
"@js-soft/logging-abstractions": "^1.0.1",
|
|
29
29
|
"@types/express": "^5.0.1",
|
|
30
30
|
"@types/luxon": "^3.6.2",
|
|
31
|
-
"@types/node": "^22.15.
|
|
31
|
+
"@types/node": "^22.15.16",
|
|
32
32
|
"@types/qrcode": "^1.5.5",
|
|
33
33
|
"typescript": "^5.8.3"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"@js-soft/docdb-access-abstractions": "^1.1.0",
|
|
37
37
|
"@js-soft/ts-utils": "^2.3.3",
|
|
38
|
-
"@nmshd/runtime": "^6.
|
|
39
|
-
"@nmshd/typescript-rest": "^3.1.
|
|
40
|
-
"express": "^
|
|
38
|
+
"@nmshd/runtime": "^6.44.0",
|
|
39
|
+
"@nmshd/typescript-rest": "^3.1.3",
|
|
40
|
+
"express": "^5.1.0"
|
|
41
41
|
},
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"qrcode": "^1.5.4"
|
|
48
48
|
},
|
|
49
|
-
"version": "6.
|
|
49
|
+
"version": "6.26.0"
|
|
50
50
|
}
|