
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@wishcore/wish-sdk
Advanced tools
A library for building Wish applications.
npm install @wishcore/wish-sdk
const { App } = require('@wishcore/wish-sdk');
const app = new App({
name: process.env.SID || 'MyApp',
corePort: parseInt(process.env.CORE, 10) || 9094,
protocols: ['chat'] });
app.on('ready', (ready) => {
app.request('identity.create', ['John Doe'], (err, data) => {
if (err && data.code === 304) { return console.log('Using existing identity'); }
console.log('Identity created:', err, data);
});
});
app.on('online', (peer) => {
app.request('services.send', [peer, Buffer.from('Permissionless innovation!')], (err, data) => {
// sent or not?
});
});
app.on('frame', (peer, data) => {
app.request('identity.get', [peer.ruid], function(err, user) {
console.log(user.alias, 'says:', data.toString());
});
});
FAQs
Wish API for node. Used for building Wish Apps.
The npm package @wishcore/wish-sdk receives a total of 90 weekly downloads. As such, @wishcore/wish-sdk popularity was classified as not popular.
We found that @wishcore/wish-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.