@uniswap/client-trading 0.4.1 → 0.4.2

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.
@@ -719,27 +719,6 @@ export declare class UserOperation extends Message<UserOperation> {
719
719
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UserOperation;
720
720
  static equals(a: UserOperation | PlainMessage<UserOperation> | undefined, b: UserOperation | PlainMessage<UserOperation> | undefined): boolean;
721
721
  }
722
- /**
723
- * @generated from message trading.v1.SponsorMetadata
724
- */
725
- export declare class SponsorMetadata extends Message<SponsorMetadata> {
726
- /**
727
- * @generated from field: string name = 1;
728
- */
729
- name: string;
730
- /**
731
- * @generated from field: optional string icon = 2;
732
- */
733
- icon?: string;
734
- constructor(data?: PartialMessage<SponsorMetadata>);
735
- static readonly runtime: typeof proto3;
736
- static readonly typeName = "trading.v1.SponsorMetadata";
737
- static readonly fields: FieldList;
738
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SponsorMetadata;
739
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SponsorMetadata;
740
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SponsorMetadata;
741
- static equals(a: SponsorMetadata | PlainMessage<SponsorMetadata> | undefined, b: SponsorMetadata | PlainMessage<SponsorMetadata> | undefined): boolean;
742
- }
743
722
  /**
744
723
  * @generated from message trading.v1.Encode4337Response
745
724
  */
