@learncard/lca-api-service 1.6.0 → 1.6.2
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/AGENTS.md +21 -0
- package/CHANGELOG.md +31 -0
- package/dist/app.d.ts +41 -0
- package/dist/cache/recoverySessions.d.ts +5 -0
- package/dist/didkit_wasm_bg.wasm +0 -0
- package/dist/helpers/accountSecureLink.d.ts +4 -0
- package/dist/helpers/accountSecureLink.test.d.ts +1 -0
- package/dist/index.js +2 -2
- package/dist/models/EscrowHold.d.ts +4 -1
- package/dist/models/UserKey.d.ts +199 -1
- package/dist/publish-metafile.json +1 -1
- package/dist/routes/escrow.d.ts +4 -0
- package/dist/routes/keys.d.ts +47 -1
- package/dist/services/escrow-enclave/enrollmentLease.d.ts +8 -0
- package/dist/services/escrow-enclave/notifications.d.ts +1 -1
- package/package.json +11 -11
- package/project.json +1 -1
- package/src/cache/recoverySessions.ts +38 -0
- package/src/helpers/accountSecureLink.test.ts +26 -0
- package/src/helpers/accountSecureLink.ts +16 -0
- package/src/jobs/escrowBlobRewrap.ts +95 -3
- package/src/models/EscrowHold.ts +23 -6
- package/src/models/UserKey.escrowPin.test.ts +21 -0
- package/src/models/UserKey.ts +553 -47
- package/src/routes/escrow.ts +326 -67
- package/src/routes/keys.ts +416 -7
- package/src/services/delivery/adapters/postmark.adapter.ts +11 -0
- package/src/services/escrow-enclave/README.md +8 -3
- package/src/services/escrow-enclave/enrollmentLease.ts +124 -0
- package/src/services/escrow-enclave/notifications.test.ts +69 -0
- package/src/services/escrow-enclave/notifications.ts +19 -1
- package/test/jobs/escrowHoldReminders.spec.ts +88 -4
- package/test/keys-escrow.spec.ts +4 -0
- package/test/keys-lifecycle-invariants.spec.ts +76 -0
- package/test/keys-pin-lease.spec.ts +1132 -0
- package/test/keys-pin-sign-in.spec.ts +1152 -0
- package/tsconfig.json +13 -14
package/tsconfig.json
CHANGED
|
@@ -17,21 +17,20 @@
|
|
|
17
17
|
"emitDeclarationOnly": true,
|
|
18
18
|
"sourceMap": true,
|
|
19
19
|
"rootDir": ".",
|
|
20
|
-
"baseUrl": ".",
|
|
21
20
|
"paths": {
|
|
22
|
-
"@accesslayer/*": ["src/accesslayer/*"],
|
|
23
|
-
"@cache": ["src/cache/index.ts"],
|
|
24
|
-
"@cache/*": ["src/cache/*"],
|
|
25
|
-
"@config/*": ["src/config/*"],
|
|
26
|
-
"@environment": ["src/config/environment.ts"],
|
|
27
|
-
"@helpers/*": ["src/helpers/*"],
|
|
28
|
-
"@instance": ["src/instance.ts"],
|
|
29
|
-
"@firebase": ["src/firebase.ts"],
|
|
30
|
-
"@mongo": ["src/mongo.ts"],
|
|
31
|
-
"@models": ["src/models/index.ts"],
|
|
32
|
-
"@routes": ["src/routes/index.ts"],
|
|
33
|
-
"@routes/*": ["src/routes/*"],
|
|
34
|
-
"types/*": ["src/types/*"]
|
|
21
|
+
"@accesslayer/*": ["./src/accesslayer/*"],
|
|
22
|
+
"@cache": ["./src/cache/index.ts"],
|
|
23
|
+
"@cache/*": ["./src/cache/*"],
|
|
24
|
+
"@config/*": ["./src/config/*"],
|
|
25
|
+
"@environment": ["./src/config/environment.ts"],
|
|
26
|
+
"@helpers/*": ["./src/helpers/*"],
|
|
27
|
+
"@instance": ["./src/instance.ts"],
|
|
28
|
+
"@firebase": ["./src/firebase.ts"],
|
|
29
|
+
"@mongo": ["./src/mongo.ts"],
|
|
30
|
+
"@models": ["./src/models/index.ts"],
|
|
31
|
+
"@routes": ["./src/routes/index.ts"],
|
|
32
|
+
"@routes/*": ["./src/routes/*"],
|
|
33
|
+
"types/*": ["./src/types/*"]
|
|
35
34
|
},
|
|
36
35
|
"allowJs": false
|
|
37
36
|
},
|