New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@trinsic/okapi

Package Overview
Dependencies
Maintainers
2
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trinsic/okapi - npm Package Compare versions

Comparing version 1.0.0-preview.22 to 1.0.0-preview.23

87

lib/index.js

@@ -1,46 +0,61 @@

import * as native from "@trinsic/okapi-node";
import * as proto from "@trinsic/okapi-proto";
export * from "@trinsic/okapi-proto";
var DIDKey = /** @class */ (function () {
function DIDKey() {
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.LdProofs = exports.DIDComm = exports.DIDKey = void 0;
const native = __importStar(require("@trinsic/okapi-node"));
const proto = __importStar(require("@trinsic/okapi-proto"));
__exportStar(require("@trinsic/okapi-proto"), exports);
class DIDKey {
static generate(request) {
return Promise.resolve(proto.GenerateKeyResponse.deserializeBinary(native.didkey_generate(request.serializeBinary())));
}
DIDKey.generate = function (request) {
return Promise.resolve(proto.GenerateKeyResponse.deserializeBinary(native.didkey_generate(request.serializeBinary())));
};
DIDKey.resolve = function (request) {
static resolve(request) {
return Promise.resolve(proto.ResolveResponse.deserializeBinary(native.didkey_resolve(request.serializeBinary())));
};
return DIDKey;
}());
export { DIDKey };
var DIDComm = /** @class */ (function () {
function DIDComm() {
}
DIDComm.pack = function (request) {
}
exports.DIDKey = DIDKey;
class DIDComm {
static pack(request) {
return Promise.resolve(proto.PackResponse.deserializeBinary(native.didcomm_pack(request.serializeBinary())));
};
DIDComm.unpack = function (request) {
}
static unpack(request) {
return Promise.resolve(proto.UnpackResponse.deserializeBinary(native.didcomm_unpack(request.serializeBinary())));
};
DIDComm.sign = function (request) {
}
static sign(request) {
return Promise.resolve(proto.SignResponse.deserializeBinary(native.didcomm_sign(request.serializeBinary())));
};
DIDComm.verify = function (request) {
}
static verify(request) {
return Promise.resolve(proto.VerifyResponse.deserializeBinary(native.didcomm_verify(request.serializeBinary())));
};
return DIDComm;
}());
export { DIDComm };
var LdProofs = /** @class */ (function () {
function LdProofs() {
}
LdProofs.generate = function (request) {
}
exports.DIDComm = DIDComm;
class LdProofs {
static generate(request) {
return Promise.resolve(proto.CreateProofResponse.deserializeBinary(native.ldproofs_create_proof(request.serializeBinary())));
};
LdProofs.convert = function (request) {
}
static convert(request) {
return Promise.resolve(proto.VerifyProofResponse.deserializeBinary(native.ldproofs_verify_proof(request.serializeBinary())));
};
return LdProofs;
}());
export { LdProofs };
//# sourceMappingURL=index.js.map
}
}
exports.LdProofs = LdProofs;
{
"name": "@trinsic/okapi",
"version": "1.0.0-preview.22",
"version": "1.0.0-preview.23",
"description": "",

@@ -14,3 +14,5 @@ "main": "lib/index.js",

"scripts": {
"build": "npx tsc -p .",
"build": "npm run build:node && npm run build:browser",
"build:node": "npx tsc -p tsconfig.node.json",
"build:browser": "npx tsc -p tsconfig.browser.json",
"test": "ava --verbose"

@@ -21,5 +23,5 @@ },

"dependencies": {
"@trinsic/okapi-node": "^1.0.0-preview.22",
"@trinsic/okapi-proto": "^1.0.0-preview.22",
"@trinsic/okapi-web": "^1.0.0-preview.22",
"@trinsic/okapi-node": "^1.0.0-preview.23",
"@trinsic/okapi-proto": "^1.0.0-preview.23",
"@trinsic/okapi-web": "^1.0.0-preview.23",
"google-protobuf": "^3.14.0-rc.3"

@@ -32,2 +34,3 @@ },

"copyfiles": "^2.4.0",
"esm": "^3.2.25",
"http-serve": "^1.0.1",

@@ -41,3 +44,8 @@ "typescript": "^4.0.5"

},
"gitHead": "b0e794f3e871d36f1ba45f7e571990a6247c7937"
"ava": {
"require": [
"esm"
]
},
"gitHead": "c0c81e626d7b708fdcada792103e0849bec3b056"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc