@icp-sdk/core 1.0.0-beta.3 → 1.0.0-beta.5

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
@@ -37,7 +37,6 @@ pnpm add @icp-sdk/core
37
37
  The `@icp-sdk/core` package re-exports modules from the following `@dfinity` packages:
38
38
 
39
39
  - [`@dfinity/agent`](../agent/README.md): Provides tools to interact with the Internet Computer, including creating actors and making calls.
40
- - [`@dfinity/auth-client`](../auth-client/README.md): Handles authentication flows, including integration with Internet Identity.
41
40
  - [`@dfinity/candid`](../candid/README.md): Tools for working with Candid, the Internet Computer's interface definition language.
42
41
  - [`@dfinity/identity`](../identity/README.md): Identity management for signing and authentication.
43
42
  - [`@dfinity/identity-secp256k1`](../identity-secp256k1/README.md): Identity management using secp256k1 cryptography.
@@ -48,10 +47,9 @@ The `@icp-sdk/core` package re-exports modules from the following `@dfinity` pac
48
47
  The package provides the following import paths for accessing the re-exported modules:
49
48
 
50
49
  - `@icp-sdk/core/agent`
51
- - `@icp-sdk/core/auth-client`
52
50
  - `@icp-sdk/core/candid`
53
51
  - `@icp-sdk/core/identity`
54
- - `@icp-sdk/core/identity-secp256k1`
52
+ - `@icp-sdk/core/identity/secp256k1`
55
53
  - `@icp-sdk/core/principal`
56
54
 
57
55
  ## Usage Example
@@ -78,7 +76,6 @@ console.log(principal.toText());
78
76
  For detailed usage and API documentation, refer to the respective documentation of the re-exported packages:
79
77
 
80
78
  - [@dfinity/agent Documentation](../agent/README.md)
81
- - [@dfinity/auth-client Documentation](../auth-client/README.md)
82
79
  - [@dfinity/candid Documentation](../candid/README.md)
83
80
  - [@dfinity/identity Documentation](../identity/README.md)
84
81
  - [@dfinity/identity-secp256k1 Documentation](../identity-secp256k1/README.md)
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/identity/secp256k1/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/identity/secp256k1/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,MAAM,IAAI,KAAK,CAAC,yJAAyJ,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,MAAM,IAAI,KAAK,CACb,yJAAyJ,CAC1J,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/identity/secp256k1/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/identity/secp256k1/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,KAAK,CAAC,yJAAyJ,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,KAAK,CACb,yJAAyJ,CAC1J,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icp-sdk/core",
3
- "version": "1.0.0-beta.3",
3
+ "version": "1.0.0-beta.5",
4
4
  "author": "DFINITY Stiftung <sdk@dfinity.org>",
5
5
  "license": "Apache-2.0",
6
6
  "description": "JavaScript and TypeScript library to interact with the Internet Computer",
@@ -33,12 +33,11 @@
33
33
  "sdk"
34
34
  ],
35
35
  "peerDependencies": {
36
- "@dfinity/agent": "3.2.1",
37
- "@dfinity/candid": "3.2.1",
38
- "@dfinity/auth-client": "3.2.1",
39
- "@dfinity/identity": "3.2.1",
40
- "@dfinity/identity-secp256k1": "3.2.1",
41
- "@dfinity/principal": "3.2.1"
36
+ "@dfinity/agent": "^3.2.1",
37
+ "@dfinity/candid": "^3.2.1",
38
+ "@dfinity/identity": "^3.2.1",
39
+ "@dfinity/identity-secp256k1": "^3.2.1",
40
+ "@dfinity/principal": "^3.2.1"
42
41
  },
43
42
  "exports": {
44
43
  ".": {
@@ -55,13 +54,6 @@
55
54
  "require": "./lib/cjs/agent/index.js",
56
55
  "default": "./lib/esm/agent/index.js"
57
56
  },
58
- "./auth-client": {
59
- "types": "./lib/esm/auth-client/index.d.ts",
60
- "import": "./lib/esm/auth-client/index.js",
61
- "node": "./lib/cjs/auth-client/index.js",
62
- "require": "./lib/cjs/auth-client/index.js",
63
- "default": "./lib/esm/auth-client/index.js"
64
- },
65
57
  "./candid": {
66
58
  "types": "./lib/esm/candid/index.d.ts",
67
59
  "import": "./lib/esm/candid/index.js",
@@ -76,12 +68,12 @@
76
68
  "require": "./lib/cjs/identity/index.js",
77
69
  "default": "./lib/esm/identity/index.js"
78
70
  },
79
- "./identity-secp256k1": {
80
- "types": "./lib/esm/identity-secp256k1/index.d.ts",
81
- "import": "./lib/esm/identity-secp256k1/index.js",
82
- "node": "./lib/cjs/identity-secp256k1/index.js",
83
- "require": "./lib/cjs/identity-secp256k1/index.js",
84
- "default": "./lib/esm/identity-secp256k1/index.js"
71
+ "./identity/secp256k1": {
72
+ "types": "./lib/esm/identity/secp256k1/index.d.ts",
73
+ "import": "./lib/esm/identity/secp256k1/index.js",
74
+ "node": "./lib/cjs/identity/secp256k1/index.js",
75
+ "require": "./lib/cjs/identity/secp256k1/index.js",
76
+ "default": "./lib/esm/identity/secp256k1/index.js"
85
77
  },
86
78
  "./principal": {
87
79
  "types": "./lib/esm/principal/index.d.ts",
package/src/index.ts CHANGED
@@ -1 +1,3 @@
1
- throw new Error('There are no exports in the root module of this package. Import from submodules instead. Use intellisense or the docs to find the available submodules.');
1
+ throw new Error(
2
+ 'There are no exports in the root module of this package. Import from submodules instead. Use intellisense or the docs to find the available submodules.',
3
+ );
@@ -1,2 +0,0 @@
1
- export * from '@dfinity/auth-client';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/auth-client/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("@dfinity/auth-client"), exports);
18
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/auth-client/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/identity-secp256k1/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/identity-secp256k1/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C"}
@@ -1,2 +0,0 @@
1
- export * from '@dfinity/auth-client';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/auth-client/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from '@dfinity/auth-client';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/auth-client/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/identity-secp256k1/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/identity-secp256k1/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
@@ -1 +0,0 @@
1
- export * from '@dfinity/auth-client';