microboard-temp 0.5.63 → 0.5.65

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.
@@ -48234,7 +48234,7 @@ class Deck extends BaseItem {
48234
48234
  }
48235
48235
  }
48236
48236
  getCards(count) {
48237
- const cards = this.index?.list().slice(0, count);
48237
+ const cards = this.index?.list().reverse().slice(0, count);
48238
48238
  if (cards) {
48239
48239
  this.removeChildItems(cards);
48240
48240
  return cards;
package/dist/cjs/index.js CHANGED
@@ -48234,7 +48234,7 @@ class Deck extends BaseItem {
48234
48234
  }
48235
48235
  }
48236
48236
  getCards(count) {
48237
- const cards = this.index?.list().slice(0, count);
48237
+ const cards = this.index?.list().reverse().slice(0, count);
48238
48238
  if (cards) {
48239
48239
  this.removeChildItems(cards);
48240
48240
  return cards;
package/dist/cjs/node.js CHANGED
@@ -50707,7 +50707,7 @@ class Deck extends BaseItem {
50707
50707
  }
50708
50708
  }
50709
50709
  getCards(count) {
50710
- const cards = this.index?.list().slice(0, count);
50710
+ const cards = this.index?.list().reverse().slice(0, count);
50711
50711
  if (cards) {
50712
50712
  this.removeChildItems(cards);
50713
50713
  return cards;
@@ -48080,7 +48080,7 @@ class Deck extends BaseItem {
48080
48080
  }
48081
48081
  }
48082
48082
  getCards(count) {
48083
- const cards = this.index?.list().slice(0, count);
48083
+ const cards = this.index?.list().reverse().slice(0, count);
48084
48084
  if (cards) {
48085
48085
  this.removeChildItems(cards);
48086
48086
  return cards;
package/dist/esm/index.js CHANGED
@@ -48073,7 +48073,7 @@ class Deck extends BaseItem {
48073
48073
  }
48074
48074
  }
48075
48075
  getCards(count) {
48076
- const cards = this.index?.list().slice(0, count);
48076
+ const cards = this.index?.list().reverse().slice(0, count);
48077
48077
  if (cards) {
48078
48078
  this.removeChildItems(cards);
48079
48079
  return cards;
package/dist/esm/node.js CHANGED
@@ -50541,7 +50541,7 @@ class Deck extends BaseItem {
50541
50541
  }
50542
50542
  }
50543
50543
  getCards(count) {
50544
- const cards = this.index?.list().slice(0, count);
50544
+ const cards = this.index?.list().reverse().slice(0, count);
50545
50545
  if (cards) {
50546
50546
  this.removeChildItems(cards);
50547
50547
  return cards;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.5.63",
3
+ "version": "0.5.65",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",