Skip to content

Commit

Permalink
Merge pull request #102 from rhinestonewtf/feature/smartsessions-reme…
Browse files Browse the repository at this point in the history
…diated

feat: smartsessions remediated
  • Loading branch information
kopy-kat authored Dec 26, 2024
2 parents 48a5525 + 7256433 commit 8d85a3c
Show file tree
Hide file tree
Showing 25 changed files with 1,064 additions and 476 deletions.
4 changes: 2 additions & 2 deletions .size-limit.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
{
"name": "module-sdk (esm)",
"path": "./src/_esm/index.js",
"limit": "70 kB",
"limit": "80 kB",
"import": "*"
},
{
"name": "module-sdk (cjs)",
"path": "./src/_cjs/index.js",
"limit": "150 kB"
"limit": "170 kB"
},
{
"name": "module-sdk (minimal surface - tree-shaking)",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"tsc-alias": "^1.8.10",
"typescript": "^5.3.3",
"utf-8-validate": "^6.0.3",
"viem": "^2.4.1",
"viem": "^2.16.3",
"ws": "^8.16.0"
},
"dependencies": {
Expand Down
3 changes: 2 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/account/nexus/constants/abis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const bootstrapAbi = [

export const accountAbi = [
'function getActiveHook() external view returns (address hook)',
'function getValidatorPaginated(address cursor,uint256 size) returns (address[] memory, address)',
'function getValidatorsPaginated(address cursor,uint256 size) returns (address[] memory, address)',
'function getExecutorsPaginated(address cursor,uint256 size) returns (address[] memory, address)',
'function installModule(uint256 moduleTypeId,address module,bytes calldata initData)',
'function uninstallModule(uint256 moduleTypeId,address module,bytes calldata deInitData)',
Expand Down
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,10 @@ export {
getEnableSessionDetails,
SmartSessionMode,
Session,
SessionEIP712,
SignedPermissions,
PolicyData,
ERC7739Data,
ERC7739Context,
ActionData,
EnableSession,
EnableSessionData,
Expand Down
4 changes: 3 additions & 1 deletion src/module/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,11 @@ export {
getEnableSessionDetails,
SmartSessionMode,
Session,
SessionEIP712,
SignedSession,
SignedPermissions,
PolicyData,
ERC7739Data,
ERC7739Context,
ActionData,
EnableSession,
EnableSessionData,
Expand Down
Loading

0 comments on commit 8d85a3c

Please sign in to comment.