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

@etherean/etherean-grpc

Package Overview
Dependencies
Maintainers
0
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@etherean/etherean-grpc - npm Package Compare versions

Comparing version 1.3.8 to 1.4.0

dist/referral_types.d.ts

19

dist/referral_points.client.d.ts

@@ -6,2 +6,5 @@ // @generated by protobuf-ts 2.9.4 with parameter generate_dependencies,optimize_code_size,output_javascript

import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import type { AddFinishedLessonRequest } from "./referral_points.js";
import type { GetFriendsWithPointsResponse } from "./referral_points.js";
import type { GetFriendsWithPointsRequest } from "./referral_points.js";
import type { StatsResponse } from "./referral_points.js";

@@ -57,2 +60,10 @@ import type { LeaderBoardPosition } from "./referral_leader_board.js";

getStats(input: Empty, options?: RpcOptions): UnaryCall<Empty, StatsResponse>;
/**
* @generated from protobuf rpc: GetFriendsWithPoints(etherean.referral_points.GetFriendsWithPointsRequest) returns (etherean.referral_points.GetFriendsWithPointsResponse);
*/
getFriendsWithPoints(input: GetFriendsWithPointsRequest, options?: RpcOptions): UnaryCall<GetFriendsWithPointsRequest, GetFriendsWithPointsResponse>;
/**
* @generated from protobuf rpc: AddFinishedLesson(etherean.referral_points.AddFinishedLessonRequest) returns (google.protobuf.Empty);
*/
addFinishedLesson(input: AddFinishedLessonRequest, options?: RpcOptions): UnaryCall<AddFinishedLessonRequest, Empty>;
}

@@ -100,2 +111,10 @@ /**

getStats(input: Empty, options?: RpcOptions): UnaryCall<Empty, StatsResponse>;
/**
* @generated from protobuf rpc: GetFriendsWithPoints(etherean.referral_points.GetFriendsWithPointsRequest) returns (etherean.referral_points.GetFriendsWithPointsResponse);
*/
getFriendsWithPoints(input: GetFriendsWithPointsRequest, options?: RpcOptions): UnaryCall<GetFriendsWithPointsRequest, GetFriendsWithPointsResponse>;
/**
* @generated from protobuf rpc: AddFinishedLesson(etherean.referral_points.AddFinishedLessonRequest) returns (google.protobuf.Empty);
*/
addFinishedLesson(input: AddFinishedLessonRequest, options?: RpcOptions): UnaryCall<AddFinishedLessonRequest, Empty>;
}

@@ -72,2 +72,16 @@ // @generated by protobuf-ts 2.9.4 with parameter generate_dependencies,optimize_code_size,output_javascript

}
/**
* @generated from protobuf rpc: GetFriendsWithPoints(etherean.referral_points.GetFriendsWithPointsRequest) returns (etherean.referral_points.GetFriendsWithPointsResponse);
*/
getFriendsWithPoints(input, options) {
const method = this.methods[8], opt = this._transport.mergeOptions(options);
return stackIntercept("unary", this._transport, method, opt, input);
}
/**
* @generated from protobuf rpc: AddFinishedLesson(etherean.referral_points.AddFinishedLessonRequest) returns (google.protobuf.Empty);
*/
addFinishedLesson(input, options) {
const method = this.methods[9], opt = this._transport.mergeOptions(options);
return stackIntercept("unary", this._transport, method, opt, input);
}
}

82

dist/referral_points.d.ts

@@ -7,6 +7,60 @@ // @generated by protobuf-ts 2.9.4 with parameter generate_dependencies,optimize_code_size,output_javascript

import { DailyReward } from "./daily_reward.js";
import { LeaderBoardType } from "./referral_leader_board.js";
import { UserPoints } from "./referral_types.js";
import { Decimal } from "./decimal.js";
import { UserId } from "./client_id.js";
import { Decimal } from "./decimal.js";
import { LeaderBoardType } from "./referral_leader_board.js";
/**
* @generated from protobuf message etherean.referral_points.AddFinishedLessonRequest
*/
export interface AddFinishedLessonRequest {
/**
* @generated from protobuf field: etherean.type.UserId user_id = 1;
*/
userId?: UserId;
/**
* @generated from protobuf field: string lesson_id = 2;
*/
lessonId: string;
/**
* @generated from protobuf field: google.type.Decimal points = 3;
*/
points?: Decimal;
/**
* @generated from protobuf field: google.type.Decimal farming_boost = 4;
*/
farmingBoost?: Decimal;
}
/**
* @generated from protobuf message etherean.referral_points.GetFriendsWithPointsRequest
*/
export interface GetFriendsWithPointsRequest {
/**
* @generated from protobuf field: etherean.type.UserId user_id = 1;
*/
userId?: UserId;
/**
* @generated from protobuf field: bool activated_only = 2;
*/
activatedOnly: boolean;
/**
* starts from 0
*
* @generated from protobuf field: int64 next_page_token = 3;
*/
nextPageToken: bigint;
}
/**
* @generated from protobuf message etherean.referral_points.GetFriendsWithPointsResponse
*/
export interface GetFriendsWithPointsResponse {
/**
* @generated from protobuf field: repeated etherean.type.UserPoints friends = 1;
*/
friends: UserPoints[];
/**
* @generated from protobuf field: optional int64 next_page_token = 2;
*/
nextPageToken?: bigint;
}
/**
* @generated from protobuf message etherean.referral_points.StatsResponse

@@ -16,3 +70,4 @@ */

