Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/apps/registry-backend/src/lib/getAgentFunds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ export async function getAgentFunds(
tokens: data.data.tokens,
pageKey: data.data.pageKey,
};
}
}
14 changes: 14 additions & 0 deletions packages/libs/e2e-test-utils/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ module.exports = [
files: ['**/*.ts', '**/*.tsx'],
rules: {
'@typescript-eslint/no-floating-promises': 'off',
'@nx/dependency-checks': [
'error',
{
buildTargets: ['build'],
checkVersionMismatches: true,
ignoredFiles: [
'{projectRoot}/eslint.config.{js,cjs,mjs}',
'{projectRoot}/jest.config.{js,cjs,mjs,ts}',
'{projectRoot}/vite.config.*',
'{projectRoot}/esbuild.config.{js,cjs,mjs}',
],
ignoredDependencies: ['@lit-protocol/contracts-sdk'],
},
],
},
},
];
8 changes: 1 addition & 7 deletions packages/libs/e2e-test-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
{
"name": "@lit-protocol/vincent-e2e-test-utils",
"version": "4.0.0",
"version": "4.0.1-alpha.0",
"publishConfig": {
"access": "public"
},
"dependencies": {
"@lit-protocol/vincent-app-sdk": "workspace:*",
"@lit-protocol/contracts-sdk": "^7.2.3",
"@lit-protocol/pkp-ethers": "^7.3.1",
"@lit-protocol/vincent-contracts-sdk": "workspace:*",
Copy link

Copilot AI Jan 31, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The package still imports @lit-protocol/contracts-sdk (specifically LitContracts in src/setup-dev-env/wallets/ensureWalletHasCapacityCredit.ts), but it's being removed from direct dependencies. While this dependency is transitively available through @lit-protocol/vincent-contracts-sdk, relying on transitive dependencies is fragile and can break if the parent package removes it. Consider either keeping @lit-protocol/contracts-sdk as a direct dependency or refactoring ensureWalletHasCapacityCredit to not use it.

Suggested change
"@lit-protocol/vincent-contracts-sdk": "workspace:*",
"@lit-protocol/vincent-contracts-sdk": "workspace:*",
"@lit-protocol/contracts-sdk": "workspace:*",

Copilot uses AI. Check for mistakes.
"@zerodev/ecdsa-validator": "^5.4.9",
"@zerodev/permissions": "^5.6.2",
"@zerodev/sdk": "^5.5.3",
"ethers": "^5.7.2",
"tslib": "^2.8.1",
"viem": "^2.38.3"
Expand All @@ -29,7 +24,6 @@
}
},
"devDependencies": {
"@lit-protocol/vincent-contracts-sdk": "workspace:*",
"@types/semver": "^7.7.0",
"chokidar-cli": "^3.0.0",
"dotenv-cli": "^7.4.2",
Expand Down
9 changes: 2 additions & 7 deletions packages/libs/e2e-test-utils/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
export {
deploySmartAccount,
ensureWalletHasTokens,
getEnv,
setupVincentDevelopmentEnvironment,
} from './setup-dev-env';
export { ensureWalletHasTokens, getEnv, setupVincentDevelopmentEnvironment } from './setup-dev-env';

export type { SetupConfig, SmartAccountInfo, VincentDevEnvironment } from './setup-dev-env';
export type { SetupConfig, VincentDevEnvironment } from './setup-dev-env';
2 changes: 0 additions & 2 deletions packages/libs/e2e-test-utils/src/setup-dev-env/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
export { setupVincentDevelopmentEnvironment } from './setupVincentDevEnv';
export { getEnv } from './getEnv';
export { deploySmartAccount } from './smart-account/deploySmartAccount';
export { ensureWalletHasTokens } from './wallets/ensureWalletHasTokens';

export type { SetupConfig, VincentDevEnvironment } from './setupVincentDevEnv';
export type { SmartAccountInfo } from './smart-account/deploySmartAccount';

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ export async function completeAppInstallation({
body: JSON.stringify({
userControllerAddress: viemAccount.address,
agentSignerAddress,
appId,
appInstallation: {
typedDataSignature: appInstallationSignature,
dataToSign: appInstallationDataToSign,
Expand Down

This file was deleted.

Loading