@ic-reactor/react 1.0.7 → 1.0.8

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.
@@ -25,7 +25,7 @@ import type { CreateAgentContextReturnType, CreateAgentCotextParameters } from "
25
25
  * const agentConfig: CreateAgentCotextParameters = {
26
26
  * host: "https://localhost:8000",
27
27
  * // or
28
- * // isLocalEnv: true,
28
+ * // withLocalEnv: true,
29
29
  * // port: 8000,
30
30
  * };
31
31
  *
@@ -66,7 +66,7 @@ const extractAgentContext_1 = require("../helpers/extractAgentContext");
66
66
  * const agentConfig: CreateAgentCotextParameters = {
67
67
  * host: "https://localhost:8000",
68
68
  * // or
69
- * // isLocalEnv: true,
69
+ * // withLocalEnv: true,
70
70
  * // port: 8000,
71
71
  * };
72
72
  *
@@ -5,7 +5,7 @@ import type { BaseActor, CreateReactorParameters, CreateReactorReturnType } from
5
5
  *
6
6
  * @param config Configuration {@link CreateReactorParameters} for the reactor, including:
7
7
  * - `withProcessEnv` (optional): Specifies whether to use process environment variables to determine if the environment is local or development. Defaults to false.
8
- * - `isLocalEnv` (optional): Indicates if the current environment is local or development, influencing the agent and actor behavior. Useful for testing or development.
8
+ * - `withLocalEnv` (optional): Indicates if the current environment is local or development, influencing the agent and actor behavior. Useful for testing or development.
9
9
  * - `port` (optional): Port number for the local or development environment.
10
10
  *
11
11
  * @returns An object containing {@link CreateReactorReturnType} hooks and utilities:
@@ -35,7 +35,7 @@ import type { BaseActor, CreateReactorParameters, CreateReactorReturnType } from
35
35
  * canisterId,
36
36
  * idlFactory,
37
37
  * host: "https://localhost:8000", // IC network host |
38
- * isLocalEnv: true, // Set true for local network | one of these
38
+ * withLocalEnv: true, // Set true for local network | one of these
39
39
  * withProcessEnv: true, // Use process.env to determine host |
40
40
  * port: 8000, // Port number for local network |
41
41
  * };
@@ -9,7 +9,7 @@ const helpers_1 = require("./helpers");
9
9
  *
10
10
  * @param config Configuration {@link CreateReactorParameters} for the reactor, including:
11
11
  * - `withProcessEnv` (optional): Specifies whether to use process environment variables to determine if the environment is local or development. Defaults to false.
12
- * - `isLocalEnv` (optional): Indicates if the current environment is local or development, influencing the agent and actor behavior. Useful for testing or development.
12
+ * - `withLocalEnv` (optional): Indicates if the current environment is local or development, influencing the agent and actor behavior. Useful for testing or development.
13
13
  * - `port` (optional): Port number for the local or development environment.
14
14
  *
15
15
  * @returns An object containing {@link CreateReactorReturnType} hooks and utilities:
@@ -39,7 +39,7 @@ const helpers_1 = require("./helpers");
39
39
  * canisterId,
40
40
  * idlFactory,
41
41
  * host: "https://localhost:8000", // IC network host |
42
- * isLocalEnv: true, // Set true for local network | one of these
42
+ * withLocalEnv: true, // Set true for local network | one of these
43
43
  * withProcessEnv: true, // Use process.env to determine host |
44
44
  * port: 8000, // Port number for local network |
45
45
  * };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ic-reactor/react",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
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.0.6",
38
+ "@ic-reactor/core": "^1.0.7",
39
39
  "zustand-utils": "^1.3"
40
40
  },
41
41
  "peerDependencies": {
@@ -48,5 +48,5 @@
48
48
  "react": ">=16.8",
49
49
  "zustand": "4.5"
50
50
  },
51
- "gitHead": "bf69ae06def96cd40814a72535325f7c7a8a6b5a"
51
+ "gitHead": "ed812d516651ec01414d9a1a79e959d8cc139a93"
52
52
  }