Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions HACKING.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,6 @@ The files of the [candid](./candid) folders are shared across packages. Their ar
Saving peer dependencies in `package-lock.json` needs npm >= v7.

```bash
npm rm @dfinity/agent @dfinity/candid @dfinity/principal --workspaces
npm i @dfinity/agent @dfinity/candid @dfinity/principal --save-peer --workspaces
npm rm @icp-sdk/core --workspaces
npm i @icp-sdk/core --save-peer --workspaces
```
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ That is s why, to help tree-shaking and avoid duplication of code, the libraries
Therefore, be sure that the needed `agent-js` and [utils](/packages/utils) dependencies are available in your project or install these as following:

```bash
npm i @dfinity/agent @dfinity/candid @dfinity/principal @dfinity/utils
npm i @icp-sdk/core @dfinity/utils
```

## Links
Expand Down
2 changes: 1 addition & 1 deletion packages/ckbtc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ npm i @dfinity/ckbtc
The bundle needs peer dependencies, be sure that following resources are available in your project as well.

```bash
npm i @dfinity/agent @dfinity/candid @dfinity/principal @dfinity/utils
npm i @icp-sdk/core @dfinity/utils
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion packages/cketh/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ npm i @dfinity/cketh
The bundle needs peer dependencies, be sure that following resources are available in your project as well.

```bash
npm i @dfinity/agent @dfinity/candid @dfinity/principal @dfinity/utils
npm i @icp-sdk/core @dfinity/utils
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion packages/cmc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ npm i @dfinity/cmc
The bundle needs peer dependencies, be sure that following resources are available in your project as well.

```bash
npm i @dfinity/agent @dfinity/candid @dfinity/principal @dfinity/utils
npm i @icp-sdk/core @dfinity/utils
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion packages/ic-management/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ npm i @dfinity/ic-management
The bundle needs peer dependencies, be sure that following resources are available in your project as well.

```bash
npm i @dfinity/agent @dfinity/candid @dfinity/principal @dfinity/utils
npm i @icp-sdk/core @dfinity/utils
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion packages/ledger-icp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ npm i @dfinity/ledger-icp
The bundle needs peer dependencies, be sure that following resources are available in your project as well.

```bash
npm i @dfinity/agent @dfinity/candid @dfinity/principal @dfinity/utils
npm i @icp-sdk/core @dfinity/utils
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion packages/ledger-icrc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ npm i @dfinity/ledger-icrc
The bundle needs peer dependencies, be sure that following resources are available in your project as well.

```bash
npm i @dfinity/agent @dfinity/candid @dfinity/principal @dfinity/utils
npm i @icp-sdk/core @dfinity/utils
```

## Usage
Expand Down
4 changes: 2 additions & 2 deletions packages/nns/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ npm i @dfinity/nns
The bundle needs peer dependencies, be sure that following resources are available in your project as well.

```bash
npm i @dfinity/agent @dfinity/candid @dfinity/principal @dfinity/utils
npm i @icp-sdk/core @dfinity/utils
```

## Usage
Expand Down Expand Up @@ -49,7 +49,7 @@ To execute this on a local environment, you will need to fetch the root key when

```typescript
import { GovernanceCanister } from "@dfinity/nns";
import { Principal } from "@dfinity/principal";
import { Principal } from "@icp-sdk/core/principal";
import { createAgent } from "@dfinity/utils";

const agent = await createAgent({
Expand Down
2 changes: 1 addition & 1 deletion packages/sns/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ npm i @dfinity/sns
The bundle needs peer dependencies, be sure that following resources are available in your project as well.

```bash
npm i @dfinity/agent @dfinity/candid @dfinity/principal @dfinity/utils @dfinity/ledger
npm i @icp-sdk/core @dfinity/utils @dfinity/ledger
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ npm i @dfinity/utils
The bundle needs peer dependencies, be sure that following resources are available in your project as well.

```bash
npm i @dfinity/agent @dfinity/candid @dfinity/principal
npm i @icp-sdk/core
```

## Features
Expand Down
2 changes: 1 addition & 1 deletion packages/zod-schemas/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ npm i @dfinity/zod-schemas
The bundle needs peer dependencies, be sure that following resources are available in your project as well.

```bash
npm i @dfinity/principal
npm i @icp-sdk/core
```

## Features
Expand Down