solana-traderclaw 1.0.86 → 1.0.88
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.
|
@@ -358,6 +358,16 @@ var SessionManager = class {
|
|
|
358
358
|
if (challenge.walletPublicKey) {
|
|
359
359
|
this.walletPublicKey = challenge.walletPublicKey;
|
|
360
360
|
}
|
|
361
|
+
if (tokens.recoverySecret && this.onRecoverySecretRotated) {
|
|
362
|
+
try {
|
|
363
|
+
this.onRecoverySecretRotated(tokens.recoverySecret);
|
|
364
|
+
this.log.info("[session] Recovery secret from session start persisted.");
|
|
365
|
+
} catch (err) {
|
|
366
|
+
this.log.warn(
|
|
367
|
+
`[session] Failed to persist recovery secret from session start: ${err instanceof Error ? err.message : String(err)}`
|
|
368
|
+
);
|
|
369
|
+
}
|
|
370
|
+
}
|
|
361
371
|
}
|
|
362
372
|
async getAccessToken() {
|
|
363
373
|
if (this.accessToken && Date.now() < this.accessTokenExpiresAt - 12e4) {
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "solana-traderclaw",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.88",
|
|
4
4
|
"description": "TraderClaw V1-Upgraded — Solana trading for OpenClaw with intelligence lab, tool envelopes, prompt scrubbing, read-only X social intel, and split skill docs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|