From bacc27c551debe35eedf3d6e4e52e9818870abf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eike=20Ha=C3=9F?= Date: Mon, 10 Feb 2025 23:13:02 +0100 Subject: [PATCH] Add Identity 1.5 docs (#1693) --- config/versionedConfig.js | 2 +- .../1.4/docs/getting-started/rust.mdx | 6 +++--- .../identity.rs/{1.3 => 1.5}/docs/contact.mdx | 0 .../{1.3 => 1.5}/docs/contribute.mdx | 0 .../docs/explanations/about-alias-outputs.mdx | 0 .../decentralized-identifiers.mdx | 0 .../explanations/verifiable-credentials.mdx | 0 .../explanations/verifiable-presentations.mdx | 0 .../identity.rs/{1.3 => 1.5}/docs/faq.mdx | 0 .../docs/getting-started/rust.mdx | 6 +++--- .../docs/getting-started/wasm.mdx | 2 +- .../{1.3 => 1.5}/docs/glossary.mdx | 0 .../decentralized-identifiers/create.mdx | 20 +++++++++---------- .../decentralized-identifiers/delete.mdx | 8 ++++---- .../decentralized-identifiers/resolve.mdx | 4 ++-- .../decentralized-identifiers/update.mdx | 4 ++-- .../domain-linkage/create-and-verify.mdx | 4 ++-- .../{1.3 => 1.5}/docs/how-tos/key-storage.mdx | 8 ++++---- .../how-tos/verifiable-credentials/create.mdx | 12 +++++------ .../verifiable-credentials/revocation.mdx | 20 +++++++++---------- .../selective-disclosure.mdx | 4 ++-- .../zero-knowledge-selective-disclosure.mdx | 16 +++++++-------- .../create-and-validate.mdx | 4 ++-- .../{1.3 => 1.5}/docs/references/.gitignore | 0 .../specifications/iota-did-method-spec.mdx | 0 .../references/specifications/overview.mdx | 0 .../specifications/revocation-bitmap-2022.mdx | 0 .../revocation-timeframe-2024.mdx | 0 .../identity.rs/{1.3 => 1.5}/docs/welcome.mdx | 0 .../{1.3 => 1.5}/docs/workflow.mdx | 0 .../identity.rs/{1.3 => 1.5}/sidebars.js | 0 docusaurus.config.js | 2 +- scripts/get_identity_references.sh | 6 +++--- 33 files changed, 64 insertions(+), 64 deletions(-) rename docs/build/identity.rs/{1.3 => 1.5}/docs/contact.mdx (100%) rename docs/build/identity.rs/{1.3 => 1.5}/docs/contribute.mdx (100%) rename docs/build/identity.rs/{1.3 => 1.5}/docs/explanations/about-alias-outputs.mdx (100%) rename docs/build/identity.rs/{1.3 => 1.5}/docs/explanations/decentralized-identifiers.mdx (100%) rename docs/build/identity.rs/{1.3 => 1.5}/docs/explanations/verifiable-credentials.mdx (100%) rename docs/build/identity.rs/{1.3 => 1.5}/docs/explanations/verifiable-presentations.mdx (100%) rename docs/build/identity.rs/{1.3 => 1.5}/docs/faq.mdx (100%) rename docs/build/identity.rs/{1.3 => 1.5}/docs/getting-started/rust.mdx (91%) rename docs/build/identity.rs/{1.3 => 1.5}/docs/getting-started/wasm.mdx (99%) rename docs/build/identity.rs/{1.3 => 1.5}/docs/glossary.mdx (100%) rename docs/build/identity.rs/{1.3 => 1.5}/docs/how-tos/decentralized-identifiers/create.mdx (88%) rename docs/build/identity.rs/{1.3 => 1.5}/docs/how-tos/decentralized-identifiers/delete.mdx (92%) rename docs/build/identity.rs/{1.3 => 1.5}/docs/how-tos/decentralized-identifiers/resolve.mdx (98%) rename docs/build/identity.rs/{1.3 => 1.5}/docs/how-tos/decentralized-identifiers/update.mdx (99%) rename docs/build/identity.rs/{1.3 => 1.5}/docs/how-tos/domain-linkage/create-and-verify.mdx (98%) rename docs/build/identity.rs/{1.3 => 1.5}/docs/how-tos/key-storage.mdx (95%) rename docs/build/identity.rs/{1.3 => 1.5}/docs/how-tos/verifiable-credentials/create.mdx (94%) rename docs/build/identity.rs/{1.3 => 1.5}/docs/how-tos/verifiable-credentials/revocation.mdx (92%) rename docs/build/identity.rs/{1.3 => 1.5}/docs/how-tos/verifiable-credentials/selective-disclosure.mdx (97%) rename docs/build/identity.rs/{1.3 => 1.5}/docs/how-tos/verifiable-credentials/zero-knowledge-selective-disclosure.mdx (91%) rename docs/build/identity.rs/{1.3 => 1.5}/docs/how-tos/verifiable-presentations/create-and-validate.mdx (98%) rename docs/build/identity.rs/{1.3 => 1.5}/docs/references/.gitignore (100%) rename docs/build/identity.rs/{1.3 => 1.5}/docs/references/specifications/iota-did-method-spec.mdx (100%) rename docs/build/identity.rs/{1.3 => 1.5}/docs/references/specifications/overview.mdx (100%) rename docs/build/identity.rs/{1.3 => 1.5}/docs/references/specifications/revocation-bitmap-2022.mdx (100%) rename docs/build/identity.rs/{1.3 => 1.5}/docs/references/specifications/revocation-timeframe-2024.mdx (100%) rename docs/build/identity.rs/{1.3 => 1.5}/docs/welcome.mdx (100%) rename docs/build/identity.rs/{1.3 => 1.5}/docs/workflow.mdx (100%) rename docs/build/identity.rs/{1.3 => 1.5}/sidebars.js (100%) diff --git a/config/versionedConfig.js b/config/versionedConfig.js index eeb01aa0d7f..196a56b01a1 100644 --- a/config/versionedConfig.js +++ b/config/versionedConfig.js @@ -49,7 +49,7 @@ exports.buildPluginsConfig = [ badges: ['IOTA', 'Shimmer'], }, { - label: '1.3', + label: '1.5', badges: ['IOTA', 'Shimmer'], }, ], diff --git a/docs/build/identity.rs/1.4/docs/getting-started/rust.mdx b/docs/build/identity.rs/1.4/docs/getting-started/rust.mdx index ab6e3296cdb..92b3478e3ed 100644 --- a/docs/build/identity.rs/1.4/docs/getting-started/rust.mdx +++ b/docs/build/identity.rs/1.4/docs/getting-started/rust.mdx @@ -10,8 +10,8 @@ tags: ## Requirements -- [Rust](https://www.rust-lang.org/) (>= 1.62) -- [Cargo](https://doc.rust-lang.org/cargo/) (>= 1.62) +- [Rust](https://www.rust-lang.org/) (>= 1.65) +- [Cargo](https://doc.rust-lang.org/cargo/) (>= 1.65) ## Include the Library @@ -23,7 +23,7 @@ This version is published to crates.io and is **stable**, following semantic ver ```toml [dependencies] -identity_iota = { version = "1.2.0" } +identity_iota = { version = "1.4.0" } ``` ### Development Release diff --git a/docs/build/identity.rs/1.3/docs/contact.mdx b/docs/build/identity.rs/1.5/docs/contact.mdx similarity index 100% rename from docs/build/identity.rs/1.3/docs/contact.mdx rename to docs/build/identity.rs/1.5/docs/contact.mdx diff --git a/docs/build/identity.rs/1.3/docs/contribute.mdx b/docs/build/identity.rs/1.5/docs/contribute.mdx similarity index 100% rename from docs/build/identity.rs/1.3/docs/contribute.mdx rename to docs/build/identity.rs/1.5/docs/contribute.mdx diff --git a/docs/build/identity.rs/1.3/docs/explanations/about-alias-outputs.mdx b/docs/build/identity.rs/1.5/docs/explanations/about-alias-outputs.mdx similarity index 100% rename from docs/build/identity.rs/1.3/docs/explanations/about-alias-outputs.mdx rename to docs/build/identity.rs/1.5/docs/explanations/about-alias-outputs.mdx diff --git a/docs/build/identity.rs/1.3/docs/explanations/decentralized-identifiers.mdx b/docs/build/identity.rs/1.5/docs/explanations/decentralized-identifiers.mdx similarity index 100% rename from docs/build/identity.rs/1.3/docs/explanations/decentralized-identifiers.mdx rename to docs/build/identity.rs/1.5/docs/explanations/decentralized-identifiers.mdx diff --git a/docs/build/identity.rs/1.3/docs/explanations/verifiable-credentials.mdx b/docs/build/identity.rs/1.5/docs/explanations/verifiable-credentials.mdx similarity index 100% rename from docs/build/identity.rs/1.3/docs/explanations/verifiable-credentials.mdx rename to docs/build/identity.rs/1.5/docs/explanations/verifiable-credentials.mdx diff --git a/docs/build/identity.rs/1.3/docs/explanations/verifiable-presentations.mdx b/docs/build/identity.rs/1.5/docs/explanations/verifiable-presentations.mdx similarity index 100% rename from docs/build/identity.rs/1.3/docs/explanations/verifiable-presentations.mdx rename to docs/build/identity.rs/1.5/docs/explanations/verifiable-presentations.mdx diff --git a/docs/build/identity.rs/1.3/docs/faq.mdx b/docs/build/identity.rs/1.5/docs/faq.mdx similarity index 100% rename from docs/build/identity.rs/1.3/docs/faq.mdx rename to docs/build/identity.rs/1.5/docs/faq.mdx diff --git a/docs/build/identity.rs/1.3/docs/getting-started/rust.mdx b/docs/build/identity.rs/1.5/docs/getting-started/rust.mdx similarity index 91% rename from docs/build/identity.rs/1.3/docs/getting-started/rust.mdx rename to docs/build/identity.rs/1.5/docs/getting-started/rust.mdx index ab6e3296cdb..e29c65a5598 100644 --- a/docs/build/identity.rs/1.3/docs/getting-started/rust.mdx +++ b/docs/build/identity.rs/1.5/docs/getting-started/rust.mdx @@ -10,8 +10,8 @@ tags: ## Requirements -- [Rust](https://www.rust-lang.org/) (>= 1.62) -- [Cargo](https://doc.rust-lang.org/cargo/) (>= 1.62) +- [Rust](https://www.rust-lang.org/) (>= 1.65) +- [Cargo](https://doc.rust-lang.org/cargo/) (>= 1.65) ## Include the Library @@ -23,7 +23,7 @@ This version is published to crates.io and is **stable**, following semantic ver ```toml [dependencies] -identity_iota = { version = "1.2.0" } +identity_iota = { version = "1.5.0" } ``` ### Development Release diff --git a/docs/build/identity.rs/1.3/docs/getting-started/wasm.mdx b/docs/build/identity.rs/1.5/docs/getting-started/wasm.mdx similarity index 99% rename from docs/build/identity.rs/1.3/docs/getting-started/wasm.mdx rename to docs/build/identity.rs/1.5/docs/getting-started/wasm.mdx index 2d95458d5df..1448193c973 100644 --- a/docs/build/identity.rs/1.3/docs/getting-started/wasm.mdx +++ b/docs/build/identity.rs/1.5/docs/getting-started/wasm.mdx @@ -336,4 +336,4 @@ You may find it useful to see how the WASM bindings are being used in existing a ## [API Reference](../references/wasm/api_ref.md) -## [Examples](https://github.com/iotaledger/identity.rs/blob/v1.3.0/bindings/wasm/examples/README.md) +## [Examples](https://github.com/iotaledger/identity.rs/blob/v1.5.0/bindings/wasm/examples/README.md) diff --git a/docs/build/identity.rs/1.3/docs/glossary.mdx b/docs/build/identity.rs/1.5/docs/glossary.mdx similarity index 100% rename from docs/build/identity.rs/1.3/docs/glossary.mdx rename to docs/build/identity.rs/1.5/docs/glossary.mdx diff --git a/docs/build/identity.rs/1.3/docs/how-tos/decentralized-identifiers/create.mdx b/docs/build/identity.rs/1.5/docs/how-tos/decentralized-identifiers/create.mdx similarity index 88% rename from docs/build/identity.rs/1.3/docs/how-tos/decentralized-identifiers/create.mdx rename to docs/build/identity.rs/1.5/docs/how-tos/decentralized-identifiers/create.mdx index 6266a8b26df..8d2753114bb 100644 --- a/docs/build/identity.rs/1.3/docs/how-tos/decentralized-identifiers/create.mdx +++ b/docs/build/identity.rs/1.5/docs/how-tos/decentralized-identifiers/create.mdx @@ -45,14 +45,14 @@ you will need an output with actual Shimmer or IOTA funds to create a new Alias ```rust reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/examples/0_basic/0_create_did.rs#L52 +https://github.com/iotaledger/identity.rs/blob/v1.5.0/examples/0_basic/0_create_did.rs#L52 ``` ```ts reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/bindings/wasm/examples/src/0_basic/0_create_did.ts#L40-L51 +https://github.com/iotaledger/identity.rs/blob/v1.5.0/bindings/wasm/examples/src/0_basic/0_create_did.ts#L40-L51 ``` @@ -77,14 +77,14 @@ the DID inside the document. ```ts reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/examples/0_basic/0_create_did.rs#L59-L71 +https://github.com/iotaledger/identity.rs/blob/v1.5.0/examples/0_basic/0_create_did.rs#L59-L71 ``` ```rust reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/bindings/wasm/examples/src/0_basic/0_create_did.ts#L55C44-L65 +https://github.com/iotaledger/identity.rs/blob/v1.5.0/bindings/wasm/examples/src/0_basic/0_create_did.ts#L55C44-L65 ``` @@ -107,14 +107,14 @@ However, they must be unlocked in order perform a state or governance transition ```rust reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/examples/0_basic/0_create_did.rs#L75 +https://github.com/iotaledger/identity.rs/blob/v1.5.0/examples/0_basic/0_create_did.rs#L75 ``` ```ts reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/bindings/wasm/examples/src/0_basic/0_create_did.ts#L70 +https://github.com/iotaledger/identity.rs/blob/v1.5.0/bindings/wasm/examples/src/0_basic/0_create_did.ts#L70 ``` @@ -139,14 +139,14 @@ the DID Document is stored on the ledger and can be [resolved](resolve.mdx) usin ```rust reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/examples/0_basic/0_create_did.rs#L78 +https://github.com/iotaledger/identity.rs/blob/v1.5.0/examples/0_basic/0_create_did.rs#L78 ``` ```ts reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/bindings/wasm/examples/src/0_basic/0_create_did.ts#L74 +https://github.com/iotaledger/identity.rs/blob/v1.5.0/bindings/wasm/examples/src/0_basic/0_create_did.ts#L74 ``` @@ -159,14 +159,14 @@ https://github.com/iotaledger/identity.rs/blob/v1.3.0/bindings/wasm/examples/src ```rust reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/examples/0_basic/0_create_did.rs +https://github.com/iotaledger/identity.rs/blob/v1.5.0/examples/0_basic/0_create_did.rs ``` ```ts reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/bindings/wasm/examples/src/0_basic/0_create_did.ts +https://github.com/iotaledger/identity.rs/blob/v1.5.0/bindings/wasm/examples/src/0_basic/0_create_did.ts ``` diff --git a/docs/build/identity.rs/1.3/docs/how-tos/decentralized-identifiers/delete.mdx b/docs/build/identity.rs/1.5/docs/how-tos/decentralized-identifiers/delete.mdx similarity index 92% rename from docs/build/identity.rs/1.3/docs/how-tos/decentralized-identifiers/delete.mdx rename to docs/build/identity.rs/1.5/docs/how-tos/decentralized-identifiers/delete.mdx index 86bb74c20a7..a64abcbbfa6 100644 --- a/docs/build/identity.rs/1.3/docs/how-tos/decentralized-identifiers/delete.mdx +++ b/docs/build/identity.rs/1.5/docs/how-tos/decentralized-identifiers/delete.mdx @@ -46,14 +46,14 @@ and optionally reclaiming the storage deposit. ```rust reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/examples/0_basic/3_deactivate_did.rs +https://github.com/iotaledger/identity.rs/blob/v1.5.0/examples/0_basic/3_deactivate_did.rs ``` ```ts reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/bindings/wasm/examples/src/0_basic/3_deactivate_did.ts +https://github.com/iotaledger/identity.rs/blob/v1.5.0/bindings/wasm/examples/src/0_basic/3_deactivate_did.ts ``` @@ -92,14 +92,14 @@ The following example demonstrates how a governor destroys an IOTA Identity and ```rust reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/examples/0_basic/4_delete_did.rs +https://github.com/iotaledger/identity.rs/blob/v1.5.0/examples/0_basic/4_delete_did.rs ``` ```ts reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/bindings/wasm/examples/src/0_basic/4_delete_did.ts +https://github.com/iotaledger/identity.rs/blob/v1.5.0/bindings/wasm/examples/src/0_basic/4_delete_did.ts ``` diff --git a/docs/build/identity.rs/1.3/docs/how-tos/decentralized-identifiers/resolve.mdx b/docs/build/identity.rs/1.5/docs/how-tos/decentralized-identifiers/resolve.mdx similarity index 98% rename from docs/build/identity.rs/1.3/docs/how-tos/decentralized-identifiers/resolve.mdx rename to docs/build/identity.rs/1.5/docs/how-tos/decentralized-identifiers/resolve.mdx index 04ab1b59f82..d55dd96a778 100644 --- a/docs/build/identity.rs/1.3/docs/how-tos/decentralized-identifiers/resolve.mdx +++ b/docs/build/identity.rs/1.5/docs/how-tos/decentralized-identifiers/resolve.mdx @@ -167,14 +167,14 @@ and [credentials](./../../explanations/verifiable-credentials.mdx). ```rust reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/examples/1_advanced/5_custom_resolution.rs +https://github.com/iotaledger/identity.rs/blob/v1.5.0/examples/1_advanced/5_custom_resolution.rs ``` ```ts reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/bindings/wasm/examples/src/1_advanced/4_custom_resolution.ts +https://github.com/iotaledger/identity.rs/blob/v1.5.0/bindings/wasm/examples/src/1_advanced/4_custom_resolution.ts ``` diff --git a/docs/build/identity.rs/1.3/docs/how-tos/decentralized-identifiers/update.mdx b/docs/build/identity.rs/1.5/docs/how-tos/decentralized-identifiers/update.mdx similarity index 99% rename from docs/build/identity.rs/1.3/docs/how-tos/decentralized-identifiers/update.mdx rename to docs/build/identity.rs/1.5/docs/how-tos/decentralized-identifiers/update.mdx index 89b54998826..97463bcb754 100644 --- a/docs/build/identity.rs/1.3/docs/how-tos/decentralized-identifiers/update.mdx +++ b/docs/build/identity.rs/1.5/docs/how-tos/decentralized-identifiers/update.mdx @@ -520,14 +520,14 @@ Publish the updated DID Document inside the Alias Output taking into account the ```rust reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/examples/0_basic/1_update_did.rs +https://github.com/iotaledger/identity.rs/blob/v1.5.0/examples/0_basic/1_update_did.rs ``` ```ts reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/bindings/wasm/examples/src/0_basic/1_update_did.ts +https://github.com/iotaledger/identity.rs/blob/v1.5.0/bindings/wasm/examples/src/0_basic/1_update_did.ts ``` diff --git a/docs/build/identity.rs/1.3/docs/how-tos/domain-linkage/create-and-verify.mdx b/docs/build/identity.rs/1.5/docs/how-tos/domain-linkage/create-and-verify.mdx similarity index 98% rename from docs/build/identity.rs/1.3/docs/how-tos/domain-linkage/create-and-verify.mdx rename to docs/build/identity.rs/1.5/docs/how-tos/domain-linkage/create-and-verify.mdx index ef3a313e224..01c46850907 100644 --- a/docs/build/identity.rs/1.3/docs/how-tos/domain-linkage/create-and-verify.mdx +++ b/docs/build/identity.rs/1.5/docs/how-tos/domain-linkage/create-and-verify.mdx @@ -165,14 +165,14 @@ You can learn more ```rust reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/examples/1_advanced/6_domain_linkage.rs +https://github.com/iotaledger/identity.rs/blob/v1.5.0/examples/1_advanced/6_domain_linkage.rs ``` ```ts reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/bindings/wasm/examples/src/1_advanced/5_domain_linkage.ts +https://github.com/iotaledger/identity.rs/blob/v1.5.0/bindings/wasm/examples/src/1_advanced/5_domain_linkage.ts ``` diff --git a/docs/build/identity.rs/1.3/docs/how-tos/key-storage.mdx b/docs/build/identity.rs/1.5/docs/how-tos/key-storage.mdx similarity index 95% rename from docs/build/identity.rs/1.3/docs/how-tos/key-storage.mdx rename to docs/build/identity.rs/1.5/docs/how-tos/key-storage.mdx index 5d76d6dcaa9..e5ad7e9c5ed 100644 --- a/docs/build/identity.rs/1.3/docs/how-tos/key-storage.mdx +++ b/docs/build/identity.rs/1.5/docs/how-tos/key-storage.mdx @@ -119,14 +119,14 @@ This section shows the Rust and TypeScript `Memstore` implementations. ```ts reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/bindings/wasm/lib/jwk_storage.ts +https://github.com/iotaledger/identity.rs/blob/v1.5.0/bindings/wasm/lib/jwk_storage.ts ``` ```rust reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/identity_storage/src/key_storage/memstore.rs +https://github.com/iotaledger/identity.rs/blob/v1.5.0/identity_storage/src/key_storage/memstore.rs ``` @@ -138,14 +138,14 @@ https://github.com/iotaledger/identity.rs/blob/v1.3.0/identity_storage/src/key_s ```ts reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/bindings/wasm/lib/key_id_storage.ts +https://github.com/iotaledger/identity.rs/blob/v1.5.0/bindings/wasm/lib/key_id_storage.ts ``` ```rust reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/identity_storage/src/key_id_storage/memstore.rs +https://github.com/iotaledger/identity.rs/blob/v1.5.0/identity_storage/src/key_id_storage/memstore.rs ``` diff --git a/docs/build/identity.rs/1.3/docs/how-tos/verifiable-credentials/create.mdx b/docs/build/identity.rs/1.5/docs/how-tos/verifiable-credentials/create.mdx similarity index 94% rename from docs/build/identity.rs/1.3/docs/how-tos/verifiable-credentials/create.mdx rename to docs/build/identity.rs/1.5/docs/how-tos/verifiable-credentials/create.mdx index 8d15cbd7bde..70d7993c7dc 100644 --- a/docs/build/identity.rs/1.3/docs/how-tos/verifiable-credentials/create.mdx +++ b/docs/build/identity.rs/1.5/docs/how-tos/verifiable-credentials/create.mdx @@ -83,14 +83,14 @@ In this example, the issuer signs a `UniversityDegreeCredential` with Alice's na ```rust reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/examples/0_basic/5_create_vc.rs#L67-L98 +https://github.com/iotaledger/identity.rs/blob/v1.5.0/examples/0_basic/5_create_vc.rs#L67-L98 ``` ```ts reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/bindings/wasm/examples/src/0_basic/5_create_vc.ts#L51-L74 +https://github.com/iotaledger/identity.rs/blob/v1.5.0/bindings/wasm/examples/src/0_basic/5_create_vc.ts#L51-L74 ``` @@ -104,14 +104,14 @@ https://github.com/iotaledger/identity.rs/blob/v1.3.0/bindings/wasm/examples/src ```rust reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/examples/0_basic/5_create_vc.rs#L105-L113 +https://github.com/iotaledger/identity.rs/blob/v1.5.0/examples/0_basic/5_create_vc.rs#L105-L113 ``` ```ts reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/bindings/wasm/examples/src/0_basic/5_create_vc.ts#L83-L88 +https://github.com/iotaledger/identity.rs/blob/v1.5.0/bindings/wasm/examples/src/0_basic/5_create_vc.ts#L83-L88 ``` @@ -127,14 +127,14 @@ allowing Alice to take control of it and share it with anyone. ```rust reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/examples/0_basic/5_create_vc.rs +https://github.com/iotaledger/identity.rs/blob/v1.5.0/examples/0_basic/5_create_vc.rs ``` ```ts reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/bindings/wasm/examples/src/0_basic/5_create_vc.ts +https://github.com/iotaledger/identity.rs/blob/v1.5.0/bindings/wasm/examples/src/0_basic/5_create_vc.ts ``` diff --git a/docs/build/identity.rs/1.3/docs/how-tos/verifiable-credentials/revocation.mdx b/docs/build/identity.rs/1.5/docs/how-tos/verifiable-credentials/revocation.mdx similarity index 92% rename from docs/build/identity.rs/1.3/docs/how-tos/verifiable-credentials/revocation.mdx rename to docs/build/identity.rs/1.5/docs/how-tos/verifiable-credentials/revocation.mdx index 46684b54dd5..62d804e7c09 100644 --- a/docs/build/identity.rs/1.3/docs/how-tos/verifiable-credentials/revocation.mdx +++ b/docs/build/identity.rs/1.5/docs/how-tos/verifiable-credentials/revocation.mdx @@ -48,14 +48,14 @@ per the issuer's DID document, one may expect to be able to handle roughly 50k e ```rust reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/examples/0_basic/7_revoke_vc.rs#L167 +https://github.com/iotaledger/identity.rs/blob/v1.5.0/examples/0_basic/7_revoke_vc.rs#L167 ``` ```ts reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/bindings/wasm/examples/src/0_basic/7_revoke_vc.ts#L156 +https://github.com/iotaledger/identity.rs/blob/v1.5.0/bindings/wasm/examples/src/0_basic/7_revoke_vc.ts#L156 ``` @@ -109,14 +109,14 @@ be valid again, as the _revoked_ state is irreversible. ```rust reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/examples/1_advanced/8_status_list_2021.rs#L86-L90 +https://github.com/iotaledger/identity.rs/blob/v1.5.0/examples/1_advanced/8_status_list_2021.rs#L86-L90 ``` ```ts reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/bindings/wasm/examples/src/1_advanced/7_status_list_2021.ts#L72-L76 +https://github.com/iotaledger/identity.rs/blob/v1.5.0/bindings/wasm/examples/src/1_advanced/7_status_list_2021.ts#L72-L76 ``` @@ -144,14 +144,14 @@ status list credential. ```rust reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/examples/1_advanced/8_status_list_2021.rs#L173 +https://github.com/iotaledger/identity.rs/blob/v1.5.0/examples/1_advanced/8_status_list_2021.rs#L173 ``` ```ts reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/bindings/wasm/examples/src/1_advanced/7_status_list_2021.ts#L147 +https://github.com/iotaledger/identity.rs/blob/v1.5.0/bindings/wasm/examples/src/1_advanced/7_status_list_2021.ts#L147 ``` @@ -173,14 +173,14 @@ precise control over which credential is revoked. ```rust reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/examples/0_basic/7_revoke_vc.rs#L197-L204 +https://github.com/iotaledger/identity.rs/blob/v1.5.0/examples/0_basic/7_revoke_vc.rs#L197-L204 ``` ```ts reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/bindings/wasm/examples/src/0_basic/7_revoke_vc.ts#L192C1-L195 +https://github.com/iotaledger/identity.rs/blob/v1.5.0/bindings/wasm/examples/src/0_basic/7_revoke_vc.ts#L192C1-L195 ``` @@ -194,14 +194,14 @@ The following code exemplifies how you can revoke a [Verifiable Credential (VC)] ```rust reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/examples/0_basic/7_revoke_vc.rs +https://github.com/iotaledger/identity.rs/blob/v1.5.0/examples/0_basic/7_revoke_vc.rs ``` ```ts reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/bindings/wasm/examples/src/0_basic/7_revoke_vc.ts +https://github.com/iotaledger/identity.rs/blob/v1.5.0/bindings/wasm/examples/src/0_basic/7_revoke_vc.ts ``` diff --git a/docs/build/identity.rs/1.3/docs/how-tos/verifiable-credentials/selective-disclosure.mdx b/docs/build/identity.rs/1.5/docs/how-tos/verifiable-credentials/selective-disclosure.mdx similarity index 97% rename from docs/build/identity.rs/1.3/docs/how-tos/verifiable-credentials/selective-disclosure.mdx rename to docs/build/identity.rs/1.5/docs/how-tos/verifiable-credentials/selective-disclosure.mdx index 7b816429c09..614dfa8d4b8 100644 --- a/docs/build/identity.rs/1.3/docs/how-tos/verifiable-credentials/selective-disclosure.mdx +++ b/docs/build/identity.rs/1.5/docs/how-tos/verifiable-credentials/selective-disclosure.mdx @@ -127,14 +127,14 @@ When a verifier receives an SD-JWT, it may be desirable to verify that the prese ```rust reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/examples/1_advanced/7_sd_jwt.rs +https://github.com/iotaledger/identity.rs/blob/v1.5.0/examples/1_advanced/7_sd_jwt.rs ``` ```ts reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/bindings/wasm/examples/src/1_advanced/6_sd_jwt.ts +https://github.com/iotaledger/identity.rs/blob/v1.5.0/bindings/wasm/examples/src/1_advanced/6_sd_jwt.ts ``` diff --git a/docs/build/identity.rs/1.3/docs/how-tos/verifiable-credentials/zero-knowledge-selective-disclosure.mdx b/docs/build/identity.rs/1.5/docs/how-tos/verifiable-credentials/zero-knowledge-selective-disclosure.mdx similarity index 91% rename from docs/build/identity.rs/1.3/docs/how-tos/verifiable-credentials/zero-knowledge-selective-disclosure.mdx rename to docs/build/identity.rs/1.5/docs/how-tos/verifiable-credentials/zero-knowledge-selective-disclosure.mdx index eae6db80d90..7576788a93e 100644 --- a/docs/build/identity.rs/1.3/docs/how-tos/verifiable-credentials/zero-knowledge-selective-disclosure.mdx +++ b/docs/build/identity.rs/1.5/docs/how-tos/verifiable-credentials/zero-knowledge-selective-disclosure.mdx @@ -47,14 +47,14 @@ In code, this process would look like the following snippet: ```rust reference -https://github.com/iotaledger/identity.rs/blob/v1.4.0/examples/1_advanced/9_zkp.rs#L114-L141 +https://github.com/iotaledger/identity.rs/blob/v1.5.0/examples/1_advanced/9_zkp.rs#L114-L141 ``` ```ts reference -https://github.com/iotaledger/identity.rs/blob/v1.4.0/bindings/wasm/examples/src/1_advanced/8_zkp.ts#L109-L133 +https://github.com/iotaledger/identity.rs/blob/v1.5.0/bindings/wasm/examples/src/1_advanced/8_zkp.ts#L109-L133 ``` @@ -73,14 +73,14 @@ The proof value depends on the selected [JSON Proof Algorithm](https://www.ietf. ```rust reference -https://github.com/iotaledger/identity.rs/blob/v1.4.0/examples/1_advanced/9_zkp.rs#L197-L223 +https://github.com/iotaledger/identity.rs/blob/v1.5.0/examples/1_advanced/9_zkp.rs#L197-L223 ``` ```ts reference -https://github.com/iotaledger/identity.rs/blob/v1.4.0/bindings/wasm/examples/src/1_advanced/8_zkp.ts#L178-L199 +https://github.com/iotaledger/identity.rs/blob/v1.5.0/bindings/wasm/examples/src/1_advanced/8_zkp.ts#L178-L199 ``` @@ -124,14 +124,14 @@ authenticity and integrity of the presented credential, without knowledge of any ```rust reference -https://github.com/iotaledger/identity.rs/blob/v1.4.0/examples/1_advanced/9_zkp.rs#L244-L257 +https://github.com/iotaledger/identity.rs/blob/v1.5.0/examples/1_advanced/9_zkp.rs#L244-L257 ``` ```ts reference -https://github.com/iotaledger/identity.rs/blob/v1.4.0/bindings/wasm/examples/src/1_advanced/8_zkp.ts#L217-L225 +https://github.com/iotaledger/identity.rs/blob/v1.5.0/bindings/wasm/examples/src/1_advanced/8_zkp.ts#L217-L225 ``` @@ -143,14 +143,14 @@ https://github.com/iotaledger/identity.rs/blob/v1.4.0/bindings/wasm/examples/src ```rust reference -https://github.com/iotaledger/identity.rs/blob/v1.4.0/examples/1_advanced/9_zkp.rs +https://github.com/iotaledger/identity.rs/blob/v1.5.0/examples/1_advanced/9_zkp.rs ``` ```ts reference -https://github.com/iotaledger/identity.rs/blob/v1.4.0/bindings/wasm/examples/src/1_advanced/8_zkp.ts +https://github.com/iotaledger/identity.rs/blob/v1.5.0/bindings/wasm/examples/src/1_advanced/8_zkp.ts ``` diff --git a/docs/build/identity.rs/1.3/docs/how-tos/verifiable-presentations/create-and-validate.mdx b/docs/build/identity.rs/1.5/docs/how-tos/verifiable-presentations/create-and-validate.mdx similarity index 98% rename from docs/build/identity.rs/1.3/docs/how-tos/verifiable-presentations/create-and-validate.mdx rename to docs/build/identity.rs/1.5/docs/how-tos/verifiable-presentations/create-and-validate.mdx index 4bf74231f28..e48f2031b88 100644 --- a/docs/build/identity.rs/1.3/docs/how-tos/verifiable-presentations/create-and-validate.mdx +++ b/docs/build/identity.rs/1.5/docs/how-tos/verifiable-presentations/create-and-validate.mdx @@ -102,14 +102,14 @@ and finally validate it with various options. ```rust reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/examples/0_basic/6_create_vp.rs +https://github.com/iotaledger/identity.rs/blob/v1.5.0/examples/0_basic/6_create_vp.rs ``` ```ts reference -https://github.com/iotaledger/identity.rs/blob/v1.3.0/bindings/wasm/examples/src/0_basic/6_create_vp.ts +https://github.com/iotaledger/identity.rs/blob/v1.5.0/bindings/wasm/examples/src/0_basic/6_create_vp.ts ``` diff --git a/docs/build/identity.rs/1.3/docs/references/.gitignore b/docs/build/identity.rs/1.5/docs/references/.gitignore similarity index 100% rename from docs/build/identity.rs/1.3/docs/references/.gitignore rename to docs/build/identity.rs/1.5/docs/references/.gitignore diff --git a/docs/build/identity.rs/1.3/docs/references/specifications/iota-did-method-spec.mdx b/docs/build/identity.rs/1.5/docs/references/specifications/iota-did-method-spec.mdx similarity index 100% rename from docs/build/identity.rs/1.3/docs/references/specifications/iota-did-method-spec.mdx rename to docs/build/identity.rs/1.5/docs/references/specifications/iota-did-method-spec.mdx diff --git a/docs/build/identity.rs/1.3/docs/references/specifications/overview.mdx b/docs/build/identity.rs/1.5/docs/references/specifications/overview.mdx similarity index 100% rename from docs/build/identity.rs/1.3/docs/references/specifications/overview.mdx rename to docs/build/identity.rs/1.5/docs/references/specifications/overview.mdx diff --git a/docs/build/identity.rs/1.3/docs/references/specifications/revocation-bitmap-2022.mdx b/docs/build/identity.rs/1.5/docs/references/specifications/revocation-bitmap-2022.mdx similarity index 100% rename from docs/build/identity.rs/1.3/docs/references/specifications/revocation-bitmap-2022.mdx rename to docs/build/identity.rs/1.5/docs/references/specifications/revocation-bitmap-2022.mdx diff --git a/docs/build/identity.rs/1.3/docs/references/specifications/revocation-timeframe-2024.mdx b/docs/build/identity.rs/1.5/docs/references/specifications/revocation-timeframe-2024.mdx similarity index 100% rename from docs/build/identity.rs/1.3/docs/references/specifications/revocation-timeframe-2024.mdx rename to docs/build/identity.rs/1.5/docs/references/specifications/revocation-timeframe-2024.mdx diff --git a/docs/build/identity.rs/1.3/docs/welcome.mdx b/docs/build/identity.rs/1.5/docs/welcome.mdx similarity index 100% rename from docs/build/identity.rs/1.3/docs/welcome.mdx rename to docs/build/identity.rs/1.5/docs/welcome.mdx diff --git a/docs/build/identity.rs/1.3/docs/workflow.mdx b/docs/build/identity.rs/1.5/docs/workflow.mdx similarity index 100% rename from docs/build/identity.rs/1.3/docs/workflow.mdx rename to docs/build/identity.rs/1.5/docs/workflow.mdx diff --git a/docs/build/identity.rs/1.3/sidebars.js b/docs/build/identity.rs/1.5/sidebars.js similarity index 100% rename from docs/build/identity.rs/1.3/sidebars.js rename to docs/build/identity.rs/1.5/sidebars.js diff --git a/docusaurus.config.js b/docusaurus.config.js index 003e03c329d..bfb205b06ca 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -153,7 +153,7 @@ module.exports = async () => { content: 'Check out the new IOTA Rebased Testnet.', backgroundColor: 'rgb(1, 1, 255)', - textColor: 'white' + textColor: 'white', }, }, }; diff --git a/scripts/get_identity_references.sh b/scripts/get_identity_references.sh index 0fbccad5037..ef0d3d6ea9a 100755 --- a/scripts/get_identity_references.sh +++ b/scripts/get_identity_references.sh @@ -5,12 +5,12 @@ mkdir tmp cd tmp # Download and copy docs -curl -sL https://s3.eu-central-1.amazonaws.com/files.iota.org/iota-wiki/iota-identity/1.3/wasm.tar.gz | tar xzv -cp -Rv docs/* ../docs/build/identity.rs/1.3/docs/references/ - curl -sL https://s3.eu-central-1.amazonaws.com/files.iota.org/iota-wiki/iota-identity/1.4/wasm.tar.gz | tar xzv cp -Rv docs/* ../docs/build/identity.rs/1.4/docs/references/ +curl -sL https://s3.eu-central-1.amazonaws.com/files.iota.org/iota-wiki/iota-identity/1.5/wasm.tar.gz | tar xzv +cp -Rv docs/* ../docs/build/identity.rs/1.5/docs/references/ + # Return to root and cleanup cd - rm -rf tmp