New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@arcblock/vc

Package Overview
Dependencies
Maintainers
4
Versions
500
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arcblock/vc - npm Package Compare versions

Comparing version 1.13.11 to 1.13.12

4

lib/index.js

@@ -65,3 +65,3 @@ /**

const { wallet, name: issuerName } = issuer;
const issuerDid = wallet.toAddress();
const issuerDid = wallet.address;
const typeInfo = toTypeInfo(issuerDid);

@@ -254,3 +254,3 @@

const { wallet, name } = issuer;
const issuerDid = wallet.toAddress();
const issuerDid = wallet.address;
const typeInfo = toTypeInfo(issuerDid);

@@ -257,0 +257,0 @@ const vcType = { ...typeInfo, role: types.RoleType.ROLE_VC };

{
"name": "@arcblock/vc",
"version": "1.13.11",
"version": "1.13.12",
"description": "Javascript lib to work with ArcBlock Verifiable Credentials",

@@ -48,6 +48,6 @@ "keywords": [

"dependencies": {
"@arcblock/did": "1.13.11",
"@ocap/mcrypto": "1.13.11",
"@ocap/util": "1.13.11",
"@ocap/wallet": "1.13.11",
"@arcblock/did": "1.13.12",
"@ocap/mcrypto": "1.13.12",
"@ocap/util": "1.13.12",
"@ocap/wallet": "1.13.12",
"debug": "^4.3.2",

@@ -58,3 +58,3 @@ "is-absolute-url": "^3.0.3",

},
"gitHead": "42184b4b915a5f390c58e6239f61d621d9128917"
"gitHead": "64135c8f8f7edc1180e0604a4501a9504bcbe4d0"
}

@@ -27,3 +27,3 @@ ![Verifiable Credentials](https://www.arcblock.io/.netlify/functions/badge/?text=Verifiable+Credentials)

subject: {
id: owner.toAddress(),
id: owner.address,
key: 'value',

@@ -36,3 +36,3 @@ method: 'SHA3',

const result = VC.verify({ vc, ownerDid: owner.toAddress(), trustedIssuers: issuer.toAddress() });
const result = VC.verify({ vc, ownerDid: owner.address, trustedIssuers: issuer.address });
console.log(result); // true

@@ -39,0 +39,0 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc