@junobuild/core-peer 0.0.29 → 0.1.0
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 +2 -8
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -8,15 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
# Juno JavaScript core SDK
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
This library was originally a clone of [core](../core/README.md), with the DFINITY agent-js set as peer-dependencies.
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
There might be a use case in which you are using the Juno core library in an application where you are already utilizing DFINITY's [agent-js](https://github.com/dfinity/agent-js/).
|
|
16
|
-
|
|
17
|
-
You might also be building your app with a framework such as Next.js, which can lead to issues when interpreting agent-js provided through our libraries.
|
|
18
|
-
|
|
19
|
-
For such use cases, you can use this specific library, which sets the DFINITY libraries as peer dependencies. This way, those dependencies will be packaged on your side.
|
|
13
|
+
However, since `core` now also uses agent-js as peer dependencies, this library has been **deprecated**.
|
|
20
14
|
|
|
21
15
|
## License
|
|
22
16
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@junobuild/core-peer",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "JavaScript core client for Juno minus DFINITY agent-js dependencies",
|
|
5
5
|
"author": "David Dal Busco (https://daviddalbusco.com)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"repository": {
|
|
38
38
|
"type": "git",
|
|
39
39
|
"url": "git+https://github.com/junobuild/juno-js.git",
|
|
40
|
-
"directory": "packages/core"
|
|
40
|
+
"directory": "packages/core-peer"
|
|
41
41
|
},
|
|
42
42
|
"bugs": {
|
|
43
43
|
"url": "https://github.com/junobuild/juno-js"
|
|
@@ -59,6 +59,7 @@
|
|
|
59
59
|
"peerDependencies": {
|
|
60
60
|
"@dfinity/agent": "^2.1.3",
|
|
61
61
|
"@dfinity/auth-client": "^2.1.3",
|
|
62
|
+
"@dfinity/candid": "^2.1.3",
|
|
62
63
|
"@dfinity/identity": "^2.1.3",
|
|
63
64
|
"@dfinity/principal": "^2.1.3"
|
|
64
65
|
}
|