Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@trinsic/okapi-proto

Package Overview
Dependencies
Maintainers
2
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trinsic/okapi-proto - npm Package Compare versions

Comparing version 1.0.0-preview.10 to 1.0.0-preview.11

0

dist/index.d.ts
export * from "./proto";

@@ -0,0 +0,0 @@ "use strict";

// GENERATED CODE -- NO SERVICES IN PROTO

@@ -0,0 +0,0 @@ // package: okapi.examples

@@ -0,0 +0,0 @@ // source: examples.proto

1

dist/proto/index.d.ts

@@ -6,2 +6,1 @@ export * from "./examples_pb";

export * from "./transport_pb";
export * from "./transport_grpc_pb";

@@ -18,3 +18,2 @@ "use strict";

__exportStar(require("./transport_pb"), exports);
__exportStar(require("./transport_grpc_pb"), exports);
//# sourceMappingURL=index.js.map

3

dist/proto/index.ts

@@ -5,3 +5,2 @@ export * from "./examples_pb";

export * from "./proofs_pb";
export * from "./transport_pb";
export * from "./transport_grpc_pb"
export * from "./transport_pb";
// GENERATED CODE -- NO SERVICES IN PROTO

@@ -0,0 +0,0 @@ // package: okapi.keys

@@ -0,0 +0,0 @@ // source: keys.proto

export * from "./pbmse_pb";

@@ -0,0 +0,0 @@ "use strict";

// GENERATED CODE -- NO SERVICES IN PROTO

@@ -0,0 +0,0 @@ // package: pbmse

@@ -0,0 +0,0 @@ // source: pbmse/pbmse.proto

// GENERATED CODE -- NO SERVICES IN PROTO

@@ -0,0 +0,0 @@ // package: okapi.proofs

@@ -0,0 +0,0 @@ // source: proofs.proto

@@ -1,67 +0,1 @@

