@swmansion/argent 0.32.0 → 0.32.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.3.0.apk +0 -0
- package/bin/darwin/ax-service +0 -0
- package/bin/darwin/tvos-ax-service +0 -0
- package/bin/darwin/tvos-hid-daemon +0 -0
- package/bin/network-inspector/network-inspector.jar +0 -0
- package/bin/tcp/ax-service +0 -0
- package/dist/cli-cmds.mjs +1 -1
- package/dist/installer.mjs +1 -1
- package/dist/tool-server.cjs +20 -4
- 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/bin/tcp/ax-service
CHANGED
|
Binary file
|
package/dist/cli-cmds.mjs
CHANGED
|
@@ -35809,7 +35809,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
35809
35809
|
var SESSION_ID2 = randomUUID5();
|
|
35810
35810
|
function readCliVersion() {
|
|
35811
35811
|
if (true) {
|
|
35812
|
-
return "0.32.0";
|
|
35812
|
+
return "0.32.1-next.0";
|
|
35813
35813
|
}
|
|
35814
35814
|
return "0.0.0";
|
|
35815
35815
|
}
|
package/dist/installer.mjs
CHANGED
|
@@ -16934,7 +16934,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
16934
16934
|
var SESSION_ID = randomUUID4();
|
|
16935
16935
|
function readCliVersion() {
|
|
16936
16936
|
if (true) {
|
|
16937
|
-
return "0.32.0";
|
|
16937
|
+
return "0.32.1-next.0";
|
|
16938
16938
|
}
|
|
16939
16939
|
return "0.0.0";
|
|
16940
16940
|
}
|
package/dist/tool-server.cjs
CHANGED
|
@@ -101150,7 +101150,7 @@ var _CI_VENDOR_COUNT_FOR_TEST = vendors_default.length;
|
|
|
101150
101150
|
var SESSION_ID = (0, import_node_crypto3.randomUUID)();
|
|
101151
101151
|
function readCliVersion() {
|
|
101152
101152
|
if (true) {
|
|
101153
|
-
return "0.32.0";
|
|
101153
|
+
return "0.32.1-next.0";
|
|
101154
101154
|
}
|
|
101155
101155
|
return "0.0.0";
|
|
101156
101156
|
}
|
|
@@ -130751,6 +130751,11 @@ function canonicalDeviceId(deviceId) {
|
|
|
130751
130751
|
if (!deviceId) return deviceId;
|
|
130752
130752
|
return logicalIdToConnectId.get(deviceId) ?? deviceId;
|
|
130753
130753
|
}
|
|
130754
|
+
function deviceIdsOf(deviceId) {
|
|
130755
|
+
const connectId = canonicalDeviceId(deviceId) ?? deviceId;
|
|
130756
|
+
const logicalIds = [...logicalIdToConnectId].filter(([, aliased]) => aliased === connectId).map(([logicalId]) => logicalId);
|
|
130757
|
+
return [.../* @__PURE__ */ new Set([deviceId, connectId, ...logicalIds])];
|
|
130758
|
+
}
|
|
130754
130759
|
function forgetDeviceAlias(logicalDeviceId) {
|
|
130755
130760
|
if (logicalDeviceId) logicalIdToConnectId.delete(logicalDeviceId);
|
|
130756
130761
|
}
|
|
@@ -139493,17 +139498,28 @@ function stopSamplerInNextRuntime(cdp) {
|
|
|
139493
139498
|
cdp.events.on("disconnected", disarm);
|
|
139494
139499
|
}
|
|
139495
139500
|
var profilerPathsCache = /* @__PURE__ */ new Map();
|
|
139501
|
+
var storedRuns = 0;
|
|
139496
139502
|
function cacheKey(port, deviceId) {
|
|
139497
139503
|
return `${port}:${deviceId}`;
|
|
139498
139504
|
}
|
|
139499
139505
|
function cacheProfilerPaths(port, paths, deviceId) {
|
|
139500
|
-
|
|
139506
|
+
storedRuns += 1;
|
|
139507
|
+
profilerPathsCache.set(cacheKey(port, deviceId), { paths, order: storedRuns });
|
|
139501
139508
|
}
|
|
139502
139509
|
function getCachedProfilerPaths(port, deviceId) {
|
|
139503
|
-
|
|
139510
|
+
let newest;
|
|
139511
|
+
for (const id of deviceIdsOf(deviceId)) {
|
|
139512
|
+
const stored = profilerPathsCache.get(cacheKey(port, id));
|
|
139513
|
+
if (stored && (!newest || stored.order > newest.order)) {
|
|
139514
|
+
newest = stored;
|
|
139515
|
+
}
|
|
139516
|
+
}
|
|
139517
|
+
return newest?.paths;
|
|
139504
139518
|
}
|
|
139505
139519
|
function clearCachedProfilerPaths(port, deviceId) {
|
|
139506
|
-
|
|
139520
|
+
for (const id of deviceIdsOf(deviceId)) {
|
|
139521
|
+
profilerPathsCache.delete(cacheKey(port, id));
|
|
139522
|
+
}
|
|
139507
139523
|
}
|
|
139508
139524
|
|
|
139509
139525
|
// ../tool-server/src/tools/devices/boot-device.ts
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED