@ic-reactor/react 1.1.0 → 1.1.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.
@@ -1,4 +1,4 @@
1
- import { FunctionName, UseQueryCallParameters } from "../../types";
1
+ import { BaseActor, FunctionName, UseQueryCallParameters } from "../../types";
2
2
  /**
3
3
  * Hook for making query calls to actors. It supports automatic refetching on component mount and at specified intervals.
4
4
  *
@@ -25,4 +25,4 @@ import { FunctionName, UseQueryCallParameters } from "../../types";
25
25
  * }
26
26
  * ```
27
27
  */
28
- export declare function useQueryCall<A, M extends FunctionName<A> = FunctionName<A>>(args: UseQueryCallParameters<A, M>): import("../../types").UseMethodCallReturnType<A, M>;
28
+ export declare function useQueryCall<A = BaseActor, M extends FunctionName<A> = FunctionName<A>>(args: UseQueryCallParameters<A, M>): import("../../types").UseMethodCallReturnType<A, M>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ic-reactor/react",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "A React library for interacting with Internet Computer canisters",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -35,7 +35,7 @@
35
35
  "node": ">=10"
36
36
  },
37
37
  "dependencies": {
38
- "@ic-reactor/core": "^1.1.0",
38
+ "@ic-reactor/core": "^1.1.1",
39
39
  "zustand-utils": "^1.3"
40
40
  },
41
41
  "peerDependencies": {
@@ -47,5 +47,5 @@
47
47
  "react": ">=16.8",
48
48
  "zustand": "4.5"
49
49
  },
50
- "gitHead": "46340cf1b6f20c7cfa21b553a98cae73297f49dc"
50
+ "gitHead": "036b4b03b8cc9b1e40ece8f8b16d9ce084634192"
51
51
  }