@lightningjs/blits 0.6.2 → 0.6.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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ # v0.6.3
4
+
5
+ _12 jan 2024_
6
+
7
+ - Removed prepending protocol and host from sprite image
8
+
9
+
3
10
  # v0.6.2
4
11
 
5
12
  _12 jan 2024_
@@ -31,6 +31,6 @@
31
31
  "vite": "^4.0.4"
32
32
  },
33
33
  "dependencies": {
34
- "@lightningjs/blits": "^0.6.2"
34
+ "@lightningjs/blits": "^0.6.3"
35
35
  }
36
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightningjs/blits",
3
- "version": "0.6.2",
3
+ "version": "0.6.3",
4
4
  "description": "Blits: The Lightning 3 App Development Framework",
5
5
  "bin": "bin/index.cjs",
6
6
  "exports": {
@@ -32,7 +32,6 @@ export default () =>
32
32
  },
33
33
  computed: {
34
34
  texture() {
35
- console.log('texture')
36
35
  const options =
37
36
  'frames' in this.map
38
37
  ? { ...(this.map.defaults || {}), ...this.map.frames[this.frame] }
@@ -51,9 +50,8 @@ export default () =>
51
50
  },
52
51
  hooks: {
53
52
  ready() {
54
- console.log('sprite!')
55
53
  this.spriteTexture = this[symbols.renderer].createTexture('ImageTexture', {
56
- src: `${window.location.protocol}//${window.location.host}/${this.image}`,
54
+ src: this.image,
57
55
  })
58
56
  },
59
57
  },