Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
@streamr/config
Advanced tools
Zero dependency package that contains Streamr Network smart contract addresses
Using npm:
npm install --save @streamr/config
Import DATA token production Ethereum address as a variable in a Typescript project:
import * as config from "@streamr/config"
const {
ethereum: {
id: chainId,
contracts: {
"DATA": dataTokenAddress
}
}
} = config.Chains.load()
Find RPC endpoints:
import * as config from "@streamr/config"
const chains: config.Chains = config.Chains.load()
const httpRpcEndpoints: RPCEndpoint[] = chains.ethereum.getRPCEndpointsByProtocol(config.RPCProtocol.HTTP)
const wsRpcEndpoints: RPCEndpoint[] = chains.ethereum.getRPCEndpointsByProtocol(config.RPCProtocol.WEBSOCKET)
Other languages can read the JSON file directly.
Git checkout repository and change directory to it. Install NVM and run command in the repository root:
nvm use
Install Node modules:
npm ci
Change directory:
cd packages/config
Start with Common Setup before continuing.
Run tests:
make test
Run lint:
make lint
Run build:
make build
Run clean:
make clean
npm login --registry https://registry.npmjs.org --scope @streamr
package.json
, push a release commit, and tag it on GitHub:
./release.bash 0.0.2
config/0.0.2
FAQs
Zero dependency package that contains Streamr Network smart contract addresses
The npm package @streamr/config receives a total of 133 weekly downloads. As such, @streamr/config popularity was classified as not popular.
We found that @streamr/config 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
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.