CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/npm-walletconnect--types

tessl install tessl/npm-walletconnect--types@2.21.0

TypeScript type definitions and interfaces for the WalletConnect Protocol v2, enabling type-safe development across the WalletConnect ecosystem

Agent Success

Agent success rate when using this tile

70%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.19x

Baseline

Agent success rate without this tile

59%

rubric.jsonevals/scenario-9/

{
  "context": "This criteria evaluates how effectively the engineer uses the @walletconnect/types package to implement a session manager with link mode support. The focus is on proper usage of SessionTypes.Struct, RelayerTypes.TransportTypes, CoreTypes.Metadata for link mode configuration, and understanding the transport type property within session structures.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "SessionTypes.Struct Usage",
      "description": "Uses SessionTypes.Struct as the type for session parameters and storage. Correctly accesses session properties like topic, transportType, and peer metadata from the struct.",
      "max_score": 25
    },
    {
      "name": "RelayerTypes.TransportTypes Usage",
      "description": "Uses RelayerTypes.TransportTypes as the type for the transport parameter in getSessionsByTransport. Correctly handles the 'relay' and 'link_mode' transport type values when filtering sessions.",
      "max_score": 20
    },
    {
      "name": "Link Mode Detection",
      "description": "Correctly identifies link mode capability by checking session.peer.metadata.redirect for the presence of native, universal, or linkMode properties. Uses the CoreTypes.Metadata structure to access link mode configuration.",
      "max_score": 30
    },
    {
      "name": "Deep Link Generation",
      "description": "Correctly generates deep link URLs using the redirect information from session.peer.metadata.redirect. Constructs URLs with appropriate platform-specific schemes (native:// or universal URLs) and includes the session topic or relevant parameters.",
      "max_score": 25
    }
  ]
}

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
npmpkg:npm/@walletconnect/types@2.21.x
tile.json