@ic-reactor/core 1.8.0 → 1.8.4

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.
package/README.md CHANGED
@@ -19,7 +19,7 @@ yarn add @ic-reactor/core
19
19
  or you can use the UMD version:
20
20
 
21
21
  ```html
22
- <script src="https://github.com/B3Pay/ic-reactor/releases/download/v1.7.5/ic-reactor-core.min.js"></script>
22
+ <script src="https://github.com/B3Pay/ic-reactor/releases/download/v1.8.0/ic-reactor-core.min.js"></script>
23
23
  ```
24
24
 
25
25
  ### Using `createReactorCore`
@@ -42,6 +42,7 @@ export type ActorMethodType<A, M extends keyof A> = {
42
42
  };
43
43
  export type ActorState<A = BaseActor> = {
44
44
  name: string;
45
+ version: number;
45
46
  initialized: boolean;
46
47
  initializing: boolean;
47
48
  error: Error | undefined;
@@ -8,6 +8,7 @@ export declare const IC_INTERNET_IDENTITY_PROVIDER = "https://identity.ic0.app/#
8
8
  export declare const LOCAL_INTERNET_IDENTITY_PROVIDER = "http://rdmx6-jaaaa-aaaaa-aaadq-cai.localhost:4943/#authorize";
9
9
  export declare const ACTOR_INITIAL_STATE: {
10
10
  name: string;
11
+ version: number;
11
12
  methodState: {};
12
13
  initializing: boolean;
13
14
  initialized: boolean;
@@ -11,6 +11,7 @@ exports.IC_INTERNET_IDENTITY_PROVIDER = "https://identity.ic0.app/#authorize";
11
11
  exports.LOCAL_INTERNET_IDENTITY_PROVIDER = "http://rdmx6-jaaaa-aaaaa-aaadq-cai.localhost:4943/#authorize";
12
12
  exports.ACTOR_INITIAL_STATE = {
13
13
  name: "",
14
+ version: 0,
14
15
  methodState: {},
15
16
  initializing: false,
16
17
  initialized: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ic-reactor/core",
3
- "version": "1.8.0",
3
+ "version": "1.8.4",
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,18 +26,18 @@
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": "^1.4",
30
+ "@dfinity/auth-client": "^1.4",
31
+ "@dfinity/candid": "^1.4",
32
+ "@dfinity/identity": "^1.4",
33
+ "@dfinity/principal": "^1.4"
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",
36
+ "@dfinity/agent": "^1.4",
37
+ "@dfinity/auth-client": "^1.4",
38
+ "@dfinity/candid": "^1.4",
39
+ "@dfinity/identity": "^1.4",
40
+ "@dfinity/principal": "^1.4",
41
41
  "zustand": "^4.5"
42
42
  },
43
43
  "devDependencies": {
@@ -56,5 +56,5 @@
56
56
  "engines": {
57
57
  "node": ">=10"
58
58
  },
59
- "gitHead": "35908ed17cea4c78169b00b9c4707393381041e1"
59
+ "gitHead": "d80047ec2c35d8b9ae0d207aae2f83e60ee93d51"
60
60
  }