authscape 1.0.66 → 1.0.67

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.
package/index.js CHANGED
@@ -74,7 +74,7 @@ var _nextCookies = _interopRequireDefault(require("next-cookies"));
74
74
 
75
75
  var _nookies = require("nookies");
76
76
 
77
- var _helper = _interopRequireDefault(require("helper"));
77
+ var _helper = _interopRequireDefault(require("./helper"));
78
78
 
79
79
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
80
80
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "authscape",
3
- "version": "1.0.66",
3
+ "version": "1.0.67",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -3,12 +3,12 @@ import querystring from 'querystring';
3
3
  import fileDownload from 'js-file-download';
4
4
  import cookies from 'next-cookies';
5
5
  import { setCookie, destroyCookie } from 'nookies';
6
- import helper from "./helper";
6
+ import Helper from "./helper";
7
7
 
8
8
  const setupDefaultOptions = async (ctx = {}) => {
9
9
 
10
10
  let defaultOptions = {};
11
- if (helper().isObjectEmpty(ctx))
11
+ if (Helper().isObjectEmpty(ctx))
12
12
  {
13
13
  let accessToken = cookies(ctx).access_token || '';
14
14