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

@bedrock/authn-token

Package Overview
Dependencies
Maintainers
5
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bedrock/authn-token - npm Package Compare versions

Comparing version 10.4.0 to 11.0.0

7

CHANGELOG.md
# bedrock-authn-token ChangeLog
## 11.0.0 - 2023-01-24
### Changed
- **BREAKING**: Use `@bedrock/account@9`. This update changes the database
record and layout for accounts in ways that incompatible with any previous
releases.
## 10.4.0 - 2022-12-30

@@ -4,0 +11,0 @@

4

package.json
{
"name": "@bedrock/authn-token",
"version": "10.4.0",
"version": "11.0.0",
"type": "module",

@@ -32,3 +32,3 @@ "description": "Simple token-based authentication for Bedrock apps",

"peerDependencies": {
"@bedrock/account": "^8.2.0",
"@bedrock/account": "^9.0.0",
"@bedrock/core": "^6.0.0"

@@ -35,0 +35,0 @@ },

/*!
* Copyright (c) 2018-2022 Digital Bazaar, Inc. All rights reserved.
* Copyright (c) 2018-2023 Digital Bazaar, Inc. All rights reserved.
*/

@@ -4,0 +4,0 @@ import * as brAccount from '@bedrock/account';

/*!
* Copyright (c) 2018-2022 Digital Bazaar, Inc. All rights reserved.
* Copyright (c) 2018-2023 Digital Bazaar, Inc. All rights reserved.
*/

@@ -12,3 +12,4 @@ import * as brAccount from '@bedrock/account';

export async function removeCollections(collectionNames = ['account']) {
export async function removeCollections(
collectionNames = ['account', 'account-email']) {
await database.openCollections(collectionNames);

@@ -15,0 +16,0 @@ for(const collectionName of collectionNames) {

@@ -13,3 +13,3 @@ {

"dependencies": {
"@bedrock/account": "^8.0.0",
"@bedrock/account": "^9.0.0",
"@bedrock/authn-token": "file:..",

@@ -16,0 +16,0 @@ "@bedrock/core": "^6.0.0",

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