@linear_non/stellar-libs 1.0.36 → 1.0.38

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": "@linear_non/stellar-libs",
3
- "version": "1.0.36",
3
+ "version": "1.0.38",
4
4
  "description": "Reusable JavaScript libraries for Non-Linear Studio projects.",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -25,7 +25,7 @@
25
25
  "author": "Non-Linear Studio",
26
26
  "license": "MIT",
27
27
  "dependencies": {
28
- "@linear_non/stellar-kit": "^2.1.7"
28
+ "@linear_non/stellar-kit": "^2.1.11"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@linear_non/prettier-config": "^1.0.6",
@@ -57,7 +57,6 @@ export default class SplitonScroll {
57
57
 
58
58
  this.addObserver()
59
59
 
60
- // If already in view, trigger enter handler
61
60
  if (this.observer.isActive || this.observer.progress > 0) {
62
61
  this.handleEnter()
63
62
  }
@@ -77,11 +76,6 @@ export default class SplitonScroll {
77
76
  }
78
77
 
79
78
  async handleEnter() {
80
- if (this.splits) {
81
- this.isReadyCallback(this.splits, this.groups || {})
82
- return
83
- }
84
-
85
79
  const emitter = splitText(this.targets)
86
80
 
87
81
  const { splits, groups } = await new Promise(resolve => {