Skip to content

Commit 073a309

Browse files
authored
Prepare release (#1231)
1 parent aea722a commit 073a309

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+490
-255
lines changed

.github/workflows/api-kit-e2e-test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
run: yarn build
2626

2727
- name: Test
28+
env:
29+
API_KEY: ${{ secrets.API_KEY }}
2830
run: |
2931
cd packages/api-kit
3032
yarn test:ci:ethers

.github/workflows/cla.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
# branch should not be protected
2424
branch: 'main'
2525
# user names of users allowed to contribute without CLA
26-
allowlist: germartinez,rmeissner,Uxio0,dasanra,luarx,DaniSomoza,yagopv,JagoFigueroa,bot*
26+
allowlist: rmeissner,Uxio0,dasanra,luarx,yagopv,bot*
2727

2828
# the followings are the optional inputs - If the optional inputs are not given, then default values will be taken
2929
# enter the remote organization name where the signatures should be stored (Default is storing the signatures in the same repository)

guides/integrating-the-safe-core-sdk.md

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -264,25 +264,39 @@ type SafeMultisigTransactionResponse = {
264264
data?: string
265265
operation: number
266266
gasToken: string
267-
safeTxGas: number
268-
baseGas: number
267+
safeTxGas: string
268+
baseGas: string
269269
gasPrice: string
270270
refundReceiver?: string
271-
nonce: number
272-
executionDate: string
271+
nonce: string
272+
executionDate: string | null
273273
submissionDate: string
274274
modified: string
275275
blockNumber?: number
276-
transactionHash: string
276+
transactionHash: string | null
277277
safeTxHash: string
278-
executor?: string
278+
executor: string | null
279+
proposer: string | null
280+
proposedByDelegate: string | null
279281
isExecuted: boolean
280-
isSuccessful?: boolean
281-
ethGasPrice?: string
282-
gasUsed?: number
283-
fee?: string
282+
isSuccessful: boolean | null
283+
ethGasPrice: string | null
284+
maxFeePerGas: string | null
285+
maxPriorityFeePerGas: string | null
286+
gasUsed: number | null
287+
fee: string | null
284288
origin: string
285-
dataDecoded?: string
289+
dataDecoded?: {
290+
method: string
291+
parameters: [
292+
{
293+
name: string
294+
type: string
295+
value: string
296+
valueDecoded?: ValueDecoded[]
297+
}
298+
]
299+
}
286300
confirmationsRequired: number
287301
confirmations?: [
288302
{

packages/api-kit/.env-sample

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Transaction Service API Key
2+
API_KEY=

packages/api-kit/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@safe-global/api-kit",
3-
"version": "3.0.2",
3+
"version": "4.0.0",
44
"description": "SDK that facilitates the interaction with the Safe Transaction Service API",
55
"types": "dist/src/index.d.ts",
66
"main": "dist/cjs/index.cjs",
@@ -46,7 +46,7 @@
4646
],
4747
"homepage": "https://github.com/safe-global/safe-core-sdk#readme",
4848
"devDependencies": {
49-
"@safe-global/relay-kit": "^4.0.4",
49+
"@safe-global/relay-kit": "^4.0.5",
5050
"@safe-global/testing-kit": "^0.2.1",
5151
"@types/chai": "^4.3.20",
5252
"@types/chai-as-promised": "^7.1.8",
@@ -65,8 +65,8 @@
6565
"tsconfig-paths": "^4.2.0"
6666
},
6767
"dependencies": {
68-
"@safe-global/protocol-kit": "^6.0.5",
69-
"@safe-global/types-kit": "^2.0.1",
68+
"@safe-global/protocol-kit": "^6.1.0",
69+
"@safe-global/types-kit": "^3.0.0",
7070
"node-fetch": "^2.7.0",
7171
"viem": "^2.21.8"
7272
}

0 commit comments

Comments
 (0)