@girs/gck-2 4.1.0-3.2.7 → 4.1.0-3.2.8

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/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/gck-2)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Gck-2, generated from library version 4.1.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
8
+ GJS TypeScript type definitions for Gck-2, generated from library version 4.1.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.8.
9
9
 
10
10
  GLib wrapper library for PKCS#11
11
11
 
@@ -0,0 +1,2 @@
1
+ export {}
2
+
@@ -0,0 +1,3 @@
1
+ const gi = globalThis.imports?.gi || {};
2
+ export default gi;
3
+
package/gck-2.d.cts CHANGED
@@ -1383,7 +1383,7 @@ export module Session {
1383
1383
  /**
1384
1384
  * Raw PKCS#11 application data used to open the PKCS#11 session.
1385
1385
  */
1386
- app_data?: any | null
1386
+ appData?: any | null
1387
1387
  /**
1388
1388
  * The raw CK_SESSION_HANDLE handle of this session.
1389
1389
  */
@@ -1397,7 +1397,7 @@ export module Session {
1397
1397
  /**
1398
1398
  * Raw PKCS#11 flags used to open the PKCS#11 session.
1399
1399
  */
1400
- opening_flags?: number | null
1400
+ openingFlags?: number | null
1401
1401
  /**
1402
1402
  * The options this session was opened with.
1403
1403
  */
@@ -1406,14 +1406,6 @@ export module Session {
1406
1406
  * The GckSlot this session is opened on.
1407
1407
  */
1408
1408
  slot?: Slot | null
1409
- /**
1410
- * Raw PKCS#11 application data used to open the PKCS#11 session.
1411
- */
1412
- appData?: any | null
1413
- /**
1414
- * Raw PKCS#11 flags used to open the PKCS#11 session.
1415
- */
1416
- openingFlags?: number | null
1417
1409
  }
1418
1410
 
1419
1411
  }
@@ -1422,10 +1414,6 @@ export interface Session extends Gio.AsyncInitable, Gio.Initable {
1422
1414
 
1423
1415
  // Own properties of Gck-2.Gck.Session
1424
1416
 
1425
- /**
1426
- * Raw PKCS#11 application data used to open the PKCS#11 session.
1427
- */
1428
- readonly app_data: any
1429
1417
  /**
1430
1418
  * Raw PKCS#11 application data used to open the PKCS#11 session.
1431
1419
  */
@@ -1444,10 +1432,6 @@ export interface Session extends Gio.AsyncInitable, Gio.Initable {
1444
1432
  * The GckModule that this session is opened on.
1445
1433
  */
1446
1434
  readonly module: Module
1447
- /**
1448
- * Raw PKCS#11 flags used to open the PKCS#11 session.
1449
- */
1450
- readonly opening_flags: number
1451
1435
  /**
1452
1436
  * Raw PKCS#11 flags used to open the PKCS#11 session.
1453
1437
  */
package/gck-2.d.ts CHANGED
@@ -1385,7 +1385,7 @@ module Session {
1385
1385
  /**
1386
1386
  * Raw PKCS#11 application data used to open the PKCS#11 session.
1387
1387
  */
1388
- app_data?: any | null
1388
+ appData?: any | null
1389
1389
  /**
1390
1390
  * The raw CK_SESSION_HANDLE handle of this session.
1391
1391
  */
@@ -1399,7 +1399,7 @@ module Session {
1399
1399
  /**
1400
1400
  * Raw PKCS#11 flags used to open the PKCS#11 session.
1401
1401
  */
1402
- opening_flags?: number | null
1402
+ openingFlags?: number | null
1403
1403
  /**
1404
1404
  * The options this session was opened with.
1405
1405
  */
@@ -1408,14 +1408,6 @@ module Session {
1408
1408
  * The GckSlot this session is opened on.
1409
1409
  */
1410
1410
  slot?: Slot | null
1411
- /**
1412
- * Raw PKCS#11 application data used to open the PKCS#11 session.
1413
- */
1414
- appData?: any | null
1415
- /**
1416
- * Raw PKCS#11 flags used to open the PKCS#11 session.
1417
- */
1418
- openingFlags?: number | null
1419
1411
  }
1420
1412
 
1421
1413
  }
@@ -1424,10 +1416,6 @@ interface Session extends Gio.AsyncInitable, Gio.Initable {
1424
1416
 
1425
1417
  // Own properties of Gck-2.Gck.Session
1426
1418
 
1427
- /**
1428
- * Raw PKCS#11 application data used to open the PKCS#11 session.
1429
- */
1430
- readonly app_data: any
1431
1419
  /**
1432
1420
  * Raw PKCS#11 application data used to open the PKCS#11 session.
1433
1421
  */
@@ -1446,10 +1434,6 @@ interface Session extends Gio.AsyncInitable, Gio.Initable {
1446
1434
  * The GckModule that this session is opened on.
1447
1435
  */
1448
1436
  readonly module: Module
1449
- /**
1450
- * Raw PKCS#11 flags used to open the PKCS#11 session.
1451
- */
1452
- readonly opening_flags: number
1453
1437
  /**
1454
1438
  * Raw PKCS#11 flags used to open the PKCS#11 session.
1455
1439
  */
package/package.json CHANGED
@@ -1,13 +1,19 @@
1
1
  {
2
2
  "name": "@girs/gck-2",
3
- "version": "4.1.0-3.2.7",
3
+ "version": "4.1.0-3.2.8",
4
4
  "description": "GJS TypeScript type definitions for Gck-2, generated from library version 4.1.0",
5
5
  "type": "module",
6
6
  "module": "gck-2.js",
7
7
  "main": "gck-2.js",
8
8
  "exports": {
9
- "./ambient": "./gck-2-ambient.d.ts",
10
- "./import": "./gck-2-import.d.ts",
9
+ "./ambient": {
10
+ "types": "./gck-2-ambient.d.ts",
11
+ "default": "./gck-2-ambient.js"
12
+ },
13
+ "./import": {
14
+ "types": "./gck-2-import.d.ts",
15
+ "default": "./gck-2-import.js"
16
+ },
11
17
  ".": {
12
18
  "import": {
13
19
  "types": "./gck-2.d.ts",
@@ -25,10 +31,10 @@
25
31
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit gck-2.d.cts"
26
32
  },
27
33
  "dependencies": {
28
- "@girs/gio-2.0": "^2.78.0-3.2.7",
29
- "@girs/gjs": "^3.2.7",
30
- "@girs/glib-2.0": "^2.78.0-3.2.7",
31
- "@girs/gobject-2.0": "^2.78.0-3.2.7"
34
+ "@girs/gio-2.0": "^2.77.0-3.2.8",
35
+ "@girs/gjs": "^3.2.8",
36
+ "@girs/glib-2.0": "^2.77.0-3.2.8",
37
+ "@girs/gobject-2.0": "^2.77.0-3.2.8"
32
38
  },
33
39
  "devDependencies": {
34
40
  "typescript": "*"
@@ -45,7 +51,7 @@
45
51
  "license": "MIT",
46
52
  "repository": {
47
53
  "type": "git",
48
- "url": "git+https://github.com/gjsify/types.git"
54
+ "url": "git+https://github.com/gjsify/ts-for-gir.git"
49
55
  },
50
56
  "bugs": {
51
57
  "url": "https://github.com/gjsify/ts-for-gir/issues"