Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lens-protocol/client

Package Overview
Dependencies
Maintainers
0
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lens-protocol/client

Low level Lens API client

  • 2.3.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
0
Weekly downloads
 
Created
Source

Lens JavaScript SDK

The official framework-agnostic JavaScript SDK for Lens Protocol.


This package enables you to interact with the Lens API via a type safe interface that abstracts away some of the GraphQL intricacies.

Documentation

  • GitHub monorepo
  • Getting Started
  • Reference

Quick start

Install the Lens React Native SDK package using your package manager of choice:

Package ManagerCommand
npmnpm install @lens-protocol/client@latest
yarnyarn add @lens-protocol/client@latest
pnpmpnpm add @lens-protocol/client@latest

Development configuration example:

import { LensClient, development } from '@lens-protocol/client';

const client = new LensClient({
  environment: development,
});

Production configuration example:

import { LensClient, production } from '@lens-protocol/client';

const client = new LensClient({
  environment: production,
});

In a browser-based implementation you can use the Web Storage API to persist authentication state.

const client = new LensClient({
  environment: production,

  storage: window.localStorage,
});

Keywords

FAQs

Package last updated on 27 Jun 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc