@etherean/etherean-grpc
Advanced tools
Comparing version 1.2.1 to 1.3.0
@@ -13,2 +13,3 @@ // @generated by protobuf-ts 2.9.4 with parameter generate_dependencies,optimize_code_size,output_javascript | ||
import { UserId } from "./client_id.js"; | ||
import { DailyReward } from "./daily_reward.js"; | ||
import { Decimal } from "./decimal.js"; | ||
@@ -24,3 +25,3 @@ /** | ||
/** | ||
* null if already claimed | ||
* [deprecated] would be deleted next time | ||
* | ||
@@ -30,2 +31,10 @@ * @generated from protobuf field: google.type.Decimal reward = 2; | ||
reward?: Decimal; | ||
/** | ||
* @generated from protobuf field: bool is_claimed = 3; | ||
*/ | ||
isClaimed: boolean; | ||
/** | ||
* @generated from protobuf field: repeated etherean.type.DailyReward rewards_list = 4; | ||
*/ | ||
rewardsList: DailyReward[]; | ||
} | ||
@@ -117,2 +126,6 @@ /** | ||
emailConfirmed: boolean; | ||
/** | ||
* @generated from protobuf field: google.type.Decimal farming_boost = 12; | ||
*/ | ||
farmingBoost?: Decimal; | ||
} | ||
@@ -177,2 +190,6 @@ /** | ||
localizationTag: string; | ||
/** | ||
* @generated from protobuf field: google.type.Decimal farming_per_hour_boost = 9; | ||
*/ | ||
farmingPerHourBoost?: Decimal; | ||
} | ||
@@ -179,0 +196,0 @@ /** |
@@ -18,2 +18,3 @@ // @generated by protobuf-ts 2.9.4 with parameter generate_dependencies,optimize_code_size,output_javascript | ||
import { UserId } from "./client_id.js"; | ||
import { DailyReward } from "./daily_reward.js"; | ||
import { Decimal } from "./decimal.js"; | ||
@@ -25,3 +26,5 @@ // @generated message type with reflection information, may provide speed optimized methods | ||
{ no: 1, name: "days", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }, | ||
{ no: 2, name: "reward", kind: "message", T: () => Decimal } | ||
{ no: 2, name: "reward", kind: "message", T: () => Decimal }, | ||
{ no: 3, name: "is_claimed", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 4, name: "rewards_list", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => DailyReward } | ||
]); | ||
@@ -67,3 +70,4 @@ } | ||
{ no: 10, name: "username", kind: "message", T: () => Username }, | ||
{ no: 11, name: "email_confirmed", kind: "scalar", T: 8 /*ScalarType.BOOL*/ } | ||
{ no: 11, name: "email_confirmed", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }, | ||
{ no: 12, name: "farming_boost", kind: "message", T: () => Decimal } | ||
]); | ||
@@ -112,3 +116,4 @@ } | ||
{ no: 7, name: "social_subscription", kind: "message", T: () => SocialSubscription }, | ||
{ no: 8, name: "localization_tag", kind: "scalar", T: 9 /*ScalarType.STRING*/ } | ||
{ no: 8, name: "localization_tag", kind: "scalar", T: 9 /*ScalarType.STRING*/ }, | ||
{ no: 9, name: "farming_per_hour_boost", kind: "message", T: () => Decimal } | ||
]); | ||
@@ -115,0 +120,0 @@ } |
@@ -6,3 +6,4 @@ // @generated by protobuf-ts 2.9.4 with parameter generate_dependencies,optimize_code_size,output_javascript | ||
import { Address } from "./user_wallet.js"; | ||
import { ClientId } from "./client_id.js"; | ||
import { UserId } from "./client_id.js"; | ||
import { DailyReward } from "./daily_reward.js"; | ||
import { Decimal } from "./decimal.js"; | ||
@@ -27,9 +28,5 @@ /** | ||
/** | ||
* The key is the day. | ||
* | ||
* @generated from protobuf field: map<int32, google.type.Decimal> rewards = 1; | ||
* @generated from protobuf field: repeated etherean.type.DailyReward rewards = 1; | ||
*/ | ||
rewards: { | ||
[key: number]: Decimal; | ||
}; | ||
rewards: DailyReward[]; | ||
} | ||
@@ -41,5 +38,5 @@ /** | ||
/** | ||
* @generated from protobuf field: etherean.type.ClientId client_id = 1; | ||
* @generated from protobuf field: etherean.type.UserId user_id = 1; | ||
*/ | ||
clientId?: ClientId; | ||
userId?: UserId; | ||
/** | ||
@@ -46,0 +43,0 @@ * @generated from protobuf field: etherean.type.Address user_wallet = 2; |
@@ -11,3 +11,4 @@ // @generated by protobuf-ts 2.9.4 with parameter generate_dependencies,optimize_code_size,output_javascript | ||
import { Address } from "./user_wallet.js"; | ||
import { ClientId } from "./client_id.js"; | ||
import { UserId } from "./client_id.js"; | ||
import { DailyReward } from "./daily_reward.js"; | ||
import { Decimal } from "./decimal.js"; | ||
@@ -30,3 +31,3 @@ // @generated message type with reflection information, may provide speed optimized methods | ||
super("etherean.referral_points.StreakRewardsResponse", [ | ||
{ no: 1, name: "rewards", kind: "map", K: 5 /*ScalarType.INT32*/, V: { kind: "message", T: () => Decimal } } | ||
{ no: 1, name: "rewards", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => DailyReward } | ||
]); | ||
@@ -43,3 +44,3 @@ } | ||
super("etherean.referral_points.PointsAndReferralsRequest", [ | ||
{ no: 1, name: "client_id", kind: "message", T: () => ClientId }, | ||
{ no: 1, name: "user_id", kind: "message", T: () => UserId }, | ||
{ no: 2, name: "user_wallet", kind: "message", T: () => Address }, | ||
@@ -46,0 +47,0 @@ { no: 3, name: "only_main", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ } |
{ | ||
"name": "@etherean/etherean-grpc", | ||
"type": "module", | ||
"version": "1.2.1", | ||
"version": "1.3.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
Sorry, the diff of this file is not supported yet
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
249815
112
4921