@liveblocks/core 3.1.2-url1 → 3.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +95 -95
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ var __export = (target, all) => {
|
|
|
6
6
|
|
|
7
7
|
// src/version.ts
|
|
8
8
|
var PKG_NAME = "@liveblocks/core";
|
|
9
|
-
var PKG_VERSION = "3.1.
|
|
9
|
+
var PKG_VERSION = "3.1.3";
|
|
10
10
|
var PKG_FORMAT = "esm";
|
|
11
11
|
|
|
12
12
|
// src/dupe-detection.ts
|
|
@@ -3844,8 +3844,8 @@ function createStore_forTools() {
|
|
|
3844
3844
|
return DerivedSignal.from(() => {
|
|
3845
3845
|
return (
|
|
3846
3846
|
// A tool that's registered and scoped to a specific chat ID...
|
|
3847
|
-
(chatId !== void 0 ? toolsByChatId\u03A3.
|
|
3848
|
-
toolsByChatId\u03A3.getOrCreate(kWILDCARD).
|
|
3847
|
+
(chatId !== void 0 ? toolsByChatId\u03A3.getOrCreate(chatId).getOrCreate(name) : void 0)?.get() ?? // ...or a globally registered tool
|
|
3848
|
+
toolsByChatId\u03A3.getOrCreate(kWILDCARD).getOrCreate(name).get()
|
|
3849
3849
|
);
|
|
3850
3850
|
});
|
|
3851
3851
|
});
|