@ai-matrx/desktop-protocol 0.21.56 → 0.21.57
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/CHANGELOG.md +15 -1
- package/dist/client.cjs +2 -6
- package/dist/client.cjs.map +1 -1
- package/dist/client.js +1 -5
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +3 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -17
- package/dist/index.d.ts +1 -17
- package/dist/index.js +1 -6
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/client.js
CHANGED
|
@@ -4727,11 +4727,7 @@ var EVENTS = {
|
|
|
4727
4727
|
};
|
|
4728
4728
|
|
|
4729
4729
|
// src/versioning.ts
|
|
4730
|
-
|
|
4731
|
-
const [am = 0, an = 0] = a.split(".").map(Number);
|
|
4732
|
-
const [bm = 0, bn = 0] = b.split(".").map(Number);
|
|
4733
|
-
return am - bm || an - bn;
|
|
4734
|
-
}
|
|
4730
|
+
import { compareVersions } from "@ai-matrx/kit/versions";
|
|
4735
4731
|
function knows(version, since) {
|
|
4736
4732
|
return compareVersions(version, since) >= 0;
|
|
4737
4733
|
}
|