diff --git a/README.md b/README.md index 15ca572..96e31ff 100644 --- a/README.md +++ b/README.md @@ -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' } diff --git a/docs/openapi/orchestration.swagger.json b/docs/openapi/orchestration.swagger.json index 965071d..1ad5810 100644 --- a/docs/openapi/orchestration.swagger.json +++ b/docs/openapi/orchestration.swagger.json @@ -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": { @@ -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." diff --git a/package-lock.json b/package-lock.json index 5fab32f..f738c69 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@coinbase/staking-client-library-ts", - "version": "0.3.3", + "version": "0.4.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@coinbase/staking-client-library-ts", - "version": "0.3.3", + "version": "0.4.2", "license": "Apache-2.0", "dependencies": { "@ethereumjs/tx": "^5.1.0", diff --git a/package.json b/package.json index 4a14572..1b84bc1 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/gen/coinbase/staking/v1alpha1/ethereum_kiln.pb.ts b/src/gen/coinbase/staking/v1alpha1/ethereum_kiln.pb.ts index 951574e..bcb0861 100644 --- a/src/gen/coinbase/staking/v1alpha1/ethereum_kiln.pb.ts +++ b/src/gen/coinbase/staking/v1alpha1/ethereum_kiln.pb.ts @@ -26,11 +26,6 @@ export type EthereumKilnUnstakeParameters = { amount?: CoinbaseStakingV1alpha1Common.Amount } -export type EthereumKilnClaimRewardsParameters = { - stakerAddress?: string - integratorContractAddress?: string -} - export type EthereumKilnClaimStakeParameters = { stakerAddress?: string integratorContractAddress?: string @@ -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 diff --git a/src/gen/google/protobuf/timestamp.pb.ts b/src/gen/google/protobuf/timestamp.pb.ts new file mode 100644 index 0000000..283bbd1 --- /dev/null +++ b/src/gen/google/protobuf/timestamp.pb.ts @@ -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 +} \ No newline at end of file