Skip to content

Commit

Permalink
chore: set release versions and minor fixes (#992)
Browse files Browse the repository at this point in the history
* chore: fix leftovers

* chore: remove missing include

* chore: set release versions

* Fix type not exported

---------

Co-authored-by: Yago Pérez Vázquez <[email protected]>
  • Loading branch information
dasanra and yagopv authored Oct 1, 2024
1 parent a6c49eb commit f5a8d3d
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 22 deletions.
1 change: 0 additions & 1 deletion .github/workflows/protocol-kit-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
8 changes: 4 additions & 4 deletions packages/api-kit/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand All @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions packages/protocol-kit/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand All @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions packages/relay-kit/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
6 changes: 3 additions & 3 deletions packages/sdk-starter-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion packages/testing-kit/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/testing-kit/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"composite": true,
"outDir": "dist"
},
"include": ["bin/**/*", "src/**/*"],
"include": ["src/**/*"],
"files": ["./hardhat.config.ts"]
}
2 changes: 1 addition & 1 deletion packages/testing-kit/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
"composite": true,
"outDir": "dist"
},
"include": ["bin/**/*", "src/**/*"]
"include": ["src/**/*"]
}

0 comments on commit f5a8d3d

Please sign in to comment.