decane-connect-kit 2.29.1 → 2.29.3
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 +8 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +8 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2520,15 +2520,16 @@ init_errors();
|
|
|
2520
2520
|
|
|
2521
2521
|
// ../infra/tee-measurement.json
|
|
2522
2522
|
var tee_measurement_default = {
|
|
2523
|
-
signerVersion: "0.2.
|
|
2523
|
+
signerVersion: "0.2.13",
|
|
2524
2524
|
acceptedMrtd: [
|
|
2525
|
+
'["fb14dc139f33d6fcf474bc8332cac001259fb31cfbcb6b34d4ceeb552a2c4466884a0cbde45ad98a05c5c060c23ad65a","07e6f51aa763abfe75c3ddfbf4f425fe3f0ceff66d807a75e049303dce9addf68e7218729bd419638af63a370f65878c","a2a58c9a959a4fa44bd6da0c97a2270c051faf12084cfe91ae900e4fdff6cdd4f69a82005e04ee920f231497894d677f","5538de3ba0930ae65c7c2b99346742a67dff7891545d91e8d74006d215fff256db91998eaff1c3dcca679a89df566700"]',
|
|
2525
2526
|
'["fb14dc139f33d6fcf474bc8332cac001259fb31cfbcb6b34d4ceeb552a2c4466884a0cbde45ad98a05c5c060c23ad65a","07e6f51aa763abfe75c3ddfbf4f425fe3f0ceff66d807a75e049303dce9addf68e7218729bd419638af63a370f65878c","a2a58c9a959a4fa44bd6da0c97a2270c051faf12084cfe91ae900e4fdff6cdd4f69a82005e04ee920f231497894d677f","a76a81147b7f733cb400914c8791ec149bb3a31f3727b1c1e12ec22e9c1a183b6e617e78636dca37075f5a695afd46c2"]',
|
|
2526
2527
|
'["68102e7b524af310f7b7d426ce75481e36c40f5d513a9009c046e9d37e31551f0134d954b496a3357fd61d03f07ffe96","07e6f51aa763abfe75c3ddfbf4f425fe3f0ceff66d807a75e049303dce9addf68e7218729bd419638af63a370f65878c","a2a58c9a959a4fa44bd6da0c97a2270c051faf12084cfe91ae900e4fdff6cdd4f69a82005e04ee920f231497894d677f","a76a81147b7f733cb400914c8791ec149bb3a31f3727b1c1e12ec22e9c1a183b6e617e78636dca37075f5a695afd46c2"]'
|
|
2527
2528
|
],
|
|
2528
|
-
primaryMrtd: '["fb14dc139f33d6fcf474bc8332cac001259fb31cfbcb6b34d4ceeb552a2c4466884a0cbde45ad98a05c5c060c23ad65a","07e6f51aa763abfe75c3ddfbf4f425fe3f0ceff66d807a75e049303dce9addf68e7218729bd419638af63a370f65878c","a2a58c9a959a4fa44bd6da0c97a2270c051faf12084cfe91ae900e4fdff6cdd4f69a82005e04ee920f231497894d677f","
|
|
2529
|
-
capturedAt: "2026-09-
|
|
2529
|
+
primaryMrtd: '["fb14dc139f33d6fcf474bc8332cac001259fb31cfbcb6b34d4ceeb552a2c4466884a0cbde45ad98a05c5c060c23ad65a","07e6f51aa763abfe75c3ddfbf4f425fe3f0ceff66d807a75e049303dce9addf68e7218729bd419638af63a370f65878c","a2a58c9a959a4fa44bd6da0c97a2270c051faf12084cfe91ae900e4fdff6cdd4f69a82005e04ee920f231497894d677f","5538de3ba0930ae65c7c2b99346742a67dff7891545d91e8d74006d215fff256db91998eaff1c3dcca679a89df566700"]',
|
|
2530
|
+
capturedAt: "2026-09-30T18:36:41Z",
|
|
2530
2531
|
tcbStatus: "UpToDate",
|
|
2531
|
-
_note: "Captured from the live CVM
|
|
2532
|
+
_note: "Captured from the live CVM app_4405742df08d after the 2026-09-30 restart that shipped signer 0.2.13 (Path A, compose byte-identical). RTMR3 changed; RTMR0-2 did not. The app-id and compose-hash events in RTMR3 are unchanged, so the move is in the platform-recorded events (instance, KMS or OS image) underneath the CVM, not in what we deploy. The quote verified against Intel (TCB UpToDate) and bound a fresh nonce before this was accepted, with the operator's approval. Sealing verified intact (/signer/sealing-status ready). Both previous measurements are retained so a rollback still verifies. measurement is the JSON.stringify(replayRtmrs()) output, compared as an opaque string."
|
|
2532
2533
|
};
|
|
2533
2534
|
|
|
2534
2535
|
// src/social/attestation.ts
|
|
@@ -3910,7 +3911,7 @@ async function buildPortableBackup(deviceShare, recoveryShare, password, address
|
|
|
3910
3911
|
// src/social/client.ts
|
|
3911
3912
|
var DEFAULT_API_BASE = "https://backend.decane.app";
|
|
3912
3913
|
var DEFAULT_TEE_URL = "https://4405742df08d19abc549a05ade2a7154d98bd87f-8443.dstack-pha-prod9.phala.network";
|
|
3913
|
-
var DEFAULT_SESSION_MINUTES =
|
|
3914
|
+
var DEFAULT_SESSION_MINUTES = 480;
|
|
3914
3915
|
function makePersistKey(apiKey) {
|
|
3915
3916
|
return `decane:social:${apiKey.slice(0, 20)}`;
|
|
3916
3917
|
}
|
|
@@ -6887,6 +6888,7 @@ function DecaneKit({ config, children }) {
|
|
|
6887
6888
|
protection,
|
|
6888
6889
|
deferDeviceProtection,
|
|
6889
6890
|
resumeSessionAcrossTabs,
|
|
6891
|
+
sessionDurationMinutes,
|
|
6890
6892
|
// Recovery callbacks. Forwarding these is what makes recovery
|
|
6891
6893
|
// configurable at all from <DecaneKit>; before, they were silently
|
|
6892
6894
|
// dropped and the headless client was constructed without them.
|
|
@@ -6910,6 +6912,7 @@ function DecaneKit({ config, children }) {
|
|
|
6910
6912
|
protection,
|
|
6911
6913
|
deferDeviceProtection,
|
|
6912
6914
|
resumeSessionAcrossTabs,
|
|
6915
|
+
sessionDurationMinutes,
|
|
6913
6916
|
offerRecoveryAtSignup,
|
|
6914
6917
|
onRecoveryShareOffer,
|
|
6915
6918
|
onRecoveryFileReady,
|