@icp-sdk/core 1.0.0-beta.0 → 1.0.0-beta.2
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 +13 -7
- package/lib/cjs/agent/index.d.ts +1 -0
- package/lib/cjs/agent/index.d.ts.map +1 -0
- package/lib/cjs/agent/index.js.map +1 -1
- package/lib/cjs/auth-client/index.d.ts +1 -0
- package/lib/cjs/auth-client/index.d.ts.map +1 -0
- package/lib/cjs/auth-client/index.js.map +1 -1
- package/lib/cjs/candid/index.d.ts +1 -0
- package/lib/cjs/candid/index.d.ts.map +1 -0
- package/lib/cjs/candid/index.js.map +1 -1
- package/lib/cjs/identity/index.d.ts +1 -0
- package/lib/cjs/identity/index.d.ts.map +1 -0
- package/lib/cjs/identity/index.js.map +1 -1
- package/lib/cjs/identity-secp256k1/index.d.ts +1 -0
- package/lib/cjs/identity-secp256k1/index.d.ts.map +1 -0
- package/lib/cjs/identity-secp256k1/index.js.map +1 -1
- package/lib/cjs/index.d.ts +1 -0
- package/lib/cjs/index.d.ts.map +1 -0
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/principal/index.d.ts +1 -0
- package/lib/cjs/principal/index.d.ts.map +1 -0
- package/lib/cjs/principal/index.js.map +1 -1
- package/lib/esm/agent/index.d.ts +1 -0
- package/lib/esm/agent/index.d.ts.map +1 -0
- package/lib/esm/agent/index.js.map +1 -1
- package/lib/esm/auth-client/index.d.ts +1 -0
- package/lib/esm/auth-client/index.d.ts.map +1 -0
- package/lib/esm/auth-client/index.js.map +1 -1
- package/lib/esm/candid/index.d.ts +1 -0
- package/lib/esm/candid/index.d.ts.map +1 -0
- package/lib/esm/candid/index.js.map +1 -1
- package/lib/esm/identity/index.d.ts +1 -0
- package/lib/esm/identity/index.d.ts.map +1 -0
- package/lib/esm/identity/index.js.map +1 -1
- package/lib/esm/identity-secp256k1/index.d.ts +1 -0
- package/lib/esm/identity-secp256k1/index.d.ts.map +1 -0
- package/lib/esm/identity-secp256k1/index.js.map +1 -1
- package/lib/esm/index.d.ts +2 -0
- package/lib/esm/index.d.ts.map +1 -0
- package/lib/esm/index.js +1 -1
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/package.json +4 -0
- package/lib/esm/principal/index.d.ts +1 -0
- package/lib/esm/principal/index.d.ts.map +1 -0
- package/lib/esm/principal/index.js.map +1 -1
- package/package.json +11 -21
- package/src/agent/index.ts +1 -0
- package/src/auth-client/index.ts +1 -0
- package/src/candid/index.ts +1 -0
- package/src/identity/index.ts +1 -0
- package/src/identity-secp256k1/index.ts +1 -0
- package/src/index.ts +1 -0
- package/src/principal/index.ts +1 -0
- package/lib/cjs/assets/index.d.ts +0 -1
- package/lib/cjs/assets/index.js +0 -18
- package/lib/cjs/assets/index.js.map +0 -1
- package/lib/esm/assets/index.d.ts +0 -1
- package/lib/esm/assets/index.js +0 -2
- package/lib/esm/assets/index.js.map +0 -1
package/README.md
CHANGED
|
@@ -2,24 +2,33 @@
|
|
|
2
2
|
|
|
3
3
|
The `@icp-sdk/core` package is a JavaScript and TypeScript library designed to interact with the Internet Computer. It acts as a meta-package that re-exports functionality from several other `@dfinity` packages, providing a convenient way to access multiple tools and utilities in one place.
|
|
4
4
|
|
|
5
|
+
Do you want to know more about developing on the Internet Computer? Visit the [Developer Docs](https://internetcomputer.org/docs/home).
|
|
6
|
+
|
|
7
|
+
Additional API Documentation can be found [here](https://js.icp.build/core/libs/core/api).
|
|
8
|
+
|
|
5
9
|
**Note:** This package requires the `node16` (or later) module resolution strategy to function correctly.
|
|
6
10
|
|
|
11
|
+
---
|
|
12
|
+
|
|
7
13
|
## Installation
|
|
8
14
|
|
|
9
15
|
You can install the `@icp-sdk/core` package using your preferred package manager:
|
|
10
16
|
|
|
11
17
|
### npm
|
|
12
|
-
|
|
18
|
+
|
|
19
|
+
```shell
|
|
13
20
|
npm install @icp-sdk/core
|
|
14
21
|
```
|
|
15
22
|
|
|
16
23
|
### yarn
|
|
17
|
-
|
|
24
|
+
|
|
25
|
+
```shell
|
|
18
26
|
yarn add @icp-sdk/core
|
|
19
27
|
```
|
|
20
28
|
|
|
21
29
|
### pnpm
|
|
22
|
-
|
|
30
|
+
|
|
31
|
+
```shell
|
|
23
32
|
pnpm add @icp-sdk/core
|
|
24
33
|
```
|
|
25
34
|
|
|
@@ -28,7 +37,6 @@ pnpm add @icp-sdk/core
|
|
|
28
37
|
The `@icp-sdk/core` package re-exports modules from the following `@dfinity` packages:
|
|
29
38
|
|
|
30
39
|
- [`@dfinity/agent`](../agent/README.md): Provides tools to interact with the Internet Computer, including creating actors and making calls.
|
|
31
|
-
- [`@dfinity/assets`](../assets/README.md): Utilities for managing assets on the Internet Computer.
|
|
32
40
|
- [`@dfinity/auth-client`](../auth-client/README.md): Handles authentication flows, including integration with Internet Identity.
|
|
33
41
|
- [`@dfinity/candid`](../candid/README.md): Tools for working with Candid, the Internet Computer's interface definition language.
|
|
34
42
|
- [`@dfinity/identity`](../identity/README.md): Identity management for signing and authentication.
|
|
@@ -40,7 +48,6 @@ The `@icp-sdk/core` package re-exports modules from the following `@dfinity` pac
|
|
|
40
48
|
The package provides the following import paths for accessing the re-exported modules:
|
|
41
49
|
|
|
42
50
|
- `@icp-sdk/core/agent`
|
|
43
|
-
- `@icp-sdk/core/assets`
|
|
44
51
|
- `@icp-sdk/core/auth-client`
|
|
45
52
|
- `@icp-sdk/core/candid`
|
|
46
53
|
- `@icp-sdk/core/identity`
|
|
@@ -51,7 +58,7 @@ The package provides the following import paths for accessing the re-exported mo
|
|
|
51
58
|
|
|
52
59
|
Here is an example of how to use the `@icp-sdk/core` package:
|
|
53
60
|
|
|
54
|
-
```
|
|
61
|
+
```ts
|
|
55
62
|
// Importing the HttpAgent from the agent module
|
|
56
63
|
import { HttpAgent } from '@icp-sdk/core/agent';
|
|
57
64
|
|
|
@@ -71,7 +78,6 @@ console.log(principal.toText());
|
|
|
71
78
|
For detailed usage and API documentation, refer to the respective documentation of the re-exported packages:
|
|
72
79
|
|
|
73
80
|
- [@dfinity/agent Documentation](../agent/README.md)
|
|
74
|
-
- [@dfinity/assets Documentation](../assets/README.md)
|
|
75
81
|
- [@dfinity/auth-client Documentation](../auth-client/README.md)
|
|
76
82
|
- [@dfinity/candid Documentation](../candid/README.md)
|
|
77
83
|
- [@dfinity/identity Documentation](../identity/README.md)
|
package/lib/cjs/agent/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/agent/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/agent/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/agent/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/auth-client/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/auth-client/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/auth-client/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/candid/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/candid/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/candid/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/identity/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/identity/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/identity/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/identity-secp256k1/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/identity-secp256k1/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/identity-secp256k1/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C"}
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":""}
|
package/lib/cjs/index.js.map
CHANGED
|
@@ -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,CAAC,yJAAyJ,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/principal/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/principal/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/principal/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC"}
|
package/lib/esm/agent/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/agent/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/agent/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/agent/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/auth-client/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/auth-client/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/auth-client/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/candid/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/candid/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/candid/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/identity/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/identity/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/identity/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/identity-secp256k1/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/identity-secp256k1/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/identity-secp256k1/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":""}
|
package/lib/esm/index.js
CHANGED
package/lib/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,KAAK,CAAC,yJAAyJ,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/principal/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/principal/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/principal/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@icp-sdk/core",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.2",
|
|
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",
|
|
7
|
-
"homepage": "https://
|
|
7
|
+
"homepage": "https://js.icp.build/core/libs/core",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
10
10
|
"url": "https://github.com/dfinity/agent-js.git",
|
|
@@ -33,77 +33,67 @@
|
|
|
33
33
|
"sdk"
|
|
34
34
|
],
|
|
35
35
|
"scripts": {
|
|
36
|
-
"build": "tsc -b && tsc -p tsconfig.cjs.json",
|
|
36
|
+
"build": "tsc -b && tsc -p tsconfig.cjs.json && cp src/package.json lib/esm/package.json",
|
|
37
37
|
"build:watch": "tsc -b --watch",
|
|
38
38
|
"bundle": "esbuild --bundle src/index.ts --outfile=dist/index.js --platform=browser",
|
|
39
|
-
"make:docs/reference": "typedoc src/index.ts --out ../../docs/icp --excludeInternal",
|
|
40
39
|
"attw": "attw --pack . --profile node16"
|
|
41
40
|
},
|
|
42
41
|
"peerDependencies": {
|
|
43
42
|
"@dfinity/agent": "workspace:*",
|
|
44
|
-
"@dfinity/assets": "workspace:*",
|
|
45
43
|
"@dfinity/auth-client": "workspace:*",
|
|
46
44
|
"@dfinity/candid": "workspace:*",
|
|
47
45
|
"@dfinity/identity": "workspace:*",
|
|
48
46
|
"@dfinity/identity-secp256k1": "workspace:*",
|
|
49
|
-
"@dfinity/principal": "workspace:*"
|
|
50
|
-
"@dfinity/use-auth-client": "workspace:*"
|
|
47
|
+
"@dfinity/principal": "workspace:*"
|
|
51
48
|
},
|
|
52
49
|
"exports": {
|
|
53
50
|
".": {
|
|
54
51
|
"types": "./lib/esm/index.d.ts",
|
|
52
|
+
"import": "./lib/esm/index.js",
|
|
55
53
|
"node": "./lib/cjs/index.js",
|
|
56
54
|
"require": "./lib/cjs/index.js",
|
|
57
|
-
"import": "./lib/esm/index.js",
|
|
58
55
|
"default": "./lib/esm/index.js"
|
|
59
56
|
},
|
|
60
57
|
"./agent": {
|
|
61
58
|
"types": "./lib/esm/agent/index.d.ts",
|
|
59
|
+
"import": "./lib/esm/agent/index.js",
|
|
62
60
|
"node": "./lib/cjs/agent/index.js",
|
|
63
61
|
"require": "./lib/cjs/agent/index.js",
|
|
64
|
-
"import": "./lib/esm/agent/index.js",
|
|
65
62
|
"default": "./lib/esm/agent/index.js"
|
|
66
63
|
},
|
|
67
|
-
"./assets": {
|
|
68
|
-
"types": "./lib/esm/assets/index.d.ts",
|
|
69
|
-
"node": "./lib/cjs/assets/index.js",
|
|
70
|
-
"require": "./lib/cjs/assets/index.js",
|
|
71
|
-
"import": "./lib/esm/assets/index.js",
|
|
72
|
-
"default": "./lib/esm/assets/index.js"
|
|
73
|
-
},
|
|
74
64
|
"./auth-client": {
|
|
75
65
|
"types": "./lib/esm/auth-client/index.d.ts",
|
|
66
|
+
"import": "./lib/esm/auth-client/index.js",
|
|
76
67
|
"node": "./lib/cjs/auth-client/index.js",
|
|
77
68
|
"require": "./lib/cjs/auth-client/index.js",
|
|
78
|
-
"import": "./lib/esm/auth-client/index.js",
|
|
79
69
|
"default": "./lib/esm/auth-client/index.js"
|
|
80
70
|
},
|
|
81
71
|
"./candid": {
|
|
82
72
|
"types": "./lib/esm/candid/index.d.ts",
|
|
73
|
+
"import": "./lib/esm/candid/index.js",
|
|
83
74
|
"node": "./lib/cjs/candid/index.js",
|
|
84
75
|
"require": "./lib/cjs/candid/index.js",
|
|
85
|
-
"import": "./lib/esm/candid/index.js",
|
|
86
76
|
"default": "./lib/esm/candid/index.js"
|
|
87
77
|
},
|
|
88
78
|
"./identity": {
|
|
89
79
|
"types": "./lib/esm/identity/index.d.ts",
|
|
80
|
+
"import": "./lib/esm/identity/index.js",
|
|
90
81
|
"node": "./lib/cjs/identity/index.js",
|
|
91
82
|
"require": "./lib/cjs/identity/index.js",
|
|
92
|
-
"import": "./lib/esm/identity/index.js",
|
|
93
83
|
"default": "./lib/esm/identity/index.js"
|
|
94
84
|
},
|
|
95
85
|
"./identity-secp256k1": {
|
|
96
86
|
"types": "./lib/esm/identity-secp256k1/index.d.ts",
|
|
87
|
+
"import": "./lib/esm/identity-secp256k1/index.js",
|
|
97
88
|
"node": "./lib/cjs/identity-secp256k1/index.js",
|
|
98
89
|
"require": "./lib/cjs/identity-secp256k1/index.js",
|
|
99
|
-
"import": "./lib/esm/identity-secp256k1/index.js",
|
|
100
90
|
"default": "./lib/esm/identity-secp256k1/index.js"
|
|
101
91
|
},
|
|
102
92
|
"./principal": {
|
|
103
93
|
"types": "./lib/esm/principal/index.d.ts",
|
|
94
|
+
"import": "./lib/esm/principal/index.js",
|
|
104
95
|
"node": "./lib/cjs/principal/index.js",
|
|
105
96
|
"require": "./lib/cjs/principal/index.js",
|
|
106
|
-
"import": "./lib/esm/principal/index.js",
|
|
107
97
|
"default": "./lib/esm/principal/index.js"
|
|
108
98
|
}
|
|
109
99
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@dfinity/agent';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@dfinity/auth-client';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@dfinity/candid';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@dfinity/identity';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@dfinity/identity-secp256k1';
|
package/src/index.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
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.');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '@dfinity/principal';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '@dfinity/assets';
|
package/lib/cjs/assets/index.js
DELETED
|
@@ -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/assets"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/assets/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC","sourcesContent":["export * from '@dfinity/assets';\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '@dfinity/assets';
|
package/lib/esm/assets/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/assets/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC","sourcesContent":["export * from '@dfinity/assets';\n"]}
|