@reactoo/watchtogether-sdk-js 2.7.19 → 2.7.21
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
package/src/modules/wt-utils.js
CHANGED
|
@@ -128,7 +128,7 @@ const maxJitter = (x) => {
|
|
|
128
128
|
return a / (1 + Math.exp(-b * (x - c))) + d; // Fixed the typo here
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
const chunkArray = (array, chunkSize) => {
|
|
131
|
+
const chunkArray = (array = [], chunkSize) => {
|
|
132
132
|
array = [...array];
|
|
133
133
|
if (!array?.length) return [[]];
|
|
134
134
|
|