Comparing version 3.16.9 to 3.16.10
@@ -50,8 +50,8 @@ "use strict"; | ||
'label': 'rtsp1', | ||
'value': 'ws://ocs.brctest.com:8080/camera?_auth=Basic%20dG9rZW46ek1pNFFkZmMyMWxCOG95Ng==&lang=sc&shop_uid=j5CJlpt0fAOq2DCo&uid=cASOapX4ftbiuSY0uIhKPFID&channel=sub' | ||
'value': 'ws://media.z7test.com:8080/media?uid=cASOapX4ftbiuSY0uIhKPFID&auth=x&channel=sub' | ||
}, | ||
{ | ||
'label': 'rtsp2', | ||
'value': 'ws://ocs.brctest.com:8080/camera?_auth=Basic%20dG9rZW46ek1pNFFkZmMyMWxCOG95Ng==&lang=sc&shop_uid=j5CJlpt0fAOq2DCo&uid=jv6Rk0FdCYHGnu02xjKxz9Pe&channel=sub', | ||
'fval': 'ws://ocs.brctest.com:8080/camera?_auth=Basic%20dG9rZW46ek1pNFFkZmMyMWxCOG95Ng==&lang=sc&shop_uid=j5CJlpt0fAOq2DCo&uid=jv6Rk0FdCYHGnu02xjKxz9Pe&channel=main' | ||
'value': 'ws://media.z7test.com:8080/media?uid=jv6Rk0FdCYHGnu02xjKxz9Pe&auth=x&channel=sub', | ||
'fval': 'ws://media.z7test.com:8080/media?uid=jv6Rk0FdCYHGnu02xjKxz9Pe&auth=x&channel=main' | ||
} | ||
@@ -58,0 +58,0 @@ ]; |
@@ -42,3 +42,3 @@ "use strict"; | ||
exports.hasFrame = hasFrame; | ||
const version = '3.16.9'; | ||
const version = '3.16.10'; | ||
function getVersion() { | ||
@@ -45,0 +45,0 @@ return version; |
@@ -16,3 +16,3 @@ /** | ||
*/ | ||
const version = '3.16.9'; | ||
const version = '3.16.10'; | ||
export function getVersion(): string { | ||
@@ -19,0 +19,0 @@ return version; |
@@ -155,3 +155,8 @@ "use strict"; | ||
try { | ||
const style = yield (yield fetch(__dirname + '/global.css' + (__dirname.startsWith(loader.cdn) ? '' : '?' + Math.random().toString()))).text(); | ||
let style = yield (yield fetch(__dirname + '/global.css' + (__dirname.startsWith(loader.cdn) ? '' : '?' + Math.random().toString()))).text(); | ||
const reg = /url\(["']{0,1}(.+?)["']{0,1}\)/ig; | ||
let match = null; | ||
while ((match = reg.exec(style))) { | ||
style = style.replace(match[0], `url('${__dirname}/${match[1]}')`); | ||
} | ||
(_a = document.getElementById('cg-global')) === null || _a === void 0 ? void 0 : _a.insertAdjacentHTML('afterbegin', style); | ||
@@ -158,0 +163,0 @@ } |
@@ -252,3 +252,9 @@ // npm publish --tag dev --access public | ||
try { | ||
const style = await (await fetch(__dirname + '/global.css' + (__dirname.startsWith(loader.cdn) ? '' : '?' + Math.random().toString()))).text(); | ||
let style = await (await fetch(__dirname + '/global.css' + (__dirname.startsWith(loader.cdn) ? '' : '?' + Math.random().toString()))).text(); | ||
// --- 将 style 里的 url 转换一下路径 --- | ||
const reg = /url\(["']{0,1}(.+?)["']{0,1}\)/ig; | ||
let match: RegExpExecArray | null = null; | ||
while ((match = reg.exec(style))) { | ||
style = style.replace(match[0], `url('${__dirname}/${match[1]}')`); | ||
} | ||
document.getElementById('cg-global')?.insertAdjacentHTML('afterbegin', style); | ||
@@ -255,0 +261,0 @@ } |
{ | ||
"name": "clickgo", | ||
"version": "3.16.9", | ||
"version": "3.16.10", | ||
"description": "Background interface, software interface, mobile phone APP interface operation library.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -28,3 +28,3 @@ # ClickGo | ||
```html | ||
<script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.5.8/dist/loader.min.js?path=index&npm={'clickgo':'3.16.9'}"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@litert/loader@3.5.8/dist/loader.min.js?path=index&npm={'clickgo':'3.16.10'}"></script> | ||
``` | ||
@@ -31,0 +31,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
5340812
283
36965