From 71e10290e05243ef8119c79fa383738a92fd6cb7 Mon Sep 17 00:00:00 2001 From: Lucas Tortora Date: Tue, 14 Nov 2023 12:26:18 -0300 Subject: [PATCH] change packages. add npm to yarn --- .../identity.rs/1.0/docs/getting-started/rust.mdx | 2 +- .../identity.rs/1.0/docs/getting-started/wasm.mdx | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/build/identity.rs/1.0/docs/getting-started/rust.mdx b/docs/build/identity.rs/1.0/docs/getting-started/rust.mdx index 41f150cc1ec..431e991c5f0 100644 --- a/docs/build/identity.rs/1.0/docs/getting-started/rust.mdx +++ b/docs/build/identity.rs/1.0/docs/getting-started/rust.mdx @@ -23,7 +23,7 @@ This version is published to crates.io and is **stable**, following semantic ver ```toml [dependencies] -identity_iota = { version = "0.7.0-alpha" } +identity_iota = { version = "1.0.0" } ``` ### Development Release diff --git a/docs/build/identity.rs/1.0/docs/getting-started/wasm.mdx b/docs/build/identity.rs/1.0/docs/getting-started/wasm.mdx index ab019157cca..969b639626b 100644 --- a/docs/build/identity.rs/1.0/docs/getting-started/wasm.mdx +++ b/docs/build/identity.rs/1.0/docs/getting-started/wasm.mdx @@ -30,8 +30,8 @@ This is the beta version of the official WASM bindings for [IOTA Identity](https You can install the library by running the following command: -```bash -npm install @iota/identity-wasm@alpha +```bash npm2yarn +npm install @iota/identity-wasm ``` ## Build the Library @@ -60,7 +60,7 @@ cargo install --force wasm-bindgen-cli After installing `wasm-bindgen-cli`, you can install the necessary dependencies using the following command: -```bash +```bash npm2yarn npm install ``` @@ -72,7 +72,7 @@ npm install You can build the bindings for `node.js` using the following command: -```bash +```bash npm2yarn npm run build:nodejs ``` @@ -82,7 +82,7 @@ npm run build:nodejs You can build the bindings for the `web` using the following command: -```bash +```bash npm2yarn npm run build:web ``` @@ -208,7 +208,7 @@ The library loads the WASM file with an HTTP GET request, so you must copy the ` - Install `rollup-plugin-copy`: -```bash +```bash npm2yarn npm install rollup-plugin-copy --save-dev ``` @@ -239,7 +239,7 @@ copy({ - Install `copy-webpack-plugin`: -```bash +```bash npm2yarn npm install copy-webpack-plugin --save-dev ```