Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@safe-global/safe-client-gateway-sdk
Advanced tools
A TypeScript SDK for the [Safe Client Gateway](https://github.com/safe-global/safe-client-gateway).
A TypeScript SDK for the Safe Client Gateway.
Important: The Safe Client Gateway is intended for internal use only and should not be used in public-facing applications, such as Safe Apps. Please avoid using this SDK if you’re building for public consumption.
To install the SDK, run the following command:
yarn add @safe-global/safe-client-gateway-sdk
Below is an example of how to import and use the SDK to retrieve information about a specific chain:
import { getChain, type Chain } from "@safe-global/safe-client-gateway-sdk";
const chain = await getChain({
params: {
path: {
chainId: "1",
},
},
});
The SDK requires no initialization. However, if you need to override the default base URL (for instance, to point to a staging environment), you can do so at the root of your project as follows:
import { setBaseUrl } from "@safe-global/safe-client-gateway-sdk";
// Example: use the staging deployment
setBaseUrl("https://safe-client.staging.5afe.dev");
The ‘Release’ workflow should automatically run in accordance with updates to the Safe Client Gateway. However, it can also be manually triggered.
FAQs
A TypeScript SDK for the [Safe Client Gateway](https://github.com/safe-global/safe-client-gateway).
The npm package @safe-global/safe-client-gateway-sdk receives a total of 710 weekly downloads. As such, @safe-global/safe-client-gateway-sdk popularity was classified as not popular.
We found that @safe-global/safe-client-gateway-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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
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.