Skip to content

Commit 3e51440

Browse files
committed
remove some unused fields
1 parent 5fc4b08 commit 3e51440

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

packages/common/src/types.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { HashAlgorithm } from './config';
2-
31
export interface TokenRecord {
42
token: string;
53
address: string;

packages/server/src/accounts-server.ts

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,21 @@
11
import * as pick from 'lodash/pick';
22
import * as omit from 'lodash/omit';
33
import * as isString from 'lodash/isString';
4-
import * as isPlainObject from 'lodash/isPlainObject';
5-
import * as isFunction from 'lodash/isFunction';
6-
import * as isArray from 'lodash/isArray';
7-
import * as find from 'lodash/find';
8-
import * as includes from 'lodash/includes';
9-
import * as get from 'lodash/get';
104
import { EventEmitter } from 'events';
115
import * as jwt from 'jsonwebtoken';
126
import {
137
AccountsError,
14-
toUsernameAndEmail,
15-
validators,
168
UserObjectType,
17-
CreateUserType,
189
LoginReturnType,
1910
TokensType,
2011
SessionType,
2112
ImpersonateReturnType,
22-
EmailRecord,
2313
HookListener,
2414
} from '@accounts/common';
25-
import config, { AccountsServerConfiguration } from './config';
26-
import { verifyPassword, hashPassword, bcryptPassword } from './encryption';
15+
import config from './config';
2716
import {
2817
generateAccessToken,
2918
generateRefreshToken,
30-
generateRandomToken,
3119
} from './tokens';
3220
import Email, {
3321
emailTemplates,

0 commit comments

Comments
 (0)