CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-walletconnect--types

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

70

1.18x
Overview
Eval results
Files

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
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-walletconnect--types

tile.json