@ic-reactor/core 0.0.6 → 0.0.7

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.
Files changed (2) hide show
  1. package/dist/index.js +0 -3
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -24,9 +24,6 @@ exports.createReActor = void 0;
24
24
  const store_1 = require("@ic-reactor/store");
25
25
  const defaultCreateReActorOptions = {
26
26
  initializeOnMount: true,
27
- host: (process === null || process === void 0 ? void 0 : process.env.NODE_ENV) === "production" || (process === null || process === void 0 ? void 0 : process.env.DFX_NETWORK) === "ic"
28
- ? "https://icp-api.io"
29
- : "http://localhost:4943",
30
27
  };
31
28
  const createReActor = (actorInitializer, options = {}) => {
32
29
  const optionsWithDefaults = Object.assign(Object.assign({}, defaultCreateReActorOptions), options);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ic-reactor/core",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "A React library for interacting with Dfinity actors",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -40,11 +40,11 @@
40
40
  "@dfinity/candid": "0.20",
41
41
  "@dfinity/identity": "^0.20",
42
42
  "@dfinity/principal": "^0.20",
43
- "@ic-reactor/store": "^0.0.4",
43
+ "@ic-reactor/store": "^0.0.5",
44
44
  "zustand": "4.4"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@peculiar/webcrypto": "1.4"
48
48
  },
49
- "gitHead": "14f94fc5f6b5eaf0b8f564fa8fddee9700f3e7ed"
49
+ "gitHead": "3203801bdc14a129ba79e38b288f84fa6a018b53"
50
50
  }