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

@liveblocks/redux

Package Overview
Dependencies
Maintainers
0
Versions
381
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@liveblocks/redux - npm Package Compare versions

Comparing version 2.15.2 to 2.16.0-rc1

10

dist/index.d.ts

@@ -5,6 +5,6 @@ import { JsonObject, BaseUserMeta, User, Status } from '@liveblocks/client';

declare type Mapping<T> = {
type Mapping<T> = {
[K in keyof T]?: boolean;
};
declare type LiveblocksContext<P extends JsonObject, U extends BaseUserMeta> = {
type LiveblocksContext<P extends JsonObject, U extends BaseUserMeta> = {
/**

@@ -26,3 +26,3 @@ * Other users in the room. Empty no room is currently synced

*/
declare type WithLiveblocks<TState, P extends JsonObject, U extends BaseUserMeta> = TState & {
type WithLiveblocks<TState, P extends JsonObject, U extends BaseUserMeta> = TState & {
readonly liveblocks: LiveblocksContext<P, U>;

@@ -57,6 +57,6 @@ };

client: OpaqueClient;
storageMapping?: Mapping<TState> | undefined;
presenceMapping?: Mapping<TState> | undefined;
storageMapping?: Mapping<TState>;
presenceMapping?: Mapping<TState>;
}) => StoreEnhancer;
export { type Mapping, type WithLiveblocks, actions, liveblocksEnhancer };

@@ -37,3 +37,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }// src/index.ts

var PKG_NAME = "@liveblocks/redux";
var PKG_VERSION = "2.15.2";
var PKG_VERSION = "2.16.0-rc1";
var PKG_FORMAT = "cjs";

@@ -40,0 +40,0 @@

{
"name": "@liveblocks/redux",
"version": "2.15.2",
"version": "2.16.0-rc1",
"description": "A store enhancer to integrate Liveblocks into Redux stores. Liveblocks is the all-in-one toolkit to build collaborative products like Figma, Notion, and more.",

@@ -36,4 +36,4 @@ "license": "Apache-2.0",

"dependencies": {
"@liveblocks/client": "2.15.2",
"@liveblocks/core": "2.15.2"
"@liveblocks/client": "2.16.0-rc1",
"@liveblocks/core": "2.16.0-rc1"
},

@@ -48,3 +48,3 @@ "peerDependencies": {

"@testing-library/jest-dom": "^6.4.6",
"msw": "^0.36.4",
"msw": "^1.3.5",
"redux": "^4.1.2"

@@ -58,3 +58,3 @@ },

"type": "git",
"url": "https://github.com/liveblocks/liveblocks.git",
"url": "git+https://github.com/liveblocks/liveblocks.git",
"directory": "packages/liveblocks-redux"

@@ -61,0 +61,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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