@magic-xpa/utils 4.1300.0-dev4130.28 → 4.1300.0-dev4130.280

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/package.json CHANGED
@@ -1,14 +1,16 @@
1
1
  {
2
2
  "name": "@magic-xpa/utils",
3
- "version": "4.1300.0-dev4130.28",
3
+ "version": "4.1300.0-dev4130.280",
4
4
  "description": "magic utils package",
5
5
  "license": "SEE LICENSE IN EULA.pdf",
6
6
  "dependencies": {
7
- "xml2js": "0.6.2",
7
+ "fast-xml-parser": "5.10.1",
8
+ "socket.io": "^4.8.3",
9
+ "socket.io-client": "^4.8.3",
8
10
  "tslib": "^2.3.0"
9
11
  },
10
12
  "peerDependencies": {
11
- "@magic-xpa/mscorelib": "4.1300.0-dev4130.28"
13
+ "@magic-xpa/mscorelib": "4.1300.0-dev4130.280"
12
14
  },
13
15
  "module": "fesm2022/magic-xpa-utils.mjs",
14
16
  "typings": "types/magic-xpa-utils.d.ts",
@@ -22,6 +24,7 @@
22
24
  }
23
25
  },
24
26
  "sideEffects": false,
27
+ "type": "module",
25
28
  "scripts": {
26
29
  "prepublishOnly": "node --eval \"console.error('ERROR: Trying to publish a package that has been compiled in full compilation mode. This is not allowed.\\nPlease delete and rebuild the package with partial compilation mode, before attempting to publish.\\n')\" && exit 1"
27
30
  }
@@ -1973,6 +1973,7 @@ declare class InternalInterface {
1973
1973
  static readonly MG_ACT_CONTEXT_TIMEOUT_RESET: number;
1974
1974
  static readonly MG_ACT_CONTEXT_REMOVE: number;
1975
1975
  static readonly MG_ACT_DUMP_ENVIRONMENT: number;
1976
+ static readonly MG_ACT_PUBSUB_TOPIC_PUBLISHED: number;
1976
1977
  static readonly MG_ACT_TOT_CNT: number;
1977
1978
  static readonly MG_ACT_TASK_PREFIX: number;
1978
1979
  static readonly MG_ACT_TASK_SUFFIX: number;
@@ -2009,8 +2010,9 @@ declare class InternalInterface {
2009
2010
  constructor();
2010
2011
  }
2011
2012
 
2013
+ type JSONFromXMLCallback = (error: unknown, result: any) => void;
2012
2014
  declare class JSON_Utils {
2013
- static JSONFromXML(xml: string, onComplete: any): void;
2015
+ static JSONFromXML(xml: string, onComplete: JSONFromXMLCallback): void;
2014
2016
  }
2015
2017
 
2016
2018
  declare class RequestInfo {