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: 2 additions & 0 deletions .github/workflows/api-kit-e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
run: yarn build

- name: Test
env:
API_KEY: ${{ secrets.API_KEY }}
run: |
cd packages/api-kit
yarn test:ci:ethers
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
# branch should not be protected
branch: 'main'
# user names of users allowed to contribute without CLA
allowlist: germartinez,rmeissner,Uxio0,dasanra,luarx,DaniSomoza,yagopv,JagoFigueroa,bot*
allowlist: rmeissner,Uxio0,dasanra,luarx,yagopv,bot*

# the followings are the optional inputs - If the optional inputs are not given, then default values will be taken
# enter the remote organization name where the signatures should be stored (Default is storing the signatures in the same repository)
Expand Down
36 changes: 25 additions & 11 deletions guides/integrating-the-safe-core-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,25 +264,39 @@ type SafeMultisigTransactionResponse = {
data?: string
operation: number
gasToken: string
safeTxGas: number
baseGas: number
safeTxGas: string
baseGas: string
gasPrice: string
refundReceiver?: string
nonce: number
executionDate: string
nonce: string
executionDate: string | null
submissionDate: string
modified: string
blockNumber?: number
transactionHash: string
transactionHash: string | null
safeTxHash: string
executor?: string
executor: string | null
proposer: string | null
proposedByDelegate: string | null
isExecuted: boolean
isSuccessful?: boolean
ethGasPrice?: string
gasUsed?: number
fee?: string
isSuccessful: boolean | null
ethGasPrice: string | null
maxFeePerGas: string | null
maxPriorityFeePerGas: string | null
gasUsed: number | null
fee: string | null
origin: string
dataDecoded?: string
dataDecoded?: {
method: string
parameters: [
{
name: string
type: string
value: string
valueDecoded?: ValueDecoded[]
}
]
}
confirmationsRequired: number
confirmations?: [
{
Expand Down
2 changes: 2 additions & 0 deletions packages/api-kit/.env-sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Transaction Service API Key
API_KEY=
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": "3.0.2",
"version": "4.0.0",
"description": "SDK that facilitates the interaction with the Safe Transaction Service API",
"types": "dist/src/index.d.ts",
"main": "dist/cjs/index.cjs",
Expand Down Expand Up @@ -46,7 +46,7 @@
],
"homepage": "https://github.com/safe-global/safe-core-sdk#readme",
"devDependencies": {
"@safe-global/relay-kit": "^4.0.4",
"@safe-global/relay-kit": "^4.0.5",
"@safe-global/testing-kit": "^0.2.1",
"@types/chai": "^4.3.20",
"@types/chai-as-promised": "^7.1.8",
Expand All @@ -65,8 +65,8 @@
"tsconfig-paths": "^4.2.0"
},
"dependencies": {
"@safe-global/protocol-kit": "^6.0.5",
"@safe-global/types-kit": "^2.0.1",
"@safe-global/protocol-kit": "^6.1.0",
"@safe-global/types-kit": "^3.0.0",
"node-fetch": "^2.7.0",
"viem": "^2.21.8"
}
Expand Down
Loading
Loading