@trinsic/okapi-proto
Advanced tools
Comparing version 1.0.0-preview.10 to 1.0.0-preview.11
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 |
@@ -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 |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1
0
5
207271
33
5722
- Removedgrpc@^1.24.9
- Removed@mapbox/node-pre-gyp@1.0.11(transitive)
- Removed@types/bytebuffer@5.0.49(transitive)
- Removed@types/long@3.0.32(transitive)
- Removed@types/node@22.10.2(transitive)
- Removedabbrev@1.1.1(transitive)
- Removedagent-base@6.0.2(transitive)
- Removedansi-regex@2.1.15.0.1(transitive)
- Removedaproba@2.0.0(transitive)
- Removedare-we-there-yet@2.0.0(transitive)
- Removedascli@1.0.1(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedbytebuffer@5.0.1(transitive)
- Removedcamelcase@2.1.1(transitive)
- Removedchownr@2.0.0(transitive)
- Removedcliui@3.2.0(transitive)
- Removedcode-point-at@1.1.0(transitive)
- Removedcolor-support@1.1.3(transitive)
- Removedcolour@0.7.1(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedconsole-control-strings@1.1.0(transitive)
- Removeddebug@4.4.0(transitive)
- Removeddecamelize@1.2.0(transitive)
- Removeddelegates@1.0.0(transitive)
- Removeddetect-libc@2.0.3(transitive)
- Removedemoji-regex@8.0.0(transitive)
- Removedfs-minipass@2.1.0(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedgauge@3.0.2(transitive)
- Removedglob@7.2.3(transitive)
- Removedgrpc@1.24.11(transitive)
- Removedhas-unicode@2.0.1(transitive)
- Removedhttps-proxy-agent@5.0.1(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedinvert-kv@1.0.0(transitive)
- Removedis-fullwidth-code-point@1.0.03.0.0(transitive)
- Removedlcid@1.0.0(transitive)
- Removedlodash.camelcase@4.3.0(transitive)
- Removedlodash.clone@4.5.0(transitive)
- Removedlong@3.2.0(transitive)
- Removedmake-dir@3.1.0(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedminipass@3.3.65.0.0(transitive)
- Removedminizlib@2.1.2(transitive)
- Removedmkdirp@1.0.4(transitive)
- Removedms@2.1.3(transitive)
- Removednan@2.22.0(transitive)
- Removednode-fetch@2.7.0(transitive)
- Removednopt@5.0.0(transitive)
- Removednpmlog@5.0.1(transitive)
- Removednumber-is-nan@1.0.1(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedonce@1.4.0(transitive)
- Removedoptjs@3.2.2(transitive)
- Removedos-locale@1.4.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedprotobufjs@5.0.3(transitive)
- Removedreadable-stream@3.6.2(transitive)
- Removedrimraf@3.0.2(transitive)
- Removedsafe-buffer@5.2.1(transitive)
- Removedsemver@6.3.17.6.3(transitive)
- Removedset-blocking@2.0.0(transitive)
- Removedsignal-exit@3.0.7(transitive)
- Removedstring-width@1.0.24.2.3(transitive)
- Removedstring_decoder@1.3.0(transitive)
- Removedstrip-ansi@3.0.16.0.1(transitive)
- Removedtar@6.2.1(transitive)
- Removedtr46@0.0.3(transitive)
- Removedundici-types@6.20.0(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removedwebidl-conversions@3.0.1(transitive)
- Removedwhatwg-url@5.0.0(transitive)
- Removedwide-align@1.1.5(transitive)
- Removedwindow-size@0.1.4(transitive)
- Removedwrap-ansi@2.1.0(transitive)
- Removedwrappy@1.0.2(transitive)
- Removedy18n@3.2.2(transitive)
- Removedyallist@4.0.0(transitive)
- Removedyargs@3.32.0(transitive)