@ic-reactor/react 1.8.6 → 1.9.1

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.
@@ -131,7 +131,7 @@ const actorHooks = (actorManager) => {
131
131
  }
132
132
  catch (error) {
133
133
  // eslint-disable-next-line no-console
134
- console.error("Error in call:", error);
134
+ console.error(`Error calling method ${functionName}:`, error);
135
135
  setSharedState({
136
136
  error: error,
137
137
  loading: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ic-reactor/react",
3
- "version": "1.8.6",
3
+ "version": "1.9.1",
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,17 +35,17 @@
35
35
  "node": ">=10"
36
36
  },
37
37
  "dependencies": {
38
- "@ic-reactor/core": "^1.8.4",
38
+ "@ic-reactor/core": "^1.9.0",
39
39
  "zustand-utils": "^1.3"
40
40
  },
41
41
  "peerDependencies": {
42
- "@dfinity/agent": "^1.4",
43
- "@dfinity/auth-client": "^1.4",
44
- "@dfinity/candid": "^1.4",
45
- "@dfinity/identity": "^1.4",
46
- "@dfinity/principal": "^1.4",
42
+ "@dfinity/agent": "2.1.1",
43
+ "@dfinity/auth-client": "2.1.1",
44
+ "@dfinity/candid": "2.1.1",
45
+ "@dfinity/identity": "2.1.1",
46
+ "@dfinity/principal": "2.1.1",
47
47
  "react": ">=16.8",
48
48
  "zustand": "4.5"
49
49
  },
50
- "gitHead": "d80047ec2c35d8b9ae0d207aae2f83e60ee93d51"
50
+ "gitHead": "b3e2c6e67b95b4cc4f8e935330f5f16ecd5d4559"
51
51
  }