Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@godeners/things
Advanced tools
Things is a library for MetaID protocol. It provides a set of functions to manage the DID document and the DID transaction.
Things is a RESTful-like domain protocol based on Microvision Chain and MetaID DID protocol. Developers can use Things to create his own domain resource.
The API examples listed here are still under development.
import { define, use } from '@godeners/things'
// define api returns a class represents what the domain is.
const Buzz = define('buzz', {
//...
})
// use api returns a class represents what the domain is. (using existing domain)
const Buzz = use('buzz')
// list
const buzzes = Buzz.list()
// list filtered by query
const buzzes = Buzz.list({
where: {
title: 'Hello World',
},
})
// my list
Buzz.login('0x1234567890') // metaid or address
const myBuzzes = Buzz.myList()
// has container
Buzz.login('0x1234567890') // metaid or address
const hasRoot: boolean = Buzz.hasContainer()
// create container
Buzz.login('0x1234567890') // metaid or address
await Buzz.createContainer()
// get one
const buzz = Buzz.one('0x1234567890') // txid
const buzz = Buzz.first('0x1234567890') // or use alias `first`
const buzz = Buzz.get('0x1234567890') // ...or `get`
const buzz = Buzz.one({
where: {
title: 'Hello World',
},
})
// create
const newBuzz = Buzz.create({
title: 'Hello World',
content: 'This is my first buzz',
})
// update
const updatedBuzz = Buzz.update('0x1234567890', {
title: 'Hello World',
content: 'This is my first buzz',
})
// or update one existing resource
const oldBuzz = Buzz.get('0x1234567890')
const updatedBuzz = oldBuzz.update({
title: 'Hello World',
content: 'This is my first buzz',
})
// delete
const deletedBuzz = Buzz.delete('0x1234567890')
// or delete one existing resource
oldBuzz.delete()
FAQs
Things is a library for MetaID protocol. It provides a set of functions to manage the DID document and the DID transaction.
The npm package @godeners/things receives a total of 0 weekly downloads. As such, @godeners/things popularity was classified as not popular.
We found that @godeners/things demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.