@liveblocks/react
Advanced tools
Comparing version 0.14.1 to 0.14.2
@@ -84,2 +84,10 @@ Object.defineProperty(exports, '__esModule', { value: true }); | ||
var id = _a.id, children = _a.children, defaultPresence = _a.defaultPresence, defaultStorageRoot = _a.defaultStorageRoot; | ||
if (process.env.NODE_ENV !== "production") { | ||
if (id == null) { | ||
throw new Error("RoomProvider id property is required. For more information: https://liveblocks.io/docs/errors/liveblocks-react/RoomProvider-id-property-is-required"); | ||
} | ||
if (typeof id !== "string") { | ||
throw new Error("RoomProvider id property should be a string."); | ||
} | ||
} | ||
var client = useClient(); | ||
@@ -86,0 +94,0 @@ React.useEffect(function () { |
{ | ||
"name": "@liveblocks/react", | ||
"version": "0.14.1", | ||
"version": "0.14.2", | ||
"description": "", | ||
@@ -26,3 +26,3 @@ "main": "./lib/index.js", | ||
"peerDependencies": { | ||
"@liveblocks/client": "0.14.1", | ||
"@liveblocks/client": "0.14.2", | ||
"react": "^16.14.0 || ^17" | ||
@@ -56,2 +56,2 @@ }, | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
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
50133
650
1