
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
@holochain/devhub-entities
Advanced tools
A Holochain client for deconstructing DevHub entity payloads
A Javascript library for deconstructing DevHub response payloads.
This package defines Entity models for the Holochain DevHub project using the
@whi/entity-architect library.
npm i @holochain/devhub-entities
const { Schema } = require('@holochain/devhub-entities');
const ID = Buffer.from("hCEkEvFsj08QdtgiUDBlEhwlcW5lsfqD4vKRcaGIirSBx0Wl7MVf", "base64");
const HEADER = Buffer.from("hCkkn_kIobHe9Zt4feh751we8mDGyJuBXR50X5LBqtcSuGLalIBa", "base64");
const ADDRESS = Buffer.from("hCEkU7zcM5NFGXIljSHjJS3mk62FfVRpniZQlg6f92zWHkOZpb2z", "base64");
const AUTHOR = Buffer.from("hCAkocJKdTlSkQFVmjPW_lA_A5kusNOORPrFYJqT8134Pag45Vjf", "base64");
Schema.deconstruct( "entity", {
"id": ID,
"header": HEADER,
"address": ADDRESS,
"type": {
"name": "dna",
"model": "info",
},
"content": dna_info
});
// Entity { ...dna_info }
This client will automatically parse Essence packages and deconstruct Entity payloads using
Schema.
const { Client } = require('@holochain/devhub-entities');
const client = new Client( cell_agent, {
[dna_nickname]: dna_hash,
}, app_port );
let response = client.call( dna_nickname, zome_name, fn_name, args );
See CONTRIBUTING.md
FAQs
A Holochain client for deconstructing DevHub entity payloads
We found that @holochain/devhub-entities demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 12 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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.