@aa-sdk/core 4.31.2 → 4.32.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/esm/client/schema.d.ts +8 -2
- package/dist/esm/client/schema.js +5 -2
- package/dist/esm/client/schema.js.map +1 -1
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/esm/version.js.map +1 -1
- package/dist/types/client/schema.d.ts +8 -2
- package/dist/types/client/schema.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +2 -3
- package/src/client/schema.ts +27 -21
- package/src/version.ts +1 -1
|
@@ -2,7 +2,7 @@ import type { Transport } from "viem";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import type { BundlerClient } from "./bundlerClient.js";
|
|
4
4
|
export declare const createPublicErc4337ClientSchema: <TTransport extends Transport = Transport>() => z.ZodType<BundlerClient<TTransport>, z.ZodTypeDef, BundlerClient<TTransport>>;
|
|
5
|
-
export declare const ConnectionConfigSchema: z.ZodUnion<[z.ZodObject<{
|
|
5
|
+
export declare const ConnectionConfigSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
6
6
|
rpcUrl: z.ZodOptional<z.ZodNever>;
|
|
7
7
|
apiKey: z.ZodString;
|
|
8
8
|
jwt: z.ZodOptional<z.ZodNever>;
|
|
@@ -50,7 +50,13 @@ export declare const ConnectionConfigSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
50
50
|
rpcUrl: string;
|
|
51
51
|
jwt: string;
|
|
52
52
|
apiKey?: undefined;
|
|
53
|
-
}>]
|
|
53
|
+
}>]>, z.ZodObject<{
|
|
54
|
+
chainAgnosticUrl: z.ZodOptional<z.ZodString>;
|
|
55
|
+
}, "strip", z.ZodTypeAny, {
|
|
56
|
+
chainAgnosticUrl?: string | undefined;
|
|
57
|
+
}, {
|
|
58
|
+
chainAgnosticUrl?: string | undefined;
|
|
59
|
+
}>>;
|
|
54
60
|
export declare const UserOperationFeeOptionsFieldSchema: z.ZodObject<{
|
|
55
61
|
min: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>, z.ZodNumber, z.ZodBigInt]>>>;
|
|
56
62
|
max: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>, z.ZodNumber, z.ZodBigInt]>>>;
|
|
@@ -9,7 +9,8 @@ export const createPublicErc4337ClientSchema = () => z.custom((provider) => {
|
|
|
9
9
|
"name" in provider);
|
|
10
10
|
});
|
|
11
11
|
// [!region ConnectionConfigSchema]
|
|
12
|
-
|
|
12
|
+
// TODO: in v5 either remove this or simplify it (either way this should be moved out of aa-sdk/core)
|
|
13
|
+
export const ConnectionConfigSchema = z.intersection(z.union([
|
|
13
14
|
z.object({
|
|
14
15
|
rpcUrl: z.never().optional(),
|
|
15
16
|
apiKey: z.string(),
|
|
@@ -30,7 +31,9 @@ export const ConnectionConfigSchema = z.union([
|
|
|
30
31
|
apiKey: z.never().optional(),
|
|
31
32
|
jwt: z.string(),
|
|
32
33
|
}),
|
|
33
|
-
])
|
|
34
|
+
]), z.object({
|
|
35
|
+
chainAgnosticUrl: z.string().optional(),
|
|
36
|
+
}));
|
|
34
37
|
// [!endregion ConnectionConfigSchema]
|
|
35
38
|
export const UserOperationFeeOptionsFieldSchema = BigNumberishRangeSchema.merge(MultiplierSchema).partial();
|
|
36
39
|
export const UserOperationFeeOptionsSchema_v6 = z
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../src/client/schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAG9E,MAAM,CAAC,MAAM,+BAA+B,GAAG,GAE3C,EAAE,CACJ,CAAC,CAAC,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,GAAG,gCAAgC,CAAC;AAE9E,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC;KAC1C,MAAM,CAAC;IACN;;OAEG;IACH,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAErD;;OAEG;IACH,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,IAAK,CAAC;IAE9D;;OAEG;IACH,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC;IAE5D;;OAEG;IACH,UAAU,EAAE,6BAA6B,CAAC,QAAQ,EAAE;CACrD,CAAC;KACD,MAAM,EAAE,CAAC","sourcesContent":["import type { Transport } from \"viem\";\nimport { z } from \"zod\";\n\nimport { BigNumberishRangeSchema, MultiplierSchema } from \"../utils/index.js\";\nimport type { BundlerClient } from \"./bundlerClient.js\";\n\nexport const createPublicErc4337ClientSchema = <\n TTransport extends Transport = Transport\n>() =>\n z.custom<BundlerClient<TTransport>>((provider) => {\n return (\n provider != null &&\n typeof provider === \"object\" &&\n \"request\" in provider &&\n \"type\" in provider &&\n \"key\" in provider &&\n \"name\" in provider\n );\n });\n\n// [!region ConnectionConfigSchema]\n// TODO: in v5 either remove this or simplify it (either way this should be moved out of aa-sdk/core)\nexport const ConnectionConfigSchema = z.intersection(\n z.union([\n z.object({\n rpcUrl: z.never().optional(),\n apiKey: z.string(),\n jwt: z.never().optional(),\n }),\n z.object({\n rpcUrl: z.never().optional(),\n apiKey: z.never().optional(),\n jwt: z.string(),\n }),\n z.object({\n rpcUrl: z.string(),\n apiKey: z.never().optional(),\n jwt: z.never().optional(),\n }),\n z.object({\n rpcUrl: z.string(),\n apiKey: z.never().optional(),\n jwt: z.string(),\n }),\n ]),\n z.object({\n chainAgnosticUrl: z.string().optional(),\n })\n);\n// [!endregion ConnectionConfigSchema]\n\nexport const UserOperationFeeOptionsFieldSchema =\n BigNumberishRangeSchema.merge(MultiplierSchema).partial();\n\nexport const UserOperationFeeOptionsSchema_v6 = z\n .object({\n maxFeePerGas: UserOperationFeeOptionsFieldSchema,\n maxPriorityFeePerGas: UserOperationFeeOptionsFieldSchema,\n callGasLimit: UserOperationFeeOptionsFieldSchema,\n verificationGasLimit: UserOperationFeeOptionsFieldSchema,\n preVerificationGas: UserOperationFeeOptionsFieldSchema,\n })\n .partial()\n .strict();\n\nexport const UserOperationFeeOptionsSchema_v7 =\n UserOperationFeeOptionsSchema_v6.extend({\n paymasterVerificationGasLimit: UserOperationFeeOptionsFieldSchema,\n paymasterPostOpGasLimit: UserOperationFeeOptionsFieldSchema,\n })\n .partial()\n .strict();\n\nexport const UserOperationFeeOptionsSchema = UserOperationFeeOptionsSchema_v7;\n\nexport const SmartAccountClientOptsSchema = z\n .object({\n /**\n * The maximum number of times to try fetching a transaction receipt before giving up (default: 5)\n */\n txMaxRetries: z.number().min(0).optional().default(5),\n\n /**\n * The interval in milliseconds to wait between retries while waiting for tx receipts (default: 2_000)\n */\n txRetryIntervalMs: z.number().min(0).optional().default(2_000),\n\n /**\n * The multiplier on interval length to wait between retries while waiting for tx receipts (default: 1.5)\n */\n txRetryMultiplier: z.number().min(0).optional().default(1.5),\n\n /**\n * Optional user operation fee options to be set globally at the provider level\n */\n feeOptions: UserOperationFeeOptionsSchema.optional(),\n })\n .strict();\n"]}
|
package/dist/esm/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "4.
|
|
1
|
+
export declare const VERSION = "4.32.0";
|
package/dist/esm/version.js
CHANGED
package/dist/esm/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,yBAAyB;AACzB,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC","sourcesContent":["// This file is autogenerated by inject-version.ts. Any changes will be\n// overwritten on commit!\nexport const VERSION = \"4.
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,yBAAyB;AACzB,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC","sourcesContent":["// This file is autogenerated by inject-version.ts. Any changes will be\n// overwritten on commit!\nexport const VERSION = \"4.32.0\";\n"]}
|
|
@@ -2,7 +2,7 @@ import type { Transport } from "viem";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import type { BundlerClient } from "./bundlerClient.js";
|
|
4
4
|
export declare const createPublicErc4337ClientSchema: <TTransport extends Transport = Transport>() => z.ZodType<BundlerClient<TTransport>, z.ZodTypeDef, BundlerClient<TTransport>>;
|
|
5
|
-
export declare const ConnectionConfigSchema: z.ZodUnion<[z.ZodObject<{
|
|
5
|
+
export declare const ConnectionConfigSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
6
6
|
rpcUrl: z.ZodOptional<z.ZodNever>;
|
|
7
7
|
apiKey: z.ZodString;
|
|
8
8
|
jwt: z.ZodOptional<z.ZodNever>;
|
|
@@ -50,7 +50,13 @@ export declare const ConnectionConfigSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
50
50
|
rpcUrl: string;
|
|
51
51
|
jwt: string;
|
|
52
52
|
apiKey?: undefined;
|
|
53
|
-
}>]
|
|
53
|
+
}>]>, z.ZodObject<{
|
|
54
|
+
chainAgnosticUrl: z.ZodOptional<z.ZodString>;
|
|
55
|
+
}, "strip", z.ZodTypeAny, {
|
|
56
|
+
chainAgnosticUrl?: string | undefined;
|
|
57
|
+
}, {
|
|
58
|
+
chainAgnosticUrl?: string | undefined;
|
|
59
|
+
}>>;
|
|
54
60
|
export declare const UserOperationFeeOptionsFieldSchema: z.ZodObject<{
|
|
55
61
|
min: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>, z.ZodNumber, z.ZodBigInt]>>>;
|
|
56
62
|
max: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>, z.ZodNumber, z.ZodBigInt]>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/client/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,MAAM,CAAC;AACtC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD,eAAO,MAAM,+BAA+B,+HAYxC,CAAC;
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/client/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,MAAM,CAAC;AACtC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAExD,eAAO,MAAM,+BAA+B,+HAYxC,CAAC;AAIL,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BlC,CAAC;AAGF,eAAO,MAAM,kCAAkC;;;;;;;;;;;;EACY,CAAC;AAE5D,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EASlC,CAAC;AAEZ,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMhC,CAAC;AAEd,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAmC,CAAC;AAE9E,eAAO,MAAM,4BAA4B;IAErC;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;IAGH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGI,CAAC"}
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "4.
|
|
1
|
+
export declare const VERSION = "4.32.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aa-sdk/core",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.32.0",
|
|
5
5
|
"description": "viem based SDK that enables interactions with ERC-4337 Smart Accounts. ABIs are based off the definitions generated in @account-abstraction/contracts",
|
|
6
6
|
"author": "Alchemy",
|
|
7
7
|
"type": "module",
|
|
@@ -37,7 +37,6 @@
|
|
|
37
37
|
"build": "yarn clean && yarn build:esm && yarn build:types",
|
|
38
38
|
"build:esm": "tsc --project tsconfig.build.json --outDir ./dist/esm",
|
|
39
39
|
"build:types": "tsc --project tsconfig.build.json --declarationDir ./dist/types --emitDeclarationOnly --declaration --declarationMap",
|
|
40
|
-
"docs:gen": "node ../../doc-gen/dist/esm/cli.js generate --in ./src/index.ts --out ../../site/pages/reference/aa-sdk/core",
|
|
41
40
|
"fern:gen": "node ../../doc-gen/dist/esm/cli.js generate --in ./src/index.ts --out ../../docs/pages/reference/aa-sdk/core --fern",
|
|
42
41
|
"clean": "rm -rf ./dist",
|
|
43
42
|
"test": "vitest",
|
|
@@ -66,5 +65,5 @@
|
|
|
66
65
|
"url": "https://github.com/alchemyplatform/aa-sdk/issues"
|
|
67
66
|
},
|
|
68
67
|
"homepage": "https://github.com/alchemyplatform/aa-sdk#readme",
|
|
69
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "efe1ba2e525ac0fc6ed0007b3d28dc9c8e063d78"
|
|
70
69
|
}
|
package/src/client/schema.ts
CHANGED
|
@@ -19,28 +19,34 @@ export const createPublicErc4337ClientSchema = <
|
|
|
19
19
|
});
|
|
20
20
|
|
|
21
21
|
// [!region ConnectionConfigSchema]
|
|
22
|
-
|
|
22
|
+
// TODO: in v5 either remove this or simplify it (either way this should be moved out of aa-sdk/core)
|
|
23
|
+
export const ConnectionConfigSchema = z.intersection(
|
|
24
|
+
z.union([
|
|
25
|
+
z.object({
|
|
26
|
+
rpcUrl: z.never().optional(),
|
|
27
|
+
apiKey: z.string(),
|
|
28
|
+
jwt: z.never().optional(),
|
|
29
|
+
}),
|
|
30
|
+
z.object({
|
|
31
|
+
rpcUrl: z.never().optional(),
|
|
32
|
+
apiKey: z.never().optional(),
|
|
33
|
+
jwt: z.string(),
|
|
34
|
+
}),
|
|
35
|
+
z.object({
|
|
36
|
+
rpcUrl: z.string(),
|
|
37
|
+
apiKey: z.never().optional(),
|
|
38
|
+
jwt: z.never().optional(),
|
|
39
|
+
}),
|
|
40
|
+
z.object({
|
|
41
|
+
rpcUrl: z.string(),
|
|
42
|
+
apiKey: z.never().optional(),
|
|
43
|
+
jwt: z.string(),
|
|
44
|
+
}),
|
|
45
|
+
]),
|
|
23
46
|
z.object({
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}),
|
|
28
|
-
z.object({
|
|
29
|
-
rpcUrl: z.never().optional(),
|
|
30
|
-
apiKey: z.never().optional(),
|
|
31
|
-
jwt: z.string(),
|
|
32
|
-
}),
|
|
33
|
-
z.object({
|
|
34
|
-
rpcUrl: z.string(),
|
|
35
|
-
apiKey: z.never().optional(),
|
|
36
|
-
jwt: z.never().optional(),
|
|
37
|
-
}),
|
|
38
|
-
z.object({
|
|
39
|
-
rpcUrl: z.string(),
|
|
40
|
-
apiKey: z.never().optional(),
|
|
41
|
-
jwt: z.string(),
|
|
42
|
-
}),
|
|
43
|
-
]);
|
|
47
|
+
chainAgnosticUrl: z.string().optional(),
|
|
48
|
+
})
|
|
49
|
+
);
|
|
44
50
|
// [!endregion ConnectionConfigSchema]
|
|
45
51
|
|
|
46
52
|
export const UserOperationFeeOptionsFieldSchema =
|
package/src/version.ts
CHANGED