Socket
Socket
Sign inDemoInstall

@textile/buckets-grpc

Package Overview
Dependencies
4
Maintainers
5
Versions
78
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.6.4-rc1 to 2.6.4-rc2

19

api/bucketsd/pb/bucketsd_pb_service.d.ts

@@ -106,2 +106,11 @@ // package: api.bucketsd.pb

type APIServiceMovePath = {
readonly methodName: string;
readonly service: typeof APIService;
readonly requestStream: false;
readonly responseStream: false;
readonly requestType: typeof api_bucketsd_pb_bucketsd_pb.MovePathRequest;
readonly responseType: typeof api_bucketsd_pb_bucketsd_pb.MovePathResponse;
};
type APIServiceRemove = {

@@ -201,2 +210,3 @@ readonly methodName: string;

static readonly SetPath: APIServiceSetPath;
static readonly MovePath: APIServiceMovePath;
static readonly Remove: APIServiceRemove;

@@ -312,2 +322,11 @@ static readonly RemovePath: APIServiceRemovePath;

): UnaryResponse;
movePath(
requestMessage: api_bucketsd_pb_bucketsd_pb.MovePathRequest,
metadata: grpc.Metadata,
callback: (error: ServiceError|null, responseMessage: api_bucketsd_pb_bucketsd_pb.MovePathResponse|null) => void
): UnaryResponse;
movePath(
requestMessage: api_bucketsd_pb_bucketsd_pb.MovePathRequest,
callback: (error: ServiceError|null, responseMessage: api_bucketsd_pb_bucketsd_pb.MovePathResponse|null) => void
): UnaryResponse;
remove(

@@ -314,0 +333,0 @@ requestMessage: api_bucketsd_pb_bucketsd_pb.RemoveRequest,

@@ -112,2 +112,11 @@ // package: api.bucketsd.pb

APIService.MovePath = {
methodName: "MovePath",
service: APIService,
requestStream: false,
responseStream: false,
requestType: api_bucketsd_pb_bucketsd_pb.MovePathRequest,
responseType: api_bucketsd_pb_bucketsd_pb.MovePathResponse
};
APIService.Remove = {

@@ -586,2 +595,33 @@ methodName: "Remove",

APIServiceClient.prototype.movePath = function movePath(requestMessage, metadata, callback) {
if (arguments.length === 2) {
callback = arguments[1];
}
var client = grpc.unary(APIService.MovePath, {
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();
}
};
};
APIServiceClient.prototype.remove = function remove(requestMessage, metadata, callback) {

@@ -588,0 +628,0 @@ if (arguments.length === 2) {

@@ -844,2 +844,46 @@ // package: api.bucketsd.pb

export class MovePathRequest extends jspb.Message {
getKey(): string;
setKey(value: string): void;
getFromPath(): string;
setFromPath(value: string): void;
getToPath(): string;
setToPath(value: string): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MovePathRequest.AsObject;
static toObject(includeInstance: boolean, msg: MovePathRequest): MovePathRequest.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: MovePathRequest, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): MovePathRequest;
static deserializeBinaryFromReader(message: MovePathRequest, reader: jspb.BinaryReader): MovePathRequest;
}
export namespace MovePathRequest {
export type AsObject = {
key: string,
fromPath: string,
toPath: string,
}
}
export class MovePathResponse extends jspb.Message {
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): MovePathResponse.AsObject;
static toObject(includeInstance: boolean, msg: MovePathResponse): MovePathResponse.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: MovePathResponse, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): MovePathResponse;
static deserializeBinaryFromReader(message: MovePathResponse, reader: jspb.BinaryReader): MovePathResponse;
}
export namespace MovePathResponse {
export type AsObject = {
}
}
export class RemoveRequest extends jspb.Message {

@@ -846,0 +890,0 @@ getKey(): string;

2

package.json
{
"name": "@textile/buckets-grpc",
"version": "2.6.4-rc1",
"version": "2.6.4-rc2",
"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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc