
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@heroiclabs/nakama-js-protobuf
Advanced tools
Websocket adapter adding protocol buffer support to the Nakama Javascript client.
Websocket adapter adding protocol buffer support to the nakama-js client.
Nakama is an open-source server designed to power modern games and apps. Features include user accounts, chat, social, matchmaker, realtime multiplayer, and much more.
Import the adapter into your project:
yarn add "@heroiclabs/nakama-js-protobuf"
Pass the Protobuf adapter to build the socket object.
import {Client} from "@heroiclabs/nakama-js";
import {WebSocketAdapterPb} from "@heroiclabs/nakama-js-protobuf"
const useSSL = false; // Enable if server is run with an SSL certificate.
const client = new Client("defaultkey", "127.0.0.1", 7350, useSSL);
const trace = false;
const socket = client.createSocket(useSSL, trace, new WebSocketAdapterPb());
Use the WebSocket:
socket.ondisconnect = (evt) => {
console.info("Disconnected", evt);
};
const session = await socket.connect(session);
// Socket is open.
This project is licensed under the Apache-2 License.
FAQs
Websocket adapter adding protocol buffer support to the Nakama Javascript client.
The npm package @heroiclabs/nakama-js-protobuf receives a total of 44 weekly downloads. As such, @heroiclabs/nakama-js-protobuf popularity was classified as not popular.
We found that @heroiclabs/nakama-js-protobuf demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.