@dnax/core 0.13.7 → 0.14.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.
@@ -58,7 +58,7 @@ const sessionStorage = () => ({
58
58
 
59
59
  let data = {
60
60
  token: input?.token || null,
61
- state: input.state,
61
+ state: input?.state,
62
62
  role: input?.role || null,
63
63
  _v: {
64
64
  ...(input?._v || {}),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dnax/core",
3
- "version": "0.13.7",
3
+ "version": "0.14.0",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "bin": {
package/types/index.ts CHANGED
@@ -164,7 +164,7 @@ export type sessionCtx = {
164
164
  token?: string;
165
165
  _v?: object;
166
166
  role?: string | null | undefined;
167
- expireIn?: string;
167
+ expiresIn?: string;
168
168
  }) => void;
169
169
  get: () => {
170
170
  state: object;