sonolus-deemo-engine 1.0.1 → 1.0.2

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.
@@ -1,9 +1,9 @@
1
1
  export type DC = DCObject[];
2
- export type DCObject = DCBPMChangeObject | DCTapNote | DCSlideNote;
2
+ export type DCObject = DCBpmChangeObject | DCTapNote | DCSlideNote;
3
3
  type BaseDCObject = {
4
4
  beat: number;
5
5
  };
6
- export type DCBPMChangeObject = BaseDCObject & {
6
+ export type DCBpmChangeObject = BaseDCObject & {
7
7
  type: 'bpm';
8
8
  bpm: number;
9
9
  };
@@ -15,7 +15,7 @@ const dsToDC = (ds) => {
15
15
  continue;
16
16
  dc.push({
17
17
  type: slideIds.includes(note.$id) ? 'slide' : 'tap',
18
- beat: note.time,
18
+ beat: note._time,
19
19
  lane: note.pos * 4,
20
20
  size: note.size * 2,
21
21
  });
@@ -6,7 +6,7 @@ export type DSNote = {
6
6
  $id: string;
7
7
  pos: number;
8
8
  size: number;
9
- time: number;
9
+ _time: number;
10
10
  };
11
11
  export type DSLink = {
12
12
  notes: {
package/dist/index.cjs CHANGED
@@ -22,7 +22,7 @@ __exportStar(require("./dc/index.cjs"), exports);
22
22
  var convert_cjs_2 = require("./ds/convert.cjs");
23
23
  Object.defineProperty(exports, "dsToDC", { enumerable: true, get: function () { return convert_cjs_2.dsToDC; } });
24
24
  __exportStar(require("./ds/index.cjs"), exports);
25
- exports.version = '1.0.1';
25
+ exports.version = '1.0.2';
26
26
  exports.engineInfo = {
27
27
  name: 'deemo',
28
28
  version: 8,
package/dist/index.d.cts CHANGED
@@ -3,7 +3,7 @@ export { dcToLevelData } from './dc/convert.cjs';
3
3
  export * from './dc/index.cjs';
4
4
  export { dsToDC } from './ds/convert.cjs';
5
5
  export * from './ds/index.cjs';
6
- export declare const version = "1.0.1";
6
+ export declare const version = "1.0.2";
7
7
  export declare const engineInfo: {
8
8
  readonly name: "deemo";
9
9
  readonly version: 8;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sonolus-deemo-engine",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "A recreation of Deemo engine in Sonolus",
5
5
  "author": "NonSpicyBurrito",
6
6
  "repository": "github:NonSpicyBurrito/sonolus-deemo-engine",