bnpanel 0.5.2 → 0.5.3
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/assets/icons/biuvibe.svg +6 -0
- package/client.js +2 -1
- package/index.js +2 -1
- package/package.json +1 -1
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256">
|
|
2
|
+
<rect width="256" height="256" rx="56" fill="#14110c"/>
|
|
3
|
+
<rect x="16" y="16" width="224" height="224" rx="44" fill="none" stroke="#e2b657" stroke-width="8"/>
|
|
4
|
+
<path d="M78 168c18-52 34-78 50-78s32 26 50 78" fill="none" stroke="#e2b657" stroke-width="8" stroke-linecap="round"/>
|
|
5
|
+
<circle cx="128" cy="96" r="10" fill="#e2b657"/>
|
|
6
|
+
</svg>
|
package/client.js
CHANGED
|
@@ -697,7 +697,7 @@
|
|
|
697
697
|
setPendingPerm(agent || { id });
|
|
698
698
|
setModal('permissions');
|
|
699
699
|
} else if (err.message && err.message.indexOf('未授权') >= 0) {
|
|
700
|
-
setProductInput(id
|
|
700
|
+
setProductInput(id || 'biutalk');
|
|
701
701
|
setTab('account');
|
|
702
702
|
setToast({ text: err.message, bad: true });
|
|
703
703
|
} else {
|
|
@@ -1007,6 +1007,7 @@
|
|
|
1007
1007
|
if (!opts.length) {
|
|
1008
1008
|
push('biutalk', 'BiuTalk', '商店未连通时的兜底', 'icon://biutalk');
|
|
1009
1009
|
push('biureel', 'BiuReel', '商店未连通时的兜底', 'icon://biureel');
|
|
1010
|
+
push('biuvibe', 'BiuVibe', '商店未连通时的兜底', 'icon://biuvibe');
|
|
1010
1011
|
}
|
|
1011
1012
|
return opts;
|
|
1012
1013
|
})(),
|
package/index.js
CHANGED
|
@@ -7324,7 +7324,8 @@ import crypto2 from "node:crypto";
|
|
|
7324
7324
|
var AGENT_NPM_PACKAGES = {
|
|
7325
7325
|
biureel: "@biunow/agent-biureel",
|
|
7326
7326
|
biutalk: "@biunow/agent-biutalk",
|
|
7327
|
-
biuremtion: "@biunow/agent-biuremtion"
|
|
7327
|
+
biuremtion: "@biunow/agent-biuremtion",
|
|
7328
|
+
biuvibe: "@biunow/agent-biuvibe"
|
|
7328
7329
|
};
|
|
7329
7330
|
function agentNpmPackage(slug) {
|
|
7330
7331
|
const key = String(slug || "").trim();
|