![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@vocdoni/data-models
Advanced tools
@vocdoni/data-models contains the data model definitions for the dvote-js library
Use npm to install @vocdoni/data-models.
npm install @vocdoni/data-models
import { AccountBackup } from "@vocdoni/data-models"
const wallet = Wallet.createRandom()
const originalPassphrase = Math.random().toString()
const encryptedMnemonic = AccountBackup.encryptPayload(wallet.mnemonic.phrase, originalPassphrase)
const backupBytes = AccountBackup.create({
backupName: "Hello world",
questionIds: [1, 2, 3],
answers: ["Answer 1", "Answer 2", "Answer 3"],
accountWallet: {
encryptedMnemonic,
authMethod: Wallet_AuthMethod.PASS,
hdPath: wallet.mnemonic.path,
locale: wallet.mnemonic.locale
},
currentPassphrase: originalPassphrase
})
const decryptedPassphrase = AccountBackup.recoverPassphrase(backupBytes, ["Answer 1", "Answer 2", "Answer 3"])
import { checkValidEntityMetadata } from "@vocdoni/data-models"
checkValidEntityMetadata({})
// throws an Error
import { checkValidProcessMetadata } from "@vocdoni/data-models"
checkValidProcessMetadata({})
// throws an Error
To execute library tests just run
npm run test
1.15.0
Census.addClaim
, Census.addClaimBulk
and Census.registerVoterKey
now don't receive the isDigested
parameter.generateProof
now returns the siblings and the weightIProofArbo
, IProofCA
and IProofEVM
now require a weight
bigintVotingApi.registerVotingKey
Voting.packageAnonymousEnvelope
Voting.getAnonymousVoteNullifier()
VotingApi.getProcessId
, VotingApi.packageAnonymousEnvelope
, VotingApi.packageVoteContent
, VotingApi.packageSignedProof
and VotingApi.getSignedVoteNullifier
are moved from VotingApi
to the Voting
namespaceCAbundleprotobuf
is now exported from @vocdoni/data-models
as CAbundle
FAQs
JavaScript/TypeScript models package
The npm package @vocdoni/data-models receives a total of 1 weekly downloads. As such, @vocdoni/data-models popularity was classified as not popular.
We found that @vocdoni/data-models demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.