/**
* It's uint64 because the value is to big and it's makes no sense to do it Decimal
* It's uint64 because the value is to big and
* it's makes no sense to do it Decimal
*

@@ -174,2 +229,23 @@ * @generated from protobuf field: uint64 total_points_balance = 1;

}
declare class AddFinishedLessonRequest$Type extends MessageType<AddFinishedLessonRequest> {
constructor();
}
/**
* @generated MessageType for protobuf message etherean.referral_points.AddFinishedLessonRequest
*/
export declare const AddFinishedLessonRequest: AddFinishedLessonRequest$Type;
declare class GetFriendsWithPointsRequest$Type extends MessageType<GetFriendsWithPointsRequest> {
constructor();
}
/**
* @generated MessageType for protobuf message etherean.referral_points.GetFriendsWithPointsRequest
*/
export declare const GetFriendsWithPointsRequest: GetFriendsWithPointsRequest$Type;
declare class GetFriendsWithPointsResponse$Type extends MessageType<GetFriendsWithPointsResponse> {
constructor();
}
/**
* @generated MessageType for protobuf message etherean.referral_points.GetFriendsWithPointsResponse
*/
export declare const GetFriendsWithPointsResponse: GetFriendsWithPointsResponse$Type;
declare class StatsResponse$Type extends MessageType<StatsResponse> {

@@ -176,0 +252,0 @@ constructor();

@@ -14,6 +14,49 @@ // @generated by protobuf-ts 2.9.4 with parameter generate_dependencies,optimize_code_size,output_javascript

import { DailyReward } from "./daily_reward.js";
import { LeaderBoardType } from "./referral_leader_board.js";
import { UserPoints } from "./referral_types.js";
import { Decimal } from "./decimal.js";
import { UserId } from "./client_id.js";
import { Decimal } from "./decimal.js";
import { LeaderBoardType } from "./referral_leader_board.js";
// @generated message type with reflection information, may provide speed optimized methods
class AddFinishedLessonRequest$Type extends MessageType {
constructor() {
super("etherean.referral_points.AddFinishedLessonRequest", [
{ no: 1, name: "user_id", kind: "message", T: () => UserId },
{ no: 2, name: "lesson_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
{ no: 3, name: "points", kind: "message", T: () => Decimal },
{ no: 4, name: "farming_boost", kind: "message", T: () => Decimal }
]);
}
}
/**
* @generated MessageType for protobuf message etherean.referral_points.AddFinishedLessonRequest
*/
export const AddFinishedLessonRequest = new AddFinishedLessonRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class GetFriendsWithPointsRequest$Type extends MessageType {
constructor() {
super("etherean.referral_points.GetFriendsWithPointsRequest", [
{ no: 1, name: "user_id", kind: "message", T: () => UserId },
{ no: 2, name: "activated_only", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
{ no: 3, name: "next_page_token", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
]);
}
}
/**
* @generated MessageType for protobuf message etherean.referral_points.GetFriendsWithPointsRequest
*/
export const GetFriendsWithPointsRequest = new GetFriendsWithPointsRequest$Type();
// @generated message type with reflection information, may provide speed optimized methods
class GetFriendsWithPointsResponse$Type extends MessageType {
constructor() {
super("etherean.referral_points.GetFriendsWithPointsResponse", [
{ no: 1, name: "friends", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => UserPoints },
{ no: 2, name: "next_page_token", kind: "scalar", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
]);
}
}
/**
* @generated MessageType for protobuf message etherean.referral_points.GetFriendsWithPointsResponse
*/
export const GetFriendsWithPointsResponse = new GetFriendsWithPointsResponse$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StatsResponse$Type extends MessageType {

@@ -165,3 +208,5 @@ constructor() {

{ name: "GetLeaderBoardPosition", options: {}, I: GetLeaderBoardPositionRequest, O: LeaderBoardPosition },
{ name: "GetStats", options: {}, I: Empty, O: StatsResponse }
{ name: "GetStats", options: {}, I: Empty, O: StatsResponse },
{ name: "GetFriendsWithPoints", options: {}, I: GetFriendsWithPointsRequest, O: GetFriendsWithPointsResponse },
{ name: "AddFinishedLesson", options: {}, I: AddFinishedLessonRequest, O: Empty }
]);

2

package.json
{
"name": "@etherean/etherean-grpc",
"type": "module",
"version": "1.3.8",
"version": "1.4.0",
"description": "",

@@ -6,0 +6,0 @@ "keywords": [],

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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