@otim/sdk-core 0.0.3 → 0.0.4

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.
Files changed (80) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/abi-DW6AS0eM.d.mts +339 -0
  3. package/dist/abi-DW6AS0eM.d.mts.map +1 -0
  4. package/dist/abi-OUq-mx1W.d.cts +339 -0
  5. package/dist/abi-OUq-mx1W.d.cts.map +1 -0
  6. package/dist/account/index.cjs +1 -1
  7. package/dist/account/index.d.cts +5 -3
  8. package/dist/account/index.d.mts +5 -3
  9. package/dist/account/index.mjs +1 -1
  10. package/dist/{account-Bwm5PTcc.cjs → account-CRvC_dXT.cjs} +8 -3
  11. package/dist/account-CRvC_dXT.cjs.map +1 -0
  12. package/dist/{account-p4sxzIt3.mjs → account-D1NVta26.mjs} +8 -3
  13. package/dist/account-D1NVta26.mjs.map +1 -0
  14. package/dist/authorization-6anhDdQX.d.cts +210 -0
  15. package/dist/authorization-6anhDdQX.d.cts.map +1 -0
  16. package/dist/authorization-DnNpWjxB.d.mts +210 -0
  17. package/dist/authorization-DnNpWjxB.d.mts.map +1 -0
  18. package/dist/clients/index.cjs +2 -2
  19. package/dist/clients/index.d.cts +3 -3
  20. package/dist/clients/index.d.mts +3 -3
  21. package/dist/clients/index.mjs +2 -2
  22. package/dist/{clients-CVg-yW5b.cjs → clients-BCyzdTLc.cjs} +73 -127
  23. package/dist/clients-BCyzdTLc.cjs.map +1 -0
  24. package/dist/{clients-DnPvBXkX.mjs → clients-Bn4BUElo.mjs} +72 -126
  25. package/dist/clients-Bn4BUElo.mjs.map +1 -0
  26. package/dist/config/index.d.cts +2 -2
  27. package/dist/config/index.d.mts +2 -2
  28. package/dist/context/index.d.cts +4 -1
  29. package/dist/context/index.d.mts +4 -1
  30. package/dist/{index-DW_zBRKz.d.mts → index-BQMXYh9N.d.cts} +2 -13
  31. package/dist/index-BQMXYh9N.d.cts.map +1 -0
  32. package/dist/{index-B4fkcFy5.d.mts → index-C5c51xs0.d.mts} +5 -8
  33. package/dist/index-C5c51xs0.d.mts.map +1 -0
  34. package/dist/{index-DK-40z4V.d.cts → index-C8H-BPGH.d.cts} +5 -8
  35. package/dist/index-C8H-BPGH.d.cts.map +1 -0
  36. package/dist/{index-747pyuMH.d.mts → index-Ce_qYSJj.d.cts} +25 -38
  37. package/dist/index-Ce_qYSJj.d.cts.map +1 -0
  38. package/dist/{index-BH1YuouL.d.cts → index-CiyyA-wd.d.mts} +25 -38
  39. package/dist/index-CiyyA-wd.d.mts.map +1 -0
  40. package/dist/{index-BnP8vpJJ.d.cts → index-CnjY7cyS.d.mts} +2 -13
  41. package/dist/index-CnjY7cyS.d.mts.map +1 -0
  42. package/dist/{index-CcCMIBgF.d.mts → index-DWE1xfOE.d.mts} +4 -1
  43. package/dist/index-DWE1xfOE.d.mts.map +1 -0
  44. package/dist/{index-UnaahQgb.d.cts → index-D_7CTJDl.d.mts} +2 -2
  45. package/dist/{index-C4N2Xixk.d.mts.map → index-D_7CTJDl.d.mts.map} +1 -1
  46. package/dist/{index-C1HSAemv.d.cts → index-GSspyLr3.d.cts} +4 -1
  47. package/dist/index-GSspyLr3.d.cts.map +1 -0
  48. package/dist/{index-C4N2Xixk.d.mts → index-lW-Oor1B.d.cts} +2 -2
  49. package/dist/{index-UnaahQgb.d.cts.map → index-lW-Oor1B.d.cts.map} +1 -1
  50. package/dist/index.cjs +4 -4
  51. package/dist/index.d.cts +9 -8
  52. package/dist/index.d.mts +9 -8
  53. package/dist/index.mjs +3 -3
  54. package/dist/rpc-BDoNl1Sp.d.cts +6885 -0
  55. package/dist/rpc-BDoNl1Sp.d.cts.map +1 -0
  56. package/dist/rpc-CygBD_f7.d.mts +6885 -0
  57. package/dist/rpc-CygBD_f7.d.mts.map +1 -0
  58. package/dist/utils/index.d.cts +3 -3
  59. package/dist/utils/index.d.mts +3 -3
  60. package/package.json +5 -5
  61. package/dist/abi-Bd3X6gV9.d.mts +0 -154
  62. package/dist/abi-Bd3X6gV9.d.mts.map +0 -1
  63. package/dist/abi-CQuxrNCU.d.cts +0 -154
  64. package/dist/abi-CQuxrNCU.d.cts.map +0 -1
  65. package/dist/account-Bwm5PTcc.cjs.map +0 -1
  66. package/dist/account-p4sxzIt3.mjs.map +0 -1
  67. package/dist/clients-CVg-yW5b.cjs.map +0 -1
  68. package/dist/clients-DnPvBXkX.mjs.map +0 -1
  69. package/dist/index-747pyuMH.d.mts.map +0 -1
  70. package/dist/index-B4fkcFy5.d.mts.map +0 -1
  71. package/dist/index-BH1YuouL.d.cts.map +0 -1
  72. package/dist/index-BnP8vpJJ.d.cts.map +0 -1
  73. package/dist/index-C1HSAemv.d.cts.map +0 -1
  74. package/dist/index-CcCMIBgF.d.mts.map +0 -1
  75. package/dist/index-DK-40z4V.d.cts.map +0 -1
  76. package/dist/index-DW_zBRKz.d.mts.map +0 -1
  77. package/dist/misc-CX4pLJaA.d.mts +0 -42
  78. package/dist/misc-CX4pLJaA.d.mts.map +0 -1
  79. package/dist/misc-CpZxSPCP.d.cts +0 -42
  80. package/dist/misc-CpZxSPCP.d.cts.map +0 -1
@@ -0,0 +1,210 @@
1
+ import { c as Address } from "./abi-OUq-mx1W.cjs";
2
+
3
+ //#region ../../node_modules/.pnpm/viem@2.39.3_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.1.12/node_modules/viem/_types/types/utils.d.ts
4
+ declare const symbol: unique symbol;
5
+ /**
6
+ * Creates a branded type of {@link T} with the brand {@link U}.
7
+ *
8
+ * @param T - Type to brand
9
+ * @param U - Label
10
+ * @returns Branded type
11
+ *
12
+ * @example
13
+ * type Result = Branded<string, 'foo'>
14
+ * // ^? type Result = string & { [symbol]: 'foo' }
15
+ */
16
+ type Branded<T, U> = T & {
17
+ [symbol]: U;
18
+ };
19
+ /**
20
+ * Filters out all members of {@link T} that are not {@link P}
21
+ *
22
+ * @param T - Items to filter
23
+ * @param P - Type to filter out
24
+ * @returns Filtered items
25
+ *
26
+ * @example
27
+ * type Result = Filter<['a', 'b', 'c'], 'b'>
28
+ * // ^? type Result = ['a', 'c']
29
+ */
30
+ type Filter<T extends readonly unknown[], P$1, Acc extends readonly unknown[] = []> = T extends readonly [infer F, ...infer Rest extends readonly unknown[]] ? [F] extends [P$1] ? Filter<Rest, P$1, [...Acc, F]> : Filter<Rest, P$1, Acc> : readonly [...Acc];
31
+ /**
32
+ * @description Checks if {@link T} can be narrowed further than {@link U}
33
+ * @param T - Type to check
34
+ * @param U - Type to against
35
+ * @example
36
+ * type Result = IsNarrowable<'foo', string>
37
+ * // ^? true
38
+ */
39
+ type IsNarrowable<T, U> = IsNever<(T extends U ? true : false) & (U extends T ? false : true)> extends true ? false : true;
40
+ /**
41
+ * @description Checks if {@link T} is `never`
42
+ * @param T - Type to check
43
+ * @example
44
+ * type Result = IsNever<never>
45
+ * // ^? type Result = true
46
+ */
47
+ type IsNever<T> = [T] extends [never] ? true : false;
48
+ /**
49
+ * @description Checks if {@link T} is `undefined`
50
+ * @param T - Type to check
51
+ * @example
52
+ * type Result = IsUndefined<undefined>
53
+ * // ^? type Result = true
54
+ */
55
+ type IsUndefined<T> = [undefined] extends [T] ? true : false;
56
+ type MaybePromise<T> = T | Promise<T>;
57
+ /**
58
+ * @description Makes attributes on the type T required if required is true.
59
+ *
60
+ * @example
61
+ * MaybeRequired<{ a: string, b?: number }, true>
62
+ * => { a: string, b: number }
63
+ *
64
+ * MaybeRequired<{ a: string, b?: number }, false>
65
+ * => { a: string, b?: number }
66
+ */
67
+ type MaybeRequired<T, required extends boolean> = required extends true ? ExactRequired<T> : T;
68
+ /**
69
+ * @description Assigns the properties of U onto T.
70
+ *
71
+ * @example
72
+ * Assign<{ a: string, b: number }, { a: undefined, c: boolean }>
73
+ * => { a: undefined, b: number, c: boolean }
74
+ */
75
+ type Assign<T, U> = Assign_<T, U> & U;
76
+ type Assign_<T, U> = { [K in keyof T as K extends keyof U ? U[K] extends void ? never : K : K]: K extends keyof U ? U[K] : T[K] };
77
+ type NoInfer<type> = [type][type extends any ? 0 : never];
78
+ /** Strict version of built-in Omit type */
79
+ type Omit<type, keys extends keyof type> = Pick<type, Exclude<keyof type, keys>>;
80
+ /**
81
+ * @description Creates a type that is a partial of T, but with the required keys K.
82
+ *
83
+ * @example
84
+ * PartialBy<{ a: string, b: number }, 'a'>
85
+ * => { a?: string, b: number }
86
+ */
87
+ type PartialBy<T, K$1 extends keyof T> = Omit<T, K$1> & ExactPartial<Pick<T, K$1>>;
88
+ /**
89
+ * @description Combines members of an intersection into a readable type.
90
+ *
91
+ * @see {@link https://twitter.com/mattpocockuk/status/1622730173446557697?s=20&t=NdpAcmEFXY01xkqU3KO0Mg}
92
+ * @example
93
+ * Prettify<{ a: string } & { b: string } & { c: number, d: bigint }>
94
+ * => { a: string, b: string, c: number, d: bigint }
95
+ */
96
+ type Prettify<T> = { [K in keyof T]: T[K] } & {};
97
+ /**
98
+ * @description Creates a type that is T with the required keys K.
99
+ *
100
+ * @example
101
+ * RequiredBy<{ a?: string, b: number }, 'a'>
102
+ * => { a: string, b: number }
103
+ */
104
+ type RequiredBy<T, K$1 extends keyof T> = Omit<T, K$1> & ExactRequired<Pick<T, K$1>>;
105
+ /**
106
+ * @description Returns truthy if `array` contains `value`.
107
+ *
108
+ * @example
109
+ * Some<[1, 2, 3], 2>
110
+ * => true
111
+ */
112
+ type Some<array extends readonly unknown[], value> = array extends readonly [value, ...unknown[]] ? true : array extends readonly [unknown, ...infer rest] ? Some<rest, value> : false;
113
+ type UnionToTuple<union, last = LastInUnion<union>> = [union] extends [never] ? [] : [...UnionToTuple<Exclude<union, last>>, last];
114
+ type LastInUnion<U> = UnionToIntersection<U extends unknown ? (x: U) => 0 : never> extends ((x: infer l) => 0) ? l : never;
115
+ type UnionToIntersection<union> = (union extends unknown ? (arg: union) => 0 : never) extends ((arg: infer i) => 0) ? i : never;
116
+ type IsUnion<union, union2 = union> = union extends union2 ? ([union2] extends [union] ? false : true) : never;
117
+ type MaybePartial<type, enabled extends boolean | undefined> = enabled extends true ? Prettify<ExactPartial<type>> : type;
118
+ type ExactPartial<type> = { [key in keyof type]?: type[key] | undefined };
119
+ type ExactRequired<type> = { [P in keyof type]-?: Exclude<type[P], undefined> };
120
+ type OneOf<union extends object, fallback extends object | undefined = undefined, keys extends KeyofUnion<union> = KeyofUnion<union>> = union extends infer item ? Prettify<item & { [key in Exclude<keys, keyof item>]?: fallback extends object ? key extends keyof fallback ? fallback[key] : undefined : undefined }> : never;
121
+ type KeyofUnion<type> = type extends type ? keyof type : never;
122
+ /**
123
+ * Loose version of {@link Omit}
124
+ * @internal
125
+ */
126
+ type LooseOmit<type, keys extends string> = Pick<type, Exclude<keyof type, keys>>;
127
+ type UnionEvaluate<type> = type extends object ? Prettify<type> : type;
128
+ type UnionLooseOmit<type, keys extends string> = type extends any ? LooseOmit<type, keys> : never;
129
+ /**
130
+ * @description Construct a type with the properties of union type T except for those in type K.
131
+ * @example
132
+ * type Result = UnionOmit<{ a: string, b: number } | { a: string, b: undefined, c: number }, 'a'>
133
+ * => { b: number } | { b: undefined, c: number }
134
+ */
135
+ type UnionOmit<type, keys extends keyof type> = type extends any ? Omit<type, keys> : never;
136
+ /**
137
+ * @description Creates a type that is a partial of T, but with the required keys K.
138
+ *
139
+ * @example
140
+ * PartialBy<{ a: string, b: number } | { a: string, b: undefined, c: number }, 'a'>
141
+ * => { a?: string, b: number } | { a?: string, b: undefined, c: number }
142
+ */
143
+ type UnionPartialBy<T, K$1 extends keyof T> = T extends any ? PartialBy<T, K$1> : never;
144
+ /**
145
+ * @description Creates a type that is T with the required keys K.
146
+ *
147
+ * @example
148
+ * RequiredBy<{ a?: string, b: number } | { a?: string, c?: number }, 'a'>
149
+ * => { a: string, b: number } | { a: string, c?: number }
150
+ */
151
+ type UnionRequiredBy<T, K$1 extends keyof T> = T extends any ? RequiredBy<T, K$1> : never;
152
+ //#endregion
153
+ //#region ../../node_modules/.pnpm/viem@2.39.3_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.1.12/node_modules/viem/_types/types/misc.d.ts
154
+ type ByteArray = Uint8Array;
155
+ type Hex = `0x${string}`;
156
+ type Hash = `0x${string}`;
157
+ type LogTopic = Hex | Hex[] | null;
158
+ type SignableMessage = string | {
159
+ /** Raw data representation of the message. */
160
+ raw: Hex | ByteArray;
161
+ };
162
+ type SignatureLegacy<bigintType = bigint> = {
163
+ r: Hex;
164
+ s: Hex;
165
+ v: bigintType;
166
+ };
167
+ type Signature<numberType = number, bigintType = bigint> = OneOf<SignatureLegacy | {
168
+ r: Hex;
169
+ s: Hex;
170
+ /** @deprecated use `yParity`. */
171
+ v: bigintType;
172
+ yParity?: numberType | undefined;
173
+ } | {
174
+ r: Hex;
175
+ s: Hex;
176
+ /** @deprecated use `yParity`. */
177
+ v?: bigintType | undefined;
178
+ yParity: numberType;
179
+ }>;
180
+ //#endregion
181
+ //#region ../../node_modules/.pnpm/viem@2.39.3_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.1.12/node_modules/viem/_types/types/authorization.d.ts
182
+ type Authorization<uint32 = number, signed extends boolean = false> = {
183
+ /** Address of the contract to delegate to. */
184
+ address: Address;
185
+ /** Chain ID. */
186
+ chainId: uint32;
187
+ /** Nonce of the EOA to delegate to. */
188
+ nonce: uint32;
189
+ } & (signed extends true ? Signature<uint32> : ExactPartial<Signature<uint32>>);
190
+ type AuthorizationList<uint32 = number, signed extends boolean = false> = readonly Authorization<uint32, signed>[];
191
+ type AuthorizationRequest<uint32 = number> = OneOf<{
192
+ /** Address of the contract to delegate to. */
193
+ address: Address;
194
+ } | {
195
+ /**
196
+ * Address of the contract to delegate to.
197
+ * @alias `address`
198
+ */
199
+ contractAddress: Address;
200
+ }> & {
201
+ /** Chain ID. */
202
+ chainId: uint32;
203
+ /** Nonce of the EOA to delegate to. */
204
+ nonce: uint32;
205
+ };
206
+ type SignedAuthorization<uint32 = number> = Authorization<uint32, true>;
207
+ type SignedAuthorizationList<uint32 = number> = readonly SignedAuthorization<uint32>[];
208
+ //#endregion
209
+ export { UnionEvaluate as A, NoInfer as C, Prettify as D, PartialBy as E, UnionToTuple as F, UnionOmit as M, UnionPartialBy as N, RequiredBy as O, UnionRequiredBy as P, MaybeRequired as S, OneOf as T, IsNever as _, SignedAuthorizationList as a, MaybePartial as b, Hex as c, Signature as d, Assign as f, IsNarrowable as g, Filter as h, SignedAuthorization as i, UnionLooseOmit as j, Some as k, LogTopic as l, ExactPartial as m, AuthorizationList as n, ByteArray as o, Branded as p, AuthorizationRequest as r, Hash as s, Authorization as t, SignableMessage as u, IsUndefined as v, Omit as w, MaybePromise as x, IsUnion as y };
210
+ //# sourceMappingURL=authorization-6anhDdQX.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"authorization-6anhDdQX.d.cts","names":["symbol","Branded","T","U","Filter","P","Acc","F","Rest","IsNarrowable","IsNever","Mutable","type","key","Or","Head","Tail","IsUndefined","MaybePromise","Promise","MaybeRequired","required","ExactRequired","Assign","Assign_","K","NoInfer","NoUndefined","Omit","keys","Exclude","Pick","PartialBy","ExactPartial","Prettify","Evaluate","RequiredBy","Some","array","value","rest","ValueOf","UnionToTuple","union","last","LastInUnion","UnionToIntersection","l","i","IsUnion","union2","MaybePartial","enabled","OneOf","fallback","KeyofUnion","item","LooseOmit","UnionEvaluate","UnionLooseOmit","UnionOmit","UnionPick","UnionPartialBy","UnionRequiredBy","OneOf","ByteArray","Uint8Array","Hex","Hash","LogTopic","SignableMessage","SignatureLegacy","bigintType","Signature","numberType","CompactSignature","Address","Hex","Signature","ExactPartial","OneOf","Authorization","uint32","signed","AuthorizationList","AuthorizationRequest","SignedAuthorization","SignedAuthorizationList","SerializedAuthorization","SerializedAuthorizationList"],"sources":["../../../node_modules/.pnpm/viem@2.39.3_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.1.12/node_modules/viem/_types/types/utils.d.ts","../../../node_modules/.pnpm/viem@2.39.3_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.1.12/node_modules/viem/_types/types/misc.d.ts","../../../node_modules/.pnpm/viem@2.39.3_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.1.12/node_modules/viem/_types/types/authorization.d.ts"],"sourcesContent":["declare const symbol: unique symbol;\n/**\n * Creates a branded type of {@link T} with the brand {@link U}.\n *\n * @param T - Type to brand\n * @param U - Label\n * @returns Branded type\n *\n * @example\n * type Result = Branded<string, 'foo'>\n * // ^? type Result = string & { [symbol]: 'foo' }\n */\nexport type Branded<T, U> = T & {\n [symbol]: U;\n};\n/**\n * Filters out all members of {@link T} that are not {@link P}\n *\n * @param T - Items to filter\n * @param P - Type to filter out\n * @returns Filtered items\n *\n * @example\n * type Result = Filter<['a', 'b', 'c'], 'b'>\n * // ^? type Result = ['a', 'c']\n */\nexport type Filter<T extends readonly unknown[], P, Acc extends readonly unknown[] = []> = T extends readonly [infer F, ...infer Rest extends readonly unknown[]] ? [F] extends [P] ? Filter<Rest, P, [...Acc, F]> : Filter<Rest, P, Acc> : readonly [...Acc];\n/**\n * @description Checks if {@link T} can be narrowed further than {@link U}\n * @param T - Type to check\n * @param U - Type to against\n * @example\n * type Result = IsNarrowable<'foo', string>\n * // ^? true\n */\nexport type IsNarrowable<T, U> = IsNever<(T extends U ? true : false) & (U extends T ? false : true)> extends true ? false : true;\n/**\n * @description Checks if {@link T} is `never`\n * @param T - Type to check\n * @example\n * type Result = IsNever<never>\n * // ^? type Result = true\n */\nexport type IsNever<T> = [T] extends [never] ? true : false;\n/** Removes `readonly` from all properties of an object. */\nexport type Mutable<type extends object> = {\n -readonly [key in keyof type]: type[key];\n};\n/**\n * @description Evaluates boolean \"or\" condition for {@link T} properties.\n * @param T - Type to check\n *\n * * @example\n * type Result = Or<[false, true, false]>\n * // ^? type Result = true\n *\n * @example\n * type Result = Or<[false, false, false]>\n * // ^? type Result = false\n */\nexport type Or<T extends readonly unknown[]> = T extends readonly [\n infer Head,\n ...infer Tail\n] ? Head extends true ? true : Or<Tail> : false;\n/**\n * @description Checks if {@link T} is `undefined`\n * @param T - Type to check\n * @example\n * type Result = IsUndefined<undefined>\n * // ^? type Result = true\n */\nexport type IsUndefined<T> = [undefined] extends [T] ? true : false;\nexport type MaybePromise<T> = T | Promise<T>;\n/**\n * @description Makes attributes on the type T required if required is true.\n *\n * @example\n * MaybeRequired<{ a: string, b?: number }, true>\n * => { a: string, b: number }\n *\n * MaybeRequired<{ a: string, b?: number }, false>\n * => { a: string, b?: number }\n */\nexport type MaybeRequired<T, required extends boolean> = required extends true ? ExactRequired<T> : T;\n/**\n * @description Assigns the properties of U onto T.\n *\n * @example\n * Assign<{ a: string, b: number }, { a: undefined, c: boolean }>\n * => { a: undefined, b: number, c: boolean }\n */\nexport type Assign<T, U> = Assign_<T, U> & U;\ntype Assign_<T, U> = {\n [K in keyof T as K extends keyof U ? U[K] extends void ? never : K : K]: K extends keyof U ? U[K] : T[K];\n};\nexport type NoInfer<type> = [type][type extends any ? 0 : never];\n/**\n * @description Constructs a type by excluding `undefined` from `T`.\n *\n * @example\n * NoUndefined<string | undefined>\n * => string\n *\n * @internal\n */\nexport type NoUndefined<T> = T extends undefined ? never : T;\n/** Strict version of built-in Omit type */\nexport type Omit<type, keys extends keyof type> = Pick<type, Exclude<keyof type, keys>>;\n/**\n * @description Creates a type that is a partial of T, but with the required keys K.\n *\n * @example\n * PartialBy<{ a: string, b: number }, 'a'>\n * => { a?: string, b: number }\n */\nexport type PartialBy<T, K extends keyof T> = Omit<T, K> & ExactPartial<Pick<T, K>>;\n/**\n * @description Combines members of an intersection into a readable type.\n *\n * @see {@link https://twitter.com/mattpocockuk/status/1622730173446557697?s=20&t=NdpAcmEFXY01xkqU3KO0Mg}\n * @example\n * Prettify<{ a: string } & { b: string } & { c: number, d: bigint }>\n * => { a: string, b: string, c: number, d: bigint }\n */\nexport type Prettify<T> = {\n [K in keyof T]: T[K];\n} & {};\n/** @internal */\nexport type Evaluate<type> = {\n [key in keyof type]: type[key];\n} & {};\n/**\n * @description Creates a type that is T with the required keys K.\n *\n * @example\n * RequiredBy<{ a?: string, b: number }, 'a'>\n * => { a: string, b: number }\n */\nexport type RequiredBy<T, K extends keyof T> = Omit<T, K> & ExactRequired<Pick<T, K>>;\n/**\n * @description Returns truthy if `array` contains `value`.\n *\n * @example\n * Some<[1, 2, 3], 2>\n * => true\n */\nexport type Some<array extends readonly unknown[], value> = array extends readonly [value, ...unknown[]] ? true : array extends readonly [unknown, ...infer rest] ? Some<rest, value> : false;\n/**\n * @description Creates a type that extracts the values of T.\n *\n * @example\n * ValueOf<{ a: string, b: number }>\n * => string | number\n *\n * @internal\n */\nexport type ValueOf<T> = T[keyof T];\nexport type UnionToTuple<union, last = LastInUnion<union>> = [union] extends [never] ? [] : [...UnionToTuple<Exclude<union, last>>, last];\ntype LastInUnion<U> = UnionToIntersection<U extends unknown ? (x: U) => 0 : never> extends (x: infer l) => 0 ? l : never;\ntype UnionToIntersection<union> = (union extends unknown ? (arg: union) => 0 : never) extends (arg: infer i) => 0 ? i : never;\nexport type IsUnion<union, union2 = union> = union extends union2 ? ([union2] extends [union] ? false : true) : never;\nexport type MaybePartial<type, enabled extends boolean | undefined> = enabled extends true ? Prettify<ExactPartial<type>> : type;\nexport type ExactPartial<type> = {\n [key in keyof type]?: type[key] | undefined;\n};\nexport type ExactRequired<type> = {\n [P in keyof type]-?: Exclude<type[P], undefined>;\n};\nexport type OneOf<union extends object, fallback extends object | undefined = undefined, keys extends KeyofUnion<union> = KeyofUnion<union>> = union extends infer item ? Prettify<item & {\n [key in Exclude<keys, keyof item>]?: fallback extends object ? key extends keyof fallback ? fallback[key] : undefined : undefined;\n}> : never;\ntype KeyofUnion<type> = type extends type ? keyof type : never;\n/**\n * Loose version of {@link Omit}\n * @internal\n */\nexport type LooseOmit<type, keys extends string> = Pick<type, Exclude<keyof type, keys>>;\nexport type UnionEvaluate<type> = type extends object ? Prettify<type> : type;\nexport type UnionLooseOmit<type, keys extends string> = type extends any ? LooseOmit<type, keys> : never;\n/**\n * @description Construct a type with the properties of union type T except for those in type K.\n * @example\n * type Result = UnionOmit<{ a: string, b: number } | { a: string, b: undefined, c: number }, 'a'>\n * => { b: number } | { b: undefined, c: number }\n */\nexport type UnionOmit<type, keys extends keyof type> = type extends any ? Omit<type, keys> : never;\n/**\n * @description Construct a type with the properties of union type T except for those in type K.\n * @example\n * type Result = UnionOmit<{ a: string, b: number } | { a: string, b: undefined, c: number }, 'a'>\n * => { b: number } | { b: undefined, c: number }\n */\nexport type UnionPick<type, keys extends keyof type> = type extends any ? Pick<type, keys> : never;\n/**\n * @description Creates a type that is a partial of T, but with the required keys K.\n *\n * @example\n * PartialBy<{ a: string, b: number } | { a: string, b: undefined, c: number }, 'a'>\n * => { a?: string, b: number } | { a?: string, b: undefined, c: number }\n */\nexport type UnionPartialBy<T, K extends keyof T> = T extends any ? PartialBy<T, K> : never;\n/**\n * @description Creates a type that is T with the required keys K.\n *\n * @example\n * RequiredBy<{ a?: string, b: number } | { a?: string, c?: number }, 'a'>\n * => { a: string, b: number } | { a: string, c?: number }\n */\nexport type UnionRequiredBy<T, K extends keyof T> = T extends any ? RequiredBy<T, K> : never;\nexport {};\n//# sourceMappingURL=utils.d.ts.map","import type { OneOf } from './utils.js';\nexport type ByteArray = Uint8Array;\nexport type Hex = `0x${string}`;\nexport type Hash = `0x${string}`;\nexport type LogTopic = Hex | Hex[] | null;\nexport type SignableMessage = string | {\n /** Raw data representation of the message. */\n raw: Hex | ByteArray;\n};\nexport type SignatureLegacy<bigintType = bigint> = {\n r: Hex;\n s: Hex;\n v: bigintType;\n};\nexport type Signature<numberType = number, bigintType = bigint> = OneOf<SignatureLegacy | {\n r: Hex;\n s: Hex;\n /** @deprecated use `yParity`. */\n v: bigintType;\n yParity?: numberType | undefined;\n} | {\n r: Hex;\n s: Hex;\n /** @deprecated use `yParity`. */\n v?: bigintType | undefined;\n yParity: numberType;\n}>;\nexport type CompactSignature = {\n r: Hex;\n yParityAndS: Hex;\n};\n//# sourceMappingURL=misc.d.ts.map","import type { Address } from 'abitype';\nimport type { Hex, Signature } from './misc.js';\nimport type { ExactPartial, OneOf } from './utils.js';\nexport type Authorization<uint32 = number, signed extends boolean = false> = {\n /** Address of the contract to delegate to. */\n address: Address;\n /** Chain ID. */\n chainId: uint32;\n /** Nonce of the EOA to delegate to. */\n nonce: uint32;\n} & (signed extends true ? Signature<uint32> : ExactPartial<Signature<uint32>>);\nexport type AuthorizationList<uint32 = number, signed extends boolean = false> = readonly Authorization<uint32, signed>[];\nexport type AuthorizationRequest<uint32 = number> = OneOf<{\n /** Address of the contract to delegate to. */\n address: Address;\n} | {\n /**\n * Address of the contract to delegate to.\n * @alias `address`\n */\n contractAddress: Address;\n}> & {\n /** Chain ID. */\n chainId: uint32;\n /** Nonce of the EOA to delegate to. */\n nonce: uint32;\n};\nexport type SignedAuthorization<uint32 = number> = Authorization<uint32, true>;\nexport type SignedAuthorizationList<uint32 = number> = readonly SignedAuthorization<uint32>[];\nexport type SerializedAuthorization = readonly [\n chainId: Hex,\n address: Hex,\n nonce: Hex,\n yParity: Hex,\n r: Hex,\n s: Hex\n];\nexport type SerializedAuthorizationList = readonly SerializedAuthorization[];\n//# sourceMappingURL=authorization.d.ts.map"],"x_google_ignoreList":[0,1,2],"mappings":";;;cAAcA;;;;AAYd;;;;;AAcA;;;AAAiLK,KAdrKJ,OAcqKI,CAAAA,CAAAA,EAAAA,CAAAA,CAAAA,GAdrJH,CAcqJG,GAAAA;EAAYG,CAbxLR,MAAAA,CAawLQ,EAb/KL,CAa+KK;CAAMH;;;;;;;;;;AASnM;;AAAoDF,KATxCC,MASwCD,CAAAA,UAAAA,SAAAA,OAAAA,EAAAA,EAAAA,GAAAA,EAAAA,YAAAA,SAAAA,OAAAA,EAAAA,GAAAA,EAAAA,CAAAA,GATuCD,CASvCC,SAAAA,SAAAA,CAAAA,KAAAA,EAAAA,EAAAA,GAAAA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ACdC;EAATH,OAAAA,EENQkF,MFMRlF;EAAM;EAaCI,KAAAA,EEjBD8E,MFiBO;CAAyEhF,GAAAA,CEhBtFiF,MFgBsFjF,SAAAA,IAAAA,GEhBhE4E,SFgBgE5E,CEhBtDgF,MFgBsDhF,CAAAA,GEhB5C6E,YFgB4C7E,CEhB/B4E,SFgB+B5E,CEhBrBgF,MFgBqBhF,CAAAA,CAAAA,CAAAA;AAA0EK,KEfzJ6E,iBFeyJ7E,CAAAA,SAAAA,MAAAA,EAAAA,eAAAA,OAAAA,GAAAA,KAAAA,CAAAA,GAAAA,SEf3E0E,aFe2E1E,CEf7D2E,MFe6D3E,EEfrD4E,MFeqD5E,CAAAA,EAAAA;AAAYF,KEdrKgF,oBFcqKhF,CAAAA,SAAAA,MAAAA,CAAAA,GEd7H2E,KFc6H3E,CAAAA;EAAYG;EAAMH,OAAAA,EEZtLuE,OFYsLvE;CAAOC,GAAAA;EAAKC;;;;EAAsBD,eAAAA,EENhNsE,OFMgNtE;CAAhBF,CAAAA,GAAAA;EAAoCE;EAAG,OAAA,EEH/O4E,MFG+O;EAShPzE;EAA8BP,KAAAA,EEV/BgF,MFU+BhF;CAAUC;AAAqBA,KER7DmF,mBFQ6DnF,CAAAA,SAAAA,MAAAA,CAAAA,GERtB8E,aFQsB9E,CERR+E,MFQQ/E,EAAAA,IAAAA,CAAAA;AAAUD,KEPvEqF,uBFOuErF,CAAAA,SAAAA,MAAAA,CAAAA,GAAAA,SEPnBoF,mBFOmBpF,CEPCgF,MFODhF,CAAAA,EAAAA"}
@@ -0,0 +1,210 @@
1
+ import { c as Address } from "./abi-DW6AS0eM.mjs";
2
+
3
+ //#region ../../node_modules/.pnpm/viem@2.39.3_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.1.12/node_modules/viem/_types/types/utils.d.ts
4
+ declare const symbol: unique symbol;
5
+ /**
6
+ * Creates a branded type of {@link T} with the brand {@link U}.
7
+ *
8
+ * @param T - Type to brand
9
+ * @param U - Label
10
+ * @returns Branded type
11
+ *
12
+ * @example
13
+ * type Result = Branded<string, 'foo'>
14
+ * // ^? type Result = string & { [symbol]: 'foo' }
15
+ */
16
+ type Branded<T, U> = T & {
17
+ [symbol]: U;
18
+ };
19
+ /**
20
+ * Filters out all members of {@link T} that are not {@link P}
21
+ *
22
+ * @param T - Items to filter
23
+ * @param P - Type to filter out
24
+ * @returns Filtered items
25
+ *
26
+ * @example
27
+ * type Result = Filter<['a', 'b', 'c'], 'b'>
28
+ * // ^? type Result = ['a', 'c']
29
+ */
30
+ type Filter<T extends readonly unknown[], P$1, Acc extends readonly unknown[] = []> = T extends readonly [infer F, ...infer Rest extends readonly unknown[]] ? [F] extends [P$1] ? Filter<Rest, P$1, [...Acc, F]> : Filter<Rest, P$1, Acc> : readonly [...Acc];
31
+ /**
32
+ * @description Checks if {@link T} can be narrowed further than {@link U}
33
+ * @param T - Type to check
34
+ * @param U - Type to against
35
+ * @example
36
+ * type Result = IsNarrowable<'foo', string>
37
+ * // ^? true
38
+ */
39
+ type IsNarrowable<T, U> = IsNever<(T extends U ? true : false) & (U extends T ? false : true)> extends true ? false : true;
40
+ /**
41
+ * @description Checks if {@link T} is `never`
42
+ * @param T - Type to check
43
+ * @example
44
+ * type Result = IsNever<never>
45
+ * // ^? type Result = true
46
+ */
47
+ type IsNever<T> = [T] extends [never] ? true : false;
48
+ /**
49
+ * @description Checks if {@link T} is `undefined`
50
+ * @param T - Type to check
51
+ * @example
52
+ * type Result = IsUndefined<undefined>
53
+ * // ^? type Result = true
54
+ */
55
+ type IsUndefined<T> = [undefined] extends [T] ? true : false;
56
+ type MaybePromise<T> = T | Promise<T>;
57
+ /**
58
+ * @description Makes attributes on the type T required if required is true.
59
+ *
60
+ * @example
61
+ * MaybeRequired<{ a: string, b?: number }, true>
62
+ * => { a: string, b: number }
63
+ *
64
+ * MaybeRequired<{ a: string, b?: number }, false>
65
+ * => { a: string, b?: number }
66
+ */
67
+ type MaybeRequired<T, required extends boolean> = required extends true ? ExactRequired<T> : T;
68
+ /**
69
+ * @description Assigns the properties of U onto T.
70
+ *
71
+ * @example
72
+ * Assign<{ a: string, b: number }, { a: undefined, c: boolean }>
73
+ * => { a: undefined, b: number, c: boolean }
74
+ */
75
+ type Assign<T, U> = Assign_<T, U> & U;
76
+ type Assign_<T, U> = { [K in keyof T as K extends keyof U ? U[K] extends void ? never : K : K]: K extends keyof U ? U[K] : T[K] };
77
+ type NoInfer<type> = [type][type extends any ? 0 : never];
78
+ /** Strict version of built-in Omit type */
79
+ type Omit<type, keys extends keyof type> = Pick<type, Exclude<keyof type, keys>>;
80
+ /**
81
+ * @description Creates a type that is a partial of T, but with the required keys K.
82
+ *
83
+ * @example
84
+ * PartialBy<{ a: string, b: number }, 'a'>
85
+ * => { a?: string, b: number }
86
+ */
87
+ type PartialBy<T, K$1 extends keyof T> = Omit<T, K$1> & ExactPartial<Pick<T, K$1>>;
88
+ /**
89
+ * @description Combines members of an intersection into a readable type.
90
+ *
91
+ * @see {@link https://twitter.com/mattpocockuk/status/1622730173446557697?s=20&t=NdpAcmEFXY01xkqU3KO0Mg}
92
+ * @example
93
+ * Prettify<{ a: string } & { b: string } & { c: number, d: bigint }>
94
+ * => { a: string, b: string, c: number, d: bigint }
95
+ */
96
+ type Prettify<T> = { [K in keyof T]: T[K] } & {};
97
+ /**
98
+ * @description Creates a type that is T with the required keys K.
99
+ *
100
+ * @example
101
+ * RequiredBy<{ a?: string, b: number }, 'a'>
102
+ * => { a: string, b: number }
103
+ */
104
+ type RequiredBy<T, K$1 extends keyof T> = Omit<T, K$1> & ExactRequired<Pick<T, K$1>>;
105
+ /**
106
+ * @description Returns truthy if `array` contains `value`.
107
+ *
108
+ * @example
109
+ * Some<[1, 2, 3], 2>
110
+ * => true
111
+ */
112
+ type Some<array extends readonly unknown[], value> = array extends readonly [value, ...unknown[]] ? true : array extends readonly [unknown, ...infer rest] ? Some<rest, value> : false;
113
+ type UnionToTuple<union, last = LastInUnion<union>> = [union] extends [never] ? [] : [...UnionToTuple<Exclude<union, last>>, last];
114
+ type LastInUnion<U> = UnionToIntersection<U extends unknown ? (x: U) => 0 : never> extends ((x: infer l) => 0) ? l : never;
115
+ type UnionToIntersection<union> = (union extends unknown ? (arg: union) => 0 : never) extends ((arg: infer i) => 0) ? i : never;
116
+ type IsUnion<union, union2 = union> = union extends union2 ? ([union2] extends [union] ? false : true) : never;
117
+ type MaybePartial<type, enabled extends boolean | undefined> = enabled extends true ? Prettify<ExactPartial<type>> : type;
118
+ type ExactPartial<type> = { [key in keyof type]?: type[key] | undefined };
119
+ type ExactRequired<type> = { [P in keyof type]-?: Exclude<type[P], undefined> };
120
+ type OneOf<union extends object, fallback extends object | undefined = undefined, keys extends KeyofUnion<union> = KeyofUnion<union>> = union extends infer item ? Prettify<item & { [key in Exclude<keys, keyof item>]?: fallback extends object ? key extends keyof fallback ? fallback[key] : undefined : undefined }> : never;
121
+ type KeyofUnion<type> = type extends type ? keyof type : never;
122
+ /**
123
+ * Loose version of {@link Omit}
124
+ * @internal
125
+ */
126
+ type LooseOmit<type, keys extends string> = Pick<type, Exclude<keyof type, keys>>;
127
+ type UnionEvaluate<type> = type extends object ? Prettify<type> : type;
128
+ type UnionLooseOmit<type, keys extends string> = type extends any ? LooseOmit<type, keys> : never;
129
+ /**
130
+ * @description Construct a type with the properties of union type T except for those in type K.
131
+ * @example
132
+ * type Result = UnionOmit<{ a: string, b: number } | { a: string, b: undefined, c: number }, 'a'>
133
+ * => { b: number } | { b: undefined, c: number }
134
+ */
135
+ type UnionOmit<type, keys extends keyof type> = type extends any ? Omit<type, keys> : never;
136
+ /**
137
+ * @description Creates a type that is a partial of T, but with the required keys K.
138
+ *
139
+ * @example
140
+ * PartialBy<{ a: string, b: number } | { a: string, b: undefined, c: number }, 'a'>
141
+ * => { a?: string, b: number } | { a?: string, b: undefined, c: number }
142
+ */
143
+ type UnionPartialBy<T, K$1 extends keyof T> = T extends any ? PartialBy<T, K$1> : never;
144
+ /**
145
+ * @description Creates a type that is T with the required keys K.
146
+ *
147
+ * @example
148
+ * RequiredBy<{ a?: string, b: number } | { a?: string, c?: number }, 'a'>
149
+ * => { a: string, b: number } | { a: string, c?: number }
150
+ */
151
+ type UnionRequiredBy<T, K$1 extends keyof T> = T extends any ? RequiredBy<T, K$1> : never;
152
+ //#endregion
153
+ //#region ../../node_modules/.pnpm/viem@2.39.3_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.1.12/node_modules/viem/_types/types/misc.d.ts
154
+ type ByteArray = Uint8Array;
155
+ type Hex = `0x${string}`;
156
+ type Hash = `0x${string}`;
157
+ type LogTopic = Hex | Hex[] | null;
158
+ type SignableMessage = string | {
159
+ /** Raw data representation of the message. */
160
+ raw: Hex | ByteArray;
161
+ };
162
+ type SignatureLegacy<bigintType = bigint> = {
163
+ r: Hex;
164
+ s: Hex;
165
+ v: bigintType;
166
+ };
167
+ type Signature<numberType = number, bigintType = bigint> = OneOf<SignatureLegacy | {
168
+ r: Hex;
169
+ s: Hex;
170
+ /** @deprecated use `yParity`. */
171
+ v: bigintType;
172
+ yParity?: numberType | undefined;
173
+ } | {
174
+ r: Hex;
175
+ s: Hex;
176
+ /** @deprecated use `yParity`. */
177
+ v?: bigintType | undefined;
178
+ yParity: numberType;
179
+ }>;
180
+ //#endregion
181
+ //#region ../../node_modules/.pnpm/viem@2.39.3_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.1.12/node_modules/viem/_types/types/authorization.d.ts
182
+ type Authorization<uint32 = number, signed extends boolean = false> = {
183
+ /** Address of the contract to delegate to. */
184
+ address: Address;
185
+ /** Chain ID. */
186
+ chainId: uint32;
187
+ /** Nonce of the EOA to delegate to. */
188
+ nonce: uint32;
189
+ } & (signed extends true ? Signature<uint32> : ExactPartial<Signature<uint32>>);
190
+ type AuthorizationList<uint32 = number, signed extends boolean = false> = readonly Authorization<uint32, signed>[];
191
+ type AuthorizationRequest<uint32 = number> = OneOf<{
192
+ /** Address of the contract to delegate to. */
193
+ address: Address;
194
+ } | {
195
+ /**
196
+ * Address of the contract to delegate to.
197
+ * @alias `address`
198
+ */
199
+ contractAddress: Address;
200
+ }> & {
201
+ /** Chain ID. */
202
+ chainId: uint32;
203
+ /** Nonce of the EOA to delegate to. */
204
+ nonce: uint32;
205
+ };
206
+ type SignedAuthorization<uint32 = number> = Authorization<uint32, true>;
207
+ type SignedAuthorizationList<uint32 = number> = readonly SignedAuthorization<uint32>[];
208
+ //#endregion
209
+ export { UnionEvaluate as A, NoInfer as C, Prettify as D, PartialBy as E, UnionToTuple as F, UnionOmit as M, UnionPartialBy as N, RequiredBy as O, UnionRequiredBy as P, MaybeRequired as S, OneOf as T, IsNever as _, SignedAuthorizationList as a, MaybePartial as b, Hex as c, Signature as d, Assign as f, IsNarrowable as g, Filter as h, SignedAuthorization as i, UnionLooseOmit as j, Some as k, LogTopic as l, ExactPartial as m, AuthorizationList as n, ByteArray as o, Branded as p, AuthorizationRequest as r, Hash as s, Authorization as t, SignableMessage as u, IsUndefined as v, Omit as w, MaybePromise as x, IsUnion as y };
210
+ //# sourceMappingURL=authorization-DnNpWjxB.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"authorization-DnNpWjxB.d.mts","names":["symbol","Branded","T","U","Filter","P","Acc","F","Rest","IsNarrowable","IsNever","Mutable","type","key","Or","Head","Tail","IsUndefined","MaybePromise","Promise","MaybeRequired","required","ExactRequired","Assign","Assign_","K","NoInfer","NoUndefined","Omit","keys","Exclude","Pick","PartialBy","ExactPartial","Prettify","Evaluate","RequiredBy","Some","array","value","rest","ValueOf","UnionToTuple","union","last","LastInUnion","UnionToIntersection","l","i","IsUnion","union2","MaybePartial","enabled","OneOf","fallback","KeyofUnion","item","LooseOmit","UnionEvaluate","UnionLooseOmit","UnionOmit","UnionPick","UnionPartialBy","UnionRequiredBy","OneOf","ByteArray","Uint8Array","Hex","Hash","LogTopic","SignableMessage","SignatureLegacy","bigintType","Signature","numberType","CompactSignature","Address","Hex","Signature","ExactPartial","OneOf","Authorization","uint32","signed","AuthorizationList","AuthorizationRequest","SignedAuthorization","SignedAuthorizationList","SerializedAuthorization","SerializedAuthorizationList"],"sources":["../../../node_modules/.pnpm/viem@2.39.3_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.1.12/node_modules/viem/_types/types/utils.d.ts","../../../node_modules/.pnpm/viem@2.39.3_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.1.12/node_modules/viem/_types/types/misc.d.ts","../../../node_modules/.pnpm/viem@2.39.3_bufferutil@4.0.9_typescript@5.9.3_utf-8-validate@5.0.10_zod@4.1.12/node_modules/viem/_types/types/authorization.d.ts"],"sourcesContent":["declare const symbol: unique symbol;\n/**\n * Creates a branded type of {@link T} with the brand {@link U}.\n *\n * @param T - Type to brand\n * @param U - Label\n * @returns Branded type\n *\n * @example\n * type Result = Branded<string, 'foo'>\n * // ^? type Result = string & { [symbol]: 'foo' }\n */\nexport type Branded<T, U> = T & {\n [symbol]: U;\n};\n/**\n * Filters out all members of {@link T} that are not {@link P}\n *\n * @param T - Items to filter\n * @param P - Type to filter out\n * @returns Filtered items\n *\n * @example\n * type Result = Filter<['a', 'b', 'c'], 'b'>\n * // ^? type Result = ['a', 'c']\n */\nexport type Filter<T extends readonly unknown[], P, Acc extends readonly unknown[] = []> = T extends readonly [infer F, ...infer Rest extends readonly unknown[]] ? [F] extends [P] ? Filter<Rest, P, [...Acc, F]> : Filter<Rest, P, Acc> : readonly [...Acc];\n/**\n * @description Checks if {@link T} can be narrowed further than {@link U}\n * @param T - Type to check\n * @param U - Type to against\n * @example\n * type Result = IsNarrowable<'foo', string>\n * // ^? true\n */\nexport type IsNarrowable<T, U> = IsNever<(T extends U ? true : false) & (U extends T ? false : true)> extends true ? false : true;\n/**\n * @description Checks if {@link T} is `never`\n * @param T - Type to check\n * @example\n * type Result = IsNever<never>\n * // ^? type Result = true\n */\nexport type IsNever<T> = [T] extends [never] ? true : false;\n/** Removes `readonly` from all properties of an object. */\nexport type Mutable<type extends object> = {\n -readonly [key in keyof type]: type[key];\n};\n/**\n * @description Evaluates boolean \"or\" condition for {@link T} properties.\n * @param T - Type to check\n *\n * * @example\n * type Result = Or<[false, true, false]>\n * // ^? type Result = true\n *\n * @example\n * type Result = Or<[false, false, false]>\n * // ^? type Result = false\n */\nexport type Or<T extends readonly unknown[]> = T extends readonly [\n infer Head,\n ...infer Tail\n] ? Head extends true ? true : Or<Tail> : false;\n/**\n * @description Checks if {@link T} is `undefined`\n * @param T - Type to check\n * @example\n * type Result = IsUndefined<undefined>\n * // ^? type Result = true\n */\nexport type IsUndefined<T> = [undefined] extends [T] ? true : false;\nexport type MaybePromise<T> = T | Promise<T>;\n/**\n * @description Makes attributes on the type T required if required is true.\n *\n * @example\n * MaybeRequired<{ a: string, b?: number }, true>\n * => { a: string, b: number }\n *\n * MaybeRequired<{ a: string, b?: number }, false>\n * => { a: string, b?: number }\n */\nexport type MaybeRequired<T, required extends boolean> = required extends true ? ExactRequired<T> : T;\n/**\n * @description Assigns the properties of U onto T.\n *\n * @example\n * Assign<{ a: string, b: number }, { a: undefined, c: boolean }>\n * => { a: undefined, b: number, c: boolean }\n */\nexport type Assign<T, U> = Assign_<T, U> & U;\ntype Assign_<T, U> = {\n [K in keyof T as K extends keyof U ? U[K] extends void ? never : K : K]: K extends keyof U ? U[K] : T[K];\n};\nexport type NoInfer<type> = [type][type extends any ? 0 : never];\n/**\n * @description Constructs a type by excluding `undefined` from `T`.\n *\n * @example\n * NoUndefined<string | undefined>\n * => string\n *\n * @internal\n */\nexport type NoUndefined<T> = T extends undefined ? never : T;\n/** Strict version of built-in Omit type */\nexport type Omit<type, keys extends keyof type> = Pick<type, Exclude<keyof type, keys>>;\n/**\n * @description Creates a type that is a partial of T, but with the required keys K.\n *\n * @example\n * PartialBy<{ a: string, b: number }, 'a'>\n * => { a?: string, b: number }\n */\nexport type PartialBy<T, K extends keyof T> = Omit<T, K> & ExactPartial<Pick<T, K>>;\n/**\n * @description Combines members of an intersection into a readable type.\n *\n * @see {@link https://twitter.com/mattpocockuk/status/1622730173446557697?s=20&t=NdpAcmEFXY01xkqU3KO0Mg}\n * @example\n * Prettify<{ a: string } & { b: string } & { c: number, d: bigint }>\n * => { a: string, b: string, c: number, d: bigint }\n */\nexport type Prettify<T> = {\n [K in keyof T]: T[K];\n} & {};\n/** @internal */\nexport type Evaluate<type> = {\n [key in keyof type]: type[key];\n} & {};\n/**\n * @description Creates a type that is T with the required keys K.\n *\n * @example\n * RequiredBy<{ a?: string, b: number }, 'a'>\n * => { a: string, b: number }\n */\nexport type RequiredBy<T, K extends keyof T> = Omit<T, K> & ExactRequired<Pick<T, K>>;\n/**\n * @description Returns truthy if `array` contains `value`.\n *\n * @example\n * Some<[1, 2, 3], 2>\n * => true\n */\nexport type Some<array extends readonly unknown[], value> = array extends readonly [value, ...unknown[]] ? true : array extends readonly [unknown, ...infer rest] ? Some<rest, value> : false;\n/**\n * @description Creates a type that extracts the values of T.\n *\n * @example\n * ValueOf<{ a: string, b: number }>\n * => string | number\n *\n * @internal\n */\nexport type ValueOf<T> = T[keyof T];\nexport type UnionToTuple<union, last = LastInUnion<union>> = [union] extends [never] ? [] : [...UnionToTuple<Exclude<union, last>>, last];\ntype LastInUnion<U> = UnionToIntersection<U extends unknown ? (x: U) => 0 : never> extends (x: infer l) => 0 ? l : never;\ntype UnionToIntersection<union> = (union extends unknown ? (arg: union) => 0 : never) extends (arg: infer i) => 0 ? i : never;\nexport type IsUnion<union, union2 = union> = union extends union2 ? ([union2] extends [union] ? false : true) : never;\nexport type MaybePartial<type, enabled extends boolean | undefined> = enabled extends true ? Prettify<ExactPartial<type>> : type;\nexport type ExactPartial<type> = {\n [key in keyof type]?: type[key] | undefined;\n};\nexport type ExactRequired<type> = {\n [P in keyof type]-?: Exclude<type[P], undefined>;\n};\nexport type OneOf<union extends object, fallback extends object | undefined = undefined, keys extends KeyofUnion<union> = KeyofUnion<union>> = union extends infer item ? Prettify<item & {\n [key in Exclude<keys, keyof item>]?: fallback extends object ? key extends keyof fallback ? fallback[key] : undefined : undefined;\n}> : never;\ntype KeyofUnion<type> = type extends type ? keyof type : never;\n/**\n * Loose version of {@link Omit}\n * @internal\n */\nexport type LooseOmit<type, keys extends string> = Pick<type, Exclude<keyof type, keys>>;\nexport type UnionEvaluate<type> = type extends object ? Prettify<type> : type;\nexport type UnionLooseOmit<type, keys extends string> = type extends any ? LooseOmit<type, keys> : never;\n/**\n * @description Construct a type with the properties of union type T except for those in type K.\n * @example\n * type Result = UnionOmit<{ a: string, b: number } | { a: string, b: undefined, c: number }, 'a'>\n * => { b: number } | { b: undefined, c: number }\n */\nexport type UnionOmit<type, keys extends keyof type> = type extends any ? Omit<type, keys> : never;\n/**\n * @description Construct a type with the properties of union type T except for those in type K.\n * @example\n * type Result = UnionOmit<{ a: string, b: number } | { a: string, b: undefined, c: number }, 'a'>\n * => { b: number } | { b: undefined, c: number }\n */\nexport type UnionPick<type, keys extends keyof type> = type extends any ? Pick<type, keys> : never;\n/**\n * @description Creates a type that is a partial of T, but with the required keys K.\n *\n * @example\n * PartialBy<{ a: string, b: number } | { a: string, b: undefined, c: number }, 'a'>\n * => { a?: string, b: number } | { a?: string, b: undefined, c: number }\n */\nexport type UnionPartialBy<T, K extends keyof T> = T extends any ? PartialBy<T, K> : never;\n/**\n * @description Creates a type that is T with the required keys K.\n *\n * @example\n * RequiredBy<{ a?: string, b: number } | { a?: string, c?: number }, 'a'>\n * => { a: string, b: number } | { a: string, c?: number }\n */\nexport type UnionRequiredBy<T, K extends keyof T> = T extends any ? RequiredBy<T, K> : never;\nexport {};\n//# sourceMappingURL=utils.d.ts.map","import type { OneOf } from './utils.js';\nexport type ByteArray = Uint8Array;\nexport type Hex = `0x${string}`;\nexport type Hash = `0x${string}`;\nexport type LogTopic = Hex | Hex[] | null;\nexport type SignableMessage = string | {\n /** Raw data representation of the message. */\n raw: Hex | ByteArray;\n};\nexport type SignatureLegacy<bigintType = bigint> = {\n r: Hex;\n s: Hex;\n v: bigintType;\n};\nexport type Signature<numberType = number, bigintType = bigint> = OneOf<SignatureLegacy | {\n r: Hex;\n s: Hex;\n /** @deprecated use `yParity`. */\n v: bigintType;\n yParity?: numberType | undefined;\n} | {\n r: Hex;\n s: Hex;\n /** @deprecated use `yParity`. */\n v?: bigintType | undefined;\n yParity: numberType;\n}>;\nexport type CompactSignature = {\n r: Hex;\n yParityAndS: Hex;\n};\n//# sourceMappingURL=misc.d.ts.map","import type { Address } from 'abitype';\nimport type { Hex, Signature } from './misc.js';\nimport type { ExactPartial, OneOf } from './utils.js';\nexport type Authorization<uint32 = number, signed extends boolean = false> = {\n /** Address of the contract to delegate to. */\n address: Address;\n /** Chain ID. */\n chainId: uint32;\n /** Nonce of the EOA to delegate to. */\n nonce: uint32;\n} & (signed extends true ? Signature<uint32> : ExactPartial<Signature<uint32>>);\nexport type AuthorizationList<uint32 = number, signed extends boolean = false> = readonly Authorization<uint32, signed>[];\nexport type AuthorizationRequest<uint32 = number> = OneOf<{\n /** Address of the contract to delegate to. */\n address: Address;\n} | {\n /**\n * Address of the contract to delegate to.\n * @alias `address`\n */\n contractAddress: Address;\n}> & {\n /** Chain ID. */\n chainId: uint32;\n /** Nonce of the EOA to delegate to. */\n nonce: uint32;\n};\nexport type SignedAuthorization<uint32 = number> = Authorization<uint32, true>;\nexport type SignedAuthorizationList<uint32 = number> = readonly SignedAuthorization<uint32>[];\nexport type SerializedAuthorization = readonly [\n chainId: Hex,\n address: Hex,\n nonce: Hex,\n yParity: Hex,\n r: Hex,\n s: Hex\n];\nexport type SerializedAuthorizationList = readonly SerializedAuthorization[];\n//# sourceMappingURL=authorization.d.ts.map"],"x_google_ignoreList":[0,1,2],"mappings":";;;cAAcA;;;;AAYd;;;;;AAcA;;;AAAiLK,KAdrKJ,OAcqKI,CAAAA,CAAAA,EAAAA,CAAAA,CAAAA,GAdrJH,CAcqJG,GAAAA;EAAYG,CAbxLR,MAA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_clients = require('../clients-CVg-yW5b.cjs');
1
+ const require_clients = require('../clients-BCyzdTLc.cjs');
2
2
 
