@uniswap/client-data-api 0.0.4 → 0.0.6

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.
@@ -697,9 +697,9 @@ export declare class OnChainTransaction extends Message<OnChainTransaction> {
697
697
  */
698
698
  blockNumber: number;
699
699
  /**
700
- * @generated from field: uint32 timestamp_millis = 3;
700
+ * @generated from field: uint64 timestamp_millis = 3;
701
701
  */
702
- timestampMillis: number;
702
+ timestampMillis: bigint;
703
703
  /**
704
704
  * @generated from field: string transaction_hash = 4;
705
705
  */
@@ -863,9 +863,9 @@ export declare class UniswapXTransaction extends Message<UniswapXTransaction> {
863
863
  */
864
864
  chainId: number;
865
865
  /**
866
- * @generated from field: uint32 timestamp_millis = 2;
866
+ * @generated from field: uint64 timestamp_millis = 2;
867
867
  */
868
- timestampMillis: number;
868
+ timestampMillis: bigint;
869
869
  /**
870
870
  * @generated from field: string offerer = 3;
871
871
  */
@@ -891,9 +891,9 @@ export declare class UniswapXTransaction extends Message<UniswapXTransaction> {
891
891
  */
892
892
  outputTokenAmount?: Amount;
893
893
  /**
894
- * @generated from field: uint32 expiry_millis = 9;
894
+ * @generated from field: uint64 expiry_millis = 9;
895
895
  */
896
- expiryMillis: number;
896
+ expiryMillis: bigint;
897
897
  /**
898
898
  * @generated from field: string encoded_order = 10;
899
899
  */
@@ -924,9 +924,9 @@ export declare class FiatOnRampTransaction extends Message<FiatOnRampTransaction
924
924
  */
925
925
  chainId: number;
926
926
  /**
927
- * @generated from field: uint32 timestamp_millis = 2;
927
+ * @generated from field: uint64 timestamp_millis = 2;
928
928
  */
929
- timestampMillis: number;
929
+ timestampMillis: bigint;
930
930
  /**
931
931
  * @generated from field: string wallet_address = 3;
932
932
  */
@@ -2,7 +2,7 @@
2
2
  // @generated from file data/v1/types.proto (package data.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- import { Message, proto3 } from "@bufbuild/protobuf";
5
+ import { Message, proto3, protoInt64 } from "@bufbuild/protobuf";
6
6
  /**
7
7
  * @generated from enum data.v1.TokenType
8
8
  */
@@ -961,9 +961,9 @@ export class OnChainTransaction extends Message {
961
961
  */
962
962
  this.blockNumber = 0;
963
963
  /**
964
- * @generated from field: uint32 timestamp_millis = 3;
964
+ * @generated from field: uint64 timestamp_millis = 3;
965
965
  */
966
- this.timestampMillis = 0;
966
+ this.timestampMillis = protoInt64.zero;
967
967
  /**
968
968
  * @generated from field: string transaction_hash = 4;
969
969
  */
@@ -1012,7 +1012,7 @@ OnChainTransaction.typeName = "data.v1.OnChainTransaction";
1012
1012
  OnChainTransaction.fields = proto3.util.newFieldList(() => [
1013
1013
  { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1014
1014
  { no: 2, name: "block_number", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1015
- { no: 3, name: "timestamp_millis", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1015
+ { no: 3, name: "timestamp_millis", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1016
1016
  { no: 4, name: "transaction_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1017
1017
  { no: 5, name: "from", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1018
1018
  { no: 6, name: "to", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -1153,9 +1153,9 @@ export class UniswapXTransaction extends Message {
1153
1153
  */
1154
1154
  this.chainId = 0;
1155
1155
  /**
1156
- * @generated from field: uint32 timestamp_millis = 2;
1156
+ * @generated from field: uint64 timestamp_millis = 2;
1157
1157
  */
1158
- this.timestampMillis = 0;
1158
+ this.timestampMillis = protoInt64.zero;
1159
1159
  /**
1160
1160
  * @generated from field: string offerer = 3;
1161
1161
  */
@@ -1165,9 +1165,9 @@ export class UniswapXTransaction extends Message {
1165
1165
  */
1166
1166
  this.orderHash = "";
1167
1167
  /**
1168
- * @generated from field: uint32 expiry_millis = 9;
1168
+ * @generated from field: uint64 expiry_millis = 9;
1169
1169
  */
1170
- this.expiryMillis = 0;
1170
+ this.expiryMillis = protoInt64.zero;
1171
1171
  /**
1172
1172
  * @generated from field: string encoded_order = 10;
1173
1173
  */
@@ -1199,14 +1199,14 @@ UniswapXTransaction.runtime = proto3;
1199
1199
  UniswapXTransaction.typeName = "data.v1.UniswapXTransaction";
1200
1200
  UniswapXTransaction.fields = proto3.util.newFieldList(() => [
1201
1201
  { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1202
- { no: 2, name: "timestamp_millis", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1202
+ { no: 2, name: "timestamp_millis", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1203
1203
  { no: 3, name: "offerer", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1204
1204
  { no: 4, name: "order_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1205
1205
  { no: 5, name: "input_token", kind: "message", T: Token },
1206
1206
  { no: 6, name: "input_token_amount", kind: "message", T: Amount },
1207
1207
  { no: 7, name: "output_token", kind: "message", T: Token },
1208
1208
  { no: 8, name: "output_token_amount", kind: "message", T: Amount },
1209
- { no: 9, name: "expiry_millis", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1209
+ { no: 9, name: "expiry_millis", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1210
1210
  { no: 10, name: "encoded_order", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1211
1211
  { no: 11, name: "order_type", kind: "enum", T: proto3.getEnumType(UniswapXOrderType) },
1212
1212
  { no: 12, name: "status", kind: "enum", T: proto3.getEnumType(UniswapXTransactionStatus) },
@@ -1222,9 +1222,9 @@ export class FiatOnRampTransaction extends Message {
1222
1222
  */
1223
1223
  this.chainId = 0;
1224
1224
  /**
1225
- * @generated from field: uint32 timestamp_millis = 2;
1225
+ * @generated from field: uint64 timestamp_millis = 2;
1226
1226
  */
1227
- this.timestampMillis = 0;
1227
+ this.timestampMillis = protoInt64.zero;
1228
1228
  /**
1229
1229
  * @generated from field: string wallet_address = 3;
1230
1230
  */
@@ -1280,7 +1280,7 @@ FiatOnRampTransaction.runtime = proto3;
1280
1280
  FiatOnRampTransaction.typeName = "data.v1.FiatOnRampTransaction";
1281
1281
  FiatOnRampTransaction.fields = proto3.util.newFieldList(() => [
1282
1282
  { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1283
- { no: 2, name: "timestamp_millis", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1283
+ { no: 2, name: "timestamp_millis", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
1284
1284
  { no: 3, name: "wallet_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1285
1285
  { no: 4, name: "token", kind: "message", T: Token },
1286
1286
  { no: 5, name: "token_amount", kind: "message", T: Amount },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },