agent-swarm-kit 1.0.131 → 1.0.132

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/build/index.cjs CHANGED
@@ -15556,6 +15556,7 @@ var SchemaUtils = /** @class */ (function () {
15556
15556
  * @returns {string} The serialized string.
15557
15557
  */
15558
15558
  this.serialize = function (data, map) {
15559
+ if (map === void 0) { map = {}; }
15559
15560
  GLOBAL_CONFIG.CC_LOGGER_ENABLE_LOG &&
15560
15561
  swarm$1.loggerService.log(METHOD_NAME_SERIALIZE, {
15561
15562
  data: data,
package/build/index.mjs CHANGED
@@ -15554,6 +15554,7 @@ var SchemaUtils = /** @class */ (function () {
15554
15554
  * @returns {string} The serialized string.
15555
15555
  */
15556
15556
  this.serialize = function (data, map) {
15557
+ if (map === void 0) { map = {}; }
15557
15558
  GLOBAL_CONFIG.CC_LOGGER_ENABLE_LOG &&
15558
15559
  swarm$1.loggerService.log(METHOD_NAME_SERIALIZE, {
15559
15560
  data: data,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-swarm-kit",
3
- "version": "1.0.131",
3
+ "version": "1.0.132",
4
4
  "description": "A TypeScript library for building orchestrated framework-agnostic multi-agent AI systems",
5
5
  "author": {
6
6
  "name": "Petr Tripolsky",
package/types.d.ts CHANGED
@@ -5640,9 +5640,9 @@ declare class SchemaUtils {
5640
5640
  * @param {T[] | T} data - The data to serialize.
5641
5641
  * @returns {string} The serialized string.
5642
5642
  */
5643
- serialize: <T extends object = any>(data: T[] | T, map: {
5644
- mapKey: typeof GLOBAL_CONFIG.CC_NAME_TO_TITLE;
5645
- mapValue: (key: string, value: string) => string;
5643
+ serialize: <T extends object = any>(data: T[] | T, map?: {
5644
+ mapKey?: typeof GLOBAL_CONFIG.CC_NAME_TO_TITLE;
5645
+ mapValue?: (key: string, value: string) => string;
5646
5646
  }) => string;
5647
5647
  }
5648
5648
  /**