// GENERATED CODE -- DO NOT EDIT!
// package: okapi.transport
// file: transport.proto
import * as transport_pb from "./transport_pb";
import * as pbmse_pbmse_pb from "./pbmse/pbmse_pb";
import * as grpc from "grpc";
interface IDIDCommPlainService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
unary: grpc.MethodDefinition<transport_pb.CoreMessage, transport_pb.CoreMessage>;
serverStreaming: grpc.MethodDefinition<transport_pb.CoreMessage, transport_pb.CoreMessage>;
clientStreaming: grpc.MethodDefinition<transport_pb.CoreMessage, transport_pb.CoreMessage>;
bidirectionalStreaming: grpc.MethodDefinition<transport_pb.CoreMessage, transport_pb.CoreMessage>;
}
export const DIDCommPlainService: IDIDCommPlainService;
export class DIDCommPlainClient extends grpc.Client {
constructor(address: string, credentials: grpc.ChannelCredentials, options?: object);
unary(argument: transport_pb.CoreMessage, callback: grpc.requestCallback<transport_pb.CoreMessage>): grpc.ClientUnaryCall;
unary(argument: transport_pb.CoreMessage, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<transport_pb.CoreMessage>): grpc.ClientUnaryCall;
unary(argument: transport_pb.CoreMessage, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<transport_pb.CoreMessage>): grpc.ClientUnaryCall;
serverStreaming(argument: transport_pb.CoreMessage, metadataOrOptions?: grpc.Metadata | grpc.CallOptions | null): grpc.ClientReadableStream<transport_pb.CoreMessage>;
serverStreaming(argument: transport_pb.CoreMessage, metadata?: grpc.Metadata | null, options?: grpc.CallOptions | null): grpc.ClientReadableStream<transport_pb.CoreMessage>;
clientStreaming(callback: grpc.requestCallback<transport_pb.CoreMessage>): grpc.ClientWritableStream<transport_pb.CoreMessage>;
clientStreaming(metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<transport_pb.CoreMessage>): grpc.ClientWritableStream<transport_pb.CoreMessage>;
clientStreaming(metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<transport_pb.CoreMessage>): grpc.ClientWritableStream<transport_pb.CoreMessage>;
bidirectionalStreaming(metadataOrOptions?: grpc.Metadata | grpc.CallOptions | null): grpc.ClientDuplexStream<transport_pb.CoreMessage, transport_pb.CoreMessage>;
bidirectionalStreaming(metadata?: grpc.Metadata | null, options?: grpc.CallOptions | null): grpc.ClientDuplexStream<transport_pb.CoreMessage, transport_pb.CoreMessage>;
}
interface IDIDCommEncryptedService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
unary: grpc.MethodDefinition<pbmse_pbmse_pb.EncryptedMessage, pbmse_pbmse_pb.EncryptedMessage>;
serverStreaming: grpc.MethodDefinition<pbmse_pbmse_pb.EncryptedMessage, pbmse_pbmse_pb.EncryptedMessage>;
clientStreaming: grpc.MethodDefinition<pbmse_pbmse_pb.EncryptedMessage, pbmse_pbmse_pb.EncryptedMessage>;
bidirectionalStreaming: grpc.MethodDefinition<pbmse_pbmse_pb.EncryptedMessage, pbmse_pbmse_pb.EncryptedMessage>;
}
export const DIDCommEncryptedService: IDIDCommEncryptedService;
export class DIDCommEncryptedClient extends grpc.Client {
constructor(address: string, credentials: grpc.ChannelCredentials, options?: object);
unary(argument: pbmse_pbmse_pb.EncryptedMessage, callback: grpc.requestCallback<pbmse_pbmse_pb.EncryptedMessage>): grpc.ClientUnaryCall;
unary(argument: pbmse_pbmse_pb.EncryptedMessage, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<pbmse_pbmse_pb.EncryptedMessage>): grpc.ClientUnaryCall;
unary(argument: pbmse_pbmse_pb.EncryptedMessage, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<pbmse_pbmse_pb.EncryptedMessage>): grpc.ClientUnaryCall;
serverStreaming(argument: pbmse_pbmse_pb.EncryptedMessage, metadataOrOptions?: grpc.Metadata | grpc.CallOptions | null): grpc.ClientReadableStream<pbmse_pbmse_pb.EncryptedMessage>;
serverStreaming(argument: pbmse_pbmse_pb.EncryptedMessage, metadata?: grpc.Metadata | null, options?: grpc.CallOptions | null): grpc.ClientReadableStream<pbmse_pbmse_pb.EncryptedMessage>;
clientStreaming(callback: grpc.requestCallback<pbmse_pbmse_pb.EncryptedMessage>): grpc.ClientWritableStream<pbmse_pbmse_pb.EncryptedMessage>;
clientStreaming(metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<pbmse_pbmse_pb.EncryptedMessage>): grpc.ClientWritableStream<pbmse_pbmse_pb.EncryptedMessage>;
clientStreaming(metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<pbmse_pbmse_pb.EncryptedMessage>): grpc.ClientWritableStream<pbmse_pbmse_pb.EncryptedMessage>;
bidirectionalStreaming(metadataOrOptions?: grpc.Metadata | grpc.CallOptions | null): grpc.ClientDuplexStream<pbmse_pbmse_pb.EncryptedMessage, pbmse_pbmse_pb.EncryptedMessage>;
bidirectionalStreaming(metadata?: grpc.Metadata | null, options?: grpc.CallOptions | null): grpc.ClientDuplexStream<pbmse_pbmse_pb.EncryptedMessage, pbmse_pbmse_pb.EncryptedMessage>;
}
interface IDIDCommSimplexService extends grpc.ServiceDefinition<grpc.UntypedServiceImplementation> {
simplex: grpc.MethodDefinition<pbmse_pbmse_pb.EncryptedMessage, transport_pb.NoOp>;
}
export const DIDCommSimplexService: IDIDCommSimplexService;
export class DIDCommSimplexClient extends grpc.Client {
constructor(address: string, credentials: grpc.ChannelCredentials, options?: object);
simplex(argument: pbmse_pbmse_pb.EncryptedMessage, callback: grpc.requestCallback<transport_pb.NoOp>): grpc.ClientUnaryCall;
simplex(argument: pbmse_pbmse_pb.EncryptedMessage, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<transport_pb.NoOp>): grpc.ClientUnaryCall;
simplex(argument: pbmse_pbmse_pb.EncryptedMessage, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<transport_pb.NoOp>): grpc.ClientUnaryCall;
}
// GENERATED CODE -- NO SERVICES IN PROTO

@@ -1,153 +0,1 @@

