Skip to content

Commit

Permalink
add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
pradel committed Jul 25, 2021
1 parent d72e62a commit 7173624
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 3 deletions.
38 changes: 38 additions & 0 deletions .changeset/chatty-frogs-kiss.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
'@accounts/client': minor
'@accounts/client-magic-link': minor
'@accounts/database-manager': minor
'@accounts/mongo': minor
'@accounts/mongo-magic-link': minor
'@accounts/typeorm': minor
'@accounts/graphql-api': minor
'@accounts/graphql-client': minor
'@accounts/magic-link': minor
'@accounts/rest-client': minor
'@accounts/rest-express': minor
'@accounts/server': minor
'@accounts/types': minor
---

Add support for magic-link strategy 🎉.

Installation:

```sh
yarn add @accounts/magic-link
```

Usage:

```js
import AccountsMagicLink from '@accounts/magic-link';

const accountsMagicLink = new AccountsMagicLink({});

const accountsServer = new AccountsServer(
{ db: accountsDb, tokenSecret: 'secret' },
{
magicLink: accountsMagicLink,
}
);
```
2 changes: 1 addition & 1 deletion packages/client-magic-link/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@accounts/client-magic-link",
"version": "0.32.0",
"version": "0.1.0",
"description": "@accounts/client-magic-link",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/database-mongo-magic-link/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@accounts/mongo-magic-link",
"version": "0.32.0",
"version": "0.1.0",
"description": "MongoDB magic link adaptor for accounts",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/magic-link/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@accounts/magic-link",
"version": "0.32.0",
"version": "0.1.0",
"license": "MIT",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
Expand Down

0 comments on commit 7173624

Please sign in to comment.