@fileverse-dev/dsheet 2.0.33-rtc-a → 2.0.33-rtc-mk-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/{constants-CnhOvijG.js → constants-yStXQJiK.js} +35 -14
- package/dist/constants.d.ts +4 -0
- package/dist/constants.js +6 -3
- package/dist/editor/hooks/use-collab-awareness.d.ts +1 -1
- package/dist/editor/hooks/use-editor-data.d.ts +1 -1
- package/dist/{index-DkB-BZN7.js → index-7WpcxgLo.js} +8415 -8407
- package/dist/index.es.js +2 -2
- package/dist/style.css +1 -1
- package/dist/sync-local/types/index.d.ts +4 -1
- package/dist/{use-xlsx-import-impl-DUEM4eBB.js → use-xlsx-import-impl-C8z3f22l.js} +1 -1
- package/dist/{xlsx-export-impl-BLwdk5y1.js → xlsx-export-impl-b39UtzVV.js} +1 -1
- package/package.json +3 -3
- package/dist/sync-local/constants.d.ts +0 -1
|
@@ -136,7 +136,8 @@ export declare enum ServerErrorCode {
|
|
|
136
136
|
INVALID_ADDRESS = "INVALID_ADDRESS",
|
|
137
137
|
NOT_AUTHENTICATED = "NOT_AUTHENTICATED",
|
|
138
138
|
DB_ERROR = "DB_ERROR",
|
|
139
|
-
INTERNAL_ERROR = "INTERNAL_ERROR"
|
|
139
|
+
INTERNAL_ERROR = "INTERNAL_ERROR",
|
|
140
|
+
APP_MISMATCH = "APP_MISMATCH"
|
|
140
141
|
}
|
|
141
142
|
export interface AckResponse<T = Record<string, any>> {
|
|
142
143
|
status: boolean;
|
|
@@ -197,6 +198,7 @@ export interface RoomMember {
|
|
|
197
198
|
userId: string;
|
|
198
199
|
role: 'owner' | 'editor';
|
|
199
200
|
}
|
|
201
|
+
export type AppType = 'ddoc' | 'dsheet';
|
|
200
202
|
export interface IAuthArgs {
|
|
201
203
|
collaborationToken: string;
|
|
202
204
|
documentId: string;
|
|
@@ -205,4 +207,5 @@ export interface IAuthArgs {
|
|
|
205
207
|
contractAddress?: string;
|
|
206
208
|
sessionDid?: string;
|
|
207
209
|
roomInfo?: string;
|
|
210
|
+
appType?: AppType;
|
|
208
211
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as Ue } from "./executeStringFunction-9cGLblM5.js";
|
|
2
2
|
import * as qe from "yjs";
|
|
3
|
-
import { m as Xe, y as Ze } from "./index-
|
|
3
|
+
import { m as Xe, y as Ze } from "./index-7WpcxgLo.js";
|
|
4
4
|
import { n as Je } from "./xlsx-hyperlink-inline-DzewAypN.js";
|
|
5
5
|
import { toast as Be } from "@fileverse/ui";
|
|
6
6
|
var We = { exports: {} };
|
|
@@ -3,7 +3,7 @@ import { Workbook as Pt } from "exceljs";
|
|
|
3
3
|
import { toast as Ut } from "@fileverse/ui";
|
|
4
4
|
import { addFortuneImagesToWorksheet as Lt } from "./xlsx-image-utils-Cvg0qxRA.js";
|
|
5
5
|
import { g as jt, c as xt } from "./executeStringFunction-9cGLblM5.js";
|
|
6
|
-
import { c as Ct } from "./index-
|
|
6
|
+
import { c as Ct } from "./index-7WpcxgLo.js";
|
|
7
7
|
import { c as zt, g as Wt } from "./xlsx-hyperlink-inline-DzewAypN.js";
|
|
8
8
|
const Mt = {
|
|
9
9
|
1: "thin",
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@fileverse-dev/dsheet",
|
|
3
3
|
"private": false,
|
|
4
4
|
"description": "DSheet",
|
|
5
|
-
"version": "2.0.33-rtc-
|
|
5
|
+
"version": "2.0.33-rtc-mk-1",
|
|
6
6
|
"main": "dist/index.es.js",
|
|
7
7
|
"module": "dist/index.es.js",
|
|
8
8
|
"exports": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"scripts": {
|
|
35
35
|
"dev": "vite",
|
|
36
36
|
"build": "tsc && vite build",
|
|
37
|
-
"dev:link": "npm run build && cp -r dist/* ../dsheets.new/node_modules/@fileverse-dev/dsheet/dist/ && echo '
|
|
37
|
+
"dev:link": "npm run build && cp -r dist/* ../dsheets.new/node_modules/@fileverse-dev/dsheet/dist/ && echo '✓ Copied to dsheets.new'",
|
|
38
38
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix",
|
|
39
39
|
"preview": "vite preview"
|
|
40
40
|
},
|
|
@@ -109,4 +109,4 @@
|
|
|
109
109
|
"typescript": "^5.2.2",
|
|
110
110
|
"vite": "^5.0.0"
|
|
111
111
|
}
|
|
112
|
-
}
|
|
112
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const ENS_PRESENCE_COLOR = "#5298FF";
|