
Product
Introducing Tier 1 Reachability: Precision CVE Triage for Enterprise Teams
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
@gitpod/flex-sdk
Advanced tools
The Gitpod Flex SDK provides a TypeScript/JavaScript client for interacting with the Gitpod Flex API.
npm install @gitpod/flex-sdk
The SDK uses Connect-ES for type-safe API communication. Here's how to set up and use the client:
import { createPromiseClient } from "@connectrpc/connect";
import { createConnectTransport } from "@connectrpc/connect-web";
import { UserService } from "gitpod-flex-api/gitpod/v1/user_connect";
// Import other services as needed
// Create transport with authentication
const transport = createConnectTransport({
baseUrl: "https://your-gitpod-instance.com/api",
interceptors: [
// Add bearer token interceptor
(next) => async (req) => {
req.header.set("Authorization", `Bearer ${your_access_token}`);
return await next(req);
}
],
});
// Create service clients
const userService = createPromiseClient(UserService, transport);
// Initialize other services similarly
// Make API calls
const response = await userService.getUser({ /* params */ });
⚠️ Important: This package does not follow semantic versioning (semver). Breaking changes may be introduced in any release. Always pin your dependency to an exact version and test thoroughly when upgrading.
The SDK requires a Gitpod Personal Access Token for authentication. You can create one in your Gitpod user settings. Pass the token in the transport configuration as shown in the usage example above.
FAQs
API definitions for Gitpod Next.
The npm package @gitpod/flex-sdk receives a total of 5 weekly downloads. As such, @gitpod/flex-sdk popularity was classified as not popular.
We found that @gitpod/flex-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.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.