@ic-reactor/core 1.8.1 → 1.9.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.
@@ -139,7 +139,7 @@ class AgentManager {
139
139
  return this._agent;
140
140
  };
141
141
  this.getAgentHost = () => {
142
- return this._agent._host;
142
+ return this._agent.host;
143
143
  };
144
144
  this.getIsLocal = () => {
145
145
  return this.getNetwork() !== "ic";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ic-reactor/core",
3
- "version": "1.8.1",
3
+ "version": "1.9.0",
4
4
  "description": "A library for intracting with the Internet Computer canisters",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -26,22 +26,22 @@
26
26
  },
27
27
  "homepage": "https://b3pay.github.io/ic-reactor/modules/core.html",
28
28
  "peerDependencies": {
29
- "@dfinity/agent": "^1.3",
30
- "@dfinity/auth-client": "^1.3",
31
- "@dfinity/candid": "^1.3",
32
- "@dfinity/identity": "^1.3",
33
- "@dfinity/principal": "^1.3"
29
+ "@dfinity/agent": "2.1.1",
30
+ "@dfinity/auth-client": "2.1.1",
31
+ "@dfinity/candid": "2.1.1",
32
+ "@dfinity/identity": "2.1.1",
33
+ "@dfinity/principal": "2.1.1"
34
34
  },
35
35
  "dependencies": {
36
- "@dfinity/agent": "^1.3",
37
- "@dfinity/auth-client": "^1.3",
38
- "@dfinity/candid": "^1.3",
39
- "@dfinity/identity": "^1.3",
40
- "@dfinity/principal": "^1.3",
41
- "zustand": "^4.5"
36
+ "@dfinity/agent": "2.1.1",
37
+ "@dfinity/auth-client": "2.1.1",
38
+ "@dfinity/candid": "2.1.1",
39
+ "@dfinity/identity": "2.1.1",
40
+ "@dfinity/principal": "2.1.1",
41
+ "zustand": "4.5.5"
42
42
  },
43
43
  "devDependencies": {
44
- "@ic-reactor/parser": "^0.4.0"
44
+ "@ic-reactor/parser": "0.4.0"
45
45
  },
46
46
  "scripts": {
47
47
  "test": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest",
@@ -56,5 +56,5 @@
56
56
  "engines": {
57
57
  "node": ">=10"
58
58
  },
59
- "gitHead": "95a5f50cb3a15e2167cd50b82efb09dfdd6661f1"
59
+ "gitHead": "182c3b0316df865dc5c24e2fa146c5ba1837fe9c"
60
60
  }