@uniswap/client-trading 0.1.6 → 0.1.7

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.
@@ -585,11 +585,7 @@ export declare class Eip7702Authorization extends Message<Eip7702Authorization>
585
585
  */
586
586
  s: string;
587
587
  /**
588
- * @generated from field: string v = 6;
589
- */
590
- v: string;
591
- /**
592
- * @generated from field: string y_parity = 7;
588
+ * @generated from field: string y_parity = 6;
593
589
  */
594
590
  yParity: string;
595
591
  constructor(data?: PartialMessage<Eip7702Authorization>);
@@ -675,21 +671,21 @@ export declare class UserOperation extends Message<UserOperation> {
675
671
  */
676
672
  maxPriorityFeePerGas: string;
677
673
  /**
678
- * @generated from field: string paymaster = 9;
674
+ * @generated from field: optional string paymaster = 9;
679
675
  */
680
- paymaster: string;
676
+ paymaster?: string;
681
677
  /**
682
- * @generated from field: string paymaster_verification_gas_limit = 10;
678
+ * @generated from field: optional string paymaster_verification_gas_limit = 10;
683
679
  */
684
- paymasterVerificationGasLimit: string;
680
+ paymasterVerificationGasLimit?: string;
685
681
  /**
686
- * @generated from field: string paymaster_post_op_gas_limit = 11;
682
+ * @generated from field: optional string paymaster_post_op_gas_limit = 11;
687
683
  */
688
- paymasterPostOpGasLimit: string;
684
+ paymasterPostOpGasLimit?: string;
689
685
  /**
690
- * @generated from field: string paymaster_data = 12;
686
+ * @generated from field: optional string paymaster_data = 12;
691
687
  */
692
- paymasterData: string;
688
+ paymasterData?: string;
693
689
  /**
694
690
  * @generated from field: string signature = 13;
695
691
  */
@@ -724,9 +720,9 @@ export declare class SponsorMetadata extends Message<SponsorMetadata> {
724
720
  */
725
721
  name: string;
726
722
  /**
727
- * @generated from field: string icon = 2;
723
+ * @generated from field: optional string icon = 2;
728
724
  */
729
- icon: string;
725
+ icon?: string;
730
726
  constructor(data?: PartialMessage<SponsorMetadata>);
731
727
  static readonly runtime: typeof proto3;
732
728
  static readonly typeName = "trading.v1.SponsorMetadata";
@@ -757,9 +753,9 @@ export declare class Encode4337Response extends Message<Encode4337Response> {
757
753
  */
758
754
  gasSponsored: boolean;
759
755
  /**
760
- * @generated from field: string fallback_reason = 5;
756
+ * @generated from field: optional string gas_sponsorship_rejection_reason = 5;
761
757
  */
762
- fallbackReason: string;
758
+ gasSponsorshipRejectionReason?: string;
763
759
  constructor(data?: PartialMessage<Encode4337Response>);
764
760
  static readonly runtime: typeof proto3;
765
761
  static readonly typeName = "trading.v1.Encode4337Response";
@@ -5837,9 +5833,9 @@ export declare class SponsorSummary extends Message<SponsorSummary> {
5837
5833
  */
5838
5834
  export declare class SponsorshipInfo extends Message<SponsorshipInfo> {
5839
5835
  /**
5840
- * @generated from field: bool sponsored = 1;
5836
+ * @generated from field: optional bool sponsored = 1;
5841
5837
  */
5842
- sponsored: boolean;
5838
+ sponsored?: boolean;
5843
5839
  /**
5844
5840
  * @generated from field: optional string rejection_reason = 2;
5845
5841
  */
@@ -798,11 +798,7 @@ export class Eip7702Authorization extends Message {
798
798
  */
799
799
  this.s = "";
800
800
  /**
801
- * @generated from field: string v = 6;
802
- */
803
- this.v = "";
804
- /**
805
- * @generated from field: string y_parity = 7;
801
+ * @generated from field: string y_parity = 6;
806
802
  */
807
803
  this.yParity = "";
808
804
  proto3.util.initPartial(data, this);
@@ -828,8 +824,7 @@ Eip7702Authorization.fields = proto3.util.newFieldList(() => [
828
824
  { no: 3, name: "nonce", kind: "scalar", T: 9 /* ScalarType.STRING */ },
829
825
  { no: 4, name: "r", kind: "scalar", T: 9 /* ScalarType.STRING */ },
830
826
  { no: 5, name: "s", kind: "scalar", T: 9 /* ScalarType.STRING */ },
831
- { no: 6, name: "v", kind: "scalar", T: 9 /* ScalarType.STRING */ },
832
- { no: 7, name: "y_parity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
827
+ { no: 6, name: "y_parity", kind: "scalar", T: 9 /* ScalarType.STRING */ },
833
828
  ]);
834
829
  /**
835
830
  * @generated from message trading.v1.Encode4337Request
@@ -916,22 +911,6 @@ export class UserOperation extends Message {
916
911
  * @generated from field: string max_priority_fee_per_gas = 8;
917
912
  */
918
913
  this.maxPriorityFeePerGas = "";
919
- /**
920
- * @generated from field: string paymaster = 9;
921
- */
922
- this.paymaster = "";
923
- /**
924
- * @generated from field: string paymaster_verification_gas_limit = 10;
925
- */
926
- this.paymasterVerificationGasLimit = "";
927
- /**
928
- * @generated from field: string paymaster_post_op_gas_limit = 11;
929
- */
930
- this.paymasterPostOpGasLimit = "";
931
- /**
932
- * @generated from field: string paymaster_data = 12;
933
- */
934
- this.paymasterData = "";
935
914
  /**
936
915
  * @generated from field: string signature = 13;
937
916
  */
@@ -962,10 +941,10 @@ UserOperation.fields = proto3.util.newFieldList(() => [
962
941
  { no: 6, name: "pre_verification_gas", kind: "scalar", T: 9 /* ScalarType.STRING */ },
963
942
  { no: 7, name: "max_fee_per_gas", kind: "scalar", T: 9 /* ScalarType.STRING */ },
964
943
  { no: 8, name: "max_priority_fee_per_gas", kind: "scalar", T: 9 /* ScalarType.STRING */ },
965
- { no: 9, name: "paymaster", kind: "scalar", T: 9 /* ScalarType.STRING */ },
966
- { no: 10, name: "paymaster_verification_gas_limit", kind: "scalar", T: 9 /* ScalarType.STRING */ },
967
- { no: 11, name: "paymaster_post_op_gas_limit", kind: "scalar", T: 9 /* ScalarType.STRING */ },
968
- { no: 12, name: "paymaster_data", kind: "scalar", T: 9 /* ScalarType.STRING */ },
944
+ { no: 9, name: "paymaster", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
945
+ { no: 10, name: "paymaster_verification_gas_limit", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
946
+ { no: 11, name: "paymaster_post_op_gas_limit", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
947
+ { no: 12, name: "paymaster_data", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
969
948
  { no: 13, name: "signature", kind: "scalar", T: 9 /* ScalarType.STRING */ },
970
949
  { no: 14, name: "eip7702_auth", kind: "message", T: Eip7702Authorization, opt: true },
971
950
  { no: 15, name: "factory", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
@@ -981,10 +960,6 @@ export class SponsorMetadata extends Message {
981
960
  * @generated from field: string name = 1;
982
961
  */
983
962
  this.name = "";
984
- /**
985
- * @generated from field: string icon = 2;
986
- */
987
- this.icon = "";
988
963
  proto3.util.initPartial(data, this);
989
964
  }
990
965
  static fromBinary(bytes, options) {
@@ -1004,7 +979,7 @@ SponsorMetadata.runtime = proto3;
1004
979
  SponsorMetadata.typeName = "trading.v1.SponsorMetadata";
1005
980
  SponsorMetadata.fields = proto3.util.newFieldList(() => [
1006
981
  { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1007
- { no: 2, name: "icon", kind: "scalar", T: 9 /* ScalarType.STRING */ },
982
+ { no: 2, name: "icon", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1008
983
  ]);
1009
984
  /**
1010
985
  * @generated from message trading.v1.Encode4337Response
@@ -1020,10 +995,6 @@ export class Encode4337Response extends Message {
1020
995
  * @generated from field: bool gas_sponsored = 4;
1021
996
  */
1022
997
  this.gasSponsored = false;
1023
- /**
1024
- * @generated from field: string fallback_reason = 5;
1025
- */
1026
- this.fallbackReason = "";
1027
998
  proto3.util.initPartial(data, this);
1028
999
  }
1029
1000
  static fromBinary(bytes, options) {
@@ -1046,7 +1017,7 @@ Encode4337Response.fields = proto3.util.newFieldList(() => [
1046
1017
  { no: 2, name: "user_operation", kind: "message", T: UserOperation },
1047
1018
  { no: 3, name: "sponsor_metadata", kind: "message", T: SponsorMetadata },
1048
1019
  { no: 4, name: "gas_sponsored", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1049
- { no: 5, name: "fallback_reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1020
+ { no: 5, name: "gas_sponsorship_rejection_reason", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1050
1021
  ]);
1051
1022
  /**
1052
1023
  * @generated from message trading.v1.Swap5792Request
@@ -6912,10 +6883,6 @@ SponsorSummary.fields = proto3.util.newFieldList(() => [
6912
6883
  export class SponsorshipInfo extends Message {
6913
6884
  constructor(data) {
6914
6885
  super();
6915
- /**
6916
- * @generated from field: bool sponsored = 1;
6917
- */
6918
- this.sponsored = false;
6919
6886
  proto3.util.initPartial(data, this);
6920
6887
  }
6921
6888
  static fromBinary(bytes, options) {
@@ -6934,7 +6901,7 @@ export class SponsorshipInfo extends Message {
6934
6901
  SponsorshipInfo.runtime = proto3;
6935
6902
  SponsorshipInfo.typeName = "trading.v1.SponsorshipInfo";
6936
6903
  SponsorshipInfo.fields = proto3.util.newFieldList(() => [
6937
- { no: 1, name: "sponsored", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
6904
+ { no: 1, name: "sponsored", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
6938
6905
  { no: 2, name: "rejection_reason", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
6939
6906
  { no: 3, name: "sponsor", kind: "message", T: SponsorSummary, opt: true },
6940
6907
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-trading",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },