hybrid 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,21 @@
1
+ # hybrid
2
+
3
+ Solidity + TypeScript Framework for rapid Web3 development.
4
+
5
+ ## Documentation
6
+
7
+ For full documentation and examples, visit [hybrid.dev](https://hybrid.dev).
8
+
9
+ ## Installation
10
+
11
+ ```sh
12
+ npm install hybrid
13
+ ```
14
+
15
+ ## Community
16
+
17
+ Check out the following places for more wagmi-related content:
18
+
19
+ - Join the discussions on [Discord](https://discord.gg/CfrVhsVhfc)
20
+ - Follow [@hybrid\_\_dev](https://twitter.com/hybrid__dev) on Twitter for project updates
21
+ - Contribute or fork on [GitHub](https://github.com/ian/hybrid)
package/dist/stats.html CHANGED
@@ -6157,7 +6157,7 @@ var drawChart = (function (exports) {
6157
6157
  </script>
6158
6158
  <script>
6159
6159
  /*<!--*/
6160
- const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.js","children":[{"name":"src","children":[{"name":"providers","children":[{"uid":"e85c-36","name":"Web3Provider.tsx"},{"uid":"e85c-38","name":"helpers.ts"}]},{"name":"hooks","children":[{"uid":"e85c-40","name":"useMinting.ts"},{"name":"internal","children":[{"uid":"e85c-42","name":"useContext.ts"},{"uid":"e85c-44","name":"useAsyncMemo.ts"}]}]},{"name":"components","children":[{"uid":"e85c-46","name":"DefaultButton.tsx"},{"uid":"e85c-48","name":"MintButton.tsx"}]},{"name":"utils","children":[{"uid":"e85c-50","name":"basisPoints.ts"},{"uid":"e85c-52","name":"conversion.ts"},{"uid":"e85c-54","name":"etherscan.ts"}]}]}]}],"isRoot":true},"nodeParts":{"e85c-36":{"renderedLength":1205,"gzipLength":0,"brotliLength":0,"metaUid":"e85c-35"},"e85c-38":{"renderedLength":586,"gzipLength":0,"brotliLength":0,"metaUid":"e85c-37"},"e85c-40":{"renderedLength":1394,"gzipLength":0,"brotliLength":0,"metaUid":"e85c-39"},"e85c-42":{"renderedLength":59,"gzipLength":0,"brotliLength":0,"metaUid":"e85c-41"},"e85c-44":{"renderedLength":577,"gzipLength":0,"brotliLength":0,"metaUid":"e85c-43"},"e85c-46":{"renderedLength":558,"gzipLength":0,"brotliLength":0,"metaUid":"e85c-45"},"e85c-48":{"renderedLength":1268,"gzipLength":0,"brotliLength":0,"metaUid":"e85c-47"},"e85c-50":{"renderedLength":312,"gzipLength":0,"brotliLength":0,"metaUid":"e85c-49"},"e85c-52":{"renderedLength":229,"gzipLength":0,"brotliLength":0,"metaUid":"e85c-51"},"e85c-54":{"renderedLength":764,"gzipLength":0,"brotliLength":0,"metaUid":"e85c-53"}},"nodeMetas":{"e85c-35":{"id":"/src/providers/Web3Provider.tsx","moduleParts":{"index.js":"e85c-36"},"imported":[{"uid":"e85c-60"},{"uid":"e85c-61"},{"uid":"e85c-37"},{"uid":"e85c-62"},{"uid":"e85c-63"},{"uid":"e85c-64"}],"importedBy":[{"uid":"e85c-55"},{"uid":"e85c-41"}]},"e85c-37":{"id":"/src/providers/helpers.ts","moduleParts":{"index.js":"e85c-38"},"imported":[{"uid":"e85c-65"}],"importedBy":[{"uid":"e85c-35"}]},"e85c-39":{"id":"/src/hooks/useMinting.ts","moduleParts":{"index.js":"e85c-40"},"imported":[{"uid":"e85c-64"},{"uid":"e85c-62"},{"uid":"e85c-66"},{"uid":"e85c-43"}],"importedBy":[{"uid":"e85c-57"},{"uid":"e85c-47"}]},"e85c-41":{"id":"/src/hooks/internal/useContext.ts","moduleParts":{"index.js":"e85c-42"},"imported":[{"uid":"e85c-64"},{"uid":"e85c-35"}],"importedBy":[{"uid":"e85c-66"}]},"e85c-43":{"id":"/src/hooks/internal/useAsyncMemo.ts","moduleParts":{"index.js":"e85c-44"},"imported":[{"uid":"e85c-64"}],"importedBy":[{"uid":"e85c-39"}]},"e85c-45":{"id":"/src/components/DefaultButton.tsx","moduleParts":{"index.js":"e85c-46"},"imported":[{"uid":"e85c-60"},{"uid":"e85c-68"},{"uid":"e85c-69"}],"importedBy":[{"uid":"e85c-47"}]},"e85c-47":{"id":"/src/components/MintButton.tsx","moduleParts":{"index.js":"e85c-48"},"imported":[{"uid":"e85c-60"},{"uid":"e85c-39"},{"uid":"e85c-62"},{"uid":"e85c-45"}],"importedBy":[{"uid":"e85c-56"}]},"e85c-49":{"id":"/src/utils/basisPoints.ts","moduleParts":{"index.js":"e85c-50"},"imported":[],"importedBy":[{"uid":"e85c-58"}]},"e85c-51":{"id":"/src/utils/conversion.ts","moduleParts":{"index.js":"e85c-52"},"imported":[{"uid":"e85c-67"}],"importedBy":[{"uid":"e85c-58"}]},"e85c-53":{"id":"/src/utils/etherscan.ts","moduleParts":{"index.js":"e85c-54"},"imported":[],"importedBy":[{"uid":"e85c-58"}]},"e85c-55":{"id":"/src/index.ts","moduleParts":{},"imported":[{"uid":"e85c-35"},{"uid":"e85c-56"},{"uid":"e85c-57"},{"uid":"e85c-58"},{"uid":"e85c-59"}],"importedBy":[],"isEntry":true},"e85c-56":{"id":"/src/components/index.ts","moduleParts":{},"imported":[{"uid":"e85c-47"}],"importedBy":[{"uid":"e85c-55"}]},"e85c-57":{"id":"/src/hooks/index.ts","moduleParts":{},"imported":[{"uid":"e85c-39"}],"importedBy":[{"uid":"e85c-55"}]},"e85c-58":{"id":"/src/utils/index.ts","moduleParts":{},"imported":[{"uid":"e85c-49"},{"uid":"e85c-51"},{"uid":"e85c-53"}],"importedBy":[{"uid":"e85c-55"}]},"e85c-59":{"id":"/src/types.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"e85c-55"}]},"e85c-60":{"id":"react/jsx-runtime","moduleParts":{},"imported":[],"importedBy":[{"uid":"e85c-35"},{"uid":"e85c-47"},{"uid":"e85c-45"}],"isExternal":true},"e85c-61":{"id":"@rainbow-me/rainbowkit","moduleParts":{},"imported":[],"importedBy":[{"uid":"e85c-35"}],"isExternal":true},"e85c-62":{"id":"wagmi","moduleParts":{},"imported":[],"importedBy":[{"uid":"e85c-35"},{"uid":"e85c-47"},{"uid":"e85c-39"}],"isExternal":true},"e85c-63":{"id":"wagmi/chains","moduleParts":{},"imported":[],"importedBy":[{"uid":"e85c-35"}],"isExternal":true},"e85c-64":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"e85c-35"},{"uid":"e85c-39"},{"uid":"e85c-43"},{"uid":"e85c-41"}],"isExternal":true},"e85c-65":{"id":"wagmi/providers/jsonRpc","moduleParts":{},"imported":[],"importedBy":[{"uid":"e85c-37"}],"isExternal":true},"e85c-66":{"id":"/src/hooks/internal/index.ts","moduleParts":{},"imported":[{"uid":"e85c-41"}],"importedBy":[{"uid":"e85c-39"}]},"e85c-67":{"id":"ethers","moduleParts":{},"imported":[],"importedBy":[{"uid":"e85c-51"}],"isExternal":true},"e85c-68":{"id":"clsx","moduleParts":{},"imported":[],"importedBy":[{"uid":"e85c-45"}],"isExternal":true},"e85c-69":{"id":"/src/components/DefaultButton.module.css","moduleParts":{},"imported":[],"importedBy":[{"uid":"e85c-45"}]}},"env":{"rollup":"3.19.1"},"options":{"gzip":false,"brotli":false,"sourcemap":true}};
6160
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.mjs","children":[{"name":"src","children":[{"name":"providers","children":[{"uid":"19d1-36","name":"Web3Provider.tsx"},{"uid":"19d1-38","name":"helpers.ts"}]},{"name":"hooks","children":[{"uid":"19d1-40","name":"useMinting.ts"},{"name":"internal","children":[{"uid":"19d1-42","name":"useContext.ts"},{"uid":"19d1-44","name":"useAsyncMemo.ts"}]}]},{"name":"components","children":[{"uid":"19d1-46","name":"DefaultButton.tsx"},{"uid":"19d1-48","name":"MintButton.tsx"}]},{"name":"utils","children":[{"uid":"19d1-50","name":"basisPoints.ts"},{"uid":"19d1-52","name":"conversion.ts"},{"uid":"19d1-54","name":"etherscan.ts"}]}]}]}],"isRoot":true},"nodeParts":{"19d1-36":{"renderedLength":1205,"gzipLength":0,"brotliLength":0,"metaUid":"19d1-35"},"19d1-38":{"renderedLength":586,"gzipLength":0,"brotliLength":0,"metaUid":"19d1-37"},"19d1-40":{"renderedLength":1394,"gzipLength":0,"brotliLength":0,"metaUid":"19d1-39"},"19d1-42":{"renderedLength":59,"gzipLength":0,"brotliLength":0,"metaUid":"19d1-41"},"19d1-44":{"renderedLength":577,"gzipLength":0,"brotliLength":0,"metaUid":"19d1-43"},"19d1-46":{"renderedLength":558,"gzipLength":0,"brotliLength":0,"metaUid":"19d1-45"},"19d1-48":{"renderedLength":1268,"gzipLength":0,"brotliLength":0,"metaUid":"19d1-47"},"19d1-50":{"renderedLength":312,"gzipLength":0,"brotliLength":0,"metaUid":"19d1-49"},"19d1-52":{"renderedLength":229,"gzipLength":0,"brotliLength":0,"metaUid":"19d1-51"},"19d1-54":{"renderedLength":764,"gzipLength":0,"brotliLength":0,"metaUid":"19d1-53"}},"nodeMetas":{"19d1-35":{"id":"/src/providers/Web3Provider.tsx","moduleParts":{"index.mjs":"19d1-36"},"imported":[{"uid":"19d1-60"},{"uid":"19d1-61"},{"uid":"19d1-37"},{"uid":"19d1-62"},{"uid":"19d1-63"},{"uid":"19d1-64"}],"importedBy":[{"uid":"19d1-55"},{"uid":"19d1-41"}]},"19d1-37":{"id":"/src/providers/helpers.ts","moduleParts":{"index.mjs":"19d1-38"},"imported":[{"uid":"19d1-65"}],"importedBy":[{"uid":"19d1-35"}]},"19d1-39":{"id":"/src/hooks/useMinting.ts","moduleParts":{"index.mjs":"19d1-40"},"imported":[{"uid":"19d1-64"},{"uid":"19d1-62"},{"uid":"19d1-66"},{"uid":"19d1-43"}],"importedBy":[{"uid":"19d1-57"},{"uid":"19d1-47"}]},"19d1-41":{"id":"/src/hooks/internal/useContext.ts","moduleParts":{"index.mjs":"19d1-42"},"imported":[{"uid":"19d1-64"},{"uid":"19d1-35"}],"importedBy":[{"uid":"19d1-66"}]},"19d1-43":{"id":"/src/hooks/internal/useAsyncMemo.ts","moduleParts":{"index.mjs":"19d1-44"},"imported":[{"uid":"19d1-64"}],"importedBy":[{"uid":"19d1-39"}]},"19d1-45":{"id":"/src/components/DefaultButton.tsx","moduleParts":{"index.mjs":"19d1-46"},"imported":[{"uid":"19d1-60"},{"uid":"19d1-68"},{"uid":"19d1-69"}],"importedBy":[{"uid":"19d1-47"}]},"19d1-47":{"id":"/src/components/MintButton.tsx","moduleParts":{"index.mjs":"19d1-48"},"imported":[{"uid":"19d1-60"},{"uid":"19d1-39"},{"uid":"19d1-62"},{"uid":"19d1-45"}],"importedBy":[{"uid":"19d1-56"}]},"19d1-49":{"id":"/src/utils/basisPoints.ts","moduleParts":{"index.mjs":"19d1-50"},"imported":[],"importedBy":[{"uid":"19d1-58"}]},"19d1-51":{"id":"/src/utils/conversion.ts","moduleParts":{"index.mjs":"19d1-52"},"imported":[{"uid":"19d1-67"}],"importedBy":[{"uid":"19d1-58"}]},"19d1-53":{"id":"/src/utils/etherscan.ts","moduleParts":{"index.mjs":"19d1-54"},"imported":[],"importedBy":[{"uid":"19d1-58"}]},"19d1-55":{"id":"/src/index.ts","moduleParts":{},"imported":[{"uid":"19d1-35"},{"uid":"19d1-56"},{"uid":"19d1-57"},{"uid":"19d1-58"},{"uid":"19d1-59"}],"importedBy":[],"isEntry":true},"19d1-56":{"id":"/src/components/index.ts","moduleParts":{},"imported":[{"uid":"19d1-47"}],"importedBy":[{"uid":"19d1-55"}]},"19d1-57":{"id":"/src/hooks/index.ts","moduleParts":{},"imported":[{"uid":"19d1-39"}],"importedBy":[{"uid":"19d1-55"}]},"19d1-58":{"id":"/src/utils/index.ts","moduleParts":{},"imported":[{"uid":"19d1-49"},{"uid":"19d1-51"},{"uid":"19d1-53"}],"importedBy":[{"uid":"19d1-55"}]},"19d1-59":{"id":"/src/types.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"19d1-55"}]},"19d1-60":{"id":"react/jsx-runtime","moduleParts":{},"imported":[],"importedBy":[{"uid":"19d1-35"},{"uid":"19d1-47"},{"uid":"19d1-45"}],"isExternal":true},"19d1-61":{"id":"@rainbow-me/rainbowkit","moduleParts":{},"imported":[],"importedBy":[{"uid":"19d1-35"}],"isExternal":true},"19d1-62":{"id":"wagmi","moduleParts":{},"imported":[],"importedBy":[{"uid":"19d1-35"},{"uid":"19d1-47"},{"uid":"19d1-39"}],"isExternal":true},"19d1-63":{"id":"wagmi/chains","moduleParts":{},"imported":[],"importedBy":[{"uid":"19d1-35"}],"isExternal":true},"19d1-64":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"19d1-35"},{"uid":"19d1-39"},{"uid":"19d1-43"},{"uid":"19d1-41"}],"isExternal":true},"19d1-65":{"id":"wagmi/providers/jsonRpc","moduleParts":{},"imported":[],"importedBy":[{"uid":"19d1-37"}],"isExternal":true},"19d1-66":{"id":"/src/hooks/internal/index.ts","moduleParts":{},"imported":[{"uid":"19d1-41"}],"importedBy":[{"uid":"19d1-39"}]},"19d1-67":{"id":"ethers","moduleParts":{},"imported":[],"importedBy":[{"uid":"19d1-51"}],"isExternal":true},"19d1-68":{"id":"clsx","moduleParts":{},"imported":[],"importedBy":[{"uid":"19d1-45"}],"isExternal":true},"19d1-69":{"id":"/src/components/DefaultButton.module.css","moduleParts":{},"imported":[],"importedBy":[{"uid":"19d1-45"}]}},"env":{"rollup":"3.19.1"},"options":{"gzip":false,"brotli":false,"sourcemap":true}};
6161
6161
 
