@uniswap/client-data-api 0.0.6 → 0.0.8

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.
@@ -188,7 +188,15 @@ export declare enum OnChainTransactionLabel {
188
188
  /**
189
189
  * @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_WITHDRAW = 19;
190
190
  */
191
- WITHDRAW = 19
191
+ WITHDRAW = 19,
192
+ /**
193
+ * @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_WRAP = 20;
194
+ */
195
+ WRAP = 20,
196
+ /**
197
+ * @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_UNWRAP = 21;
198
+ */
199
+ UNWRAP = 21
192
200
  }
193
201
  /**
194
202
  * @generated from enum data.v1.OnChainTransactionStatus
@@ -960,21 +968,25 @@ export declare class FiatOnRampTransaction extends Message<FiatOnRampTransaction
960
968
  */
961
969
  externalSessionId: string;
962
970
  /**
963
- * @generated from field: double network_fee = 11;
964
- */
965
- networkFee: number;
966
- /**
967
- * @generated from field: double transaction_fee = 12;
971
+ * @generated from field: double provider_fee = 11;
968
972
  */
969
- transactionFee: number;
973
+ providerFee: number;
970
974
  /**
971
- * @generated from field: double total_fee = 13;
975
+ * @generated from field: double total_fee = 12;
972
976
  */
973
977
  totalFee: number;
974
978
  /**
975
- * @generated from field: data.v1.FiatOnRampTransactionStatus status = 14;
979
+ * @generated from field: data.v1.FiatOnRampTransactionStatus status = 13;
976
980
  */
977
981
  status: FiatOnRampTransactionStatus;
982
+ /**
983
+ * @generated from field: string transaction_hash = 14;
984
+ */
985
+ transactionHash: string;
986
+ /**
987
+ * @generated from field: data.v1.TransactionFee transaction_fee = 15;
988
+ */
989
+ transactionFee?: TransactionFee;
978
990
  constructor(data?: PartialMessage<FiatOnRampTransaction>);
979
991
  static readonly runtime: typeof proto3;
980
992
  static readonly typeName = "data.v1.FiatOnRampTransaction";
@@ -233,6 +233,14 @@ export var OnChainTransactionLabel;
233
233
  * @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_WITHDRAW = 19;
234
234
  */
235
235
  OnChainTransactionLabel[OnChainTransactionLabel["WITHDRAW"] = 19] = "WITHDRAW";
236
+ /**
237
+ * @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_WRAP = 20;
238
+ */
239
+ OnChainTransactionLabel[OnChainTransactionLabel["WRAP"] = 20] = "WRAP";
240
+ /**
241
+ * @generated from enum value: ON_CHAIN_TRANSACTION_LABEL_UNWRAP = 21;
242
+ */
243
+ OnChainTransactionLabel[OnChainTransactionLabel["UNWRAP"] = 21] = "UNWRAP";
236
244
  })(OnChainTransactionLabel || (OnChainTransactionLabel = {}));
237
245
  // Retrieve enum metadata with: proto3.getEnumType(OnChainTransactionLabel)
238
246
  proto3.util.setEnumType(OnChainTransactionLabel, "data.v1.OnChainTransactionLabel", [
@@ -256,6 +264,8 @@ proto3.util.setEnumType(OnChainTransactionLabel, "data.v1.OnChainTransactionLabe
256
264
  { no: 17, name: "ON_CHAIN_TRANSACTION_LABEL_TRANSFER" },
257
265
  { no: 18, name: "ON_CHAIN_TRANSACTION_LABEL_UNSTAKE" },
258
266
  { no: 19, name: "ON_CHAIN_TRANSACTION_LABEL_WITHDRAW" },
267
+ { no: 20, name: "ON_CHAIN_TRANSACTION_LABEL_WRAP" },
268
+ { no: 21, name: "ON_CHAIN_TRANSACTION_LABEL_UNWRAP" },
259
269
  ]);
260
270
  /**
261
271
  * @generated from enum data.v1.OnChainTransactionStatus
@@ -1246,21 +1256,21 @@ export class FiatOnRampTransaction extends Message {
1246
1256
  */
1247
1257
  this.externalSessionId = "";
1248
1258
  /**
1249
- * @generated from field: double network_fee = 11;
1259
+ * @generated from field: double provider_fee = 11;
1250
1260
  */
1251
- this.networkFee = 0;
1261
+ this.providerFee = 0;
1252
1262
  /**
1253
- * @generated from field: double transaction_fee = 12;
1254
- */
1255
- this.transactionFee = 0;
1256
- /**
1257
- * @generated from field: double total_fee = 13;
1263
+ * @generated from field: double total_fee = 12;
1258
1264
  */
1259
1265
  this.totalFee = 0;
1260
1266
  /**
1261
- * @generated from field: data.v1.FiatOnRampTransactionStatus status = 14;
1267
+ * @generated from field: data.v1.FiatOnRampTransactionStatus status = 13;
1262
1268
  */
1263
1269
  this.status = FiatOnRampTransactionStatus.FAILED;
1270
+ /**
1271
+ * @generated from field: string transaction_hash = 14;
1272
+ */
1273
+ this.transactionHash = "";
1264
1274
  proto3.util.initPartial(data, this);
1265
1275
  }
1266
1276
  static fromBinary(bytes, options) {
@@ -1289,10 +1299,11 @@ FiatOnRampTransaction.fields = proto3.util.newFieldList(() => [
1289
1299
  { no: 8, name: "service_provider", kind: "message", T: OnRampServiceProvider },
1290
1300
  { no: 9, name: "transaction_reference_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1291
1301
  { no: 10, name: "external_session_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1292
- { no: 11, name: "network_fee", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1293
- { no: 12, name: "transaction_fee", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1294
- { no: 13, name: "total_fee", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1295
- { no: 14, name: "status", kind: "enum", T: proto3.getEnumType(FiatOnRampTransactionStatus) },
1302
+ { no: 11, name: "provider_fee", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1303
+ { no: 12, name: "total_fee", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
1304
+ { no: 13, name: "status", kind: "enum", T: proto3.getEnumType(FiatOnRampTransactionStatus) },
1305
+ { no: 14, name: "transaction_hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1306
+ { no: 15, name: "transaction_fee", kind: "message", T: TransactionFee },
1296
1307
  ]);
1297
1308
  /**
1298
1309
  * @generated from message data.v1.OnRampServiceProvider
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },