@xpadev-net/niconicomments 0.2.52 → 0.2.53

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/dist/bundle.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /// <reference types="node" />
2
- type Canvas = HTMLCanvasElement;
2
+ type Canvas = HTMLCanvasElement;
3
3
  type Context2D = CanvasRenderingContext2D;
4
4
 
5
5
  declare class BaseComment implements IComment {
package/dist/bundle.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- niconicomments.js v0.2.52
2
+ niconicomments.js v0.2.53
3
3
  (c) 2021 xpadev-net https://xpadev.net
4
4
  Released under the MIT License.
5
5
  */
@@ -2534,7 +2534,7 @@
2534
2534
  }
2535
2535
  const tmpParam = {
2536
2536
  id: i,
2537
- vpos: Number(commentData[0]),
2537
+ vpos: Number(commentData[0]) * 100,
2538
2538
  content: commentData[2] || "",
2539
2539
  date: i,
2540
2540
  date_usec: 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xpadev-net/niconicomments",
3
- "version": "0.2.52",
3
+ "version": "0.2.53",
4
4
  "description": "NiconiComments is a comment drawing library that is somewhat compatible with the official Nico Nico Douga player.",
5
5
  "main": "dist/bundle.js",
6
6
  "types": "dist/bundle.d.ts",