@panneau/auth 4.0.4 → 4.0.6

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/es/index.js +2 -2
  2. package/package.json +4 -4
package/es/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
2
2
  import { PropTypes as PropTypes$1 } from '@panneau/core';
3
3
  import PropTypes from 'prop-types';
4
- import React, { useState, useCallback, useContext, useEffect, useMemo } from 'react';
4
+ import { useState, useCallback, useContext, createContext, useEffect, useMemo } from 'react';
5
5
  import { jsx } from 'react/jsx-runtime';
6
6
  import { useApi } from '@panneau/data';
7
7
 
@@ -143,7 +143,7 @@ var useAuthResetPassword = function useAuthResetPassword() {
143
143
  };
144
144
  };
145
145
 
146
- var AuthContext = /*#__PURE__*/React.createContext(null);
146
+ var AuthContext = /*#__PURE__*/createContext(null);
147
147
  var useAuth = function useAuth() {
148
148
  return useContext(AuthContext);
149
149
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/auth",
3
- "version": "4.0.4",
3
+ "version": "4.0.6",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -57,12 +57,12 @@
57
57
  },
58
58
  "dependencies": {
59
59
  "@babel/runtime": "^7.12.5",
60
- "@panneau/core": "^4.0.4",
61
- "@panneau/data": "^4.0.4",
60
+ "@panneau/core": "^4.0.6",
61
+ "@panneau/data": "^4.0.6",
62
62
  "prop-types": "^15.7.2"
63
63
  },
64
64
  "publishConfig": {
65
65
  "access": "public"
66
66
  },
67
- "gitHead": "e854451a718c6bc7dcde2b804c9913d8ac0297ff"
67
+ "gitHead": "bd99a563382eeec6e02a9aca4f3b0ea38ce5efe1"
68
68
  }