@tramvai/react-query 5.40.0 → 5.41.2

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.
@@ -5,7 +5,7 @@ function isSerializableKey(options) {
5
5
  }
6
6
  const createUniqueActionKeyForQuery = (queryParameters) => {
7
7
  const rawQueryKey = isSerializableKey(queryParameters)
8
- ? queryParameters.actionNamePostfix ?? queryParameters.key
8
+ ? (queryParameters.actionNamePostfix ?? queryParameters.key)
9
9
  : queryParameters.actionNamePostfix;
10
10
  const queryKeyArray = normalizeKey(rawQueryKey);
11
11
  return queryKeyArray.join('_');
@@ -9,7 +9,7 @@ function isSerializableKey(options) {
9
9
  }
10
10
  const createUniqueActionKeyForQuery = (queryParameters) => {
11
11
  const rawQueryKey = isSerializableKey(queryParameters)
12
- ? queryParameters.actionNamePostfix ?? queryParameters.key
12
+ ? (queryParameters.actionNamePostfix ?? queryParameters.key)
13
13
  : queryParameters.actionNamePostfix;
14
14
  const queryKeyArray = normalizeKey.normalizeKey(rawQueryKey);
15
15
  return queryKeyArray.join('_');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/react-query",
3
- "version": "5.40.0",
3
+ "version": "5.41.2",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
@@ -19,13 +19,13 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "@tinkoff/react-hooks": "0.4.2",
22
- "@tramvai/core": "5.40.0",
23
- "@tramvai/module-react-query": "5.40.0",
24
- "@tramvai/react": "5.40.0",
25
- "@tramvai/tokens-common": "5.40.0"
22
+ "@tramvai/core": "5.41.2",
23
+ "@tramvai/module-react-query": "5.41.2",
24
+ "@tramvai/react": "5.41.2",
25
+ "@tramvai/tokens-common": "5.41.2"
26
26
  },
27
27
  "peerDependencies": {
28
- "@tinkoff/dippy": "0.11.3",
28
+ "@tinkoff/dippy": "0.11.4",
29
29
  "@tinkoff/utils": "^2.1.2",
30
30
  "react": ">=16.14.0",
31
31
  "@tanstack/react-query": "^4.7.1",