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

@lens-protocol/react-web

Package Overview
Dependencies
Maintainers
9
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lens-protocol/react-web - npm Package Compare versions

Comparing version 2.0.0-alpha.8 to 2.0.0-alpha.9

10

dist/declarations/src/LensProvider.d.ts
import { EnvironmentConfig, IBindings, QueryParams } from '@lens-protocol/react';
import { ILogger } from '@lens-protocol/shared-kernel';
import { IObservableStorageProvider, IStorageProvider } from '@lens-protocol/storage';
import { ReactNode } from 'react';

@@ -23,2 +24,11 @@ /**

/**
* The storage provider to use.
*
* If an implementation of {@link IObservableStorageProvider} is provided,
* the provider will be used to subscribe to changes in the storage.
*
* @defaultValue an implementation based on `window.localStorage` and `StorageEvent`.
*/
storage?: IStorageProvider | IObservableStorageProvider;
/**
* The common query params allows you customize some aspect of the returned data.

@@ -25,0 +35,0 @@ *

3

dist/lens-protocol-react-web.cjs.dev.js

@@ -298,4 +298,5 @@ 'use strict';

var _useState = react$1.useState(function () {
var _config$storage;
return _objectSpread2(_objectSpread2({}, config), {}, {
storage: storage
storage: (_config$storage = config.storage) !== null && _config$storage !== void 0 ? _config$storage : storage
});

@@ -302,0 +303,0 @@ }),

@@ -298,4 +298,5 @@ 'use strict';

var _useState = react$1.useState(function () {
var _config$storage;
return _objectSpread2(_objectSpread2({}, config), {}, {
storage: storage
storage: (_config$storage = config.storage) !== null && _config$storage !== void 0 ? _config$storage : storage
});

@@ -302,0 +303,0 @@ }),

@@ -295,4 +295,5 @@ import { LensProvider as LensProvider$1 } from '@lens-protocol/react';

var _useState = useState(function () {
var _config$storage;
return _objectSpread2(_objectSpread2({}, config), {}, {
storage: storage
storage: (_config$storage = config.storage) !== null && _config$storage !== void 0 ? _config$storage : storage
});

@@ -299,0 +300,0 @@ }),

{
"name": "@lens-protocol/react-web",
"version": "2.0.0-alpha.8",
"version": "2.0.0-alpha.9",
"description": "Lens Protocol SDK for React web applications",

@@ -30,8 +30,8 @@ "main": "dist/lens-protocol-react-web.cjs.js",

"dependencies": {
"tslib": "^2.5.0",
"@lens-protocol/react": "2.0.0-alpha.8",
"@lens-protocol/domain": "0.11.0-alpha.5",
"@lens-protocol/api-bindings": "0.11.0-alpha.8",
"@lens-protocol/shared-kernel": "0.11.0-alpha.4",
"@lens-protocol/storage": "0.7.5-alpha.2"
"tslib": "^2.6.2",
"@lens-protocol/react": "2.0.0-alpha.9",
"@lens-protocol/api-bindings": "0.11.0-alpha.9",
"@lens-protocol/shared-kernel": "0.11.0-alpha.5",
"@lens-protocol/storage": "0.7.5-alpha.3",
"@lens-protocol/domain": "0.11.0-alpha.6"
},

@@ -53,3 +53,3 @@ "devDependencies": {

"jest-environment-jsdom": "^29.4.3",
"jest-mock-extended": "^3.0.1",
"jest-mock-extended": "^3.0.5",
"jest-when": "^3.5.2",

@@ -60,5 +60,5 @@ "prettier": "^2.8.4",

"ts-jest": "^29.0.5",
"typescript": "^4.9.5",
"typescript": "^5.2.2",
"@lens-protocol/prettier-config": "0.5.0",
"@lens-protocol/eslint-config": "0.5.0",
"@lens-protocol/prettier-config": "0.5.0",
"@lens-protocol/tsconfig": "0.2.0"

@@ -65,0 +65,0 @@ },

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