@lens-protocol/react-web
Advanced tools
Comparing version 2.0.0-alpha.8 to 2.0.0-alpha.9
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 @@ * |
@@ -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 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41750
1052
+ Added@lens-protocol/api-bindings@0.11.0-alpha.9(transitive)
+ Added@lens-protocol/blockchain-bindings@0.10.0-alpha.6(transitive)
+ Added@lens-protocol/domain@0.11.0-alpha.6(transitive)
+ Added@lens-protocol/react@2.0.0-alpha.9(transitive)
+ Added@lens-protocol/shared-kernel@0.11.0-alpha.5(transitive)
+ Added@lens-protocol/storage@0.7.5-alpha.3(transitive)
- Removed@lens-protocol/api-bindings@0.11.0-alpha.8(transitive)
- Removed@lens-protocol/blockchain-bindings@0.10.0-alpha.5(transitive)
- Removed@lens-protocol/domain@0.11.0-alpha.5(transitive)
- Removed@lens-protocol/react@2.0.0-alpha.8(transitive)
- Removed@lens-protocol/shared-kernel@0.11.0-alpha.4(transitive)
- Removed@lens-protocol/storage@0.7.5-alpha.2(transitive)
Updatedtslib@^2.6.2