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

@textile/buckets-grpc

Package Overview
Dependencies
Maintainers
5
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@textile/buckets-grpc - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

19

buckets_pb_service.d.ts

@@ -16,2 +16,11 @@ // package: buckets.pb

type APIRoot = {
readonly methodName: string;
readonly service: typeof API;
readonly requestStream: false;
readonly responseStream: false;
readonly requestType: typeof buckets_pb.RootRequest;
readonly responseType: typeof buckets_pb.RootReply;
};
type APILinks = {

@@ -119,2 +128,3 @@ readonly methodName: string;

static readonly Init: APIInit;
static readonly Root: APIRoot;
static readonly Links: APILinks;

@@ -174,2 +184,11 @@ static readonly List: APIList;

): UnaryResponse;
root(
requestMessage: buckets_pb.RootRequest,
metadata: grpc.Metadata,
callback: (error: ServiceError|null, responseMessage: buckets_pb.RootReply|null) => void
): UnaryResponse;
root(
requestMessage: buckets_pb.RootRequest,
callback: (error: ServiceError|null, responseMessage: buckets_pb.RootReply|null) => void
): UnaryResponse;
links(

@@ -176,0 +195,0 @@ requestMessage: buckets_pb.LinksRequest,

@@ -22,2 +22,11 @@ // package: buckets.pb

API.Root = {
methodName: "Root",
service: API,
requestStream: false,
responseStream: false,
requestType: buckets_pb.RootRequest,
responseType: buckets_pb.RootReply
};
API.Links = {

@@ -160,2 +169,33 @@ methodName: "Links",

APIClient.prototype.root = function root(requestMessage, metadata, callback) {
if (arguments.length === 2) {
callback = arguments[1];
}
var client = grpc.unary(API.Root, {
request: requestMessage,
host: this.serviceHost,
metadata: metadata,
transport: this.options.transport,
debug: this.options.debug,
onEnd: function (response) {
if (callback) {
if (response.status !== grpc.Code.OK) {
var err = new Error(response.statusMessage);
err.code = response.status;
err.metadata = response.trailers;
callback(err, null);
} else {
callback(null, response.message);
}
}
}
});
return {
cancel: function () {
callback = null;
client.close();
}
};
};
APIClient.prototype.links = function links(requestMessage, metadata, callback) {

@@ -162,0 +202,0 @@ if (arguments.length === 2) {

114

buckets_pb.d.ts

@@ -6,2 +6,38 @@ // package: buckets.pb

export class Root extends jspb.Message {
getKey(): string;
setKey(value: string): void;
getName(): string;
setName(value: string): void;
getPath(): string;
setPath(value: string): void;
getCreatedat(): number;
setCreatedat(value: number): void;
getUpdatedat(): number;
setUpdatedat(value: number): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Root.AsObject;
static toObject(includeInstance: boolean, msg: Root): Root.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: Root, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Root;
static deserializeBinaryFromReader(message: Root, reader: jspb.BinaryReader): Root;
}
export namespace Root {
export type AsObject = {
key: string,
name: string,
path: string,
createdat: number,
updatedat: number,
}
}
export class InitRequest extends jspb.Message {

@@ -61,2 +97,44 @@ getName(): string;

export class RootRequest extends jspb.Message {
getKey(): string;
setKey(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): RootRequest.AsObject;
static toObject(includeInstance: boolean, msg: RootRequest): RootRequest.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: RootRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): RootRequest;
static deserializeBinaryFromReader(message: RootRequest, reader: jspb.BinaryReader): RootRequest;
}
export namespace RootRequest {
export type AsObject = {
key: string,
}
}
export class RootReply extends jspb.Message {
hasRoot(): boolean;
clearRoot(): void;
getRoot(): Root | undefined;
setRoot(value?: Root): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): RootReply.AsObject;
static toObject(includeInstance: boolean, msg: RootReply): RootReply.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: RootReply, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): RootReply;
static deserializeBinaryFromReader(message: RootReply, reader: jspb.BinaryReader): RootReply;
}
export namespace RootReply {
export type AsObject = {
root?: Root.AsObject,
}
}
export class LinksRequest extends jspb.Message {

@@ -110,38 +188,2 @@ getKey(): string;

export class Root extends jspb.Message {
getKey(): string;
setKey(value: string): void;
getName(): string;
setName(value: string): void;
getPath(): string;
setPath(value: string): void;
getCreatedat(): number;
setCreatedat(value: number): void;
getUpdatedat(): number;
setUpdatedat(value: number): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Root.AsObject;
static toObject(includeInstance: boolean, msg: Root): Root.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: Root, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Root;
static deserializeBinaryFromReader(message: Root, reader: jspb.BinaryReader): Root;
}
export namespace Root {
export type AsObject = {
key: string,
name: string,
path: string,
createdat: number,
updatedat: number,
}
}
export class ListRequest extends jspb.Message {

@@ -148,0 +190,0 @@ serializeBinary(): Uint8Array;

{
"name": "@textile/buckets-grpc",
"version": "1.0.6",
"version": "1.0.7",
"description": "A client for interacting with the Textile Buckets gRPC API.",

@@ -5,0 +5,0 @@ "repository": {

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