Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@metamask/stake-sdk

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask/stake-sdk - npm Package Compare versions

Comparing version 0.2.12 to 0.2.13

dist/api/index.cjs

11

CHANGELOG.md

@@ -10,2 +10,10 @@ # Changelog

## [0.2.13]
### Added
- Remove axios in favor of fetch ([#37](https://github.com/MetaMask/stake-sdk/pull/37))
- fix: export again the contract types ([#36](https://github.com/MetaMask/stake-sdk/pull/36))
- feat: add StakingApiService export ([#35](https://github.com/MetaMask/stake-sdk/pull/35))
## [0.2.12]

@@ -105,3 +113,4 @@

[Unreleased]: https://github.com/MetaMask/stake-sdk/compare/v0.2.12...HEAD
[Unreleased]: https://github.com/MetaMask/stake-sdk/compare/v0.2.13...HEAD
[0.2.13]: https://github.com/MetaMask/stake-sdk/compare/v0.2.12...v0.2.13
[0.2.12]: https://github.com/MetaMask/stake-sdk/compare/v0.2.11...v0.2.12

@@ -108,0 +117,0 @@ [0.2.11]: https://github.com/MetaMask/stake-sdk/compare/v0.2.10...v0.2.11

5

package.json
{
"name": "@metamask/stake-sdk",
"version": "0.2.12",
"version": "0.2.13",
"description": "The MetaMask Stake SDK",

@@ -49,5 +49,2 @@ "homepage": "https://github.com/MetaMask/stake-sdk#readme",

},
"dependencies": {
"axios": "^1.7.7"
},
"devDependencies": {

@@ -54,0 +51,0 @@ "@ethersproject/abstract-provider": "^5.7.0",

@@ -72,1 +72,9 @@ # Stake SDK

- Once the `publish-npm` job has finished, check npm to verify that it has been published.
### Folder structure and exports
The code is located in the src folder.
In src, there are two folders: 'contracts' which is used to store on chain contract interactions and 'api' used to store backend service interactions.
'api' and 'contracts' folders are structured by type of staking ('pooledStaking', 'validatorStaking' and probably more to come like 'third party staking' for lido or rocket pool staking).
Since we compile with ts-bridge, it's recommended for both 'api' and 'contracts' folders to export what's needed in the api/types.ts and contracts/types.ts files.
While the Sdk is exporting globally everything in the src/index.ts.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc