@shipload/sdk 1.0.0-next.40 → 1.0.0-next.41
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/lib/scan.d.ts +34 -0
- package/lib/scan.js +136 -0
- package/lib/scan.js.map +1 -0
- package/lib/scan.m.js +129 -0
- package/lib/scan.m.js.map +1 -0
- package/lib/shipload.d.ts +2 -2
- package/lib/shipload.js +2 -2
- package/lib/shipload.js.map +1 -1
- package/lib/shipload.m.js +2 -2
- package/lib/shipload.m.js.map +1 -1
- package/package.json +6 -1
- package/src/derivation/resources.ts +2 -2
- package/src/scan/index.ts +180 -0
- package/src/scan/scan-wasm.base64.ts +2 -0
package/lib/shipload.m.js
CHANGED
|
@@ -5417,8 +5417,8 @@ const DEPTH_THRESHOLD_T9 = 57000;
|
|
|
5417
5417
|
const DEPTH_THRESHOLD_T10 = 63000;
|
|
5418
5418
|
const LOCATION_MIN_DEPTH = 500;
|
|
5419
5419
|
const LOCATION_MAX_DEPTH = 65535;
|
|
5420
|
-
const YIELD_FRACTION_SHALLOW = 0.
|
|
5421
|
-
const YIELD_FRACTION_DEEP = 0.
|
|
5420
|
+
const YIELD_FRACTION_SHALLOW = 0.002;
|
|
5421
|
+
const YIELD_FRACTION_DEEP = 0.0004;
|
|
5422
5422
|
function yieldThresholdAt(stratum) {
|
|
5423
5423
|
const clamped = stratum > 65535 ? 65535 : stratum;
|
|
5424
5424
|
const t = clamped / 65535;
|