chore(runtime): upgrade DSH and bundled plugins for runtime-7.11
This commit is contained in:
@@ -13,7 +13,7 @@ async function dshChatJson(response) {
|
||||
export const clientHelpers = dshChatFetch.toString() + String.fromCharCode(10) + dshChatJson.toString() + String.fromCharCode(10);
|
||||
|
||||
export function patchClient(source, version) {
|
||||
if (version !== '1.5.18') throw new Error('unsupported chat-manager version');
|
||||
if (version !== '1.5.20') throw new Error('unsupported chat-manager version');
|
||||
if (source.includes('dshChatFetch') || source.split('await fetch(').length !== 4
|
||||
|| source.split('await response.json()').length !== 4
|
||||
|| source.split('/plugins/dsh-session-delete/').length !== 4) {
|
||||
|
||||
Reference in New Issue
Block a user