@dhis2/app-service-data 3.17.0-beta.2 → 3.17.0-beta.4

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.
@@ -8,8 +8,6 @@ exports.stableVariablesHash = stableVariablesHash;
8
8
  function hasObjectPrototype(o) {
9
9
  return Object.prototype.toString.call(o) === '[object Object]';
10
10
  }
11
-
12
- // eslint-disable-next-line @typescript-eslint/ban-types
13
11
  function isPlainObject(o) {
14
12
  if (!hasObjectPrototype(o)) {
15
13
  return false;
@@ -1,5 +1,4 @@
1
1
  /* eslint-disable react/no-unused-prop-types */
2
-
3
2
  import { useConfig } from '@dhis2/app-service-config';
4
3
  import { DataEngine, RestAPILink } from '@dhis2/data-engine';
5
4
  import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
@@ -1,8 +1,6 @@
1
1
  function hasObjectPrototype(o) {
2
2
  return Object.prototype.toString.call(o) === '[object Object]';
3
3
  }
4
-
5
- // eslint-disable-next-line @typescript-eslint/ban-types
6
4
  export function isPlainObject(o) {
7
5
  if (!hasObjectPrototype(o)) {
8
6
  return false;
@@ -1,4 +1,4 @@
1
- export declare function isPlainObject(o: any): o is Object;
1
+ export declare function isPlainObject(o: any): o is object;
2
2
  /**
3
3
  * Hashes the value into a stable hash.
4
4
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhis2/app-service-data",
3
- "version": "3.17.0-beta.2",
3
+ "version": "3.17.0-beta.4",
4
4
  "main": "./build/cjs/index.js",
5
5
  "module": "./build/es/index.js",
6
6
  "types": "./build/types/index.d.ts",
@@ -37,8 +37,8 @@
37
37
  "prop-types": "^15.7.2"
38
38
  },
39
39
  "peerDependencies": {
40
- "@dhis2/app-service-config": "3.17.0-beta.2",
41
- "@dhis2/data-engine": "3.17.0-beta.2",
40
+ "@dhis2/app-service-config": "3.17.0-beta.4",
41
+ "@dhis2/data-engine": "3.17.0-beta.4",
42
42
  "react": "^16.8.6 || ^18",
43
43
  "react-dom": "^16.8.6 || ^18"
44
44
  }