New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bedrock-account-http

Package Overview
Dependencies
Maintainers
5
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bedrock-account-http - npm Package Compare versions

Comparing version

to
3.1.0

5

CHANGELOG.md
# bedrock-account-http ChangeLog
## 3.1.0 - 2021-06-08
### Added
- Add `res` to autoLogin event params.
## 3.0.0 - 2021-03-19

@@ -4,0 +9,0 @@

2

lib/config.js
/*!
* Copyright (c) 2019-2020 Digital Bazaar, Inc. All rights reserved.
* Copyright (c) 2019-2021 Digital Bazaar, Inc. All rights reserved.
*/

@@ -4,0 +4,0 @@ 'use strict';

/*!
* Copyright (c) 2019-2020 Digital Bazaar, Inc. All rights reserved.
* Copyright (c) 2019-2021 Digital Bazaar, Inc. All rights reserved.
*/

@@ -81,7 +81,8 @@ 'use strict';

// behavior after first account login
bedrock.events.emit('bedrock-account-http.autoLogin', {req, account})
.then(
() => res.status(201).location(baseUri + '/' + account.id)
.json(account),
next);
bedrock.events.emit('bedrock-account-http.autoLogin', {
req, res, account
}).then(
() => res.status(201).location(baseUri + '/' + account.id)
.json(account),
next);
});

@@ -88,0 +89,0 @@ }));

Bedrock Non-Commercial License v1.0
===================================
Copyright (c) 2011-2020 Digital Bazaar, Inc.
Copyright (c) 2011-2021 Digital Bazaar, Inc.
All rights reserved.

@@ -6,0 +6,0 @@

{
"name": "bedrock-account-http",
"version": "3.0.0",
"version": "3.1.0",
"description": "HTTP API for Bedrock User Accounts",

@@ -5,0 +5,0 @@ "license": "SEE LICENSE IN LICENSE.md",

/*!
* Copyright (c) 2019-2020 Digital Bazaar, Inc. All rights reserved.
* Copyright (c) 2019-2021 Digital Bazaar, Inc. All rights reserved.
*/

@@ -4,0 +4,0 @@ 'use strict';

/*!
* Copyright (c) 2019 Digital Bazaar, Inc. All rights reserved.
* Copyright (c) 2019-2021 Digital Bazaar, Inc. All rights reserved.
*/

@@ -4,0 +4,0 @@ 'use strict';

/*
* Copyright (c) 2019-2020 Digital Bazaar, Inc. All rights reserved.
* Copyright (c) 2019-2021 Digital Bazaar, Inc. All rights reserved.
*/

@@ -4,0 +4,0 @@ 'use strict';

/*!
* Copyright (c) 2019-2020 Digital Bazaar, Inc. All rights reserved.
* Copyright (c) 2019-2021 Digital Bazaar, Inc. All rights reserved.
*/

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

/*
* Copyright (c) 2019-2020 Digital Bazaar, Inc. All rights reserved.
* Copyright (c) 2019-2021 Digital Bazaar, Inc. All rights reserved.
*/

@@ -4,0 +4,0 @@ 'use strict';

/*!
* Copyright (c) 2012-2020 Digital Bazaar, Inc. All rights reserved.
* Copyright (c) 2012-2021 Digital Bazaar, Inc. All rights reserved.
*/

@@ -4,0 +4,0 @@ 'use strict';

/*!
* Copyright (c) 2016-2020 Digital Bazaar, Inc. All rights reserved.
* Copyright (c) 2016-2021 Digital Bazaar, Inc. All rights reserved.
*/

@@ -4,0 +4,0 @@ 'use strict';