microboard-temp 0.5.62 → 0.5.64

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.
@@ -48224,7 +48224,7 @@ class Deck extends BaseItem {
48224
48224
  this.subject.publish(this);
48225
48225
  }
48226
48226
  getDeck() {
48227
- return this.index?.list() || [];
48227
+ return (this.index?.list() || []).reverse();
48228
48228
  }
48229
48229
  getTopCard() {
48230
48230
  const card = this.index?.list()[this.index?.list().length - 1];
@@ -49123,7 +49123,7 @@ class Screen extends BaseItem {
49123
49123
  ctx.restore();
49124
49124
  }
49125
49125
  this.path.render(context);
49126
- if (localStorage.getItem("currentUser") === this.ownerId || localStorage.getItem("screenOwnerId") === this.ownerId || !this.ownerId) {
49126
+ if (localStorage.getItem("currentUser") === this.ownerId || localStorage.getItem("screenOwnerId") === this.ownerId) {
49127
49127
  super.render(context);
49128
49128
  }
49129
49129
  }
package/dist/cjs/index.js CHANGED
@@ -48224,7 +48224,7 @@ class Deck extends BaseItem {
48224
48224
  this.subject.publish(this);
48225
48225
  }
48226
48226
  getDeck() {
48227
- return this.index?.list() || [];
48227
+ return (this.index?.list() || []).reverse();
48228
48228
  }
48229
48229
  getTopCard() {
48230
48230
  const card = this.index?.list()[this.index?.list().length - 1];
@@ -49123,7 +49123,7 @@ class Screen extends BaseItem {
49123
49123
  ctx.restore();
49124
49124
  }
49125
49125
  this.path.render(context);
49126
- if (localStorage.getItem("currentUser") === this.ownerId || localStorage.getItem("screenOwnerId") === this.ownerId || !this.ownerId) {
49126
+ if (localStorage.getItem("currentUser") === this.ownerId || localStorage.getItem("screenOwnerId") === this.ownerId) {
49127
49127
  super.render(context);
49128
49128
  }
49129
49129
  }
package/dist/cjs/node.js CHANGED
@@ -50697,7 +50697,7 @@ class Deck extends BaseItem {
50697
50697
  this.subject.publish(this);
50698
50698
  }
50699
50699
  getDeck() {
50700
- return this.index?.list() || [];
50700
+ return (this.index?.list() || []).reverse();
50701
50701
  }
50702
50702
  getTopCard() {
50703
50703
  const card = this.index?.list()[this.index?.list().length - 1];
@@ -51596,7 +51596,7 @@ class Screen extends BaseItem {
51596
51596
  ctx.restore();
51597
51597
  }
51598
51598
  this.path.render(context);
51599
- if (localStorage.getItem("currentUser") === this.ownerId || localStorage.getItem("screenOwnerId") === this.ownerId || !this.ownerId) {
51599
+ if (localStorage.getItem("currentUser") === this.ownerId || localStorage.getItem("screenOwnerId") === this.ownerId) {
51600
51600
  super.render(context);
51601
51601
  }
51602
51602
  }
@@ -48070,7 +48070,7 @@ class Deck extends BaseItem {
48070
48070
  this.subject.publish(this);
48071
48071
  }
48072
48072
  getDeck() {
48073
- return this.index?.list() || [];
48073
+ return (this.index?.list() || []).reverse();
48074
48074
  }
48075
48075
  getTopCard() {
48076
48076
  const card = this.index?.list()[this.index?.list().length - 1];
@@ -48969,7 +48969,7 @@ class Screen extends BaseItem {
48969
48969
  ctx.restore();
48970
48970
  }
48971
48971
  this.path.render(context);
48972
- if (localStorage.getItem("currentUser") === this.ownerId || localStorage.getItem("screenOwnerId") === this.ownerId || !this.ownerId) {
48972
+ if (localStorage.getItem("currentUser") === this.ownerId || localStorage.getItem("screenOwnerId") === this.ownerId) {
48973
48973
  super.render(context);
48974
48974
  }
48975
48975
  }
package/dist/esm/index.js CHANGED
@@ -48063,7 +48063,7 @@ class Deck extends BaseItem {
48063
48063
  this.subject.publish(this);
48064
48064
  }
48065
48065
  getDeck() {
48066
- return this.index?.list() || [];
48066
+ return (this.index?.list() || []).reverse();
48067
48067
  }
48068
48068
  getTopCard() {
48069
48069
  const card = this.index?.list()[this.index?.list().length - 1];
@@ -48962,7 +48962,7 @@ class Screen extends BaseItem {
48962
48962
  ctx.restore();
48963
48963
  }
48964
48964
  this.path.render(context);
48965
- if (localStorage.getItem("currentUser") === this.ownerId || localStorage.getItem("screenOwnerId") === this.ownerId || !this.ownerId) {
48965
+ if (localStorage.getItem("currentUser") === this.ownerId || localStorage.getItem("screenOwnerId") === this.ownerId) {
48966
48966
  super.render(context);
48967
48967
  }
48968
48968
  }
package/dist/esm/node.js CHANGED
@@ -50531,7 +50531,7 @@ class Deck extends BaseItem {
50531
50531
  this.subject.publish(this);
50532
50532
  }
50533
50533
  getDeck() {
50534
- return this.index?.list() || [];
50534
+ return (this.index?.list() || []).reverse();
50535
50535
  }
50536
50536
  getTopCard() {
50537
50537
  const card = this.index?.list()[this.index?.list().length - 1];
@@ -51430,7 +51430,7 @@ class Screen extends BaseItem {
51430
51430
  ctx.restore();
51431
51431
  }
51432
51432
  this.path.render(context);
51433
- if (localStorage.getItem("currentUser") === this.ownerId || localStorage.getItem("screenOwnerId") === this.ownerId || !this.ownerId) {
51433
+ if (localStorage.getItem("currentUser") === this.ownerId || localStorage.getItem("screenOwnerId") === this.ownerId) {
51434
51434
  super.render(context);
51435
51435
  }
51436
51436
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.5.62",
3
+ "version": "0.5.64",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",