-
Notifications
You must be signed in to change notification settings - Fork 93
Redesigned crate architecture #1497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
eike-hass
merged 51 commits into
feat/identity-rebased-alpha
from
feat/wasm32-develop-alpha
Jan 17, 2025
+28,491
−2,156
Merged
Changes from 36 commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
dbee3d7
Move identity_wasm package into new folder bindings/wasm/identity_wasm
chrisgitiota 5d77eaa
Reorganize tsconfig and typedoc files
chrisgitiota cdf0129
Extend build scripts to handle multiple artifacts and add new binding…
chrisgitiota e7cc8eb
Merge branch 'feat/identity-rebased-alpha' into feat/wasm32-develop-a…
chrisgitiota 9a9415a
Update identity_wasm/package.json to use shared build scripts
chrisgitiota 2c21ec7
Initial version of the identity_iota_interaction crate
chrisgitiota 4f9d0d6
Provide identity_iota_interaction crate types as `use identity_iota::…
chrisgitiota 189481e
Initial version of iota_interactions_ts
chrisgitiota 6445ddb
Prepare identity_iota_core/rebased for iota_interaction usage
chrisgitiota bdc03d3
Merge branch 'feat/identity-rebased-alpha' into feat/wasm32-develop-a…
chrisgitiota c393acb
Minor README fixes
chrisgitiota fe8376a
Updated identity_interaction_rust MoveCalls to the latest identity_io…
chrisgitiota f31eda4
First compilable but not successfully testable version of identity_io…
chrisgitiota 0dfb752
add stubs for `ProgrammableTransaction` type chain
wulfraem 7fea4db
re-add changes from `feat/add-iota_client_ts_sdk-impls` as closely as…
wulfraem d8627e5
Merge branch 'feat/identity-rebased-alpha' into feat/wasm32-develop-a…
chrisgitiota f348ff7
Use cloned native IotaTransactionBlockResponse instead of a BCS deser…
chrisgitiota c1e4cbf
Fix build warnings and fix MoveType implementation for IotaVerifiable…
chrisgitiota f46876f
Fix & allow clippy errors
chrisgitiota f4e7a99
Fix even more clippy errors
chrisgitiota 57968c2
Elide superfluous explicit lifetimes
chrisgitiota 4ed173c
Use rustfmt ignore to exclude identity_iota_interaction/src/sdk_types…
chrisgitiota 1cc7e25
Fix rustfmt issues for identity_iota_core/src/iota_interaction_rust a…
chrisgitiota 59f02b9
Fix rustfmt issues for bindings/wasm/iota_interaction_ts and identity…
chrisgitiota db8fe86
Update all paths for bindings/wasm/identity_wasm in al GH workflows f…
chrisgitiota 425739a
Rollback removing bindings/wasm/iota_interaction_ts from the workspac…
chrisgitiota a22dd33
Fix format issue for step "wasm fmt check identity_wasm"
chrisgitiota 59be0ac
Fix issue "identity_iota_core not compilable using --no-default-featu…
chrisgitiota e43ea51
Remove iota_interaction_ts related steps from github workflows as thi…
chrisgitiota ffff17f
Fix several dprint issues
chrisgitiota 5dc7ff3
Add iota_interaction_ts build products as 'excludes' to the dprint co…
chrisgitiota 806243e
Fixing paths to the bindings/wasm/identity_wasm crate in several READ…
chrisgitiota fa94623
fix dprint issue missing empty line at end of file
chrisgitiota f8e2435
Update licence_template file to allow optional "Modifications", "(c)"…
chrisgitiota 8d993b3
Add missing copyright license comments
chrisgitiota 3c75dc2
Narrowed the dockerignore filter down from "bindings/wasm" to "bindin…
chrisgitiota db5ec09
bindings/wasm projects identity_wasm and iota_interaction_ts can be b…
chrisgitiota 59c335a
dprint refomated
chrisgitiota 21978e2
Merge branch 'feat/identity-rebased-alpha' into feat/wasm32-develop-a…
chrisgitiota a1c72de
Removed IntentFn adapters and fixed several issues reulting from last…
chrisgitiota b0e0062
Fis issues clippy::needless_as_bytes as the len() directly available …
chrisgitiota 2cd4861
Fis several rustfmt issues
chrisgitiota d6feacc
Fix even more clippy and rustfmt issues
chrisgitiota 5fe26a3
Update .license_template
chrisgitiota a9f978c
Fix rustfmt issues in identity_wasm
chrisgitiota fc360a6
Merge remote-tracking branch 'origin/feat/wasm32-develop-alpha' into …
chrisgitiota 9d5fd35
Fix dprint issues
chrisgitiota 8fd0dd6
Added missing copyright
chrisgitiota 3fe3a33
reactivated 'identity_resolver' dependency for feature iota-client on…
chrisgitiota ede9a82
Updated "typedoc" and "typedoc-plugin-markdown" npm dependencies and …
chrisgitiota f19c906
Fixed wrong paths in Readme example code tests configs
chrisgitiota File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
target/ | ||
bindings/wasm/ | ||
bindings/wasm/identity_wasm | ||
bindings/grpc/target/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ on: | |
- '**.toml' | ||
- 'bindings/**' | ||
- '!bindings/**.md' | ||
- 'bindings/wasm/README.md' # the Readme contain txm tests | ||
- 'bindings/wasm/identity_wasm/README.md' # the Readme contain txm tests | ||
|
||
env: | ||
RUST_BACKTRACE: full | ||
|
@@ -172,7 +172,7 @@ jobs: | |
# run examples only on ubuntu for now | ||
if: matrix.os == 'ubuntu-24.04' | ||
run: | | ||
cd bindings/wasm | ||
cd bindings/wasm/identity_wasm | ||
npm ci | ||
npm run test:readme:rust | ||
|
||
|
@@ -211,20 +211,20 @@ jobs: | |
|
||
- name: Install JS dependencies | ||
run: npm ci | ||
working-directory: bindings/wasm | ||
working-directory: bindings/wasm/identity_wasm | ||
|
||
- name: Download bindings/wasm artifacts | ||
- name: Download bindings/wasm/identity_wasm artifacts | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: identity-wasm-bindings-build | ||
path: bindings/wasm | ||
path: bindings/wasm/identity_wasm | ||
|
||
- name: Start iota sandbox | ||
uses: './.github/actions/iota-rebase-sandbox/setup' | ||
|
||
- name: Run Wasm examples | ||
run: npm run test:readme && npm run test:node | ||
working-directory: bindings/wasm | ||
working-directory: bindings/wasm/identity_wasm | ||
|
||
test-wasm-firefox: | ||
needs: build-wasm | ||
|
@@ -247,22 +247,22 @@ jobs: | |
|
||
- name: Install JS dependencies | ||
run: npm ci | ||
working-directory: bindings/wasm | ||
working-directory: bindings/wasm/identity_wasm | ||
|
||
- name: Download bindings/wasm artifacts | ||
- name: Download bindings/wasm/identity_wasm artifacts | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: identity-wasm-bindings-build | ||
path: bindings/wasm | ||
path: bindings/wasm/identity_wasm | ||
|
||
- name: Start iota sandbox | ||
uses: './.github/actions/iota-rebase-sandbox/setup' | ||
|
||
- name: Build Docker image | ||
uses: docker/[email protected] | ||
with: | ||
context: bindings/wasm/ | ||
file: bindings/wasm/cypress/Dockerfile | ||
context: bindings/wasm/identity_wasm/ | ||
file: bindings/wasm/identity_wasm/cypress/Dockerfile | ||
push: false | ||
tags: cypress-test:latest | ||
load: true | ||
|
@@ -291,22 +291,22 @@ jobs: | |
|
||
- name: Install JS dependencies | ||
run: npm ci | ||
working-directory: bindings/wasm | ||
working-directory: bindings/wasm/identity_wasm | ||
|
||
- name: Download bindings/wasm artifacts | ||
- name: Download bindings/wasm/identity_wasm artifacts | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: identity-wasm-bindings-build | ||
path: bindings/wasm | ||
path: bindings/wasm/identity_wasm | ||
|
||
- name: Start iota sandbox | ||
uses: './.github/actions/iota-rebase-sandbox/setup' | ||
|
||
- name: Build Docker image | ||
uses: docker/[email protected] | ||
with: | ||
context: bindings/wasm/ | ||
file: bindings/wasm/cypress/Dockerfile | ||
context: bindings/wasm/identity_wasm/ | ||
file: bindings/wasm/identity_wasm/cypress/Dockerfile | ||
push: false | ||
tags: cypress-test:latest | ||
load: true | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
// Copyright {20\d{2}(-20\d{2})?} IOTA Stiftung{(?:, .+)?} | ||
// SPDX-License-Identifier: Apache-2.0 | ||
{(\/\/ Copyright.*\n)*?}// {(Modifications )?}Copyright {(\(c\) )?}{20\d{2}(-20\d{2})?} IOTA Stiftung{(, Fondazione Links)?}{(, Filancore GmbH)?} | ||
{(\/\/ Copyright.*\n)*}// SPDX-License-Identifier: Apache-2.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.