@mictonode/widget
@mictonode/widget
@mictonode/widget packages MictoNode wallet and transaction web components
for Cosmos SDK applications.
Install
npm install @mictonode/widget@0.3.23
Or load the ESM artifact from a CDN:
https://cdn.jsdelivr.net/npm/@mictonode/widget@0.3.23/dist/ping-widget.js
Usage
Import the ESM package once to register the custom elements:
import widget from '@mictonode/widget';
console.log(widget.version); // 0.3.21
Then use the registered custom elements in your page:
<ping-connect-wallet></ping-connect-wallet>
<ping-tx-dialog></ping-tx-dialog>
<ping-token-convert></ping-token-convert>
Distribution files
dist/ping-widget.jsis the ESM build.dist/ping-widget.umd.cjsis the UMD build.
Contributor verification
Use Node 22.14.0 (pinned in .nvmrc) and Yarn Classic 1.22.22 for local
widget work. The package deliberately has no consumer-facing engines field:
the published browser artifact must not impose the contributor build-tool
runtime on consuming applications.
corepack enable
corepack prepare yarn@1.22.22 --activate
yarn install --frozen-lockfile
yarn build
Related Packages
Version History
| Version | Released | License |
|---|---|---|
| 0.3.37 | MIT | |
| 0.3.36 | MIT | |
| 0.3.35 | MIT | |
| 0.3.34 | MIT | |
| 0.3.33 | MIT | |
| 0.3.32 | MIT | |
| 0.3.31 | MIT | |
| 0.3.30 | MIT | |
| 0.3.29 | MIT | |
| 0.3.28 | MIT | |
| 0.3.27 | MIT | |
| 0.3.26 | MIT | |
| 0.3.25 | MIT | |
| 0.3.24 | MIT | |
| 0.3.23 | MIT | |
| 0.3.22 | MIT | |
| 0.3.21 | MIT | |
| 0.3.20 | MIT | |
| 0.3.19 | MIT | |
| 0.3.18 | MIT | |
| 0.3.17 | MIT | |
| 0.3.16 | MIT | |
| 0.3.15 | MIT | |
| 0.3.14 | MIT | |
| 0.3.13 | MIT | |
| 0.3.12 | MIT | |
| 0.3.11 | MIT | |
| 0.3.10 | MIT | |
| 0.3.9 | MIT |