Skip to content
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

Update to support DPKI getting app index from conductor #35

Merged
merged 2 commits into from
Aug 29, 2024
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
6 changes: 2 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ DEEPKEY_CSR_WASM = zomes/deepkey_csr.wasm

TARGET = release
TARGET_DIR = target/wasm32-unknown-unknown/release
COMMON_SOURCE_FILES = Makefile Cargo.toml \
dnas/deepkey/types/Cargo.toml dnas/deepkey/types/src/*.rs
COMMON_SOURCE_FILES = Makefile Cargo.toml
INT_SOURCE_FILES = $(COMMON_SOURCE_FILES) \
$(INT_DIR)/Cargo.toml $(INT_DIR)/src/*.rs $(INT_DIR)/src/validation/*.rs
CSR_SOURCE_FILES = $(INT_SOURCE_FILES) \
$(CSR_DIR)/Cargo.toml $(CSR_DIR)/src/*.rs \
dnas/deepkey/sdk/Cargo.toml dnas/deepkey/sdk/src/*.rs
$(CSR_DIR)/Cargo.toml $(CSR_DIR)/src/*.rs


#
Expand Down
27 changes: 0 additions & 27 deletions dnas/deepkey/sdk/Cargo.toml

This file was deleted.

31 changes: 0 additions & 31 deletions dnas/deepkey/types/Cargo.toml

This file was deleted.

17 changes: 0 additions & 17 deletions dnas/deepkey/types/src/app_binding.rs

This file was deleted.

26 changes: 0 additions & 26 deletions dnas/deepkey/types/src/change_rule.rs

This file was deleted.

46 changes: 0 additions & 46 deletions dnas/deepkey/types/src/key_anchor.rs

This file was deleted.

27 changes: 0 additions & 27 deletions dnas/deepkey/types/src/key_meta.rs

This file was deleted.

113 changes: 0 additions & 113 deletions dnas/deepkey/types/src/key_registration.rs

This file was deleted.

10 changes: 10 additions & 0 deletions dnas/deepkey/zomelets/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,16 @@ const functions = {

return result;
},
async check_existing_derivation_details ( input ) {
const result = await this.call( input );

return result === null
? null
: {
"app_binding": AppBinding( result[0] ),
"key_meta": KeyMeta( result[1] ),
};
},
async create_key ( input ) {
const result = await this.call( input );

Expand Down
Loading