@inditextech/weave-store-websockets 0.19.0 → 0.20.1

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/client.cjs CHANGED
@@ -28,6 +28,20 @@ require("yjs");
28
28
  require("http");
29
29
  const y_websocket = __toESM(require("y-websocket"));
30
30
 
31
+ //#region ../types/dist/types.js
32
+ const WEAVE_TRANSFORMER_ANCHORS = {
33
+ ["TOP_LEFT"]: "top-left",
34
+ ["TOP_CENTER"]: "top-center",
35
+ ["TOP_RIGHT"]: "top-right",
36
+ ["MIDDLE_RIGHT"]: "middle-right",
37
+ ["MIDDLE_LEFT"]: "middle-left",
38
+ ["BOTTOM_LEFT"]: "bottom-left",
39
+ ["BOTTOM_CENTER"]: "bottom-center",
40
+ ["BOTTOM_RIGHT"]: "bottom-right"
41
+ };
42
+ const WEAVE_DEFAULT_ENABLED_ANCHORS = Object.values(WEAVE_TRANSFORMER_ANCHORS);
43
+
44
+ //#endregion
31
45
  //#region src/constants.ts
32
46
  const WEAVE_STORE_WEBSOCKETS = "store-websockets";
33
47
  const WEAVE_STORE_WEBSOCKETS_CONNECTION_STATUS = {
package/dist/client.js CHANGED
@@ -4,6 +4,20 @@ import "yjs";
4
4
  import { IncomingMessage } from "http";
5
5
  import { WebsocketProvider } from "y-websocket";
6
6
 
7
+ //#region ../types/dist/types.js
8
+ const WEAVE_TRANSFORMER_ANCHORS = {
9
+ ["TOP_LEFT"]: "top-left",
10
+ ["TOP_CENTER"]: "top-center",
11
+ ["TOP_RIGHT"]: "top-right",
12
+ ["MIDDLE_RIGHT"]: "middle-right",
13
+ ["MIDDLE_LEFT"]: "middle-left",
14
+ ["BOTTOM_LEFT"]: "bottom-left",
15
+ ["BOTTOM_CENTER"]: "bottom-center",
16
+ ["BOTTOM_RIGHT"]: "bottom-right"
17
+ };
18
+ const WEAVE_DEFAULT_ENABLED_ANCHORS = Object.values(WEAVE_TRANSFORMER_ANCHORS);
19
+
20
+ //#endregion
7
21
  //#region src/constants.ts
8
22
  const WEAVE_STORE_WEBSOCKETS = "store-websockets";
9
23
  const WEAVE_STORE_WEBSOCKETS_CONNECTION_STATUS = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inditextech/weave-store-websockets",
3
- "version": "0.19.0",
3
+ "version": "0.20.1",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Jesus Manuel Piñeiro Cid <jesusmpc@inditex.com>",
@@ -56,7 +56,7 @@
56
56
  "yjs": "13.6.26"
57
57
  },
58
58
  "devDependencies": {
59
- "@inditextech/weave-sdk": "0.19.0",
59
+ "@inditextech/weave-sdk": "0.20.1",
60
60
  "@types/express": "^5.0.1",
61
61
  "@types/lodash.debounce": "^4.0.9",
62
62
  "@types/node": "^22.15.3",