{"_id":"@buildwithsygma/sygmaprotocol-wallet-manager","_rev":"1-ef90761fb48853e7c923d12138a230cd","name":"@buildwithsygma/sygmaprotocol-wallet-manager","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.1":{"name":"@buildwithsygma/sygmaprotocol-wallet-manager","description":"Sygma Protocol Widget","version":"0.0.1","main":"build/index.js","module":"build/index.js","license":"LGPL-3.0-or-later","type":"module","scripts":{"build":"tsc --build --clean && tsc --build ./tsconfig.json","dev":"tsc --build --clean && tsc --build ./tsconfig.json --watch","clean":"rm -rf ./build","lint":"eslint 'src/**/*.ts'","lint:fix":"yarn run lint --fix","test":"vitest --config ./vite.config.ts"},"author":{"name":"Sygmaprotocol Product Team"},"devDependencies":{"@polkadot/types":"10.7.2","jsdom":"^22.1.0","typescript":"^5.2.2","vitest":"^0.34.5"},"dependencies":{"@ethersproject/abstract-signer":"5.7.0","@lit/context":"1.0.0","@polkadot/api":"10.7.2","@polkadot/extension-dapp":"0.46.5","lit":"3.0.0"},"peerDependencies":{"ethers":"*"},"_id":"@buildwithsygma/sygmaprotocol-wallet-manager@0.0.1","gitHead":"9f15ff8e34d1ca1883ec0ec1475429b75038e30f","types":"./build/index.d.ts","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-nL3rnoBE9XPjgzGFJLrxssBbHMkj6qmk++NkY6z3LKxGUiNxx6C5/keWxR73R6r7zlY2S3djkHL13OfjWwg64g==","shasum":"92422a736e0c01cd3bf6f308c9960292714d3fe5","tarball":"https://registry.npmjs.org/@buildwithsygma/sygmaprotocol-wallet-manager/-/sygmaprotocol-wallet-manager-0.0.1.tgz","fileCount":26,"unpackedSize":33399,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9zCleQtHC7uUlxqhoVmkXXxjJ0ln9/P8f/ult3KmUJgIgfJJFT7MFLfBXDjVsYScY1dxTjeFVZxodyoYGwGl9rRA="}]},"_npmUser":{"name":"buildwithsygma","email":"dev@buildwithsygma.com"},"directories":{},"maintainers":[{"name":"buildwithsygma","email":"dev@buildwithsygma.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sygmaprotocol-wallet-manager_0.0.1_1701440669846_0.35854088355409974"},"_hasShrinkwrap":false},"0.1.0":{"name":"@buildwithsygma/sygmaprotocol-wallet-manager","description":"Sygma Protocol Widget","version":"0.1.0","main":"build/index.js","module":"build/index.js","license":"LGPL-3.0-or-later","type":"module","types":"./build/index.d.ts","scripts":{"build":"tsc --build --clean && tsc --build ./tsconfig.json","dev":"tsc --build --clean && tsc --build ./tsconfig.json --watch","clean":"rm -rf ./build","lint":"eslint 'src/**/*.ts'","lint:fix":"yarn run lint --fix","test":"vitest --config ./vite.config.ts"},"author":{"name":"Sygmaprotocol Product Team"},"devDependencies":{"@polkadot/types":"10.7.2","jsdom":"^22.1.0","typescript":"^5.2.2","vitest":"^0.34.5"},"dependencies":{"@ethersproject/abstract-signer":"5.7.0","@lit/context":"1.0.0","@polkadot/api":"10.7.2","@polkadot/extension-dapp":"0.46.5","lit":"3.0.0"},"peerDependencies":{"ethers":"*","events":"*"},"_id":"@buildwithsygma/sygmaprotocol-wallet-manager@0.1.0","gitHead":"071f362a4b95d920174042a93def2fd0aed25391","_nodeVersion":"18.19.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-sePPWblQ3mtTPmj9YJod7cML0Cub54wYPJAhf1diS6W19gezCvaO0pPW9fY8BOWQ7496ACc2qfDWxw1cCRuErA==","shasum":"789f1d578508cb59ff6f09b2f566bc4bee0fe2fd","tarball":"https://registry.npmjs.org/@buildwithsygma/sygmaprotocol-wallet-manager/-/sygmaprotocol-wallet-manager-0.1.0.tgz","fileCount":26,"unpackedSize":33859,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVU01NPHFWyB1pF8JukoF4VNcBSDaM81Q4rjYn2jKwSAIhAOM8NctkxHKk1ZNRk7AEKj1JfVOXx9P0EWgNdt8jrPpc"}]},"_npmUser":{"name":"buildwithsygma","email":"dev@buildwithsygma.com"},"directories":{},"maintainers":[{"name":"buildwithsygma","email":"dev@buildwithsygma.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sygmaprotocol-wallet-manager_0.1.0_1704375592459_0.14167070870866727"},"_hasShrinkwrap":false}},"time":{"created":"2023-12-01T14:24:29.708Z","0.0.1":"2023-12-01T14:24:30.089Z","modified":"2024-01-04T13:39:52.804Z","0.1.0":"2024-01-04T13:39:52.635Z"},"maintainers":[{"name":"buildwithsygma","email":"dev@buildwithsygma.com"}],"description":"Sygma Protocol Widget","author":{"name":"Sygmaprotocol Product Team"},"license":"LGPL-3.0-or-later","readme":"# SygmaProtocol Wallet Manager Package\n\n## Install\n\n```bash\nyarn install @buildwithsygma/sygmaprotocol-wallet-manager\n```\n\n## Usage\n\nOn lit component\n\n```bash\n # Passing a web3Provider and an apiPromise\n <wallet-manager-context\n   .web3Provider=${web3Provider}\n   .apiPromise=${apiPromise}>\n    <your-component></your-component>\n </wallet-manager-context>\n\n # Passing a wssConnectionUrl\n <wallet-manager-context\n  .wssConnectionUrl=${wssConnectionUrl}>\n    <your-component></your-component>\n  </wallet-manager-context>\n```\n\n## Develop\n\n```bash\n# Run this on the root of the monorepo\nyarn install\n\n# cd to the package\ncd ./packages/wallet-manager\n\n# start watch mode\nyarn dev\n```\n\n## Build the package\n\n```bash\nyarn lint\n# if needed lint fix\nyarn lint:fix\n\nyarn build\n```","readmeFilename":"README.md"}