@arcblock/did-util
Advanced tools
Comparing version 0.18.0 to 0.19.0
@@ -7,3 +7,3 @@ const { types, Hasher } = require('@arcblock/mcrypto'); | ||
function toAssetAddress(type, itx, sender) { | ||
function toAssetAddress(itx, sender) { | ||
const walletType = toTypeInfo(sender); | ||
@@ -15,3 +15,3 @@ walletType.role = types.RoleType.ROLE_ASSET; | ||
const addressBuffer = Buffer.from(sender); | ||
const message = createMessage(type, itx); | ||
const message = createMessage('CreateAssetTx', itx); | ||
const itxBytes = message.serializeBinary(); | ||
@@ -18,0 +18,0 @@ const itxSha3Buffer = Buffer.from(hexToBytes(Hasher.SHA3.hash256(itxBytes))); |
{ | ||
"name": "@arcblock/did-util", | ||
"description": "Helper function to calculate did", | ||
"version": "0.18.0", | ||
"version": "0.19.0", | ||
"author": "wangshijun <shijun@arcblock.io> (https://ocap.arcblock.io)", | ||
@@ -20,3 +20,3 @@ "engines": { | ||
"dependencies": { | ||
"@arcblock/abt-did": "^0.18.0", | ||
"@arcblock/abt-did": "^0.19.0", | ||
"@arcblock/forge-message": "^0.20.0", | ||
@@ -68,3 +68,3 @@ "@arcblock/forge-util": "^0.20.0", | ||
}, | ||
"gitHead": "87990c8b5e215107fc587c1ced0d6b3e2cd2483e" | ||
"gitHead": "f9d68609b618835cba11b9b0b4902d9c7bebd646" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5544
- Removed@arcblock/abt-did@0.18.0(transitive)
- Removed@arcblock/forge-util@0.19.0(transitive)
- Removed@arcblock/mcrypto@0.19.0(transitive)
Updated@arcblock/abt-did@^0.19.0