@argent/x-shared 1.62.8 → 1.62.10
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.
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { UnionEvaluate } from '../../../utils/type.utils';
|
|
3
|
-
import { SubsidyStatus } from '../transactionReview/schema';
|
|
4
3
|
export declare const estimatedFeeSchema: z.ZodObject<{
|
|
5
4
|
feeTokenAddress: z.ZodEffects<z.ZodPipeline<z.ZodString, z.ZodEffects<z.ZodString, string, string>>, `0x${string}`, string>;
|
|
6
5
|
amount: z.ZodBigInt;
|
|
@@ -757,7 +756,7 @@ export type EstimatedFeesV2 = z.infer<typeof estimatedFeesV2Schema>;
|
|
|
757
756
|
export type EstimatedFeesV2Enriched = UnionEvaluate<EstimatedFeesV2 & {
|
|
758
757
|
id: string;
|
|
759
758
|
timestamp: number;
|
|
760
|
-
|
|
759
|
+
isSubsidised?: boolean;
|
|
761
760
|
}>;
|
|
762
761
|
export type NativeEstimatedFee = z.infer<typeof nativeEstimatedFeeSchema>;
|
|
763
762
|
export type PaymasterEstimatedFee = z.infer<typeof paymasterEstimatedFeeSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("url-join"),n=require("../arrays.cjs"),u=(e,t)=>{const r=new URLSearchParams(t).toString(),a=r.length?`?${r}`:"";return s(...n.ensureArray(e),a)};exports.urlWithQuery=u;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import n from "url-join";
|
|
2
2
|
import { ensureArray as s } from "../arrays.js";
|
|
3
|
-
const
|
|
4
|
-
const r = new URLSearchParams(
|
|
5
|
-
return n(...s(
|
|
3
|
+
const i = (t, a) => {
|
|
4
|
+
const r = new URLSearchParams(a).toString(), e = r.length ? `?${r}` : "";
|
|
5
|
+
return n(...s(t), e);
|
|
6
6
|
};
|
|
7
7
|
export {
|
|
8
|
-
|
|
8
|
+
i as urlWithQuery
|
|
9
9
|
};
|