[ver] 1.61.5
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
},
|
},
|
||||||
"package": {
|
"package": {
|
||||||
"productName": "RisuAI",
|
"productName": "RisuAI",
|
||||||
"version": "1.61.4"
|
"version": "1.61.5"
|
||||||
},
|
},
|
||||||
"tauri": {
|
"tauri": {
|
||||||
"allowlist": {
|
"allowlist": {
|
||||||
|
|||||||
@@ -97,13 +97,13 @@ addWorkerFunction('setChat', async (data:Message[]) => {
|
|||||||
if(typeof dat.data !== 'string'){
|
if(typeof dat.data !== 'string'){
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
if(typeof dat.saying !== 'string'){
|
if(typeof dat.saying !== 'string' && dat.saying !== null && dat.saying !== undefined){
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
if(typeof dat.time !== 'number'){
|
if(typeof dat.time !== 'number' && dat.time !== null && dat.time !== undefined){
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
if(typeof dat.chatId !== 'string'){
|
if(typeof dat.chatId !== 'string' && dat.chatId !== null && dat.chatId !== undefined){
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
newChat.push({
|
newChat.push({
|
||||||
|
|||||||
@@ -75,7 +75,23 @@ const whitelist = [
|
|||||||
"Element",
|
"Element",
|
||||||
"Text",
|
"Text",
|
||||||
"Comment",
|
"Comment",
|
||||||
'onmessage'
|
'onmessage',
|
||||||
|
"DOMParser",
|
||||||
|
"XMLSerializer",
|
||||||
|
"TextEncoder",
|
||||||
|
"TextDecoder",
|
||||||
|
"AbortController",
|
||||||
|
"AbortSignal",
|
||||||
|
"Event",
|
||||||
|
"CustomEvent",
|
||||||
|
"EventTarget",
|
||||||
|
"OffscreenCanvas",
|
||||||
|
"ImageBitmap",
|
||||||
|
"ImageBitmapRenderingContext",
|
||||||
|
"createImageBitmap",
|
||||||
|
"OffScreenCanvasRenderingContext2D",
|
||||||
|
"WebGL2RenderingContext",
|
||||||
|
"WebGLRenderingContext",
|
||||||
]
|
]
|
||||||
|
|
||||||
const evaluation = globaly.eval
|
const evaluation = globaly.eval
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ import type { OobaChatCompletionRequestParams } from '../model/ooba';
|
|||||||
|
|
||||||
export const DataBase = writable({} as any as Database)
|
export const DataBase = writable({} as any as Database)
|
||||||
export const loadedStore = writable(false)
|
export const loadedStore = writable(false)
|
||||||
export let appVer = "1.61.4"
|
export let appVer = "1.61.5"
|
||||||
export let webAppSubVer = ''
|
export let webAppSubVer = ''
|
||||||
|
|
||||||
export function setDatabase(data:Database){
|
export function setDatabase(data:Database){
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"version":"1.61.4"}
|
{"version":"1.61.5"}
|
||||||
Reference in New Issue
Block a user