koishi-plugin-bilibili-notify 3.2.9-alpha.2 → 3.2.9-alpha.4

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/lib/index.js CHANGED
@@ -849,7 +849,7 @@ var ComRegister = class {
849
849
  ["t6c4a", 49],
850
850
  ["z9u2j", 146]
851
851
  ];
852
- await session.send(/* @__PURE__ */ (0, __satorijs_element_jsx_runtime.jsx)("message", { children: koishi.h.image(await this.ctx.gi.generateWordCloudImg(words, "图云测试"), "image/jpg") }));
852
+ await session.send(/* @__PURE__ */ (0, __satorijs_element_jsx_runtime.jsx)("message", { children: koishi.h.image(await this.ctx.gi.generateWordCloudImg(words, "词云测试"), "image/jpg") }));
853
853
  });
854
854
  }
855
855
  async init(config) {
@@ -1294,8 +1294,14 @@ var ComRegister = class {
1294
1294
  let watchedNum;
1295
1295
  const liveMsgObj = this.liveMsgManager.get(uid);
1296
1296
  const sendDanmakuWordCloud = async () => {
1297
+ this.logger.info("开始制作弹幕词云");
1298
+ this.logger.info("正在获取前50热词");
1297
1299
  const top50Words = Object.entries(danmakuWeightRecord).sort((a$1, b$2) => b$2[1] - a$1[1]).slice(0, 50);
1300
+ this.logger.info("弹幕词云前50词及权重:");
1301
+ this.logger.info(top50Words);
1302
+ this.logger.info("正在准备生成弹幕词云");
1298
1303
  const buffer = await this.ctx.gi.generateWordCloudImg(top50Words, masterInfo.username);
1304
+ this.logger.info("弹幕词云生成完成,正在准备发送词云图片");
1299
1305
  await this.broadcastToTargets(uid, koishi.h.image(buffer, "image/jpeg"), PushType.Live);
1300
1306
  };
1301
1307
  const pushAtTimeFunc = async () => {
@@ -1401,9 +1407,6 @@ var ComRegister = class {
1401
1407
  }, uid, liveEndMsg);
1402
1408
  pushAtTimeTimer();
1403
1409
  pushAtTimeTimer = null;
1404
- const words = Object.entries(danmakuWeightRecord);
1405
- const buffer = await this.ctx.gi.generateWordCloudImg(words, masterInfo.username);
1406
- await this.broadcastToTargets(uid, koishi.h.image(buffer, "image/jpeg"), PushType.Live);
1407
1410
  await sendDanmakuWordCloud();
1408
1411
  }
1409
1412
  };
@@ -50298,9 +50301,9 @@ var require_websocket_server = __commonJS$1({ "node_modules/ws/lib/websocket-ser
50298
50301
  abortHandshakeOrEmitwsClientError(this, req$1, socket, 400, message$1);
50299
50302
  return;
50300
50303
  }
50301
- if (version !== 8 && version !== 13) {
50304
+ if (version !== 13 && version !== 8) {
50302
50305
  const message$1 = "Missing or invalid Sec-WebSocket-Version header";
50303
- abortHandshakeOrEmitwsClientError(this, req$1, socket, 400, message$1);
50306
+ abortHandshakeOrEmitwsClientError(this, req$1, socket, 400, message$1, { "Sec-WebSocket-Version": "13, 8" });
50304
50307
  return;
50305
50308
  }
50306
50309
  if (!this.shouldHandle(req$1)) {
@@ -50469,14 +50472,15 @@ var require_websocket_server = __commonJS$1({ "node_modules/ws/lib/websocket-ser
50469
50472
  * @param {Duplex} socket The socket of the upgrade request
50470
50473
  * @param {Number} code The HTTP response status code
50471
50474
  * @param {String} message The HTTP response body
50475
+ * @param {Object} [headers] The HTTP response headers
50472
50476
  * @private
50473
50477
  */
50474
- function abortHandshakeOrEmitwsClientError(server, req$1, socket, code, message$1) {
50478
+ function abortHandshakeOrEmitwsClientError(server, req$1, socket, code, message$1, headers$2) {
50475
50479
  if (server.listenerCount("wsClientError")) {
50476
50480
  const err = new Error(message$1);
50477
50481
  Error.captureStackTrace(err, abortHandshakeOrEmitwsClientError);
50478
50482
  server.emit("wsClientError", err, socket, req$1);
50479
- } else abortHandshake(socket, code, message$1);
50483
+ } else abortHandshake(socket, code, message$1, headers$2);
50480
50484
  }
50481
50485
  } });
50482
50486
 
package/lib/index.mjs CHANGED
@@ -851,7 +851,7 @@ var ComRegister = class {
851
851
  ["t6c4a", 49],
852
852
  ["z9u2j", 146]
853
853
  ];
854
- await session.send(/* @__PURE__ */ jsx("message", { children: h.image(await this.ctx.gi.generateWordCloudImg(words, "图云测试"), "image/jpg") }));
854
+ await session.send(/* @__PURE__ */ jsx("message", { children: h.image(await this.ctx.gi.generateWordCloudImg(words, "词云测试"), "image/jpg") }));
855
855
  });
