decane-connect-kit 2.29.1 → 2.29.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/dist/index.cjs +3 -1
- 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 +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3910,7 +3910,7 @@ async function buildPortableBackup(deviceShare, recoveryShare, password, address
|
|
|
3910
3910
|
// src/social/client.ts
|
|
3911
3911
|
var DEFAULT_API_BASE = "https://backend.decane.app";
|
|
3912
3912
|
var DEFAULT_TEE_URL = "https://4405742df08d19abc549a05ade2a7154d98bd87f-8443.dstack-pha-prod9.phala.network";
|
|
3913
|
-
var DEFAULT_SESSION_MINUTES =
|
|
3913
|
+
var DEFAULT_SESSION_MINUTES = 480;
|
|
3914
3914
|
function makePersistKey(apiKey) {
|
|
3915
3915
|
return `decane:social:${apiKey.slice(0, 20)}`;
|
|
3916
3916
|
}
|
|
@@ -6887,6 +6887,7 @@ function DecaneKit({ config, children }) {
|
|
|
6887
6887
|
protection,
|
|
6888
6888
|
deferDeviceProtection,
|
|
6889
6889
|
resumeSessionAcrossTabs,
|
|
6890
|
+
sessionDurationMinutes,
|
|
6890
6891
|
// Recovery callbacks. Forwarding these is what makes recovery
|
|
6891
6892
|
// configurable at all from <DecaneKit>; before, they were silently
|
|
6892
6893
|
// dropped and the headless client was constructed without them.
|
|
@@ -6910,6 +6911,7 @@ function DecaneKit({ config, children }) {
|
|
|
6910
6911
|
protection,
|
|
6911
6912
|
deferDeviceProtection,
|
|
6912
6913
|
resumeSessionAcrossTabs,
|
|
6914
|
+
sessionDurationMinutes,
|
|
6913
6915
|
offerRecoveryAtSignup,
|
|
6914
6916
|
onRecoveryShareOffer,
|
|
6915
6917
|
onRecoveryFileReady,
|