@@ -753,7 +732,7 @@ export declare class Encode4337Response extends Message<Encode4337Response> {
753
732
  */
754
733
  userOperation?: UserOperation;
755
734
  /**
756
- * @generated from field: trading.v1.SponsorMetadata sponsor_metadata = 3;
735
+ * @generated from field: optional trading.v1.SponsorMetadata sponsor_metadata = 3;
757
736
  */
758
737
  sponsorMetadata?: SponsorMetadata;
759
738
  /**
@@ -818,6 +797,10 @@ export declare class Swap4337Request extends Message<Swap4337Request> {
818
797
  * @generated from field: optional trading.v1.Eip7702Authorization eip7702_auth = 7;
819
798
  */
820
799
  eip7702Auth?: Eip7702Authorization;
800
+ /**
801
+ * @generated from field: optional trading.v1.SponsorshipInfo sponsorship_info = 8;
802
+ */
803
+ sponsorshipInfo?: SponsorshipInfo;
821
804
  constructor(data?: PartialMessage<Swap4337Request>);
822
805
  static readonly runtime: typeof proto3;
823
806
  static readonly typeName = "trading.v1.Swap4337Request";
@@ -847,6 +830,10 @@ export declare class Swap4337Response extends Message<Swap4337Response> {
847
830
  * @generated from field: optional string gas_sponsorship_rejection_reason = 4;
848
831
  */
849
832
  gasSponsorshipRejectionReason?: string;
833
+ /**
834
+ * @generated from field: optional trading.v1.PaymasterServiceContext paymaster_service_context = 5;
835
+ */
836
+ paymasterServiceContext?: PaymasterServiceContext;
850
837
  constructor(data?: PartialMessage<Swap4337Response>);
851
838
  static readonly runtime: typeof proto3;
852
839
  static readonly typeName = "trading.v1.Swap4337Response";
@@ -901,6 +888,10 @@ export declare class Swap5792Request extends Message<Swap5792Request> {
901
888
  * @generated from field: optional trading.v1.UrgencyWithOverrides urgency_overrides = 7;
902
889
  */
903
890
  urgencyOverrides?: UrgencyWithOverrides;
891
+ /**
892
+ * @generated from field: optional trading.v1.SponsorshipInfo sponsorship_info = 8;
893
+ */
894
+ sponsorshipInfo?: SponsorshipInfo;
904
895
  constructor(data?: PartialMessage<Swap5792Request>);
905
896
  static readonly runtime: typeof proto3;
906
897
  static readonly typeName = "trading.v1.Swap5792Request";
@@ -2209,10 +2200,6 @@ export declare class ClassicQuote extends Message<ClassicQuote> {
2209
2200
  * @generated from field: optional string portion_recipient = 24;
2210
2201
  */
2211
2202
  portionRecipient?: string;
2212
- /**
2213
- * @generated from field: optional trading.v1.SponsorshipInfo sponsorship_info = 25;
2214
- */
2215
- sponsorshipInfo?: SponsorshipInfo;
2216
2203
  /**
2217
2204
  * @generated from field: repeated trading.v1.SwapStep swap_steps = 26;
2218
2205
  */
@@ -3188,10 +3175,6 @@ export declare class WrapUnwrapQuote extends Message<WrapUnwrapQuote> {
3188
3175
  * @generated from field: optional string max_priority_fee_per_gas = 13;
3189
3176
  */
3190
3177
  maxPriorityFeePerGas?: string;
3191
- /**
3192
- * @generated from field: optional trading.v1.SponsorshipInfo sponsorship_info = 14;
3193
- */
3194
- sponsorshipInfo?: SponsorshipInfo;
3195
3178
  constructor(data?: PartialMessage<WrapUnwrapQuote>);
3196
3179
  static readonly runtime: typeof proto3;
3197
3180
  static readonly typeName = "trading.v1.WrapUnwrapQuote";
@@ -3441,6 +3424,10 @@ export declare class GetSwapsRequest extends Message<GetSwapsRequest> {
3441
3424
  * @generated from field: repeated string user_op_hashes = 3;
3442
3425
  */
3443
3426
  userOpHashes: string[];
3427
+ /**
3428
+ * @generated from field: optional string swapper = 4;
3429
+ */
3430
+ swapper?: string;
3444
3431
  constructor(data?: PartialMessage<GetSwapsRequest>);
3445
3432
  static readonly runtime: typeof proto3;
3446
3433
  static readonly typeName = "trading.v1.GetSwapsRequest";
@@ -3499,6 +3486,14 @@ export declare class SwapResult extends Message<SwapResult> {
3499
3486
  * @generated from field: trading.v1.SwapResult.HashType hash_type = 6;
3500
3487
  */
3501
3488
  hashType: SwapResult_HashType;
3489
+ /**
3490
+ * @generated from field: optional string paymaster = 7;
3491
+ */
3492
+ paymaster?: string;
3493
+ /**
3494
+ * @generated from field: optional trading.v1.SponsorMetadata sponsorship = 8;
3495
+ */
3496
+ sponsorship?: SponsorMetadata;
3502
3497
  constructor(data?: PartialMessage<SwapResult>);
3503
3498
  static readonly runtime: typeof proto3;
3504
3499
  static readonly typeName = "trading.v1.SwapResult";
@@ -4618,10 +4613,6 @@ export declare class BridgeQuote extends Message<BridgeQuote> {
4618
4613
  * @generated from field: repeated trading.v1.GasEstimate gas_estimates = 19;
4619
4614
  */
4620
4615
  gasEstimates: GasEstimate[];
4621
- /**
4622
- * @generated from field: optional trading.v1.SponsorshipInfo sponsorship_info = 20;
4623
- */
4624
- sponsorshipInfo?: SponsorshipInfo;
4625
4616
  constructor(data?: PartialMessage<BridgeQuote>);
4626
4617
  static readonly runtime: typeof proto3;
4627
4618
  static readonly typeName = "trading.v1.BridgeQuote";
@@ -6740,25 +6731,46 @@ export declare class WalletInfo extends Message<WalletInfo> {
6740
6731
  static equals(a: WalletInfo | PlainMessage<WalletInfo> | undefined, b: WalletInfo | PlainMessage<WalletInfo> | undefined): boolean;
6741
6732
  }
6742
6733
  /**
6743
- * @generated from message trading.v1.SponsorSummary
6734
+ * @generated from message trading.v1.SponsorMetadata
6744
6735
  */
6745
- export declare class SponsorSummary extends Message<SponsorSummary> {
6736
+ export declare class SponsorMetadata extends Message<SponsorMetadata> {
6746
6737
  /**
6747
6738
  * @generated from field: optional string name = 1;
6748
6739
  */
6749
6740
  name?: string;
6750
6741
  /**
6751
- * @generated from field: optional string logo_url = 2;
6742
+ * @generated from field: optional string icon = 2;
6752
6743
  */
6753
- logoUrl?: string;
6754
- constructor(data?: PartialMessage<SponsorSummary>);
6744
+ icon?: string;
6745
+ constructor(data?: PartialMessage<SponsorMetadata>);
6755
6746
  static readonly runtime: typeof proto3;
6756
- static readonly typeName = "trading.v1.SponsorSummary";
6747
+ static readonly typeName = "trading.v1.SponsorMetadata";
6757
6748
  static readonly fields: FieldList;
6758
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SponsorSummary;
6759
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SponsorSummary;
6760
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SponsorSummary;
6761
- static equals(a: SponsorSummary | PlainMessage<SponsorSummary> | undefined, b: SponsorSummary | PlainMessage<SponsorSummary> | undefined): boolean;
6749
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SponsorMetadata;
6750
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SponsorMetadata;
6751
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SponsorMetadata;
6752
+ static equals(a: SponsorMetadata | PlainMessage<SponsorMetadata> | undefined, b: SponsorMetadata | PlainMessage<SponsorMetadata> | undefined): boolean;
6753
+ }
6754
+ /**
6755
+ * @generated from message trading.v1.CampaignDetails
6756
+ */
6757
+ export declare class CampaignDetails extends Message<CampaignDetails> {
6758
+ /**
6759
+ * @generated from field: optional string name = 1;
6760
+ */
6761
+ name?: string;
6762
+ /**
6763
+ * @generated from field: optional string description = 2;
6764
+ */
6765
+ description?: string;
6766
+ constructor(data?: PartialMessage<CampaignDetails>);
6767
+ static readonly runtime: typeof proto3;
6768
+ static readonly typeName = "trading.v1.CampaignDetails";
6769
+ static readonly fields: FieldList;
6770
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CampaignDetails;
6771
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CampaignDetails;
6772
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CampaignDetails;
6773
+ static equals(a: CampaignDetails | PlainMessage<CampaignDetails> | undefined, b: CampaignDetails | PlainMessage<CampaignDetails> | undefined): boolean;
6762
6774
  }
6763
6775
  /**
6764
6776
  * @generated from message trading.v1.SponsorshipInfo
@@ -6773,9 +6785,13 @@ export declare class SponsorshipInfo extends Message<SponsorshipInfo> {
6773
6785
  */
6774
6786
  rejectionReason?: string;
6775
6787
  /**
6776
- * @generated from field: optional trading.v1.SponsorSummary sponsor = 3;
6788
+ * @generated from field: optional trading.v1.SponsorMetadata sponsor_metadata = 3;
6789
+ */
6790
+ sponsorMetadata?: SponsorMetadata;
6791
+ /**
6792
+ * @generated from field: optional trading.v1.CampaignDetails campaign = 4;
6777
6793
  */
6778
- sponsor?: SponsorSummary;
6794
+ campaign?: CampaignDetails;
6779
6795
  constructor(data?: PartialMessage<SponsorshipInfo>);
6780
6796
  static readonly runtime: typeof proto3;
6781
6797
  static readonly typeName = "trading.v1.SponsorshipInfo";
@@ -960,37 +960,6 @@ UserOperation.fields = proto3.util.newFieldList(() => [
960
960
  { no: 15, name: "factory", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
961
961
  { no: 16, name: "factory_data", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
962
962
  ]);
963
- /**
964
- * @generated from message trading.v1.SponsorMetadata
965
- */
966
- export class SponsorMetadata extends Message {
967
- constructor(data) {
968
- super();
969
- /**
970
- * @generated from field: string name = 1;
971
- */
972
- this.name = "";
973
- proto3.util.initPartial(data, this);
974
- }
975
- static fromBinary(bytes, options) {
976
- return new SponsorMetadata().fromBinary(bytes, options);
977
- }
978
- static fromJson(jsonValue, options) {
979
- return new SponsorMetadata().fromJson(jsonValue, options);
980
- }
981
- static fromJsonString(jsonString, options) {
982
- return new SponsorMetadata().fromJsonString(jsonString, options);
983
- }
984
- static equals(a, b) {
985
- return proto3.util.equals(SponsorMetadata, a, b);
986
- }
987
- }
988
- SponsorMetadata.runtime = proto3;
989
- SponsorMetadata.typeName = "trading.v1.SponsorMetadata";
990
- SponsorMetadata.fields = proto3.util.newFieldList(() => [
991
- { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
992
- { no: 2, name: "icon", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
993
- ]);
994
963
  /**
995
964
  * @generated from message trading.v1.Encode4337Response
996
965
  */
@@ -1025,7 +994,7 @@ Encode4337Response.typeName = "trading.v1.Encode4337Response";
1025
994
  Encode4337Response.fields = proto3.util.newFieldList(() => [
1026
995
  { no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1027
996
  { no: 2, name: "user_operation", kind: "message", T: UserOperation },
1028
- { no: 3, name: "sponsor_metadata", kind: "message", T: SponsorMetadata },
997
+ { no: 3, name: "sponsor_metadata", kind: "message", T: SponsorMetadata, opt: true },
1029
998
  { no: 4, name: "gas_sponsored", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1030
999
  { no: 5, name: "gas_sponsorship_rejection_reason", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1031
1000
  ]);
@@ -1072,6 +1041,7 @@ Swap4337Request.fields = proto3.util.newFieldList(() => [
1072
1041
  { no: 5, name: "permit_data", kind: "message", T: PermitSingleData, opt: true },
1073
1042
  { no: 6, name: "deadline", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1074
1043
  { no: 7, name: "eip7702_auth", kind: "message", T: Eip7702Authorization, opt: true },
1044
+ { no: 8, name: "sponsorship_info", kind: "message", T: SponsorshipInfo, opt: true },
1075
1045
  ]);
1076
1046
  /**
1077
1047
  * @generated from message trading.v1.Swap4337Response
@@ -1109,6 +1079,7 @@ Swap4337Response.fields = proto3.util.newFieldList(() => [
1109
1079
  { no: 2, name: "user_operation", kind: "message", T: UserOperation },
1110
1080
  { no: 3, name: "gas_sponsored", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1111
1081
  { no: 4, name: "gas_sponsorship_rejection_reason", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1082
+ { no: 5, name: "paymaster_service_context", kind: "message", T: PaymasterServiceContext, opt: true },
1112
1083
  ]);
1113
1084
  /**
1114
1085
  * @generated from message trading.v1.Swap5792Request
@@ -1149,6 +1120,7 @@ Swap5792Request.fields = proto3.util.newFieldList(() => [
1149
1120
  { no: 5, name: "deadline", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1150
1121
  { no: 6, name: "urgency", kind: "enum", T: proto3.getEnumType(Urgency), opt: true },
1151
1122
  { no: 7, name: "urgency_overrides", kind: "message", T: UrgencyWithOverrides, opt: true },
1123
+ { no: 8, name: "sponsorship_info", kind: "message", T: SponsorshipInfo, opt: true },
1152
1124
  ]);
1153
1125
  /**
1154
1126
  * @generated from message trading.v1.Swap5792Response
@@ -2625,7 +2597,6 @@ ClassicQuote.fields = proto3.util.newFieldList(() => [
2625
2597
  { no: 22, name: "portion_bips", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
2626
2598
  { no: 23, name: "portion_amount", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2627
2599
  { no: 24, name: "portion_recipient", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2628
- { no: 25, name: "sponsorship_info", kind: "message", T: SponsorshipInfo, opt: true },
2629
2600
  { no: 26, name: "swap_steps", kind: "message", T: SwapStep, repeated: true },
2630
2601
  ]);
2631
2602
  /**
@@ -3872,7 +3843,6 @@ WrapUnwrapQuote.fields = proto3.util.newFieldList(() => [
3872
3843
  { no: 11, name: "gas_price", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
3873
3844
  { no: 12, name: "max_fee_per_gas", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
3874
3845
  { no: 13, name: "max_priority_fee_per_gas", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
3875
- { no: 14, name: "sponsorship_info", kind: "message", T: SponsorshipInfo, opt: true },
3876
3846
  ]);
3877
3847
  /**
3878
3848
  * @generated from message trading.v1.SwapRequest
@@ -4103,6 +4073,7 @@ GetSwapsRequest.fields = proto3.util.newFieldList(() => [
4103
4073
  { no: 1, name: "tx_hashes", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
4104
4074
  { no: 2, name: "chain_id", kind: "enum", T: proto3.getEnumType(ChainId) },
4105
4075
  { no: 3, name: "user_op_hashes", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
4076
+ { no: 4, name: "swapper", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
4106
4077
  ]);
4107
4078
  /**
4108
4079
  * @generated from message trading.v1.GetSwapsResponse
@@ -4185,6 +4156,8 @@ SwapResult.fields = proto3.util.newFieldList(() => [
4185
4156
  { no: 4, name: "swap_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
4186
4157
  { no: 5, name: "user_op_hash", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
4187
4158
  { no: 6, name: "hash_type", kind: "enum", T: proto3.getEnumType(SwapResult_HashType) },
4159
+ { no: 7, name: "paymaster", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
4160
+ { no: 8, name: "sponsorship", kind: "message", T: SponsorMetadata, opt: true },
4188
4161
  ]);
4189
4162
  /**
4190
4163
  * @generated from enum trading.v1.SwapResult.SwapStatus
@@ -5495,7 +5468,6 @@ BridgeQuote.fields = proto3.util.newFieldList(() => [
5495
5468
  { no: 17, name: "fill_deadline", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
5496
5469
  { no: 18, name: "gas_fee_usd", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
5497
5470
  { no: 19, name: "gas_estimates", kind: "message", T: GasEstimate, repeated: true },
5498
- { no: 20, name: "sponsorship_info", kind: "message", T: SponsorshipInfo, opt: true },
5499
5471
  ]);
5500
5472
  /**
5501
5473
  * @generated from message trading.v1.DutchLimitOrderInfo
@@ -7976,31 +7948,58 @@ WalletInfo.fields = proto3.util.newFieldList(() => [
7976
7948
  { no: 3, name: "rdns", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
7977
7949
  ]);
7978
7950
  /**
7979
- * @generated from message trading.v1.SponsorSummary
7951
+ * @generated from message trading.v1.SponsorMetadata
7952
+ */
7953
+ export class SponsorMetadata extends Message {
7954
+ constructor(data) {
7955
+ super();
7956
+ proto3.util.initPartial(data, this);
7957
+ }
7958
+ static fromBinary(bytes, options) {
7959
+ return new SponsorMetadata().fromBinary(bytes, options);
7960
+ }
7961
+ static fromJson(jsonValue, options) {
7962
+ return new SponsorMetadata().fromJson(jsonValue, options);
7963
+ }
7964
+ static fromJsonString(jsonString, options) {
7965
+ return new SponsorMetadata().fromJsonString(jsonString, options);
7966
+ }
7967
+ static equals(a, b) {
7968
+ return proto3.util.equals(SponsorMetadata, a, b);
7969
+ }
7970
+ }
7971
+ SponsorMetadata.runtime = proto3;
7972
+ SponsorMetadata.typeName = "trading.v1.SponsorMetadata";
7973
+ SponsorMetadata.fields = proto3.util.newFieldList(() => [
7974
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
7975
+ { no: 2, name: "icon", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
7976
+ ]);
7977
+ /**
7978
+ * @generated from message trading.v1.CampaignDetails
7980
7979
  */
7981
- export class SponsorSummary extends Message {
7980
+ export class CampaignDetails extends Message {
7982
7981
  constructor(data) {
7983
7982
  super();
7984
7983
  proto3.util.initPartial(data, this);
7985
7984
  }
7986
7985
  static fromBinary(bytes, options) {
7987
- return new SponsorSummary().fromBinary(bytes, options);
7986
+ return new CampaignDetails().fromBinary(bytes, options);
7988
7987
  }
7989
7988
  static fromJson(jsonValue, options) {
7990
- return new SponsorSummary().fromJson(jsonValue, options);
7989
+ return new CampaignDetails().fromJson(jsonValue, options);
7991
7990
  }
7992
7991
  static fromJsonString(jsonString, options) {
7993
- return new SponsorSummary().fromJsonString(jsonString, options);
7992
+ return new CampaignDetails().fromJsonString(jsonString, options);
7994
7993
  }
7995
7994
  static equals(a, b) {
7996
- return proto3.util.equals(SponsorSummary, a, b);
7995
+ return proto3.util.equals(CampaignDetails, a, b);
7997
7996
  }
7998
7997
  }
7999
- SponsorSummary.runtime = proto3;
8000
- SponsorSummary.typeName = "trading.v1.SponsorSummary";
8001
- SponsorSummary.fields = proto3.util.newFieldList(() => [
7998
+ CampaignDetails.runtime = proto3;
7999
+ CampaignDetails.typeName = "trading.v1.CampaignDetails";
8000
+ CampaignDetails.fields = proto3.util.newFieldList(() => [
8002
8001
  { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
8003
- { no: 2, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
8002
+ { no: 2, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
8004
8003
  ]);
8005
8004
  /**
8006
8005
  * @generated from message trading.v1.SponsorshipInfo
@@ -8028,5 +8027,6 @@ SponsorshipInfo.typeName = "trading.v1.SponsorshipInfo";
8028
8027
  SponsorshipInfo.fields = proto3.util.newFieldList(() => [
8029
8028
  { no: 1, name: "sponsored", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
8030
8029
  { no: 2, name: "rejection_reason", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
8031
- { no: 3, name: "sponsor", kind: "message", T: SponsorSummary, opt: true },
8030
+ { no: 3, name: "sponsor_metadata", kind: "message", T: SponsorMetadata, opt: true },
8031
+ { no: 4, name: "campaign", kind: "message", T: CampaignDetails, opt: true },
8032
8032
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-trading",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },