Skip to content

Commit

Permalink
Merge pull request #12 from coinbase/main-1704927977
Browse files Browse the repository at this point in the history
Release v0.4.2
  • Loading branch information
drohit-cb authored Jan 10, 2024
2 parents 9c14738 + 1a7b0c4 commit 86ee6ae
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 35 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ To test that your API Key gives you access as expected to the Staking APIs:
{
name: 'protocols/ethereum_kiln/networks/goerli/actions/unstake'
},
{
name: 'protocols/ethereum_kiln/networks/goerli/actions/claim_rewards'
},
{
name: 'protocols/ethereum_kiln/networks/goerli/actions/claim_stake'
}
Expand Down
23 changes: 0 additions & 23 deletions docs/openapi/orchestration.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -912,25 +912,6 @@
},
"description": "A Contract resource, which represents an active contract\nfor the given protocol network which you can submit an action\nto."
},
"v1alpha1EthereumKilnClaimRewardsParameters": {
"type": "object",
"properties": {
"stakerAddress": {
"type": "string",
"description": "The address you wish to claim rewards for."
},
"integratorContractAddress": {
"type": "string",
"description": "The address of the integrator contract."
}
},
"description": "The parameters required for the claim rewards action on Ethereum Kiln.",
"title": "EthereumKiln: Claim Rewards Parameters",
"required": [
"stakerAddress",
"integratorContractAddress"
]
},
"v1alpha1EthereumKilnClaimStakeParameters": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -1027,10 +1008,6 @@
"$ref": "#/definitions/v1alpha1EthereumKilnUnstakeParameters",
"description": "The parameters for unstake action on Ethereum Kiln."
},
"claimRewardsParameters": {
"$ref": "#/definitions/v1alpha1EthereumKilnClaimRewardsParameters",
"description": "The parameters for claim rewards action on Ethereum Kiln."
},
"claimStakeParameters": {
"$ref": "#/definitions/v1alpha1EthereumKilnClaimStakeParameters",
"description": "The parameters for claim stake action on Ethereum Kiln."
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coinbase/staking-client-library-ts",
"version": "0.4.1",
"version": "0.4.2",
"description": "Coinbase Cloud Staking API Typescript Library",
"repository": "https://github.com/coinbase/staking-client-library-ts.git",
"license": "Apache-2.0",
Expand Down
7 changes: 1 addition & 6 deletions src/gen/coinbase/staking/v1alpha1/ethereum_kiln.pb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ export type EthereumKilnUnstakeParameters = {
amount?: CoinbaseStakingV1alpha1Common.Amount
}

export type EthereumKilnClaimRewardsParameters = {
stakerAddress?: string
integratorContractAddress?: string
}

export type EthereumKilnClaimStakeParameters = {
stakerAddress?: string
integratorContractAddress?: string
Expand All @@ -41,7 +36,7 @@ type BaseEthereumKilnStakingParameters = {
}

export type EthereumKilnStakingParameters = BaseEthereumKilnStakingParameters
& OneOf<{ stakeParameters: EthereumKilnStakeParameters; unstakeParameters: EthereumKilnUnstakeParameters; claimRewardsParameters: EthereumKilnClaimRewardsParameters; claimStakeParameters: EthereumKilnClaimStakeParameters }>
& OneOf<{ stakeParameters: EthereumKilnStakeParameters; unstakeParameters: EthereumKilnUnstakeParameters; claimStakeParameters: EthereumKilnClaimStakeParameters }>

export type EthereumKilnStakingContextParameters = {
integratorContractAddress?: string
Expand Down
9 changes: 9 additions & 0 deletions src/gen/google/protobuf/timestamp.pb.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* eslint-disable */
// @ts-nocheck
/*
* This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
*/
export type Timestamp = {
seconds?: string
nanos?: number
}

0 comments on commit 86ee6ae

Please sign in to comment.