856
856
  }
857
857
  async init(config) {
@@ -1296,8 +1296,14 @@ var ComRegister = class {
1296
1296
  let watchedNum;
1297
1297
  const liveMsgObj = this.liveMsgManager.get(uid);
1298
1298
  const sendDanmakuWordCloud = async () => {
1299
+ this.logger.info("开始制作弹幕词云");
1300
+ this.logger.info("正在获取前50热词");
1299
1301
  const top50Words = Object.entries(danmakuWeightRecord).sort((a$1, b$2) => b$2[1] - a$1[1]).slice(0, 50);
1302
+ this.logger.info("弹幕词云前50词及权重:");
1303
+ this.logger.info(top50Words);
1304
+ this.logger.info("正在准备生成弹幕词云");
1300
1305
  const buffer = await this.ctx.gi.generateWordCloudImg(top50Words, masterInfo.username);
1306
+ this.logger.info("弹幕词云生成完成,正在准备发送词云图片");
1301
1307
  await this.broadcastToTargets(uid, h.image(buffer, "image/jpeg"), PushType.Live);
1302
1308
  };
1303
1309
  const pushAtTimeFunc = async () => {
@@ -1403,9 +1409,6 @@ var ComRegister = class {
1403
1409
  }, uid, liveEndMsg);
1404
1410
  pushAtTimeTimer();
1405
1411
  pushAtTimeTimer = null;
1406
- const words = Object.entries(danmakuWeightRecord);
1407
- const buffer = await this.ctx.gi.generateWordCloudImg(words, masterInfo.username);
1408
- await this.broadcastToTargets(uid, h.image(buffer, "image/jpeg"), PushType.Live);
1409
1412
  await sendDanmakuWordCloud();
1410
1413
  }
1411
1414
  };
