Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@1auth/messenger

Package Overview
Dependencies
Maintainers
0
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@1auth/messenger - npm Package Compare versions

Comparing version 0.0.0-alpha.47 to 0.0.0-alpha.48

19

index.js

@@ -82,3 +82,3 @@ import {

})
for (let i = messengers.length; i--;) {
for (let i = messengers.length; i--; ) {
const { encryptionKey: encryptedKey, sub } = messengers[i]

@@ -204,2 +204,19 @@ delete messengers[i].encryptionKey

export const select = async (type, sub, id) => {
const res = await options.store.select(options.table, {
type,
sub,
id
})
if (!res?.verify) return
const { encryptionKey: encryptedKey } = res
delete res.encryptionKey
const decryptedValues = symmetricDecryptFields(
res,
{ encryptedKey, sub },
options.encryptedFields
)
return decryptedValues
}
const nowInSeconds = () => Math.floor(Date.now() / 1000)

6

package.json
{
"name": "@1auth/messenger",
"version": "0.0.0-alpha.47",
"version": "0.0.0-alpha.48",
"description": "",

@@ -53,5 +53,5 @@ "type": "module",

"dependencies": {
"@1auth/authn": "0.0.0-alpha.47",
"@1auth/crypto": "0.0.0-alpha.47"
"@1auth/authn": "0.0.0-alpha.48",
"@1auth/crypto": "0.0.0-alpha.48"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc