graphene-pk11
Advanced tools
Comparing version 2.0.29 to 2.0.30
@@ -5,2 +5,3 @@ "use strict"; | ||
var pkcs11 = require("pkcs11js"); | ||
var int64_buffer_1 = require("int64-buffer"); | ||
var core = require("./core"); | ||
@@ -107,5 +108,3 @@ var fs = require("fs"); | ||
var type = this.items_[index]; | ||
var handle = new Buffer(8); | ||
handle.fill(0); | ||
handle.writeInt32LE(type, 0); | ||
var handle = new int64_buffer_1.Int64LE(type).toBuffer(); | ||
return new Mechanism(type, handle, this.slotHandle, this.lib); | ||
@@ -112,0 +111,0 @@ }; |
{ | ||
"name": "graphene-pk11", | ||
"version": "2.0.29", | ||
"version": "2.0.30", | ||
"description": "A simple layer for interacting with PKCS #11 / PKCS11 / CryptoKI for Node in TypeScript", | ||
@@ -31,2 +31,3 @@ "main": "./build/graphene.js", | ||
"dependencies": { | ||
"int64-buffer": "^0.1.10", | ||
"pkcs11js": "^1.0.9", | ||
@@ -33,0 +34,0 @@ "tslib": "^1.7.1" |
@@ -21,3 +21,3 @@ { | ||
}, | ||
"mechanisms": 68 | ||
"mechanisms": 71 | ||
}, | ||
@@ -24,0 +24,0 @@ "slotsCount": 2 |
317815
3
6514
+ Addedint64-buffer@^0.1.10
+ Addedint64-buffer@0.1.10(transitive)