@accounts/database-manager
Advanced tools
Comparing version 0.28.0-alpha.0 to 0.28.0-alpha.1
{ | ||
"name": "@accounts/database-manager", | ||
"version": "0.28.0-alpha.0", | ||
"version": "0.28.0-alpha.1", | ||
"description": "Accounts Database Manager, allow the use of separate databases for session and user", | ||
@@ -38,4 +38,4 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@types/jest": "25.2.1", | ||
"@types/node": "14.0.13", | ||
"@types/jest": "25.2.3", | ||
"@types/node": "14.0.14", | ||
"jest": "26.0.1", | ||
@@ -45,6 +45,6 @@ "rimraf": "3.0.2" | ||
"dependencies": { | ||
"@accounts/types": "^0.28.0-alpha.0", | ||
"@accounts/types": "^0.28.0-alpha.1", | ||
"tslib": "2.0.0" | ||
}, | ||
"gitHead": "9d3a051504a7c8a1698fd3c9cd8b1dbb11fcd906" | ||
"gitHead": "cdeb32e488cefb4042cf1fe092d92ea73a87c64f" | ||
} |
# @accounts/database-manager | ||
## Install | ||
[![npm](https://img.shields.io/npm/v/@accounts/database-manager)](https://www.npmjs.com/package/@accounts/database-manager) | ||
[![npm downloads](https://img.shields.io/npm/dm/@accounts/database-manager)](https://www.npmjs.com/package/@accounts/database-manager) | ||
[![codecov](https://img.shields.io/codecov/c/github/accounts-js/accounts)](https://codecov.io/gh/accounts-js/accounts) | ||
[![License](https://img.shields.io/github/license/accounts-js/accounts)](https://github.com/accounts-js/accounts/blob/master/LICENSE) | ||
## Documentation | ||
- [API documentation](https://www.accountsjs.com/docs/api/database-manager/globals) | ||
## Installation | ||
``` | ||
@@ -9,14 +18,4 @@ yarn add @accounts/database-manager | ||
## Usage | ||
## Contributing | ||
```javascript | ||
import { AccountsServer } from '@accounts/server'; | ||
import { DatabaseManager } from '@accounts/database-manager'; | ||
const accountsDb = new DatabaseManager({ | ||
userStorage: // Your user storage db | ||
sessionStorage: // Your session storage db | ||
}); | ||
const accountsServer = new AccountsServer({ db: accountsDb }); | ||
``` | ||
Any contribution is very welcome, read our [contributing guide](https://github.com/accounts-js/accounts/blob/master/CONTRIBUTING.md) to see how to locally setup the repository and see our development process. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
134736
21