Closed rossbulat closed 4 weeks ago
The pull request introduces several updates across multiple package.json
files and the Api
class implementation. The devDependencies
of the polkadot-developer-console
project now include "rxjs": "^7.8.1"
, while the @polkadot-developer-console/app
has added multiple new dependencies related to the Polkadot API. Additionally, the Api
class has been enhanced with new private members for PAPI integration, including corresponding getters and updates to initialization methods and documentation.
File | Change Summary |
---|---|
package.json |
Added dependency: "rxjs": "^7.8.1" in devDependencies . |
packages/app/package.json |
Added dependencies: @polkadot-api/metadata-builders ^0.8.2 , @polkadot-api/observable-client ^0.5.11 , @polkadot-api/substrate-client ^0.2.2 , @polkadot-api/ws-provider ^0.3.2 . |
packages/app/src/model/Api/index.ts |
Added private members #papiProvider: JsonRpcProvider , #papiClient: PapiObservableClient ; added getters get papiProvider() , get papiClient() . Modified initialize method for PAPI integration and renamed initApiEvents() to initPolkadotJsApiEvents() . |
packages/app/src/model/Api/types.ts |
Added type alias: PapiObservableClient defined as any . |
package.json
, while the retrieved PR also involves changes to package.json
, indicating a potential connection in terms of dependency management within the mono repo structure.In the meadow where APIs play,
New dependencies hop and sway.
With PAPI's charm and RxJS delight,
Our code grows stronger, ready for flight.
Hooray for changes, let’s celebrate,
In the world of code, we innovate! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Adds PAPI dependencies & initializes observable client with the
Api
model class alongside the Polkadot JS API instance.