jr-common-micro 1.1.119 → 1.1.120

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -517,6 +517,7 @@ export interface AdminGiftPreviewResponse {
517
517
  }
518
518
  export interface AdminGiftConfirmRequest {
519
519
  token: string;
520
+ code: string;
520
521
  }
521
522
  export interface AdminGift {
522
523
  id: string;
@@ -1018,6 +1018,7 @@ export declare class AdminGiftPreviewResponse extends Message<AdminGiftPreviewRe
1018
1018
  }
1019
1019
  export declare class AdminGiftConfirmRequest extends Message<AdminGiftConfirmRequest> {
1020
1020
  token: string;
1021
+ code: string;
1021
1022
  constructor(data?: PartialMessage<AdminGiftConfirmRequest>);
1022
1023
  static readonly runtime: typeof proto3;
1023
1024
  static readonly typeName = "micro.v1.mining.AdminGiftConfirmRequest";
@@ -2216,6 +2216,7 @@ class AdminGiftPreviewResponse extends protobuf_1.Message {
2216
2216
  exports.AdminGiftPreviewResponse = AdminGiftPreviewResponse;
2217
2217
  class AdminGiftConfirmRequest extends protobuf_1.Message {
2218
2218
  token = "";
2219
+ code = "";
2219
2220
  constructor(data) {
2220
2221
  super();
2221
2222
  protobuf_1.proto3.util.initPartial(data, this);
@@ -2224,6 +2225,7 @@ class AdminGiftConfirmRequest extends protobuf_1.Message {
2224
2225
  static typeName = "micro.v1.mining.AdminGiftConfirmRequest";
2225
2226
  static fields = protobuf_1.proto3.util.newFieldList(() => [
2226
2227
  { no: 1, name: "token", kind: "scalar", T: 9 },
2228
+ { no: 2, name: "code", kind: "scalar", T: 9 },
2227
2229
  ]);
2228
2230
  static fromBinary(bytes, options) {
2229
2231
  return new AdminGiftConfirmRequest().fromBinary(bytes, options);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jr-common-micro",
3
- "version": "1.1.119",
3
+ "version": "1.1.120",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -742,6 +742,8 @@ message AdminGiftPreviewResponse {
742
742
 
743
743
  message AdminGiftConfirmRequest {
744
744
  string token = 1;
745
+ // The approval code only the owner knows (GIFT_ADMIN_CODE).
746
+ string code = 2;
745
747
  }
746
748
 
747
749
  message AdminGift {