@girs/gck-2 4.0.0-3.1.0 → 4.0.4
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 +1 -8
- package/gck-2-ambient.d.ts +4 -1
- package/gck-2-ambient.js +2 -0
- package/gck-2-import.d.ts +1 -2
- package/gck-2-import.js +3 -0
- package/gck-2.d.ts +3615 -3438
- package/gck-2.js +3 -8
- package/index.d.ts +16 -0
- package/index.js +5 -0
- package/package.json +51 -55
- package/tsconfig.json +41 -0
- package/typedoc.json +9 -0
- package/gck-2.cjs +0 -11
- package/gck-2.d.cts +0 -3865
- package/tsconfig.doc.json +0 -21
package/README.md
CHANGED
|
@@ -5,9 +5,7 @@
|
|
|
5
5
|

|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
GJS TypeScript type definitions for Gck-2, generated from library version 4.
|
|
9
|
-
|
|
10
|
-
GLib wrapper library for PKCS#11
|
|
8
|
+
GJS TypeScript type definitions for Gck-2, generated from library version 4.4.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.4.
|
|
11
9
|
|
|
12
10
|
## Install
|
|
13
11
|
|
|
@@ -23,11 +21,6 @@ You can import this package into your project like this:
|
|
|
23
21
|
import Gck from '@girs/gck-2';
|
|
24
22
|
```
|
|
25
23
|
|
|
26
|
-
Or if you prefer CommonJS, you can also use this:
|
|
27
|
-
```ts
|
|
28
|
-
const Gck = require('@girs/gck-2');
|
|
29
|
-
```
|
|
30
|
-
|
|
31
24
|
### Ambient Modules
|
|
32
25
|
|
|
33
26
|
You can also use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules) to import this module like you would do this in JavaScript.
|
package/gck-2-ambient.d.ts
CHANGED
package/gck-2-ambient.js
ADDED
package/gck-2-import.d.ts
CHANGED
package/gck-2-import.js
ADDED