microboard-temp 0.5.63 → 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];
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];
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];
@@ -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];
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];
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];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.5.63",
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",