solid-wagmi 0.0.5 → 0.1.0

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,24 @@
1
+ Solid wagmi is a library that uses [Wagmi](https://wagmi.sh) core to provide high end solid.js hooks.
2
+
3
+ # Getting Started
4
+
5
+ Install the required packages
6
+
7
+ ```bash
8
+ pnpm add solid-wagmi viem@2.x @tanstack/solid-query
9
+ ```
10
+
11
+ # Create Config
12
+
13
+ ```ts
14
+ import { createConfig, http } from "solid-wagmi";
15
+ import { mainnet, sepolia } from "solid-wagmi/chains";
16
+
17
+ export const config = createConfig({
18
+ chains: [mainnet, sepolia],
19
+ transports: {
20
+ [mainnet.id]: http(),
21
+ [sepolia.id]: http(),
22
+ },
23
+ });
24
+ ```
@@ -0,0 +1,2 @@
1
+ export * from "@wagmi/core/actions";
2
+ //# sourceMappingURL=actions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../src/exports/actions.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "viem/chains";
2
+ //# sourceMappingURL=chains.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chains.js","sourceRoot":"","sources":["../../../src/exports/chains.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "@wagmi/connectors";
2
+ //# sourceMappingURL=connectors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connectors.js","sourceRoot":"","sources":["../../../src/exports/connectors.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
@@ -15,4 +15,12 @@ export { useConfig } from "../hooks/useConfig.js";
15
15
  export { useConnect } from "../hooks/useConnect.js";
16
16
  export { useConnections } from "../hooks/useConnections.js";
17
17
  export { useDisconnect } from "../hooks/useDisconnect.js";
18
+ ////////////////////////////////////////////////////////////////////////////////
19
+ // @wagmi/core
20
+ ////////////////////////////////////////////////////////////////////////////////
21
+ export { ChainNotConfiguredError, ConnectorAccountNotFoundError, ConnectorAlreadyConnectedError, ConnectorChainMismatchError, ConnectorNotFoundError, ConnectorUnavailableReconnectingError,
22
+ // Utilities
23
+ cookieStorage, cookieToInitialState, createConfig, createConnector, createStorage,
24
+ // Transports
25
+ custom, deepEqual, deserialize, fallback, http, injected, mock, noopStorage, normalizeChainId, parseCookie, ProviderNotFoundError, serialize, SwitchChainNotSupportedError, unstable_connector, webSocket, } from "@wagmi/core";
18
26
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/exports/index.ts"],"names":[],"mappings":"AAAA,kEAAkE;AAClE,UAAU;AACV,kEAAkE;AAElE,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,kEAAkE;AAClE,SAAS;AACT,kEAAkE;AAClE,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAElE,kEAAkE;AAClE,QAAQ;AACR,kEAAkE;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/exports/index.ts"],"names":[],"mappings":"AAAA,kEAAkE;AAClE,UAAU;AACV,kEAAkE;AAElE,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,kEAAkE;AAClE,SAAS;AACT,kEAAkE;AAClE,OAAO,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAElE,kEAAkE;AAClE,QAAQ;AACR,kEAAkE;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAE1D,gFAAgF;AAChF,cAAc;AACd,gFAAgF;AAEhF,OAAO,EACL,uBAAuB,EACvB,6BAA6B,EAC7B,8BAA8B,EAC9B,2BAA2B,EAC3B,sBAAsB,EACtB,qCAAqC;AACrC,YAAY;AACZ,aAAa,EACb,oBAAoB,EACpB,YAAY,EACZ,eAAe,EACf,aAAa;AACb,aAAa;AACb,MAAM,EACN,SAAS,EACT,WAAW,EACX,QAAQ,EACR,IAAI,EACJ,QAAQ,EACR,IAAI,EACJ,WAAW,EACX,gBAAgB,EAChB,WAAW,EACX,qBAAqB,EACrB,SAAS,EACT,4BAA4B,EAC5B,kBAAkB,EAClB,SAAS,GA2BV,MAAM,aAAa,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "@wagmi/core/query";
2
+ //# sourceMappingURL=query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query.js","sourceRoot":"","sources":["../../../src/exports/query.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}