diff --git a/.github/workflows/protocol-kit-e2e-test.yml b/.github/workflows/protocol-kit-e2e-test.yml index 0378f8127..7e790f43f 100644 --- a/.github/workflows/protocol-kit-e2e-test.yml +++ b/.github/workflows/protocol-kit-e2e-test.yml @@ -27,5 +27,4 @@ jobs: - name: Test ${{ matrix.provider }} - Safe ${{ matrix.contract-version }} run: | cd packages/protocol-kit - ls -la $(pwd)/node_modules/.bin yarn test:hardhat:${{ matrix.provider }}:${{ matrix.contract-version }} diff --git a/packages/api-kit/package.json b/packages/api-kit/package.json index 7366c33aa..2c47c8304 100644 --- a/packages/api-kit/package.json +++ b/packages/api-kit/package.json @@ -1,6 +1,6 @@ { "name": "@safe-global/api-kit", - "version": "2.4.6", + "version": "2.5.0", "description": "SDK that facilitates the interaction with the Safe Transaction Service API", "main": "dist/src/index.js", "typings": "dist/src/index.d.ts", @@ -39,8 +39,8 @@ ], "homepage": "https://github.com/safe-global/safe-core-sdk#readme", "devDependencies": { - "@safe-global/relay-kit": "^3.1.0", - "@safe-global/testing-kit": "^0.0.1-alpha.1", + "@safe-global/relay-kit": "^3.2.0", + "@safe-global/testing-kit": "^0.1.0", "@types/chai": "^4.3.19", "@types/chai-as-promised": "^7.1.8", "@types/mocha": "^10.0.8", @@ -58,7 +58,7 @@ "web3": "^4.12.1" }, "dependencies": { - "@safe-global/protocol-kit": "^4.1.1", + "@safe-global/protocol-kit": "^5.0.0", "@safe-global/types-kit": "^1.0.0", "node-fetch": "^2.7.0", "viem": "^2.21.8" diff --git a/packages/protocol-kit/package.json b/packages/protocol-kit/package.json index 7d3d5d6db..b5f45fa42 100644 --- a/packages/protocol-kit/package.json +++ b/packages/protocol-kit/package.json @@ -1,6 +1,6 @@ { "name": "@safe-global/protocol-kit", - "version": "4.1.1", + "version": "5.0.0", "description": "SDK that facilitates the interaction with Safe Smart Accounts", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", @@ -52,7 +52,7 @@ "homepage": "https://github.com/safe-global/safe-core-sdk#readme", "devDependencies": { "@safe-global/safe-passkey": "0.2.0-alpha.1", - "@safe-global/testing-kit": "^0.0.1-alpha.1", + "@safe-global/testing-kit": "^0.1.0", "@types/chai": "^4.3.19", "@types/chai-as-promised": "^7.1.8", "@types/mocha": "^10.0.8", @@ -68,9 +68,9 @@ }, "dependencies": { "@noble/hashes": "^1.3.3", - "@safe-global/types-kit": "^1.0.0", "@safe-global/safe-deployments": "^1.37.9", "@safe-global/safe-modules-deployments": "^2.2.1", + "@safe-global/types-kit": "^1.0.0", "abitype": "^1.0.2", "semver": "^7.6.3", "viem": "^2.21.8" diff --git a/packages/relay-kit/package.json b/packages/relay-kit/package.json index 27204da3b..fe4d06520 100644 --- a/packages/relay-kit/package.json +++ b/packages/relay-kit/package.json @@ -1,6 +1,6 @@ { "name": "@safe-global/relay-kit", - "version": "3.1.1", + "version": "3.2.0", "description": "SDK for Safe Smart Accounts with support for ERC-4337 and Relay", "main": "dist/src/index.js", "typings": "dist/src/index.d.ts", @@ -39,9 +39,9 @@ }, "dependencies": { "@gelatonetwork/relay-sdk": "^5.5.0", - "@safe-global/protocol-kit": "^4.1.1", - "@safe-global/types-kit": "^1.0.0", + "@safe-global/protocol-kit": "^5.0.0", "@safe-global/safe-modules-deployments": "^2.2.1", + "@safe-global/types-kit": "^1.0.0", "viem": "^2.21.8" } } diff --git a/packages/relay-kit/src/packs/safe-4337/estimators/PimlicoFeeEstimator.test.ts b/packages/relay-kit/src/packs/safe-4337/estimators/PimlicoFeeEstimator.test.ts index 779f9eea8..c6f263ef7 100644 --- a/packages/relay-kit/src/packs/safe-4337/estimators/PimlicoFeeEstimator.test.ts +++ b/packages/relay-kit/src/packs/safe-4337/estimators/PimlicoFeeEstimator.test.ts @@ -35,7 +35,6 @@ describe('PimlicoFeeEstimator', () => { expect(sponsoredGasEstimation).toEqual({ maxFeePerGas: 100000n, maxPriorityFeePerGas: 200000n }) }) - // TODO: This tests breaks because of the BigInt serialization and requires further investigation it('should enable to adjust the gas estimation', async () => { const sponsoredGasEstimation = await estimator.adjustEstimation({ bundlerUrl: fixtures.BUNDLER_URL, diff --git a/packages/sdk-starter-kit/package.json b/packages/sdk-starter-kit/package.json index a5b7e13a2..47dac5549 100644 --- a/packages/sdk-starter-kit/package.json +++ b/packages/sdk-starter-kit/package.json @@ -36,9 +36,9 @@ "access": "public" }, "dependencies": { - "@safe-global/api-kit": "^2.4.6", - "@safe-global/protocol-kit": "^4.1.1", - "@safe-global/relay-kit": "^3.1.1", + "@safe-global/api-kit": "^2.5.0", + "@safe-global/protocol-kit": "^5.0.0", + "@safe-global/relay-kit": "^3.2.0", "@safe-global/types-kit": "^1.0.0", "viem": "^2.21.8" } diff --git a/packages/sdk-starter-kit/src/extensions/safe-operations/safeOperations.ts b/packages/sdk-starter-kit/src/extensions/safe-operations/safeOperations.ts index cbfe5e565..6e64fe2c2 100644 --- a/packages/sdk-starter-kit/src/extensions/safe-operations/safeOperations.ts +++ b/packages/sdk-starter-kit/src/extensions/safe-operations/safeOperations.ts @@ -4,13 +4,16 @@ import { PaymasterOptions, Safe4337Pack } from '@safe-global/relay-kit' import { SafeClient } from '@safe-global/sdk-starter-kit/SafeClient' import { SafeOperationClient } from '@safe-global/sdk-starter-kit/extensions/safe-operations/SafeOperationClient' -import { BundlerOptions } from '@safe-global/sdk-starter-kit/extensions/safe-operations/types' import { ConfirmSafeOperationProps, SafeClientResult, SendSafeOperationProps } from '@safe-global/sdk-starter-kit/types' +export type BundlerOptions = { + bundlerUrl: string +} + /** * Extend the SafeClient with the ability to use a bundler and a paymaster * diff --git a/packages/sdk-starter-kit/src/extensions/safe-operations/types.ts b/packages/sdk-starter-kit/src/extensions/safe-operations/types.ts deleted file mode 100644 index ea042bec2..000000000 --- a/packages/sdk-starter-kit/src/extensions/safe-operations/types.ts +++ /dev/null @@ -1,3 +0,0 @@ -export type BundlerOptions = { - bundlerUrl: string -} diff --git a/packages/testing-kit/package.json b/packages/testing-kit/package.json index e721587f5..6027d2f41 100644 --- a/packages/testing-kit/package.json +++ b/packages/testing-kit/package.json @@ -1,6 +1,6 @@ { "name": "@safe-global/testing-kit", - "version": "0.0.1-alpha.1", + "version": "0.1.0", "description": "Helper package providing testing utilities", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", diff --git a/packages/testing-kit/tsconfig.build.json b/packages/testing-kit/tsconfig.build.json index 5e4563c61..21c0f1779 100644 --- a/packages/testing-kit/tsconfig.build.json +++ b/packages/testing-kit/tsconfig.build.json @@ -4,6 +4,6 @@ "composite": true, "outDir": "dist" }, - "include": ["bin/**/*", "src/**/*"], + "include": ["src/**/*"], "files": ["./hardhat.config.ts"] } diff --git a/packages/testing-kit/tsconfig.json b/packages/testing-kit/tsconfig.json index c35515726..c05e497c4 100644 --- a/packages/testing-kit/tsconfig.json +++ b/packages/testing-kit/tsconfig.json @@ -4,5 +4,5 @@ "composite": true, "outDir": "dist" }, - "include": ["bin/**/*", "src/**/*"] + "include": ["src/**/*"] }