@@ -50300,9 +50303,9 @@ var require_websocket_server = __commonJS$1({ "node_modules/ws/lib/websocket-ser
50300
50303
  abortHandshakeOrEmitwsClientError(this, req$1, socket, 400, message$1);
50301
50304
  return;
50302
50305
  }
50303
- if (version !== 8 && version !== 13) {
50306
+ if (version !== 13 && version !== 8) {
50304
50307
  const message$1 = "Missing or invalid Sec-WebSocket-Version header";
50305
- abortHandshakeOrEmitwsClientError(this, req$1, socket, 400, message$1);
50308
+ abortHandshakeOrEmitwsClientError(this, req$1, socket, 400, message$1, { "Sec-WebSocket-Version": "13, 8" });
50306
50309
  return;
50307
50310
  }
50308
50311
  if (!this.shouldHandle(req$1)) {
@@ -50471,14 +50474,15 @@ var require_websocket_server = __commonJS$1({ "node_modules/ws/lib/websocket-ser
50471
50474
  * @param {Duplex} socket The socket of the upgrade request
50472
50475
  * @param {Number} code The HTTP response status code
50473
50476
  * @param {String} message The HTTP response body
50477
+ * @param {Object} [headers] The HTTP response headers
50474
50478
  * @private
50475
50479
  */
50476
- function abortHandshakeOrEmitwsClientError(server, req$1, socket, code, message$1) {
50480
+ function abortHandshakeOrEmitwsClientError(server, req$1, socket, code, message$1, headers$2) {
50477
50481
  if (server.listenerCount("wsClientError")) {
50478
50482
  const err = new Error(message$1);
50479
50483
  Error.captureStackTrace(err, abortHandshakeOrEmitwsClientError);
50480
50484
  server.emit("wsClientError", err, socket, req$1);
50481
- } else abortHandshake(socket, code, message$1);
50485
+ } else abortHandshake(socket, code, message$1, headers$2);
50482
50486
  }
50483
50487
  } });
50484
50488
 
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Minified by jsDelivr using Terser v5.39.0.
3
+ * Original file: /npm/wordcloud@1.1.2/src/wordcloud2.js
4
+ *
5
+ * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
6
+ */
7
+ /*!
8
+ * wordcloud2.js
9
+ * http://timdream.org/wordcloud2.js/
10
+ *
11
+ * Copyright 2011 - 2019 Tim Guan-tin Chien and contributors.
12
+ * Released under the MIT license
13
+ */
14
+ "use strict";window.setImmediate||(window.setImmediate=window.msSetImmediate||window.webkitSetImmediate||window.mozSetImmediate||window.oSetImmediate||function(){if(!window.postMessage||!window.addEventListener)return null;var t=[void 0],e="zero-timeout-message";return window.addEventListener("message",(function(a){if("string"==typeof a.data&&a.data.substr(0,20)===e){a.stopImmediatePropagation();var r=parseInt(a.data.substr(20),36);t[r]&&(t[r](),t[r]=void 0)}}),!0),window.clearImmediate=function(e){t[e]&&(t[e]=void 0)},function(a){var r=t.length;return t.push(a),window.postMessage(e+r.toString(36),"*"),r}}()||function(t){window.setTimeout(t,0)}),window.clearImmediate||(window.clearImmediate=window.msClearImmediate||window.webkitClearImmediate||window.mozClearImmediate||window.oClearImmediate||function(t){window.clearTimeout(t)}),function(t){var e=function(){var t=document.createElement("canvas");if(!t||!t.getContext)return!1;var e=t.getContext("2d");return!!e&&(!!e.getImageData&&(!!e.fillText&&(!!Array.prototype.some&&!!Array.prototype.push)))}(),a=function(){if(e){for(var t,a,r=document.createElement("canvas").getContext("2d"),i=20;i;){if(r.font=i.toString(10)+"px sans-serif",r.measureText("W").width===t&&r.measureText("m").width===a)return i+1;t=r.measureText("W").width,a=r.measureText("m").width,i--}return 0}}(),r=function(t){for(var e,a,r=t.length;r;)e=Math.floor(Math.random()*r),a=t[--r],t[r]=t[e],t[e]=a;return t},i=function(t,i){if(e){Array.isArray(t)||(t=[t]),t.forEach((function(e,a){if("string"==typeof e){if(t[a]=document.getElementById(e),!t[a])throw new Error("The element id specified is not found.")}else if(!e.tagName&&!e.appendChild)throw new Error("You must pass valid HTML elements, or ID of the element.")}));var o={list:[],fontFamily:'"Trebuchet MS", "Heiti TC", "微軟正黑體", "Arial Unicode MS", "Droid Fallback Sans", sans-serif',fontWeight:"normal",color:"random-dark",minSize:0,weightFactor:1,clearCanvas:!0,backgroundColor:"#fff",gridSize:8,drawOutOfBound:!1,shrinkToFit:!1,origin:null,drawMask:!1,maskColor:"rgba(255,0,0,0.3)",maskGapWidth:.3,wait:0,abortThreshold:0,abort:function(){},minRotation:-Math.PI/2,maxRotation:Math.PI/2,rotationSteps:0,shuffle:!0,rotateRatio:.1,shape:"circle",ellipticity:.65,classes:null,hover:null,click:null};if(i)for(var n in i)n in o&&(o[n]=i[n]);if("function"!=typeof o.weightFactor){var s=o.weightFactor;o.weightFactor=function(t){return t*s}}if("function"!=typeof o.shape)switch(o.shape){case"circle":default:o.shape="circle";break;case"cardioid":o.shape=function(t){return 1-Math.sin(t)};break;case"diamond":o.shape=function(t){var e=t%(2*Math.PI/4);return 1/(Math.cos(e)+Math.sin(e))};break;case"square":o.shape=function(t){return Math.min(1/Math.abs(Math.cos(t)),1/Math.abs(Math.sin(t)))};break;case"triangle-forward":o.shape=function(t){var e=t%(2*Math.PI/3);return 1/(Math.cos(e)+Math.sqrt(3)*Math.sin(e))};break;case"triangle":case"triangle-upright":o.shape=function(t){var e=(t+3*Math.PI/2)%(2*Math.PI/3);return 1/(Math.cos(e)+Math.sqrt(3)*Math.sin(e))};break;case"pentagon":o.shape=function(t){var e=(t+.955)%(2*Math.PI/5);return 1/(Math.cos(e)+.726543*Math.sin(e))};break;case"star":o.shape=function(t){var e=(t+.955)%(2*Math.PI/10);return(t+.955)%(2*Math.PI/5)-2*Math.PI/10>=0?1/(Math.cos(2*Math.PI/10-e)+3.07768*Math.sin(2*Math.PI/10-e)):1/(Math.cos(e)+3.07768*Math.sin(e))}}o.gridSize=Math.max(Math.floor(o.gridSize),4);var f,l,d,c,h,u,m,w,g=o.gridSize,v=g-o.maskGapWidth,M=Math.abs(o.maxRotation-o.minRotation),p=Math.abs(Math.floor(o.rotationSteps)),x=Math.min(o.maxRotation,o.minRotation);switch(o.color){case"random-dark":m=function(){return A(10,50)};break;case"random-light":m=function(){return A(50,90)};break;default:"function"==typeof o.color&&(m=o.color)}"function"==typeof o.fontWeight&&(w=o.fontWeight);var b=null;"function"==typeof o.classes&&(b=o.classes);var T,k=!1,I=[],y=function(t){var e,a,r=t.currentTarget,i=r.getBoundingClientRect();t.touches?(e=t.touches[0].clientX,a=t.touches[0].clientY):(e=t.clientX,a=t.clientY);var o=e-i.left,n=a-i.top,s=Math.floor(o*(r.width/i.width||1)/g),f=Math.floor(n*(r.height/i.height||1)/g);return I[s][f]},C=function(t){var e=y(t);T!==e&&(T=e,e?o.hover(e.item,e.dimension,t):o.hover(void 0,void 0,t))},S=function(t){var e=y(t);e&&(o.click(e.item,e.dimension,t),t.preventDefault())},E=[],F=function(t){if(E[t])return E[t];var e=8*t,a=e,r=[];for(0===t&&r.push([c[0],c[1],0]);a--;){var i=1;"circle"!==o.shape&&(i=o.shape(a/e*2*Math.PI)),r.push([c[0]+t*i*Math.cos(-a/e*2*Math.PI),c[1]+t*i*Math.sin(-a/e*2*Math.PI)*o.ellipticity,a/e*2*Math.PI])}return E[t]=r,r},P=function(){return o.abortThreshold>0&&(new Date).getTime()-u>o.abortThreshold},R=function(e,a,r,i,o){if(!(e>=l||a>=d||e<0||a<0)){if(f[e][a]=!1,r)t[0].getContext("2d").fillRect(e*g,a*g,v,v);k&&(I[e][a]={item:o,dimension:i})}},O=function e(i){var n,s,c;Array.isArray(i)?(n=i[0],s=i[1]):(n=i.word,s=i.weight,c=i.attributes);var u=0===o.rotateRatio||Math.random()>o.rotateRatio?0:0===M?x:p>0?x+Math.floor(Math.random()*p)*M/(p-1):x+Math.random()*M,v=function(t,e,r){var i=o.weightFactor(e);if(i<=o.minSize)return!1;var n,s=1;i<a&&(s=function(){for(var t=2;t*i<a;)t+=2;return t}()),n=w?w(t,e,i):o.fontWeight;var f=document.createElement("canvas"),l=f.getContext("2d",{willReadFrequently:!0});l.font=n+" "+(i*s).toString(10)+"px "+o.fontFamily;var d=l.measureText(t).width/s,c=Math.max(i*s,l.measureText("m").width,l.measureText("W").width)/s,h=d+2*c,u=3*c,m=Math.ceil(h/g),v=Math.ceil(u/g);h=m*g,u=v*g;var M=-d/2,p=.4*-c,x=Math.ceil((h*Math.abs(Math.sin(r))+u*Math.abs(Math.cos(r)))/g),b=Math.ceil((h*Math.abs(Math.cos(r))+u*Math.abs(Math.sin(r)))/g),T=b*g,k=x*g;f.setAttribute("width",T),f.setAttribute("height",k),l.scale(1/s,1/s),l.translate(T*s/2,k*s/2),l.rotate(-r),l.font=n+" "+(i*s).toString(10)+"px "+o.fontFamily,l.fillStyle="#000",l.textBaseline="middle",l.fillText(t,M*s,(p+.5*i)*s);var I=l.getImageData(0,0,T,k).data;if(P())return!1;for(var y,C,S,E=[],F=b,R=[x/2,b/2,x/2,b/2];F--;)for(y=x;y--;){S=g;t:for(;S--;)for(C=g;C--;)if(I[4*((y*g+S)*T+(F*g+C))+3]){E.push([F,y]),F<R[3]&&(R[3]=F),F>R[1]&&(R[1]=F),y<R[0]&&(R[0]=y),y>R[2]&&(R[2]=y);break t}}return{mu:s,occupied:E,bounds:R,gw:b,gh:x,fillTextOffsetX:M,fillTextOffsetY:p,fillTextWidth:d,fillTextHeight:c,fontSize:i}}(n,s,u);if(!v)return!1;if(P())return!1;if(!o.drawOutOfBound&&!o.shrinkToFit){var T=v.bounds;if(T[1]-T[3]+1>l||T[2]-T[0]+1>d)return!1}for(var I=h+1,y=function(e){var a=Math.floor(e[0]-v.gw/2),r=Math.floor(e[1]-v.gh/2);v.gw,v.gh;return!!function(t,e,a,r,i){for(var n=i.length;n--;){var s=t+i[n][0],c=e+i[n][1];if(s>=l||c>=d||s<0||c<0){if(!o.drawOutOfBound)return!1}else if(!f[s][c])return!1}return!0}(a,r,0,0,v.occupied)&&(function(e,a,r,i,n,s,f,l,d){var c,h,u,v=r.fontSize;c=m?m(i,n,v,s,f):o.color,h=w?w(i,n,v):o.fontWeight,u=b?b(i,n,v):o.classes,t.forEach((function(t){if(t.getContext){var n=t.getContext("2d"),s=r.mu;n.save(),n.scale(1/s,1/s),n.font=h+" "+(v*s).toString(10)+"px "+o.fontFamily,n.fillStyle=c,n.translate((e+r.gw/2)*g*s,(a+r.gh/2)*g*s),0!==l&&n.rotate(-l),n.textBaseline="middle",n.fillText(i,r.fillTextOffsetX*s,(r.fillTextOffsetY+.5*v)*s),n.restore()}else{var f=document.createElement("span"),m="";m="rotate("+-l/Math.PI*180+"deg) ",1!==r.mu&&(m+="translateX(-"+r.fillTextWidth/4+"px) scale("+1/r.mu+")");var w={position:"absolute",display:"block",font:h+" "+v*r.mu+"px "+o.fontFamily,left:(e+r.gw/2)*g+r.fillTextOffsetX+"px",top:(a+r.gh/2)*g+r.fillTextOffsetY+"px",width:r.fillTextWidth+"px",height:r.fillTextHeight+"px",lineHeight:v+"px",whiteSpace:"nowrap",transform:m,webkitTransform:m,msTransform:m,transformOrigin:"50% 40%",webkitTransformOrigin:"50% 40%",msTransformOrigin:"50% 40%"};for(var M in c&&(w.color=c),f.textContent=i,w)f.style[M]=w[M];if(d)for(var p in d)f.setAttribute(p,d[p]);u&&(f.className+=u),t.appendChild(f)}}))}(a,r,v,n,s,h-I,e[2],u,c),function(e,a,r,i,n,s){var f,c,h=n.occupied,u=o.drawMask;if(u&&((f=t[0].getContext("2d")).save(),f.fillStyle=o.maskColor),k){var m=n.bounds;c={x:(e+m[3])*g,y:(a+m[0])*g,w:(m[1]-m[3]+1)*g,h:(m[2]-m[0]+1)*g}}for(var w=h.length;w--;){var v=e+h[w][0],M=a+h[w][1];v>=l||M>=d||v<0||M<0||R(v,M,u,c,s)}u&&f.restore()}(a,r,0,0,v,i),!0)};I--;){var C=F(h-I);if(o.shuffle&&(C=[].concat(C),r(C)),C.some(y))return!0}return!!o.shrinkToFit&&(Array.isArray(i)?i[1]=3*i[1]/4:i.weight=3*i.weight/4,e(i))},z=function(e,a,r){if(a)return!t.some((function(t){var a=new CustomEvent(e,{detail:r||{}});return!t.dispatchEvent(a)}),this);t.forEach((function(t){var a=new CustomEvent(e,{detail:r||{}});t.dispatchEvent(a)}),this)};!function(){var e=t[0];if(e.getContext)l=Math.ceil(e.width/g),d=Math.ceil(e.height/g);else{var a=e.getBoundingClientRect();l=Math.ceil(a.width/g),d=Math.ceil(a.height/g)}if(z("wordcloudstart",!0)){var r,i,n,s,m;if(c=o.origin?[o.origin[0]/g,o.origin[1]/g]:[l/2,d/2],h=Math.floor(Math.sqrt(l*l+d*d)),f=[],!e.getContext||o.clearCanvas)for(t.forEach((function(t){if(t.getContext){var e=t.getContext("2d");e.fillStyle=o.backgroundColor,e.clearRect(0,0,l*(g+1),d*(g+1)),e.fillRect(0,0,l*(g+1),d*(g+1))}else t.textContent="",t.style.backgroundColor=o.backgroundColor,t.style.position="relative"})),r=l;r--;)for(f[r]=[],i=d;i--;)f[r][i]=!0;else{var w=document.createElement("canvas").getContext("2d");w.fillStyle=o.backgroundColor,w.fillRect(0,0,1,1);var v,M,p=w.getImageData(0,0,1,1).data,x=e.getContext("2d").getImageData(0,0,l*g,d*g).data;for(r=l;r--;)for(f[r]=[],i=d;i--;){M=g;t:for(;M--;)for(v=g;v--;)for(n=4;n--;)if(x[4*((i*g+M)*l*g+(r*g+v))+n]!==p[n]){f[r][i]=!1;break t}!1!==f[r][i]&&(f[r][i]=!0)}x=w=p=void 0}if(o.hover||o.click){for(k=!0,r=l+1;r--;)I[r]=[];o.hover&&e.addEventListener("mousemove",C),o.click&&(e.addEventListener("click",S),e.style.webkitTapHighlightColor="rgba(0, 0, 0, 0)"),e.addEventListener("wordcloudstart",(function t(){e.removeEventListener("wordcloudstart",t),e.removeEventListener("mousemove",C),e.removeEventListener("click",S),T=void 0}))}n=0,0!==o.wait?(s=window.setTimeout,m=window.clearTimeout):(s=window.setImmediate,m=window.clearImmediate);var b=function(e,a){t.forEach((function(t){t.removeEventListener(e,a)}),this)},y=function t(){b("wordcloudstart",t),m(E)};!function(e,a){t.forEach((function(t){t.addEventListener(e,a)}),this)}("wordcloudstart",y);var E=s((function t(){if(n>=o.list.length)return m(E),z("wordcloudstop",!1),void b("wordcloudstart",y);u=(new Date).getTime();var e=O(o.list[n]),a=!z("wordclouddrawn",!0,{item:o.list[n],drawn:e});if(P()||a)return m(E),o.abort(),z("wordcloudabort",!1),z("wordcloudstop",!1),void b("wordcloudstart",y);n++,E=s(t,o.wait)}),o.wait)}}()}function A(t,e){return"hsl("+(360*Math.random()).toFixed()+","+(30*Math.random()+70).toFixed()+"%,"+(Math.random()*(e-t)+t).toFixed()+"%)"}};i.isSupported=e,i.minFontSize=a,"function"==typeof define&&define.amd?(t.WordCloud=i,define("wordcloud",[],(function(){return i}))):"undefined"!=typeof module&&module.exports?module.exports=i:t.WordCloud=i}(this);
15
+ //# sourceMappingURL=/sm/17285da6aeb6fe7b274092d2bc30636118c0f9bda249638730ef2e0e61d54dcf.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-bilibili-notify",
3
3
  "description": "Koishi bilibili notify plugin",
4
- "version": "3.2.9-alpha.2",
4
+ "version": "3.2.9-alpha.4",
5
5
  "contributors": [
6
6
  "Akokko <admin@akokko.com>"
7
7
  ],
@@ -64,7 +64,7 @@
64
64
  "globals": "^16.2.0",
65
65
  "koishi": "^4.18.8",
66
66
  "koishi-plugin-puppeteer": "^3.9.0",
67
- "tsdown": "^0.12.8",
67
+ "tsdown": "^0.12.9",
68
68
  "tsx": "^4.20.3",
69
69
  "typescript": "5.8.3"
70
70
  },
package/readme.md CHANGED
@@ -303,7 +303,8 @@ uid为必填参数,为要推送的UP主的UID,index为可选参数,为要
303
303
  > - ver 3.2.9-alpha.0 新增:弹幕词云; 不建议更新,目前仅做测试用!
304
304
  > - ver 3.2.9-alpha.1 修复:弹幕词云显示问题,弹幕过多导致插件爆炸; 不建议更新,目前仅做测试用!
305
305
  > - ver 3.2.9-alpha.2 修复:`AxiosError: Request failed with status code 404 xxx at async BiliAPI.checkIfTokenNeedRefresh`、潜在cookie相关bug、弹幕词云bug `Error: 生成图片失败!错误: TimeoutError: Navigation timeout of 30000 ms exceeded`
306
-
306
+ > - ver 3.2.9-alpha.3 修复:词云生成空白
307
+ > - ver 3.2.9-alpha.4 修复:弹幕词云bug `Error: 生成图片失败!错误: TimeoutError: Navigation timeout of 30000 ms exceeded`
307
308
 
308
309
  ## 交流群
309
310