graphene-pk11
Advanced tools
Comparing version 2.2.3 to 2.3.0
@@ -9,2 +9,3 @@ "use strict"; | ||
tslib_1.__exportStar(require("./type"), exports); | ||
tslib_1.__exportStar(require("./uint64"), exports); | ||
tslib_1.__exportStar(require("./utc"), exports); |
@@ -5,3 +5,2 @@ "use strict"; | ||
const tslib_1 = require("tslib"); | ||
const int64_buffer_1 = require("int64-buffer"); | ||
const pkcs11 = tslib_1.__importStar(require("pkcs11js")); | ||
@@ -11,2 +10,3 @@ const fs = tslib_1.__importStar(require("fs")); | ||
const mech_enum_1 = require("./mech_enum"); | ||
const core_1 = require("./core"); | ||
var MechanismFlag; | ||
@@ -108,3 +108,3 @@ (function (MechanismFlag) { | ||
const type = this.innerItems[index]; | ||
const handle = new int64_buffer_1.Int64LE(type).toBuffer(); | ||
const handle = core_1.uint64ToBuffer(type, true); | ||
return new Mechanism(type, handle, this.slotHandle, this.lib); | ||
@@ -111,0 +111,0 @@ } |
@@ -6,2 +6,3 @@ export * from "./attribute"; | ||
export * from "./type"; | ||
export * from "./uint64"; | ||
export * from "./utc"; |
@@ -1,2 +0,1 @@ | ||
import { Int64LE } from "int64-buffer"; | ||
import * as pkcs11 from "pkcs11js"; | ||
@@ -6,2 +5,3 @@ import * as fs from "fs"; | ||
import { MechanismEnum } from "./mech_enum"; | ||
import { uint64ToBuffer } from "./core"; | ||
export var MechanismFlag; | ||
@@ -102,3 +102,3 @@ (function (MechanismFlag) { | ||
const type = this.innerItems[index]; | ||
const handle = new Int64LE(type).toBuffer(); | ||
const handle = uint64ToBuffer(type, true); | ||
return new Mechanism(type, handle, this.slotHandle, this.lib); | ||
@@ -105,0 +105,0 @@ } |
@@ -6,2 +6,3 @@ export * from "./attribute"; | ||
export * from "./type"; | ||
export * from "./uint64"; | ||
export * from "./utc"; |
{ | ||
"name": "graphene-pk11", | ||
"version": "2.2.3", | ||
"version": "2.3.0", | ||
"description": "A simple layer for interacting with PKCS #11 / PKCS11 / CryptoKI for Node in TypeScript", | ||
@@ -36,19 +36,18 @@ "main": "./build/cjs/index.js", | ||
"engines": { | ||
"node": ">=8.0.0" | ||
"node": ">=10.4.0" | ||
}, | ||
"dependencies": { | ||
"int64-buffer": "^1.0.1", | ||
"pkcs11js": "^1.2.3", | ||
"tslib": "^2.2.0" | ||
"tslib": "^2.3.1" | ||
}, | ||
"devDependencies": { | ||
"@types/mocha": "^8.2.2", | ||
"@types/node": "^14.14.43", | ||
"@types/mocha": "^9.0.0", | ||
"@types/node": "^16.7.1", | ||
"coveralls": "^3.1.0", | ||
"mocha": "^8.3.2", | ||
"mocha": "^9.1.0", | ||
"nyc": "^15.1.0", | ||
"rimraf": "^3.0.2", | ||
"ts-node": "^9.1.1", | ||
"ts-node": "^10.2.1", | ||
"tslint": "^6.1.3", | ||
"typedoc": "^0.20.36", | ||
"typedoc": "^0.21.6", | ||
"typescript": "^4.2.4" | ||
@@ -55,0 +54,0 @@ }, |
321781
2
708
159
7766
- Removedint64-buffer@^1.0.1
- Removedint64-buffer@1.0.1(transitive)
Updatedtslib@^2.3.1