Skip to content

Commit

Permalink
Added JS wrapper
Browse files Browse the repository at this point in the history
Signed-off-by: artem.ivanov <artem.ivanov@dsr-corporation.com>
  • Loading branch information
Artemkaaas committed Nov 14, 2023
1 parent d4b28d4 commit 1fbdc06
Show file tree
Hide file tree
Showing 21 changed files with 2,439 additions and 16 deletions.
4 changes: 2 additions & 2 deletions src/ffi/credential.rs
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ pub extern "C" fn anoncreds_w3c_credential_add_non_anoncreds_integrity_proof(
/// # Returns
/// Error code
#[no_mangle]
pub extern "C" fn anoncreds_w3c_credential_id(
pub extern "C" fn anoncreds_w3c_credential_set_id(
cred: ObjectHandle,
id: FfiStr,
cred_p: *mut ObjectHandle,
Expand Down Expand Up @@ -424,7 +424,7 @@ pub extern "C" fn anoncreds_w3c_credential_id(
/// # Returns
/// Error code
#[no_mangle]
pub extern "C" fn anoncreds_w3c_credential_subject_id(
pub extern "C" fn anoncreds_w3c_credential_set_subject_id(
cred: ObjectHandle,
id: FfiStr,
cred_p: *mut ObjectHandle,
Expand Down
2 changes: 1 addition & 1 deletion wrappers/javascript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.7.0",
"lerna": "7.2.0",
"lerna": "^7.2.0",
"prettier": "^3.0.3",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
Expand Down
Loading

0 comments on commit 1fbdc06

Please sign in to comment.