// GENERATED CODE -- DO NOT EDIT!
'use strict';
var grpc = require('grpc');
var transport_pb = require('./transport_pb.js');
var keys_pb = require('./keys_pb.js');
var pbmse_pbmse_pb = require('./pbmse/pbmse_pb.js');
function serialize_okapi_transport_CoreMessage(arg) {
if (!(arg instanceof transport_pb.CoreMessage)) {
throw new Error('Expected argument of type okapi.transport.CoreMessage');
}
return Buffer.from(arg.serializeBinary());
}
function deserialize_okapi_transport_CoreMessage(buffer_arg) {
return transport_pb.CoreMessage.deserializeBinary(new Uint8Array(buffer_arg));
}
function serialize_okapi_transport_NoOp(arg) {
if (!(arg instanceof transport_pb.NoOp)) {
throw new Error('Expected argument of type okapi.transport.NoOp');
}
return Buffer.from(arg.serializeBinary());
}
function deserialize_okapi_transport_NoOp(buffer_arg) {
return transport_pb.NoOp.deserializeBinary(new Uint8Array(buffer_arg));
}
function serialize_pbmse_EncryptedMessage(arg) {
if (!(arg instanceof pbmse_pbmse_pb.EncryptedMessage)) {
throw new Error('Expected argument of type pbmse.EncryptedMessage');
}
return Buffer.from(arg.serializeBinary());
}
function deserialize_pbmse_EncryptedMessage(buffer_arg) {
return pbmse_pbmse_pb.EncryptedMessage.deserializeBinary(new Uint8Array(buffer_arg));
}
var DIDCommPlainService = exports.DIDCommPlainService = {
unary: {
path: '/okapi.transport.DIDCommPlain/Unary',
requestStream: false,
responseStream: false,
requestType: transport_pb.CoreMessage,
responseType: transport_pb.CoreMessage,
requestSerialize: serialize_okapi_transport_CoreMessage,
requestDeserialize: deserialize_okapi_transport_CoreMessage,
responseSerialize: serialize_okapi_transport_CoreMessage,
responseDeserialize: deserialize_okapi_transport_CoreMessage,
},
serverStreaming: {
path: '/okapi.transport.DIDCommPlain/ServerStreaming',
requestStream: false,
responseStream: true,
requestType: transport_pb.CoreMessage,
responseType: transport_pb.CoreMessage,
requestSerialize: serialize_okapi_transport_CoreMessage,
requestDeserialize: deserialize_okapi_transport_CoreMessage,
responseSerialize: serialize_okapi_transport_CoreMessage,
responseDeserialize: deserialize_okapi_transport_CoreMessage,
},
clientStreaming: {
path: '/okapi.transport.DIDCommPlain/ClientStreaming',
requestStream: true,
responseStream: false,
requestType: transport_pb.CoreMessage,
responseType: transport_pb.CoreMessage,
requestSerialize: serialize_okapi_transport_CoreMessage,
requestDeserialize: deserialize_okapi_transport_CoreMessage,
responseSerialize: serialize_okapi_transport_CoreMessage,
responseDeserialize: deserialize_okapi_transport_CoreMessage,
},
bidirectionalStreaming: {
path: '/okapi.transport.DIDCommPlain/BidirectionalStreaming',
requestStream: true,
responseStream: true,
requestType: transport_pb.CoreMessage,
responseType: transport_pb.CoreMessage,
requestSerialize: serialize_okapi_transport_CoreMessage,
requestDeserialize: deserialize_okapi_transport_CoreMessage,
responseSerialize: serialize_okapi_transport_CoreMessage,
responseDeserialize: deserialize_okapi_transport_CoreMessage,
},
};
exports.DIDCommPlainClient = grpc.makeGenericClientConstructor(DIDCommPlainService);
var DIDCommEncryptedService = exports.DIDCommEncryptedService = {
unary: {
path: '/okapi.transport.DIDCommEncrypted/Unary',
requestStream: false,
responseStream: false,
requestType: pbmse_pbmse_pb.EncryptedMessage,
responseType: pbmse_pbmse_pb.EncryptedMessage,
requestSerialize: serialize_pbmse_EncryptedMessage,
requestDeserialize: deserialize_pbmse_EncryptedMessage,
responseSerialize: serialize_pbmse_EncryptedMessage,
responseDeserialize: deserialize_pbmse_EncryptedMessage,
},
serverStreaming: {
path: '/okapi.transport.DIDCommEncrypted/ServerStreaming',
requestStream: false,
responseStream: true,
requestType: pbmse_pbmse_pb.EncryptedMessage,
responseType: pbmse_pbmse_pb.EncryptedMessage,
requestSerialize: serialize_pbmse_EncryptedMessage,
requestDeserialize: deserialize_pbmse_EncryptedMessage,
responseSerialize: serialize_pbmse_EncryptedMessage,
responseDeserialize: deserialize_pbmse_EncryptedMessage,
},
clientStreaming: {
path: '/okapi.transport.DIDCommEncrypted/ClientStreaming',
requestStream: true,
responseStream: false,
requestType: pbmse_pbmse_pb.EncryptedMessage,
responseType: pbmse_pbmse_pb.EncryptedMessage,
requestSerialize: serialize_pbmse_EncryptedMessage,
requestDeserialize: deserialize_pbmse_EncryptedMessage,
responseSerialize: serialize_pbmse_EncryptedMessage,
responseDeserialize: deserialize_pbmse_EncryptedMessage,
},
bidirectionalStreaming: {
path: '/okapi.transport.DIDCommEncrypted/BidirectionalStreaming',
requestStream: true,
responseStream: true,
requestType: pbmse_pbmse_pb.EncryptedMessage,
responseType: pbmse_pbmse_pb.EncryptedMessage,
requestSerialize: serialize_pbmse_EncryptedMessage,
requestDeserialize: deserialize_pbmse_EncryptedMessage,
responseSerialize: serialize_pbmse_EncryptedMessage,
responseDeserialize: deserialize_pbmse_EncryptedMessage,
},
};
exports.DIDCommEncryptedClient = grpc.makeGenericClientConstructor(DIDCommEncryptedService);
var DIDCommSimplexService = exports.DIDCommSimplexService = {
simplex: {
path: '/okapi.transport.DIDCommSimplex/Simplex',
requestStream: false,
responseStream: false,
requestType: pbmse_pbmse_pb.EncryptedMessage,
responseType: transport_pb.NoOp,
requestSerialize: serialize_pbmse_EncryptedMessage,
requestDeserialize: deserialize_pbmse_EncryptedMessage,
responseSerialize: serialize_okapi_transport_NoOp,
responseDeserialize: deserialize_okapi_transport_NoOp,
},
};
exports.DIDCommSimplexClient = grpc.makeGenericClientConstructor(DIDCommSimplexService);
// GENERATED CODE -- NO SERVICES IN PROTO