3
3
  exports.ActivityClient = require_clients.ActivityClient;
4
4
  exports.AuthClient = require_clients.AuthClient;
5
5
  exports.ConfigClient = require_clients.ConfigClient;
6
6
  exports.DelegationClient = require_clients.DelegationClient;
7
7
  exports.OrchestrationClient = require_clients.OrchestrationClient;
8
- exports.PaymentRequestsClient = require_clients.PaymentRequestsClient;
8
+ exports.preparePaymentRequest = require_clients.preparePaymentRequest;
@@ -1,3 +1,3 @@
1
- import "../abi-CQuxrNCU.cjs";
2
- import { a as PaymentRequestsClient, c as AuthClient, i as CreatePaymentRequestResponse, l as LoginOptions, n as ActivatePaymentRequestParams, o as DelegationClient, r as CreatePaymentRequestParameters, s as ConfigClient, t as OrchestrationClient, u as ActivityClient } from "../index-BH1YuouL.cjs";
3
- export { ActivatePaymentRequestParams, ActivityClient, AuthClient, ConfigClient, CreatePaymentRequestParameters, CreatePaymentRequestResponse, DelegationClient, LoginOptions, OrchestrationClient, PaymentRequestsClient };
1
+ import "../abi-OUq-mx1W.cjs";
2
+ import { a as preparePaymentRequest, c as AuthClient, i as PreparedPaymentRequest, l as LoginOptions, n as OrchestrationClient, o as DelegationClient, r as PreparePaymentRequestParams, s as ConfigClient, t as CreatePaymentRequestResponse, u as ActivityClient } from "../index-Ce_qYSJj.cjs";
3
+ export { ActivityClient, AuthClient, ConfigClient, CreatePaymentRequestResponse, DelegationClient, LoginOptions, OrchestrationClient, PreparePaymentRequestParams, PreparedPaymentRequest, preparePaymentRequest };
@@ -1,3 +1,3 @@
1
- import "../abi-Bd3X6gV9.mjs";
2
- import { a as PaymentRequestsClient, c as AuthClient, i as CreatePaymentRequestResponse, l as LoginOptions, n as ActivatePaymentRequestParams, o as DelegationClient, r as CreatePaymentRequestParameters, s as ConfigClient, t as OrchestrationClient, u as ActivityClient } from "../index-747pyuMH.mjs";
3
- export { ActivatePaymentRequestParams, ActivityClient, AuthClient, ConfigClient, CreatePaymentRequestParameters, CreatePaymentRequestResponse, DelegationClient, LoginOptions, OrchestrationClient, PaymentRequestsClient };
1
+ import "../abi-DW6AS0eM.mjs";
2
+ import { a as preparePaymentRequest, c as AuthClient, i as PreparedPaymentRequest, l as LoginOptions, n as OrchestrationClient, o as DelegationClient, r as PreparePaymentRequestParams, s as ConfigClient, t as CreatePaymentRequestResponse, u as ActivityClient } from "../index-CiyyA-wd.mjs";
3
+ export { ActivityClient, AuthClient, ConfigClient, CreatePaymentRequestResponse, DelegationClient, LoginOptions, OrchestrationClient, PreparePaymentRequestParams, PreparedPaymentRequest, preparePaymentRequest };
@@ -1,3 +1,3 @@
1
- import { a as AuthClient, i as ConfigClient, n as PaymentRequestsClient, o as ActivityClient, r as DelegationClient, t as OrchestrationClient } from "../clients-DnPvBXkX.mjs";
1
+ import { a as AuthClient, i as ConfigClient, n as OrchestrationClient, o as ActivityClient, r as DelegationClient, t as preparePaymentRequest } from "../clients-Bn4BUElo.mjs";
2
2
 
3
- export { ActivityClient, AuthClient, ConfigClient, DelegationClient, OrchestrationClient, PaymentRequestsClient };
3
+ export { ActivityClient, AuthClient, ConfigClient, DelegationClient, OrchestrationClient, preparePaymentRequest };