@farcaster/hub-web 0.8.12 → 0.9.0
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/index.d.ts +66 -3
- package/dist/index.js +1045 -888
- package/dist/index.mjs +1045 -888
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
@@ -15717,6 +15717,10 @@ declare enum StoreType {
|
|
15717
15717
|
VERIFICATIONS = 5,
|
15718
15718
|
USERNAME_PROOFS = 6
|
15719
15719
|
}
|
15720
|
+
declare enum StorageUnitType {
|
15721
|
+
UNIT_TYPE_LEGACY = 0,
|
15722
|
+
UNIT_TYPE_2024 = 1
|
15723
|
+
}
|
15720
15724
|
interface Empty {
|
15721
15725
|
}
|
15722
15726
|
declare const Empty: {
|
@@ -18431,6 +18435,7 @@ declare const OnChainEventResponse: {
|
|
18431
18435
|
interface StorageLimitsResponse {
|
18432
18436
|
limits: StorageLimit[];
|
18433
18437
|
units: number;
|
18438
|
+
unitDetails: StorageUnitDetails[];
|
18434
18439
|
}
|
18435
18440
|
declare const StorageLimitsResponse: {
|
18436
18441
|
encode(message: StorageLimitsResponse, writer?: _m0.Writer): _m0.Writer;
|
@@ -18447,6 +18452,10 @@ declare const StorageLimitsResponse: {
|
|
18447
18452
|
earliestHash?: Uint8Array | undefined;
|
18448
18453
|
}[] | undefined;
|
18449
18454
|
units?: number | undefined;
|
18455
|
+
unitDetails?: {
|
18456
|
+
unitType?: StorageUnitType | undefined;
|
18457
|
+
unitSize?: number | undefined;
|
18458
|
+
}[] | undefined;
|
18450
18459
|
} & {
|
18451
18460
|
limits?: ({
|
18452
18461
|
storeType?: StoreType | undefined;
|
@@ -18478,7 +18487,20 @@ declare const StorageLimitsResponse: {
|
|
18478
18487
|
earliestHash?: Uint8Array | undefined;
|
18479
18488
|
}[]>]: never; }) | undefined;
|
18480
18489
|
units?: number | undefined;
|
18481
|
-
|
18490
|
+
unitDetails?: ({
|
18491
|
+
unitType?: StorageUnitType | undefined;
|
18492
|
+
unitSize?: number | undefined;
|
18493
|
+
}[] & ({
|
18494
|
+
unitType?: StorageUnitType | undefined;
|
18495
|
+
unitSize?: number | undefined;
|
18496
|
+
} & {
|
18497
|
+
unitType?: StorageUnitType | undefined;
|
18498
|
+
unitSize?: number | undefined;
|
18499
|
+
} & { [K_2 in Exclude<keyof I["unitDetails"][number], keyof StorageUnitDetails>]: never; })[] & { [K_3 in Exclude<keyof I["unitDetails"], keyof {
|
18500
|
+
unitType?: StorageUnitType | undefined;
|
18501
|
+
unitSize?: number | undefined;
|
18502
|
+
}[]>]: never; }) | undefined;
|
18503
|
+
} & { [K_4 in Exclude<keyof I, keyof StorageLimitsResponse>]: never; }>(base?: I): StorageLimitsResponse;
|
18482
18504
|
fromPartial<I_1 extends {
|
18483
18505
|
limits?: {
|
18484
18506
|
storeType?: StoreType | undefined;
|
@@ -18489,6 +18511,10 @@ declare const StorageLimitsResponse: {
|
|
18489
18511
|
earliestHash?: Uint8Array | undefined;
|
18490
18512
|
}[] | undefined;
|
18491
18513
|
units?: number | undefined;
|
18514
|
+
unitDetails?: {
|
18515
|
+
unitType?: StorageUnitType | undefined;
|
18516
|
+
unitSize?: number | undefined;
|
18517
|
+
}[] | undefined;
|
18492
18518
|
} & {
|
18493
18519
|
limits?: ({
|
18494
18520
|
storeType?: StoreType | undefined;
|
@@ -18511,7 +18537,7 @@ declare const StorageLimitsResponse: {
|
|
18511
18537
|
used?: number | undefined;
|
18512
18538
|
earliestTimestamp?: number | undefined;
|
18513
18539
|
earliestHash?: Uint8Array | undefined;
|
18514
|
-
} & { [
|
18540
|
+
} & { [K_5 in Exclude<keyof I_1["limits"][number], keyof StorageLimit>]: never; })[] & { [K_6 in Exclude<keyof I_1["limits"], keyof {
|
18515
18541
|
storeType?: StoreType | undefined;
|
18516
18542
|
name?: string | undefined;
|
18517
18543
|
limit?: number | undefined;
|
@@ -18520,7 +18546,44 @@ declare const StorageLimitsResponse: {
|
|
18520
18546
|
earliestHash?: Uint8Array | undefined;
|
18521
18547
|
}[]>]: never; }) | undefined;
|
18522
18548
|
units?: number | undefined;
|
18523
|
-
|
18549
|
+
unitDetails?: ({
|
18550
|
+
unitType?: StorageUnitType | undefined;
|
18551
|
+
unitSize?: number | undefined;
|
18552
|
+
}[] & ({
|
18553
|
+
unitType?: StorageUnitType | undefined;
|
18554
|
+
unitSize?: number | undefined;
|
18555
|
+
} & {
|
18556
|
+
unitType?: StorageUnitType | undefined;
|
18557
|
+
unitSize?: number | undefined;
|
18558
|
+
} & { [K_7 in Exclude<keyof I_1["unitDetails"][number], keyof StorageUnitDetails>]: never; })[] & { [K_8 in Exclude<keyof I_1["unitDetails"], keyof {
|
18559
|
+
unitType?: StorageUnitType | undefined;
|
18560
|
+
unitSize?: number | undefined;
|
18561
|
+
}[]>]: never; }) | undefined;
|
18562
|
+
} & { [K_9 in Exclude<keyof I_1, keyof StorageLimitsResponse>]: never; }>(object: I_1): StorageLimitsResponse;
|
18563
|
+
};
|
18564
|
+
interface StorageUnitDetails {
|
18565
|
+
unitType: StorageUnitType;
|
18566
|
+
unitSize: number;
|
18567
|
+
}
|
18568
|
+
declare const StorageUnitDetails: {
|
18569
|
+
encode(message: StorageUnitDetails, writer?: _m0.Writer): _m0.Writer;
|
18570
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): StorageUnitDetails;
|
18571
|
+
fromJSON(object: any): StorageUnitDetails;
|
18572
|
+
toJSON(message: StorageUnitDetails): unknown;
|
18573
|
+
create<I extends {
|
18574
|
+
unitType?: StorageUnitType | undefined;
|
18575
|
+
unitSize?: number | undefined;
|
18576
|
+
} & {
|
18577
|
+
unitType?: StorageUnitType | undefined;
|
18578
|
+
unitSize?: number | undefined;
|
18579
|
+
} & { [K in Exclude<keyof I, keyof StorageUnitDetails>]: never; }>(base?: I): StorageUnitDetails;
|
18580
|
+
fromPartial<I_1 extends {
|
18581
|
+
unitType?: StorageUnitType | undefined;
|
18582
|
+
unitSize?: number | undefined;
|
18583
|
+
} & {
|
18584
|
+
unitType?: StorageUnitType | undefined;
|
18585
|
+
unitSize?: number | undefined;
|
18586
|
+
} & { [K_1 in Exclude<keyof I_1, keyof StorageUnitDetails>]: never; }>(object: I_1): StorageUnitDetails;
|
18524
18587
|
};
|
18525
18588
|
interface StorageLimit {
|
18526
18589
|
storeType: StoreType;
|