hybrid 0.4.1 → 0.4.2

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.
@@ -1,2 +1,4 @@
1
1
  import type { WalletConnection } from "@hybrd/types";
2
- export default function DefaultWalletConnector(config: any): WalletConnection;
2
+ export default function DefaultWalletConnector(config: any): ({ chains }: {
3
+ chains: any;
4
+ }) => WalletConnection;
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.mjs","children":[{"name":"src","children":[{"name":"providers/Web3Provider.tsx","uid":"f159-37"},{"name":"components","children":[{"uid":"f159-39","name":"ConnectedAs.tsx"},{"uid":"f159-47","name":"DefaultButton.tsx"},{"uid":"f159-49","name":"MintButton.tsx"},{"uid":"f159-53","name":"TokenGate.tsx"},{"uid":"f159-55","name":"TotalSupply.tsx"}]},{"name":"hooks","children":[{"name":"internal","children":[{"uid":"f159-41","name":"useEnsName.tsx"},{"uid":"f159-45","name":"useAsyncMemo.ts"}]},{"uid":"f159-43","name":"useMinting.ts"},{"uid":"f159-51","name":"useTokenGating.ts"},{"uid":"f159-57","name":"useEstimation.ts"}]}]}]}],"isRoot":true},"nodeParts":{"f159-37":{"renderedLength":1529,"gzipLength":0,"brotliLength":0,"metaUid":"f159-36"},"f159-39":{"renderedLength":799,"gzipLength":0,"brotliLength":0,"metaUid":"f159-38"},"f159-41":{"renderedLength":351,"gzipLength":0,"brotliLength":0,"metaUid":"f159-40"},"f159-43":{"renderedLength":1806,"gzipLength":0,"brotliLength":0,"metaUid":"f159-42"},"f159-45":{"renderedLength":577,"gzipLength":0,"brotliLength":0,"metaUid":"f159-44"},"f159-47":{"renderedLength":558,"gzipLength":0,"brotliLength":0,"metaUid":"f159-46"},"f159-49":{"renderedLength":1298,"gzipLength":0,"brotliLength":0,"metaUid":"f159-48"},"f159-51":{"renderedLength":1244,"gzipLength":0,"brotliLength":0,"metaUid":"f159-50"},"f159-53":{"renderedLength":420,"gzipLength":0,"brotliLength":0,"metaUid":"f159-52"},"f159-55":{"renderedLength":204,"gzipLength":0,"brotliLength":0,"metaUid":"f159-54"},"f159-57":{"renderedLength":1385,"gzipLength":0,"brotliLength":0,"metaUid":"f159-56"}},"nodeMetas":{"f159-36":{"id":"/src/providers/Web3Provider.tsx","moduleParts":{"index.mjs":"f159-37"},"imported":[{"uid":"f159-63"},{"uid":"f159-64"},{"uid":"f159-65"},{"uid":"f159-66"}],"importedBy":[{"uid":"f159-58"},{"uid":"f159-70"}]},"f159-38":{"id":"/src/components/ConnectedAs.tsx","moduleParts":{"index.mjs":"f159-39"},"imported":[{"uid":"f159-63"},{"uid":"f159-62"},{"uid":"f159-67"},{"uid":"f159-68"},{"uid":"f159-64"}],"importedBy":[{"uid":"f159-59"}]},"f159-40":{"id":"/src/hooks/internal/useEnsName.tsx","moduleParts":{"index.mjs":"f159-41"},"imported":[{"uid":"f159-64"},{"uid":"f159-66"}],"importedBy":[{"uid":"f159-68"}]},"f159-42":{"id":"/src/hooks/useMinting.ts","moduleParts":{"index.mjs":"f159-43"},"imported":[{"uid":"f159-69"},{"uid":"f159-66"},{"uid":"f159-64"},{"uid":"f159-44"}],"importedBy":[{"uid":"f159-60"},{"uid":"f159-48"},{"uid":"f159-54"}]},"f159-44":{"id":"/src/hooks/internal/useAsyncMemo.ts","moduleParts":{"index.mjs":"f159-45"},"imported":[{"uid":"f159-66"}],"importedBy":[{"uid":"f159-42"},{"uid":"f159-68"}]},"f159-46":{"id":"/src/components/DefaultButton.tsx","moduleParts":{"index.mjs":"f159-47"},"imported":[{"uid":"f159-63"},{"uid":"f159-67"},{"uid":"f159-71"}],"importedBy":[{"uid":"f159-48"}]},"f159-48":{"id":"/src/components/MintButton.tsx","moduleParts":{"index.mjs":"f159-49"},"imported":[{"uid":"f159-63"},{"uid":"f159-42"},{"uid":"f159-64"},{"uid":"f159-46"}],"importedBy":[{"uid":"f159-59"}]},"f159-50":{"id":"/src/hooks/useTokenGating.ts","moduleParts":{"index.mjs":"f159-51"},"imported":[{"uid":"f159-66"},{"uid":"f159-64"}],"importedBy":[{"uid":"f159-60"},{"uid":"f159-52"}]},"f159-52":{"id":"/src/components/TokenGate.tsx","moduleParts":{"index.mjs":"f159-53"},"imported":[{"uid":"f159-63"},{"uid":"f159-64"},{"uid":"f159-50"}],"importedBy":[{"uid":"f159-59"}]},"f159-54":{"id":"/src/components/TotalSupply.tsx","moduleParts":{"index.mjs":"f159-55"},"imported":[{"uid":"f159-63"},{"uid":"f159-42"}],"importedBy":[{"uid":"f159-59"}]},"f159-56":{"id":"/src/hooks/useEstimation.ts","moduleParts":{"index.mjs":"f159-57"},"imported":[{"uid":"f159-69"},{"uid":"f159-66"},{"uid":"f159-64"}],"importedBy":[{"uid":"f159-60"}]},"f159-58":{"id":"/src/index.ts","moduleParts":{},"imported":[{"uid":"f159-36"},{"uid":"f159-59"},{"uid":"f159-60"},{"uid":"f159-61"},{"uid":"f159-62"}],"importedBy":[],"isEntry":true},"f159-59":{"id":"/src/components/index.ts","moduleParts":{},"imported":[{"uid":"f159-38"},{"uid":"f159-48"},{"uid":"f159-52"},{"uid":"f159-54"}],"importedBy":[{"uid":"f159-58"}]},"f159-60":{"id":"/src/hooks/index.ts","moduleParts":{},"imported":[{"uid":"f159-56"},{"uid":"f159-42"},{"uid":"f159-50"}],"importedBy":[{"uid":"f159-58"}]},"f159-61":{"id":"@hybrd/types","moduleParts":{},"imported":[],"importedBy":[{"uid":"f159-58"}],"isExternal":true},"f159-62":{"id":"@hybrd/utils","moduleParts":{},"imported":[],"importedBy":[{"uid":"f159-58"},{"uid":"f159-38"}],"isExternal":true},"f159-63":{"id":"react/jsx-runtime","moduleParts":{},"imported":[],"importedBy":[{"uid":"f159-36"},{"uid":"f159-38"},{"uid":"f159-48"},{"uid":"f159-52"},{"uid":"f159-54"},{"uid":"f159-46"}],"isExternal":true},"f159-64":{"id":"wagmi","moduleParts":{},"imported":[],"importedBy":[{"uid":"f159-36"},{"uid":"f159-38"},{"uid":"f159-48"},{"uid":"f159-52"},{"uid":"f159-56"},{"uid":"f159-42"},{"uid":"f159-50"},{"uid":"f159-40"}],"isExternal":true},"f159-65":{"id":"wagmi/chains","moduleParts":{},"imported":[],"importedBy":[{"uid":"f159-36"}],"isExternal":true},"f159-66":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"f159-36"},{"uid":"f159-56"},{"uid":"f159-42"},{"uid":"f159-50"},{"uid":"f159-44"},{"uid":"f159-70"},{"uid":"f159-40"}],"isExternal":true},"f159-67":{"id":"clsx","moduleParts":{},"imported":[],"importedBy":[{"uid":"f159-38"},{"uid":"f159-46"}],"isExternal":true},"f159-68":{"id":"/src/hooks/internal/index.ts","moduleParts":{},"imported":[{"uid":"f159-44"},{"uid":"f159-70"},{"uid":"f159-40"}],"importedBy":[{"uid":"f159-38"}]},"f159-69":{"id":"ethers","moduleParts":{},"imported":[],"importedBy":[{"uid":"f159-56"},{"uid":"f159-42"}],"isExternal":true},"f159-70":{"id":"/src/hooks/internal/useContext.ts","moduleParts":{},"imported":[{"uid":"f159-66"},{"uid":"f159-36"}],"importedBy":[{"uid":"f159-68"}]},"f159-71":{"id":"/src/components/DefaultButton.module.css","moduleParts":{},"imported":[],"importedBy":[{"uid":"f159-46"}]}},"env":{"rollup":"3.19.1"},"options":{"gzip":false,"brotli":false,"sourcemap":true}};
6160
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"index.js","children":[{"name":"src","children":[{"name":"providers/Web3Provider.tsx","uid":"b400-37"},{"name":"components","children":[{"uid":"b400-39","name":"ConnectedAs.tsx"},{"uid":"b400-47","name":"DefaultButton.tsx"},{"uid":"b400-49","name":"MintButton.tsx"},{"uid":"b400-53","name":"TokenGate.tsx"},{"uid":"b400-55","name":"TotalSupply.tsx"}]},{"name":"hooks","children":[{"name":"internal","children":[{"uid":"b400-41","name":"useEnsName.tsx"},{"uid":"b400-45","name":"useAsyncMemo.ts"}]},{"uid":"b400-43","name":"useMinting.ts"},{"uid":"b400-51","name":"useTokenGating.ts"},{"uid":"b400-57","name":"useEstimation.ts"}]}]}]}],"isRoot":true},"nodeParts":{"b400-37":{"renderedLength":1529,"gzipLength":0,"brotliLength":0,"metaUid":"b400-36"},"b400-39":{"renderedLength":799,"gzipLength":0,"brotliLength":0,"metaUid":"b400-38"},"b400-41":{"renderedLength":351,"gzipLength":0,"brotliLength":0,"metaUid":"b400-40"},"b400-43":{"renderedLength":1806,"gzipLength":0,"brotliLength":0,"metaUid":"b400-42"},"b400-45":{"renderedLength":577,"gzipLength":0,"brotliLength":0,"metaUid":"b400-44"},"b400-47":{"renderedLength":558,"gzipLength":0,"brotliLength":0,"metaUid":"b400-46"},"b400-49":{"renderedLength":1298,"gzipLength":0,"brotliLength":0,"metaUid":"b400-48"},"b400-51":{"renderedLength":1244,"gzipLength":0,"brotliLength":0,"metaUid":"b400-50"},"b400-53":{"renderedLength":420,"gzipLength":0,"brotliLength":0,"metaUid":"b400-52"},"b400-55":{"renderedLength":204,"gzipLength":0,"brotliLength":0,"metaUid":"b400-54"},"b400-57":{"renderedLength":1385,"gzipLength":0,"brotliLength":0,"metaUid":"b400-56"}},"nodeMetas":{"b400-36":{"id":"/src/providers/Web3Provider.tsx","moduleParts":{"index.js":"b400-37"},"imported":[{"uid":"b400-63"},{"uid":"b400-64"},{"uid":"b400-65"},{"uid":"b400-66"}],"importedBy":[{"uid":"b400-58"},{"uid":"b400-70"}]},"b400-38":{"id":"/src/components/ConnectedAs.tsx","moduleParts":{"index.js":"b400-39"},"imported":[{"uid":"b400-63"},{"uid":"b400-62"},{"uid":"b400-67"},{"uid":"b400-68"},{"uid":"b400-64"}],"importedBy":[{"uid":"b400-59"}]},"b400-40":{"id":"/src/hooks/internal/useEnsName.tsx","moduleParts":{"index.js":"b400-41"},"imported":[{"uid":"b400-64"},{"uid":"b400-66"}],"importedBy":[{"uid":"b400-68"}]},"b400-42":{"id":"/src/hooks/useMinting.ts","moduleParts":{"index.js":"b400-43"},"imported":[{"uid":"b400-69"},{"uid":"b400-66"},{"uid":"b400-64"},{"uid":"b400-44"}],"importedBy":[{"uid":"b400-60"},{"uid":"b400-48"},{"uid":"b400-54"}]},"b400-44":{"id":"/src/hooks/internal/useAsyncMemo.ts","moduleParts":{"index.js":"b400-45"},"imported":[{"uid":"b400-66"}],"importedBy":[{"uid":"b400-42"},{"uid":"b400-68"}]},"b400-46":{"id":"/src/components/DefaultButton.tsx","moduleParts":{"index.js":"b400-47"},"imported":[{"uid":"b400-63"},{"uid":"b400-67"},{"uid":"b400-71"}],"importedBy":[{"uid":"b400-48"}]},"b400-48":{"id":"/src/components/MintButton.tsx","moduleParts":{"index.js":"b400-49"},"imported":[{"uid":"b400-63"},{"uid":"b400-42"},{"uid":"b400-64"},{"uid":"b400-46"}],"importedBy":[{"uid":"b400-59"}]},"b400-50":{"id":"/src/hooks/useTokenGating.ts","moduleParts":{"index.js":"b400-51"},"imported":[{"uid":"b400-66"},{"uid":"b400-64"}],"importedBy":[{"uid":"b400-60"},{"uid":"b400-52"}]},"b400-52":{"id":"/src/components/TokenGate.tsx","moduleParts":{"index.js":"b400-53"},"imported":[{"uid":"b400-63"},{"uid":"b400-64"},{"uid":"b400-50"}],"importedBy":[{"uid":"b400-59"}]},"b400-54":{"id":"/src/components/TotalSupply.tsx","moduleParts":{"index.js":"b400-55"},"imported":[{"uid":"b400-63"},{"uid":"b400-42"}],"importedBy":[{"uid":"b400-59"}]},"b400-56":{"id":"/src/hooks/useEstimation.ts","moduleParts":{"index.js":"b400-57"},"imported":[{"uid":"b400-69"},{"uid":"b400-66"},{"uid":"b400-64"}],"importedBy":[{"uid":"b400-60"}]},"b400-58":{"id":"/src/index.ts","moduleParts":{},"imported":[{"uid":"b400-36"},{"uid":"b400-59"},{"uid":"b400-60"},{"uid":"b400-61"},{"uid":"b400-62"}],"importedBy":[],"isEntry":true},"b400-59":{"id":"/src/components/index.ts","moduleParts":{},"imported":[{"uid":"b400-38"},{"uid":"b400-48"},{"uid":"b400-52"},{"uid":"b400-54"}],"importedBy":[{"uid":"b400-58"}]},"b400-60":{"id":"/src/hooks/index.ts","moduleParts":{},"imported":[{"uid":"b400-56"},{"uid":"b400-42"},{"uid":"b400-50"}],"importedBy":[{"uid":"b400-58"}]},"b400-61":{"id":"@hybrd/types","moduleParts":{},"imported":[],"importedBy":[{"uid":"b400-58"}],"isExternal":true},"b400-62":{"id":"@hybrd/utils","moduleParts":{},"imported":[],"importedBy":[{"uid":"b400-58"},{"uid":"b400-38"}],"isExternal":true},"b400-63":{"id":"react/jsx-runtime","moduleParts":{},"imported":[],"importedBy":[{"uid":"b400-36"},{"uid":"b400-38"},{"uid":"b400-48"},{"uid":"b400-52"},{"uid":"b400-54"},{"uid":"b400-46"}],"isExternal":true},"b400-64":{"id":"wagmi","moduleParts":{},"imported":[],"importedBy":[{"uid":"b400-36"},{"uid":"b400-38"},{"uid":"b400-48"},{"uid":"b400-52"},{"uid":"b400-56"},{"uid":"b400-42"},{"uid":"b400-50"},{"uid":"b400-40"}],"isExternal":true},"b400-65":{"id":"wagmi/chains","moduleParts":{},"imported":[],"importedBy":[{"uid":"b400-36"}],"isExternal":true},"b400-66":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"b400-36"},{"uid":"b400-56"},{"uid":"b400-42"},{"uid":"b400-50"},{"uid":"b400-44"},{"uid":"b400-70"},{"uid":"b400-40"}],"isExternal":true},"b400-67":{"id":"clsx","moduleParts":{},"imported":[],"importedBy":[{"uid":"b400-38"},{"uid":"b400-46"}],"isExternal":true},"b400-68":{"id":"/src/hooks/internal/index.ts","moduleParts":{},"imported":[{"uid":"b400-44"},{"uid":"b400-70"},{"uid":"b400-40"}],"importedBy":[{"uid":"b400-38"}]},"b400-69":{"id":"ethers","moduleParts":{},"imported":[],"importedBy":[{"uid":"b400-56"},{"uid":"b400-42"}],"isExternal":true},"b400-70":{"id":"/src/hooks/internal/useContext.ts","moduleParts":{},"imported":[{"uid":"b400-66"},{"uid":"b400-36"}],"importedBy":[{"uid":"b400-68"}]},"b400-71":{"id":"/src/components/DefaultButton.module.css","moduleParts":{},"imported":[],"importedBy":[{"uid":"b400-46"}]}},"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.4.1",
4
+ "version": "0.4.2",
5
5
  "description": "Solidity + TypeScript Framework for Web3 Development",
6
6
  "keywords": [
7
7
  "hybrid",
@@ -60,10 +60,10 @@
60
60
  },
61
61
  "dependencies": {
62
62
  "@ethersproject/providers": "^5.7.1",
63
- "@hybrd/cli": "^0.4.1",
64
- "@hybrd/contracts": "^0.4.1",
65
- "@hybrd/types": "^0.4.1",
66
- "@hybrd/utils": "^0.4.1",
63
+ "@hybrd/cli": "^0.4.2",
64
+ "@hybrd/contracts": "^0.4.2",
65
+ "@hybrd/types": "^0.4.2",
66
+ "@hybrd/utils": "^0.4.2",
67
67
  "abitype": "^0.7.1",
68
68
  "axios": "^1.2.2",
69
69
  "clsx": "^1.2.1",
@@ -117,5 +117,5 @@
117
117
  "react-dom": ">=17",
118
118
  "wagmi": "^0.12.1"
119
119
  },
120
- "gitHead": "bb8b851a3a972e0614d03cd998b27c5a89e9e27d"
120
+ "gitHead": "69f4ddbebd01e020f53041c3aadbd5f7ebac99d5"
121
121
  }