@@ -286,17 +286,1 @@ // package: okapi.transport

export class NoOp extends jspb.Message {
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): NoOp.AsObject;
static toObject(includeInstance: boolean, msg: NoOp): NoOp.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: NoOp, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): NoOp;
static deserializeBinaryFromReader(message: NoOp, reader: jspb.BinaryReader): NoOp;
}
export namespace NoOp {
export type AsObject = {
}
}
{
"name": "@trinsic/okapi-proto",
"version": "1.0.0-preview.10",
"version": "1.0.0-preview.11",
"description": "",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"directories": {
"lib": "dist"
},
"files": [
"dist/*"
],
"scripts": {

@@ -15,20 +21,10 @@ "build": "npx tsc -p . && npm run copy",

"dependencies": {
"google-protobuf": "^3.14.0",
"grpc": "^1.24.9"
"google-protobuf": "^3.14.0"
},
"devDependencies": {
"@types/chai": "^4.2.14",
"@types/mocha": "^8.0.3",
"chai": "^4.2.0",
"copyfiles": "^2.4.0",
"mocha": "^8.2.1",
"ts-mocha": "^8.0.0",
"typescript": "^4.0.5"
},
"repository": {
"type": "git",
"url": "https://github.com/trinsic-id/okapi.git",
"directory": "packages/okapi-proto"
"directory": "wasm/packages/okapi-proto"
},
"gitHead": "04e353e750ea83b19b6b8a354c9fbf9fc2b6e6f2"
"gitHead": "c638275529dfc51ed31f96226c8a11701a29f5df"
}

@@ -0,0 +0,0 @@ # `okapi-proto`

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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