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

@concordium/common-sdk

Package Overview
Dependencies
Maintainers
7
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@concordium/common-sdk - npm Package Compare versions

Comparing version

to
9.2.1

3

lib/web3Proofs.js

@@ -27,2 +27,3 @@ "use strict";

exports.canProveCredentialStatement = exports.canProveAtomicStatement = exports.createWeb3CommitmentInputWithHdWallet = exports.createWeb3CommitmentInput = exports.createAccountCommitmentInputWithHdWallet = exports.createAccountCommitmentInput = exports.createAccountDID = exports.createWeb3IdDID = exports.getVerifiablePresentation = exports.Web3StatementBuilder = exports.AccountStatementBuild = exports.AtomicStatementBuilder = exports.verifyAtomicStatements = exports.MAX_DATE_TIMESTAMP = exports.MIN_DATE_TIMESTAMP = exports.MAX_DATE_ISO = exports.MIN_DATE_ISO = exports.MAX_U64 = exports.MAX_STRING_BYTE_LENGTH = void 0;
const buffer_1 = require("buffer/");
const wasm = __importStar(require("@concordium/rust-bindings"));

@@ -71,3 +72,3 @@ const types_1 = require("./types");

function isValidStringAttribute(attributeValue) {
return (Buffer.from(attributeValue, 'utf-8').length <= exports.MAX_STRING_BYTE_LENGTH);
return (buffer_1.Buffer.from(attributeValue, 'utf-8').length <= exports.MAX_STRING_BYTE_LENGTH);
}

@@ -74,0 +75,0 @@ function isValidIntegerAttribute(attributeValue) {

{
"name": "@concordium/common-sdk",
"version": "9.2.0",
"version": "9.2.1",
"license": "Apache-2.0",

@@ -5,0 +5,0 @@ "engines": {