@superinterface/react 2.4.0 → 2.4.2
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 +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -385,6 +385,9 @@ __export(src_exports, {
|
|
|
385
385
|
},
|
|
386
386
|
useThreadContext: function() {
|
|
387
387
|
return useSuperinterfaceContext;
|
|
388
|
+
},
|
|
389
|
+
useThreadDialogContext: function() {
|
|
390
|
+
return useThreadDialogContext;
|
|
388
391
|
}
|
|
389
392
|
});
|
|
390
393
|
module.exports = __toCommonJS(src_exports);
|
|
@@ -3071,6 +3074,7 @@ var useMessageAudio = function(param) {
|
|
|
3071
3074
|
isInited.current = true;
|
|
3072
3075
|
if (isHtmlAudioSupported) {
|
|
3073
3076
|
var audioContext = new AudioContext();
|
|
3077
|
+
import_howler.Howler._howls[0]._sounds[0]._node.crossOrigin = "anonymous";
|
|
3074
3078
|
setAudioEngine({
|
|
3075
3079
|
// @ts-ignore-next-line
|
|
3076
3080
|
source: audioContext.createMediaElementSource(import_howler.Howler._howls[0]._sounds[0]._node),
|
|
@@ -3593,6 +3597,7 @@ var MarkdownProvider = function(_param) {
|
|
|
3593
3597
|
useMessageContext: useMessageContext,
|
|
3594
3598
|
useMessages: useMessages,
|
|
3595
3599
|
useSuperinterfaceContext: useSuperinterfaceContext,
|
|
3596
|
-
useThreadContext: useThreadContext
|
|
3600
|
+
useThreadContext: useThreadContext,
|
|
3601
|
+
useThreadDialogContext: useThreadDialogContext
|
|
3597
3602
|
});
|
|
3598
3603
|
//# sourceMappingURL=index.cjs.map
|