tkhq / sdk

Turnkey TypeScript SDK
Apache License 2.0
48 stars 12 forks source link

signing session api #300

Closed AlwaysBCoding closed 2 months ago

AlwaysBCoding commented 2 months ago

Changes the authBundle string storage value for passkey sessions to a signingSession object that includes both the authBundle and the expirationTimestamp to make it easier for application code to check if a signingSession is active vs. expired and to auto-remove the session if it's expired.

open question if we can delete the authBundle value and just use signingSession.authBundle or if we need to keep it because people are actively using that API?

codesandbox-ci[bot] commented 2 months ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

socket-security[bot] commented 2 months ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@turnkey/ethers@1.0.10 None 0 0 B
npm/@turnkey/sdk-browser@0.4.0 None 0 0 B
npm/@turnkey/sdk-react@0.4.0 None 0 0 B
npm/@turnkey/viem@0.4.20 None 0 0 B

🚮 Removed packages: npm/@turnkey/ethers@1.0.9, npm/@turnkey/sdk-browser@0.3.0, npm/@turnkey/sdk-react@0.3.0, npm/@turnkey/viem@0.4.19

View full report↗︎