@tdlib-native/tdjson-linux-x64-glibc 1.8.37-commit.21e5ce0e977fe012e0cee4e6fcfe704b47b00774 → 1.8.39-commit.056963e48fa8d3f89556239c22d6ac843d3c8a5b

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/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright 2024 AlexXanderGrib
2
+
3
+ Permission is hereby granted, free of charge, to any person
4
+ obtaining a copy of this software and associated documentation
5
+ files (the "Software"), to deal in the Software without
6
+ restriction, including without limitation the rights to use,
7
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the
9
+ Software is furnished to do so, subject to the following
10
+ conditions:
11
+
12
+ The above copyright notice and this permission notice shall be
13
+ included in all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
17
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
19
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
20
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
+ OTHER DEALINGS IN THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,12 @@
1
+ # @tdlib-native/tdjson-linux-x64-glibc
2
+
3
+ > Prebuilt TDLib for linux x64
4
+
5
+ **This package is part of [tdlib-native](https://github.com/AlexXanderGrib/node-tdlib) - library that provides TDLib interface in TypeScript**
6
+
7
+ - Platform: Linux
8
+ - Cpu Arch: x64 (also known as: x86_64, AMD64)
9
+ - Lib C: GNU Lib C (`glibc`)
10
+ - TDLib Version: [1.8.39 `056963e`](https://github.com/tdlib/td/tree/056963e48fa8d3f89556239c22d6ac843d3c8a5b)
11
+ - TDLib License: [Boost Software License 1.0](https://github.com/tdlib/td/blob/master/LICENSE_1_0.txt)
12
+ - Package License: MIT
package/index.d.ts CHANGED
@@ -1 +1,14 @@
1
- export declare const tdlibPath: string;
1
+ /**
2
+ * @type {string}
3
+ */
4
+ export const tdlibPath: string;
5
+ /**
6
+ * @type {string}
7
+ * @default "1.8.39"
8
+ */
9
+ export const version: string;
10
+ /**
11
+ * @type {string}
12
+ * @default "056963e48fa8d3f89556239c22d6ac843d3c8a5b"
13
+ */
14
+ export const commit: string;
package/index.js CHANGED
@@ -1 +1,14 @@
1
+ /**
2
+ * @type {string}
3
+ */
1
4
  module.exports.tdlibPath = require('path').resolve(__dirname, "libtdjson-x64-glibc.so");
5
+ /**
6
+ * @type {string}
7
+ * @default "1.8.39"
8
+ */
9
+ module.exports.version = "1.8.39";
10
+ /**
11
+ * @type {string}
12
+ * @default "056963e48fa8d3f89556239c22d6ac843d3c8a5b"
13
+ */
14
+ module.exports.commit = "056963e48fa8d3f89556239c22d6ac843d3c8a5b";
package/index.mjs CHANGED
@@ -1 +1,16 @@
1
- export const tdlibPath = new URL("libtdjson-x64-glibc.so", import.meta.url).pathname;
1
+ import { fileURLToPath } from "url";
2
+
3
+ /**
4
+ * @type {string}
5
+ */
6
+ export const tdlibPath = fileURLToPath(new URL("libtdjson-x64-glibc.so", import.meta.url));
7
+ /**
8
+ * @type {string}
9
+ * @default "1.8.39"
10
+ */
11
+ export const version = "1.8.39";
12
+ /**
13
+ * @type {string}
14
+ * @default "056963e48fa8d3f89556239c22d6ac843d3c8a5b"
15
+ */
16
+ export const commit = "056963e48fa8d3f89556239c22d6ac843d3c8a5b";
Binary file
package/package.json CHANGED
@@ -1,26 +1,33 @@
1
1
  {
2
2
  "name": "@tdlib-native/tdjson-linux-x64-glibc",
3
- "version": "1.8.37-commit.21e5ce0e977fe012e0cee4e6fcfe704b47b00774",
4
- "description": "Built TDLib",
3
+ "version": "1.8.39-commit.056963e48fa8d3f89556239c22d6ac843d3c8a5b",
4
+ "description": "Prebuilt TDLib for linux x64",
5
5
  "keywords": [
6
6
  "tdlib",
7
- "binary"
7
+ "binary",
8
+ "linux",
9
+ "x64"
8
10
  ],
9
11
  "author": "Alexander <me@alexxgrib.me> (https://alexxgrib.me/)",
10
12
  "license": "MIT",
11
13
  "bugs": {
12
- "url": "https://github.com/alexxgrib/node-tdlib/issues"
14
+ "url": "https://github.com/AlexXanderGrib/node-tdlib/issues"
13
15
  },
14
- "homepage": "https://github.com/alexxgrib/node-tdlib#readme",
16
+ "homepage": "https://github.com/AlexXanderGrib/node-tdlib#readme",
15
17
  "publishConfig": {
16
18
  "access": "public"
17
19
  },
18
20
  "repository": {
19
21
  "type": "git",
20
- "url": "git+https://github.com/AlexXanderGrib/node-tdlib.git"
22
+ "url": "git+https://github.com/AlexXanderGrib/node-tdlib.git",
23
+ "directory": "packages/tdjson-linux-x64-glibc"
21
24
  },
22
25
  "engines": {
23
- "node": ">=14"
26
+ "node": ">=16"
27
+ },
28
+ "tdlib": {
29
+ "version": "1.8.39",
30
+ "commit": "056963e48fa8d3f89556239c22d6ac843d3c8a5b"
24
31
  },
25
32
  "os": [
26
33
  "linux"
@@ -38,6 +45,8 @@
38
45
  "index.js",
39
46
  "index.mjs",
40
47
  "index.d.ts",
41
- "libtdjson-x64-glibc.so"
48
+ "libtdjson-x64-glibc.so",
49
+ "README.md",
50
+ "LICENSE.txt"
42
51
  ]
43
52
  }