@swmansion/argent 0.16.0 → 0.16.1-next.0
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/bin/argent-android-devtools-0.1.0.apk +0 -0
- package/bin/darwin/ax-service +0 -0
- package/bin/darwin/tcp/ax-service +0 -0
- package/bin/darwin/tvos-ax-service +0 -0
- package/bin/darwin/tvos-hid-daemon +0 -0
- package/dist/tool-server.cjs +3 -3
- package/dylibs/libArgentInjectionBootstrap.dylib +0 -0
- package/dylibs/libKeyboardPatch.dylib +0 -0
- package/dylibs/libNativeDevtoolsIos.dylib +0 -0
- package/dylibs/tcp/libArgentInjectionBootstrap.dylib +0 -0
- package/dylibs/tcp/libKeyboardPatch.dylib +0 -0
- package/dylibs/tcp/libNativeDevtoolsIos.dylib +0 -0
- package/dylibs/tvos/libArgentInjectionBootstrap.dylib +0 -0
- package/dylibs/tvos/libKeyboardPatch.dylib +0 -0
- package/dylibs/tvos/libNativeDevtoolsIos.dylib +0 -0
- package/package.json +1 -1
|
Binary file
|
package/bin/darwin/ax-service
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/tool-server.cjs
CHANGED
|
@@ -148093,7 +148093,7 @@ var HORIZONTAL_TEXT_MERGE_MIN_GAP = 32;
|
|
|
148093
148093
|
var HORIZONTAL_TEXT_MERGE_MAX_GAP = 120;
|
|
148094
148094
|
var UNIFORM_BRIGHTNESS_DELTA_TOLERANCE = 4;
|
|
148095
148095
|
async function diffPngFiles(options) {
|
|
148096
|
-
const settings = resolveDiffSettings();
|
|
148096
|
+
const settings = resolveDiffSettings(options.topMask ?? "status-bar");
|
|
148097
148097
|
const [decodedBaseline, decodedCurrent] = await Promise.all([
|
|
148098
148098
|
decodePngFile(options.baselinePath),
|
|
148099
148099
|
decodePngFile(options.currentPath)
|
|
@@ -148154,10 +148154,10 @@ async function diffPngFiles(options) {
|
|
|
148154
148154
|
textAnalysis
|
|
148155
148155
|
});
|
|
148156
148156
|
}
|
|
148157
|
-
function resolveDiffSettings() {
|
|
148157
|
+
function resolveDiffSettings(topMask) {
|
|
148158
148158
|
return {
|
|
148159
148159
|
thresholdSquared: DEFAULT_THRESHOLD * DEFAULT_THRESHOLD * MAX_RGB_DISTANCE_SQUARED,
|
|
148160
|
-
ignoreTopNormalizedY: DEFAULT_IGNORE_TOP_NORMALIZED_Y,
|
|
148160
|
+
ignoreTopNormalizedY: topMask === "none" ? 0 : DEFAULT_IGNORE_TOP_NORMALIZED_Y,
|
|
148161
148161
|
joinGapPixels: DEFAULT_REGION_MERGE_DISTANCE,
|
|
148162
148162
|
contextDiffScale: DEFAULT_CONTEXT_DIFF_SCALE
|
|
148163
148163
|
};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|