@xyo-network/xl1-protocol-sdk 2.0.2 → 2.0.3
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/dist/neutral/index.mjs
CHANGED
|
@@ -873,10 +873,10 @@ function calculateFramesFromRange(range, step) {
|
|
|
873
873
|
}
|
|
874
874
|
|
|
875
875
|
// src/block/primitives/frames/deepCalculateFramesFromRange.ts
|
|
876
|
-
function deepCalculateFramesFromRange(range, startingStep =
|
|
876
|
+
function deepCalculateFramesFromRange(range, startingStep = 4) {
|
|
877
877
|
const fitted = [];
|
|
878
878
|
let remaining = [range];
|
|
879
|
-
const actualStartingStep = Math.min(startingStep,
|
|
879
|
+
const actualStartingStep = Math.min(startingStep, 4);
|
|
880
880
|
for (let step = actualStartingStep; step >= 0; step--) {
|
|
881
881
|
const newRemaining = [];
|
|
882
882
|
for (const range2 of remaining) {
|