@uniswap/client-data-api 0.0.107 → 0.0.108
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.
- package/dist/data/v1/types_pb.d.ts +29 -0
- package/dist/data/v1/types_pb.js +36 -0
- package/package.json +1 -1
|
@@ -1289,6 +1289,10 @@ export declare class OnChainTransaction extends Message<OnChainTransaction> {
|
|
|
1289
1289
|
* @generated from field: optional data.v1.Paymaster paymaster = 13;
|
|
1290
1290
|
*/
|
|
1291
1291
|
paymaster?: Paymaster;
|
|
1292
|
+
/**
|
|
1293
|
+
* @generated from field: optional data.v1.SponsorshipMetadata sponsorship = 14;
|
|
1294
|
+
*/
|
|
1295
|
+
sponsorship?: SponsorshipMetadata;
|
|
1292
1296
|
constructor(data?: PartialMessage<OnChainTransaction>);
|
|
1293
1297
|
static readonly runtime: typeof proto3;
|
|
1294
1298
|
static readonly typeName = "data.v1.OnChainTransaction";
|
|
@@ -1935,6 +1939,31 @@ export declare class Paymaster extends Message<Paymaster> {
|
|
|
1935
1939
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Paymaster;
|
|
1936
1940
|
static equals(a: Paymaster | PlainMessage<Paymaster> | undefined, b: Paymaster | PlainMessage<Paymaster> | undefined): boolean;
|
|
1937
1941
|
}
|
|
1942
|
+
/**
|
|
1943
|
+
* Sponsor identity for a gas-sponsored transaction, resolved from the
|
|
1944
|
+
* internal Sponsorship service (platform-service). Complements Paymaster,
|
|
1945
|
+
* which only carries the on-chain paymaster contract address.
|
|
1946
|
+
*
|
|
1947
|
+
* @generated from message data.v1.SponsorshipMetadata
|
|
1948
|
+
*/
|
|
1949
|
+
export declare class SponsorshipMetadata extends Message<SponsorshipMetadata> {
|
|
1950
|
+
/**
|
|
1951
|
+
* @generated from field: string name = 1;
|
|
1952
|
+
*/
|
|
1953
|
+
name: string;
|
|
1954
|
+
/**
|
|
1955
|
+
* @generated from field: optional string logo_url = 2;
|
|
1956
|
+
*/
|
|
1957
|
+
logoUrl?: string;
|
|
1958
|
+
constructor(data?: PartialMessage<SponsorshipMetadata>);
|
|
1959
|
+
static readonly runtime: typeof proto3;
|
|
1960
|
+
static readonly typeName = "data.v1.SponsorshipMetadata";
|
|
1961
|
+
static readonly fields: FieldList;
|
|
1962
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SponsorshipMetadata;
|
|
1963
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SponsorshipMetadata;
|
|
1964
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SponsorshipMetadata;
|
|
1965
|
+
static equals(a: SponsorshipMetadata | PlainMessage<SponsorshipMetadata> | undefined, b: SponsorshipMetadata | PlainMessage<SponsorshipMetadata> | undefined): boolean;
|
|
1966
|
+
}
|
|
1938
1967
|
/**
|
|
1939
1968
|
* @generated from message data.v1.WalletProfitLoss
|
|
1940
1969
|
*/
|
package/dist/data/v1/types_pb.js
CHANGED
|
@@ -1693,6 +1693,7 @@ OnChainTransaction.fields = proto3.util.newFieldList(() => [
|
|
|
1693
1693
|
{ no: 11, name: "protocol", kind: "message", T: ProtocolMetadata, opt: true },
|
|
1694
1694
|
{ no: 12, name: "fee", kind: "message", T: TransactionFee },
|
|
1695
1695
|
{ no: 13, name: "paymaster", kind: "message", T: Paymaster, opt: true },
|
|
1696
|
+
{ no: 14, name: "sponsorship", kind: "message", T: SponsorshipMetadata, opt: true },
|
|
1696
1697
|
]);
|
|
1697
1698
|
/**
|
|
1698
1699
|
* @generated from message data.v1.Transfer
|
|
@@ -2406,6 +2407,41 @@ Paymaster.fields = proto3.util.newFieldList(() => [
|
|
|
2406
2407
|
{ no: 1, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2407
2408
|
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
2408
2409
|
]);
|
|
2410
|
+
/**
|
|
2411
|
+
* Sponsor identity for a gas-sponsored transaction, resolved from the
|
|
2412
|
+
* internal Sponsorship service (platform-service). Complements Paymaster,
|
|
2413
|
+
* which only carries the on-chain paymaster contract address.
|
|
2414
|
+
*
|
|
2415
|
+
* @generated from message data.v1.SponsorshipMetadata
|
|
2416
|
+
*/
|
|
2417
|
+
export class SponsorshipMetadata extends Message {
|
|
2418
|
+
constructor(data) {
|
|
2419
|
+
super();
|
|
2420
|
+
/**
|
|
2421
|
+
* @generated from field: string name = 1;
|
|
2422
|
+
*/
|
|
2423
|
+
this.name = "";
|
|
2424
|
+
proto3.util.initPartial(data, this);
|
|
2425
|
+
}
|
|
2426
|
+
static fromBinary(bytes, options) {
|
|
2427
|
+
return new SponsorshipMetadata().fromBinary(bytes, options);
|
|
2428
|
+
}
|
|
2429
|
+
static fromJson(jsonValue, options) {
|
|
2430
|
+
return new SponsorshipMetadata().fromJson(jsonValue, options);
|
|
2431
|
+
}
|
|
2432
|
+
static fromJsonString(jsonString, options) {
|
|
2433
|
+
return new SponsorshipMetadata().fromJsonString(jsonString, options);
|
|
2434
|
+
}
|
|
2435
|
+
static equals(a, b) {
|
|
2436
|
+
return proto3.util.equals(SponsorshipMetadata, a, b);
|
|
2437
|
+
}
|
|
2438
|
+
}
|
|
2439
|
+
SponsorshipMetadata.runtime = proto3;
|
|
2440
|
+
SponsorshipMetadata.typeName = "data.v1.SponsorshipMetadata";
|
|
2441
|
+
SponsorshipMetadata.fields = proto3.util.newFieldList(() => [
|
|
2442
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
2443
|
+
{ no: 2, name: "logo_url", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
|
|
2444
|
+
]);
|
|
2409
2445
|
/**
|
|
2410
2446
|
* @generated from message data.v1.WalletProfitLoss
|
|
2411
2447
|
*/
|