@topconsultnpm/sdk-ts 6.19.0-dev.1.1 → 6.19.0-dev1.3

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.
@@ -10,11 +10,7 @@ export class SDK_Globals {
10
10
  if (theTmSession) {
11
11
  let sd = theTmSession.SessionDescr;
12
12
  if ((sd === null || sd === void 0 ? void 0 : sd.version) != undefined) {
13
- let vs = sd.version.split('.');
14
- if (vs.length == 4)
15
- this._websdkVersion = `${vs[0]}.${vs[1]}.${vs[2]}`;
16
- else
17
- this._websdkVersion = sd.version;
13
+ this._websdkVersion = sd.version;
18
14
  }
19
15
  if (sd === null || sd === void 0 ? void 0 : sd.archiveID)
20
16
  theTmSession.NewArchiveEngine().RetrieveByStringAsync(sd.archiveID).then((ad) => { var _a; return this._dbBrand = (_a = ad === null || ad === void 0 ? void 0 : ad.dbBrand) !== null && _a !== void 0 ? _a : DBBrands.None; });
package/package.json CHANGED
@@ -1,31 +1,31 @@
1
1
  {
2
- "name": "@topconsultnpm/sdk-ts",
3
- "version": "6.19.0-dev.1.1",
4
- "description": "TopMedia SDK typescript",
5
- "main": "dist/lib/index.js",
6
- "types": "dist/types/index.d.ts",
7
- "scripts": {
8
- "test": "echo \"Error: no test specified\" \u0026\u0026 exit 1",
9
- "tm-terser": "terser dist/lib/openAPIs/TopMediaServiceClient.js -c toplevel,passes=2 -m toplevel -o dist/lib/openAPIs/TopMediaServiceClient.js",
10
- "tm-build": "tsc \u0026\u0026 npm run tm-terser",
11
- "tm-watch": "tsc -w",
12
- "tm-publish": "npm publish --tag latest"
13
- },
14
- "files": [
15
- "dist/lib/**/*",
16
- "dist/types/**/*"
17
- ],
18
- "dependencies": {
19
- "@azure/msal-browser": "^3.6.0",
20
- "@babel/runtime": "^7.28.4",
21
- "async-mutex": "^0.4.0",
22
- "axios": "^1.7.2"
23
- },
24
- "author": "TopConsult",
25
- "license": "ISC",
26
- "devDependencies": {
27
- "@types/node": "^18.11.18",
28
- "terser": "^5.44.0",
29
- "typescript": "^5.9.3"
30
- }
2
+ "name": "@topconsultnpm/sdk-ts",
3
+ "version": "6.19.0-dev1.3",
4
+ "description": "TopMedia SDK typescript",
5
+ "main": "dist/lib/index.js",
6
+ "types": "dist/types/index.d.ts",
7
+ "scripts": {
8
+ "test": "echo \"Error: no test specified\" && exit 1",
9
+ "tm-terser": "terser dist/lib/openAPIs/TopMediaServiceClient.js -c toplevel,passes=2 -m toplevel -o dist/lib/openAPIs/TopMediaServiceClient.js",
10
+ "tm-build": "tsc && npm run tm-terser",
11
+ "tm-watch": "tsc -w",
12
+ "tm-publish": "npm publish --tag latest"
13
+ },
14
+ "files": [
15
+ "dist/lib/**/*",
16
+ "dist/types/**/*"
17
+ ],
18
+ "dependencies": {
19
+ "@azure/msal-browser": "^3.6.0",
20
+ "@babel/runtime": "^7.28.4",
21
+ "async-mutex": "^0.4.0",
22
+ "axios": "^1.7.2"
23
+ },
24
+ "author": "TopConsult",
25
+ "license": "ISC",
26
+ "devDependencies": {
27
+ "@types/node": "^18.11.18",
28
+ "terser": "^5.44.0",
29
+ "typescript": "^5.9.3"
30
+ }
31
31
  }