@litecanvas/utils 0.35.0 → 0.35.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@litecanvas/utils",
3
- "version": "0.35.0",
3
+ "version": "0.35.1",
4
4
  "description": "Utilities to help build litecanvas games",
5
5
  "author": "Luiz Bills <luizbills@pm.me>",
6
6
  "license": "MIT",
@@ -1,4 +1,4 @@
1
- import assert from "../debug/assert"
1
+ import assert from "../debug/assert.js"
2
2
 
3
3
  /**
4
4
  * Check a collision between two circles
@@ -1,4 +1,4 @@
1
- import assert from "../debug/assert"
1
+ import assert from "../debug/assert.js"
2
2
 
3
3
  /**
4
4
  * Check a collision between two rectangles
@@ -1,4 +1,4 @@
1
- import intersection from "./intersection"
1
+ import intersection from "./intersection.js"
2
2
  /**
3
3
  * Determines the direction of the collision between two rectangles and
4
4
  * the new position of the first rectangle to be adjusted.
@@ -1,4 +1,4 @@
1
- import { Vector } from "../vector"
1
+ import { Vector } from "../vector/index.js"
2
2
 
3
3
  /**
4
4
  * Move a vector (position) using another vectors: velocity and acceleration (optional).
package/src/math/mean.js CHANGED
@@ -1,4 +1,4 @@
1
- import sum from "./sum"
1
+ import sum from "./sum.js"
2
2
 
3
3
  /**
4
4
  * Computes the mean of the values in a array.