@alchemy/smart-accounts 0.0.0-alpha.20 → 0.0.0-alpha.22

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 Alchemy Insights, Inc.
3
+ Copyright (c) 2026 Alchemy Insights, Inc.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md ADDED
@@ -0,0 +1,36 @@
1
+ # @alchemy/smart-accounts
2
+
3
+ Viem-compatible smart account implementations for Alchemy's smart contract accounts. Supports LightAccount, Modular Account v1, and Modular Account v2 with EIP-7702.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @alchemy/smart-accounts @alchemy/common viem
9
+ ```
10
+
11
+ ## Key Exports
12
+
13
+ ### LightAccount
14
+
15
+ - **`toLightAccount`** - Single-owner LightAccount
16
+ - **`toMultiOwnerLightAccount`** - Multi-owner variant
17
+ - **`predictLightAccountAddress`** / **`predictMultiOwnerLightAccountAddress`** - Counterfactual address prediction
18
+ - **`singleOwnerLightAccountActions`** / **`multiOwnerLightAccountActions`** - Client decorators
19
+
20
+ ### Modular Account v1 (ERC-6900)
21
+
22
+ - **`toMultiOwnerModularAccountV1`** - Account constructor
23
+ - **`multiOwnerModularAccountV1Actions`** - Client decorator
24
+ - **`predictMultiOwnerModularAccountV1Address`** - Address prediction
25
+
26
+ ### Modular Account v2
27
+
28
+ - **`toModularAccountV2`** - Account constructor with EIP-7702 support
29
+ - **`deferralActions`** / **`installValidationActions`** - Client decorators
30
+ - **Modules** - `AllowlistModule`, `NativeTokenLimitModule`, `PaymasterGuardModule`, `SingleSignerValidationModule`, `TimeRangeModule`
31
+ - **`PermissionBuilder`** - Fluent builder for session key permissions
32
+ - **Signature utilities** - `packUOSignature`, `pack1271Signature`, `toReplaySafeTypedData`
33
+
34
+ ## License
35
+
36
+ MIT
@@ -1 +1 @@
1
- export declare const VERSION = "0.0.0-alpha.19";
1
+ export declare const VERSION = "0.0.0-alpha.21";
@@ -1,4 +1,4 @@
1
1
  // This file is autogenerated by inject-version.ts. Any changes will be
2
2
  // overwritten on commit!
3
- export const VERSION = "0.0.0-alpha.19";
3
+ export const VERSION = "0.0.0-alpha.21";
4
4
  //# sourceMappingURL=version.js.map
@@ -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,gBAAgB,CAAC","sourcesContent":["// This file is autogenerated by inject-version.ts. Any changes will be\n// overwritten on commit!\nexport const VERSION = \"0.0.0-alpha.19\";\n"]}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,yBAAyB;AACzB,MAAM,CAAC,MAAM,OAAO,GAAG,gBAAgB,CAAC","sourcesContent":["// This file is autogenerated by inject-version.ts. Any changes will be\n// overwritten on commit!\nexport const VERSION = \"0.0.0-alpha.21\";\n"]}
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.0.0-alpha.19";
1
+ export declare const VERSION = "0.0.0-alpha.21";
2
2
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alchemy/smart-accounts",
3
- "version": "0.0.0-alpha.20",
3
+ "version": "0.0.0-alpha.22",
4
4
  "description": "This package contains all of the viem interfaces for Alchemy's Smart Contract Accounts",
5
5
  "author": "Alchemy",
6
6
  "license": "MIT",
@@ -39,11 +39,11 @@
39
39
  "test:run": "vitest run"
40
40
  },
41
41
  "devDependencies": {
42
- "@alchemy/aa-infra": "^0.0.0-alpha.20",
42
+ "@alchemy/aa-infra": "^0.0.0-alpha.22",
43
43
  "typescript-template": "*"
44
44
  },
45
45
  "dependencies": {
46
- "@alchemy/common": "^0.0.0-alpha.20",
46
+ "@alchemy/common": "^0.0.0-alpha.22",
47
47
  "viem": "^2.44.2"
48
48
  },
49
49
  "publishConfig": {
@@ -58,5 +58,5 @@
58
58
  "url": "https://github.com/alchemyplatform/aa-sdk/issues"
59
59
  },
60
60
  "homepage": "https://github.com/alchemyplatform/aa-sdk#readme",
61
- "gitHead": "b759d878f074f4d657d62d2a8e2ef4a5631ab209"
61
+ "gitHead": "10e989504f15718c4c6b66e6856e509dfb3e6cfe"
62
62
  }
package/src/version.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  // This file is autogenerated by inject-version.ts. Any changes will be
2
2
  // overwritten on commit!
3
- export const VERSION = "0.0.0-alpha.20";
3
+ export const VERSION = "0.0.0-alpha.22";