@lens-protocol/react-web
Advanced tools
Comparing version 2.0.0-alpha.10 to 2.0.0-alpha.11
@@ -1,1 +0,11 @@ | ||
export * from "./declarations/src/index"; | ||
// are you seeing an error that a default export doesn't exist but your source file has a default export? | ||
// you should run `yarn` or `yarn preconstruct dev` if preconstruct dev isn't in your postinstall hook | ||
// curious why you need to? | ||
// this file exists so that you can import from the entrypoint normally | ||
// except that it points to your source file and you don't need to run build constantly | ||
// which means we need to re-export all of the modules from your source file | ||
// and since export * doesn't include default exports, we need to read your source file | ||
// to check for a default export and re-export it if it exists | ||
// it's not ideal, but it works pretty well ¯\_(ツ)_/¯ | ||
export * from "../src/index"; |
@@ -1,7 +0,16 @@ | ||
'use strict'; | ||
"use strict"; | ||
// this file might look strange and you might be wondering what it's for | ||
// it's lets you import your source files by importing this entrypoint | ||
// as you would import it if it was built with preconstruct build | ||
// this file is slightly different to some others though | ||
// it has a require hook which compiles your code with Babel | ||
// this means that you don't have to set up @babel/register or anything like that | ||
// but you can still require this module and it'll be compiled | ||
if (process.env.NODE_ENV === "production") { | ||
module.exports = require("./lens-protocol-react-web.cjs.prod.js"); | ||
} else { | ||
module.exports = require("./lens-protocol-react-web.cjs.dev.js"); | ||
} | ||
// this bit of code imports the require hook and registers it | ||
let unregister = require("../../../node_modules/.pnpm/@preconstruct+hook@0.4.0/node_modules/@preconstruct/hook").___internalHook(typeof __dirname === 'undefined' ? undefined : __dirname, "../../..", ".."); | ||
// this re-exports the source file | ||
module.exports = require("../src/index.ts"); | ||
unregister(); |
@@ -1,1 +0,11 @@ | ||
export * from "../../dist/declarations/src/inbox/index"; | ||
// are you seeing an error that a default export doesn't exist but your source file has a default export? | ||
// you should run `yarn` or `yarn preconstruct dev` if preconstruct dev isn't in your postinstall hook | ||
// curious why you need to? | ||
// this file exists so that you can import from the entrypoint normally | ||
// except that it points to your source file and you don't need to run build constantly | ||
// which means we need to re-export all of the modules from your source file | ||
// and since export * doesn't include default exports, we need to read your source file | ||
// to check for a default export and re-export it if it exists | ||
// it's not ideal, but it works pretty well ¯\_(ツ)_/¯ | ||
export * from "../../src/inbox/index"; |
@@ -1,7 +0,16 @@ | ||
'use strict'; | ||
"use strict"; | ||
// this file might look strange and you might be wondering what it's for | ||
// it's lets you import your source files by importing this entrypoint | ||
// as you would import it if it was built with preconstruct build | ||
// this file is slightly different to some others though | ||
// it has a require hook which compiles your code with Babel | ||
// this means that you don't have to set up @babel/register or anything like that | ||
// but you can still require this module and it'll be compiled | ||
if (process.env.NODE_ENV === "production") { | ||
module.exports = require("./lens-protocol-react-web-inbox.cjs.prod.js"); | ||
} else { | ||
module.exports = require("./lens-protocol-react-web-inbox.cjs.dev.js"); | ||
} | ||
// this bit of code imports the require hook and registers it | ||
let unregister = require("../../../../node_modules/.pnpm/@preconstruct+hook@0.4.0/node_modules/@preconstruct/hook").___internalHook(typeof __dirname === 'undefined' ? undefined : __dirname, "../../../..", "../.."); | ||
// this re-exports the source file | ||
module.exports = require("../../src/inbox/index.ts"); | ||
unregister(); |
{ | ||
"name": "@lens-protocol/react-web", | ||
"version": "2.0.0-alpha.10", | ||
"version": "2.0.0-alpha.11", | ||
"description": "Lens Protocol SDK for React web applications", | ||
@@ -31,7 +31,7 @@ "main": "dist/lens-protocol-react-web.cjs.js", | ||
"tslib": "^2.6.2", | ||
"@lens-protocol/api-bindings": "0.11.0-alpha.10", | ||
"@lens-protocol/storage": "0.7.5-alpha.3", | ||
"@lens-protocol/api-bindings": "0.11.0-alpha.11", | ||
"@lens-protocol/domain": "0.11.0-alpha.7", | ||
"@lens-protocol/react": "2.0.0-alpha.11", | ||
"@lens-protocol/shared-kernel": "0.11.0-alpha.5", | ||
"@lens-protocol/react": "2.0.0-alpha.10", | ||
"@lens-protocol/domain": "0.11.0-alpha.6" | ||
"@lens-protocol/storage": "0.7.5-alpha.3" | ||
}, | ||
@@ -60,4 +60,4 @@ "devDependencies": { | ||
"typescript": "^5.2.2", | ||
"@lens-protocol/eslint-config": "0.5.0", | ||
"@lens-protocol/prettier-config": "0.5.0", | ||
"@lens-protocol/eslint-config": "0.5.0", | ||
"@lens-protocol/tsconfig": "0.2.0" | ||
@@ -64,0 +64,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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
0
7736
8
46
1
+ Added@lens-protocol/api-bindings@0.11.0-alpha.11(transitive)
+ Added@lens-protocol/blockchain-bindings@0.10.0-alpha.7(transitive)
+ Added@lens-protocol/domain@0.11.0-alpha.7(transitive)
+ Added@lens-protocol/react@2.0.0-alpha.11(transitive)
- Removed@lens-protocol/api-bindings@0.11.0-alpha.10(transitive)
- Removed@lens-protocol/blockchain-bindings@0.10.0-alpha.6(transitive)
- Removed@lens-protocol/domain@0.11.0-alpha.6(transitive)
- Removed@lens-protocol/react@2.0.0-alpha.10(transitive)