@bigbinary/neeto-commons-frontend 2.1.39 → 3.0.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neeto-commons-frontend",
3
- "version": "2.1.39",
3
+ "version": "3.0.0",
4
4
  "description": "A package encapsulating common code across neeto projects including initializers, utility functions, common components and hooks and so on.",
5
5
  "repository": "git@github.com:bigbinary/neeto-commons-frontend.git",
6
6
  "author": "Amaljith K <amaljith.k@bigbinary.com>",
@@ -28,7 +28,6 @@
28
28
  "cypress-utils.*",
29
29
  "cypress-commands.*",
30
30
  "utils.*",
31
- "pure.*",
32
31
  "constants.*",
33
32
  "configs",
34
33
  "cypress-configs"
@@ -54,11 +53,6 @@
54
53
  "require": "./utils.cjs.js",
55
54
  "types": "./utils.d.ts"
56
55
  },
57
- "./pure": {
58
- "import": "./pure.js",
59
- "require": "./pure.cjs.js",
60
- "types": "./pure.d.ts"
61
- },
62
56
  "./initializers": {
63
57
  "import": "./initializers.js",
64
58
  "require": "./initializers.cjs.js",
@@ -85,6 +79,7 @@
85
79
  "@bigbinary/babel-preset-neeto": "^1.0.3",
86
80
  "@bigbinary/eslint-plugin-neeto": "^1.1.1",
87
81
  "@bigbinary/neeto-audit-frontend": "1.0.8",
82
+ "@bigbinary/neeto-cist": "^1.0.4",
88
83
  "@bigbinary/neeto-commons-frontend": "^2.1.5",
89
84
  "@bigbinary/neeto-icons": "^1.9.15",
90
85
  "@bigbinary/neeto-molecules": "^1.0.9",
@@ -183,6 +178,7 @@
183
178
  },
184
179
  "peerDependencies": {
185
180
  "@bigbinary/babel-preset-neeto": "^1.0.3",
181
+ "@bigbinary/neeto-cist": "latest",
186
182
  "@bigbinary/neeto-commons-frontend": "latest",
187
183
  "@bigbinary/neeto-icons": "latest",
188
184
  "@bigbinary/neeto-molecules": "^latest",
@@ -9,7 +9,7 @@ var ramda = require('ramda');
9
9
  var reactI18next = require('react-i18next');
10
10
  var ErrorPage = require('@bigbinary/neeto-molecules/ErrorPage');
11
11
  var reactRouterDom = require('react-router-dom');
12
- var pure = require('@bigbinary/neeto-commons-frontend/pure');
12
+ var neetoCist = require('@bigbinary/neeto-cist');
13
13
  var reactUtils = require('@bigbinary/neeto-commons-frontend/react-utils');
14
14
  var axios = require('axios');
15
15
  var utils$3 = require('@bigbinary/neeto-commons-frontend/utils');
@@ -296,7 +296,7 @@ var useFetchNeetoApps = function useFetchNeetoApps(options) {
296
296
  var neetoApps = reactUtils.usePersistedQuery.getCache(scopedQueryKey);
297
297
  return reactUtils.usePersistedQuery(scopedQueryKey, neetoAppsApi.fetch, _objectSpread$3({
298
298
  staleTime: NEETO_APPS_LIST_STALE_TIME,
299
- enabled: pure.isNotPresent(neetoApps === null || neetoApps === void 0 ? void 0 : neetoApps.data)
299
+ enabled: neetoCist.isNotPresent(neetoApps === null || neetoApps === void 0 ? void 0 : neetoApps.data)
300
300
  }, options));
301
301
  };
302
302