@arbidocs/react 0.5.53 → 0.5.55
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/README.md +15 -0
- package/dist/artifacts/index.cjs +9 -9
- package/dist/artifacts/index.js +3 -3
- package/dist/calls/livekit/index.cjs +48 -48
- package/dist/calls/livekit/index.js +3 -3
- package/dist/{chunk-ME4TS33T.cjs → chunk-2JQ7QNOO.cjs} +31 -31
- package/dist/{chunk-ME4TS33T.cjs.map → chunk-2JQ7QNOO.cjs.map} +1 -1
- package/dist/{chunk-W7DQJT4T.cjs → chunk-3CVY5SGY.cjs} +159 -22
- package/dist/chunk-3CVY5SGY.cjs.map +1 -0
- package/dist/{chunk-KOLCL4KV.js → chunk-4TKNUJKD.js} +3 -3
- package/dist/{chunk-KOLCL4KV.js.map → chunk-4TKNUJKD.js.map} +1 -1
- package/dist/{chunk-MB34NKBZ.js → chunk-DFZECLD3.js} +2 -2
- package/dist/chunk-DFZECLD3.js.map +1 -0
- package/dist/{chunk-G3GPVSTA.js → chunk-JFL7BBZ6.js} +3 -3
- package/dist/{chunk-G3GPVSTA.js.map → chunk-JFL7BBZ6.js.map} +1 -1
- package/dist/{chunk-BIHGAW4G.js → chunk-PVUZULHI.js} +3 -3
- package/dist/{chunk-BIHGAW4G.js.map → chunk-PVUZULHI.js.map} +1 -1
- package/dist/{chunk-ODGIOGH5.cjs → chunk-UKEUDTOE.cjs} +16 -16
- package/dist/{chunk-ODGIOGH5.cjs.map → chunk-UKEUDTOE.cjs.map} +1 -1
- package/dist/{chunk-ONGNP4JM.cjs → chunk-V64EETLS.cjs} +4 -4
- package/dist/{chunk-ONGNP4JM.cjs.map → chunk-V64EETLS.cjs.map} +1 -1
- package/dist/{chunk-JQSHGBNI.js → chunk-WRMA2JYX.js} +139 -8
- package/dist/chunk-WRMA2JYX.js.map +1 -0
- package/dist/{chunk-YIUUTRMQ.cjs → chunk-YRY6DGRU.cjs} +2 -2
- package/dist/chunk-YRY6DGRU.cjs.map +1 -0
- package/dist/document-tools/index.cjs +41 -41
- package/dist/document-tools/index.js +3 -3
- package/dist/index.cjs +797 -780
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +202 -122
- package/dist/index.d.ts +202 -122
- package/dist/index.js +37 -43
- package/dist/index.js.map +1 -1
- package/dist/viewers/index.cjs +2 -2
- package/dist/viewers/index.js +1 -1
- package/package.json +3 -3
- package/dist/chunk-JQSHGBNI.js.map +0 -1
- package/dist/chunk-MB34NKBZ.js.map +0 -1
- package/dist/chunk-W7DQJT4T.cjs.map +0 -1
- package/dist/chunk-YIUUTRMQ.cjs.map +0 -1
package/dist/viewers/index.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkIU2CJNTB_cjs = require('../chunk-IU2CJNTB.cjs');
|
|
4
4
|
var chunkTMPDW7J5_cjs = require('../chunk-TMPDW7J5.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkYRY6DGRU_cjs = require('../chunk-YRY6DGRU.cjs');
|
|
6
6
|
require('../chunk-RCKA7BEF.cjs');
|
|
7
7
|
var react = require('react');
|
|
8
8
|
var reactPdf = require('react-pdf');
|
|
@@ -863,7 +863,7 @@ function DocumentViewer({
|
|
|
863
863
|
errorRender,
|
|
864
864
|
className
|
|
865
865
|
}) {
|
|
866
|
-
const arbi =
|
|
866
|
+
const arbi = chunkYRY6DGRU_cjs.useArbi();
|
|
867
867
|
const [blob, setBlob] = react.useState(null);
|
|
868
868
|
const [error, setError] = react.useState(null);
|
|
869
869
|
const kind = react.useMemo(() => nativeViewerKind(doc), [doc]);
|
package/dist/viewers/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { installPdfjsPolyfills } from '../chunk-PTOP7OHG.js';
|
|
|
2
2
|
export { installPdfjsPolyfills } from '../chunk-PTOP7OHG.js';
|
|
3
3
|
import { VideoViewer, AudioViewer, ImageViewer } from '../chunk-HDCRPPBW.js';
|
|
4
4
|
export { AudioViewer, ImageViewer, VideoViewer } from '../chunk-HDCRPPBW.js';
|
|
5
|
-
import { useArbi } from '../chunk-
|
|
5
|
+
import { useArbi } from '../chunk-DFZECLD3.js';
|
|
6
6
|
import '../chunk-CPZ36AQS.js';
|
|
7
7
|
import { useEffect, useRef, useCallback, useLayoutEffect, useState, useMemo } from 'react';
|
|
8
8
|
import { Document, Page, pdfjs } from 'react-pdf';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbidocs/react",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.55",
|
|
4
4
|
"description": "React hooks and provider for the ARBI SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -101,8 +101,8 @@
|
|
|
101
101
|
"build-storybook": "storybook build"
|
|
102
102
|
},
|
|
103
103
|
"dependencies": {
|
|
104
|
-
"@arbidocs/client": "0.5.
|
|
105
|
-
"@arbidocs/sdk": "0.5.
|
|
104
|
+
"@arbidocs/client": "0.5.55",
|
|
105
|
+
"@arbidocs/sdk": "0.5.55",
|
|
106
106
|
"@didit-protocol/sdk-web": "0.4.0",
|
|
107
107
|
"@livekit/components-react": "2.9.24",
|
|
108
108
|
"@radix-ui/react-avatar": "^1.2.0",
|