Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@walletconnect/se-sdk
Advanced tools
class ClientLV {
public init(params: { core: CoreClient }): Promise<void>;
public pair(params: { uri: string }): Promise<void>;
// ----------------- Sign ----------------- //
public approveSession(params: {
id: number;
chainId: number;
accounts: string[];
}): Promise<Session>;
public rejectSession(params: {
id: number;
error: {
message: "OPTIONAL_ERROR_MESSAGE"
}
}): Promise<void>;
public updateSession(params: {
topic: string;
chainId: number;
accounts: string[];
}): Promise<void>;
public approveRequest(params: {
topic: string;
id: number,
result: any,
}): void;
public rejectRequest(params: {
topic: string;
id: number,
error: {
message: "OPTIONAL_ERROR_MESSAGE"
}
}): void;
public disconnectSession(params: {
topic: string;
error: {
message: "OPTIONAL_ERROR_MESSAGE"
}
}): Promise<void>;
public getActiveSessions(): Promise<Record<string, Session>>;
public getPendingSessionProposals(): Promise<Record<number, SessionProposal>>;
public getPendingSessionRequests(): Promise<Record<number, SessionRequest>>;
// ----------------- Auth ----------------- //
public approveAuthRequest(params: {
id: number;
signature: string;
address: string;
}): Promise<void>;
public rejectAuthRequest(params: { id: number; error: ErrorResponse }): Promise<void>;
public formatAuthMessage(
payload: SingleEthereumTypes.CacaoRequestPayload,
address: string,
): string;
public getPendingAuthRequests(): Record<number, SingleEthereumTypes.PendingAuthRequest>;
// ----------------- Events ----------------- //
public on("session_proposal", (sessionProposal: SessionProposal) => {}): void;
public on("session_request", (sessionRequest: SessionRequest) => {}): void;
public on("session_delete", (sessionDelete: {
id: number,
topic: string
}) => {}): void;
public on("auth_request", (params: {
id: number,
topic: string,
params: {
requester: AuthEngineTypes.PendingRequest["requester"], cacaoPayload: AuthEngineTypes.CacaoRequestPayload
}
}) => {}): void;
}
FAQs
Single-Ethreum-SDK for WalletConnect Protocol
The npm package @walletconnect/se-sdk receives a total of 1,272 weekly downloads. As such, @walletconnect/se-sdk popularity was classified as popular.
We found that @walletconnect/se-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
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.