@dnax/core 0.38.0 → 0.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types/index.ts +1 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dnax/core",
3
- "version": "0.38.0",
3
+ "version": "0.40.0",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "bin": {
package/types/index.ts CHANGED
@@ -171,15 +171,8 @@ export type sessionCtx = {
171
171
  user?: object;
172
172
  };
173
173
  token?: string;
174
- _v?: {
175
- ip: string;
176
- isAuth: boolean;
177
- reqAt?: string;
178
- setAt?: string;
179
- };
180
174
  role?: string | null | undefined;
181
175
  expiresIn?: string;
182
- isAuth?: boolean;
183
176
  }) => void;
184
177
  get: () => {
185
178
  state: {
@@ -191,6 +184,7 @@ export type sessionCtx = {
191
184
  isAuth: boolean;
192
185
  reqAt?: string;
193
186
  setAt?: string;
187
+ token?: string;
194
188
  };
195
189
  role: string | null | undefined;
196
190
  token: string | null | undefined;