6162
6162
  const run = () => {
6163
6163
  const width = window.innerWidth;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hybrid",
3
3
  "author": "IanH <ian@ianh.xyz>",
4
- "version": "0.2.0",
4
+ "version": "0.2.1",
5
5
  "description": "Solidity + TypeScript Framework for Web3 Development",
6
6
  "keywords": [
7
7
  "hybrid",
@@ -61,8 +61,8 @@
61
61
  },
62
62
  "dependencies": {
63
63
  "@ethersproject/providers": "^5.7.1",
64
- "@hybrd/cli": "^0.2.0",
65
- "@hybrd/contracts": "^0.2.0",
64
+ "@hybrd/cli": "^0.2.1",
65
+ "@hybrd/contracts": "^0.2.1",
66
66
  "@rainbow-me/rainbowkit": "^0.12.1",
67
67
  "abitype": "^0.7.1",
68
68
  "axios": "^1.2.2",
@@ -115,5 +115,5 @@
115
115
  "react-dom": ">=17",
116
116
  "wagmi": "^0.6.0"
117
117
  },
118
- "gitHead": "0f6991d17ce29e93eeb2ff6050802ecaa4adb87a"
118
+ "gitHead": "c524f5571eafafdec19665acfe173b564a53b26c"
119
119
  }