@1sat/react 0.0.35 → 0.0.36

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.
Files changed (2) hide show
  1. package/dist/index.js +0 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -215,7 +215,6 @@ function useWallet() {
215
215
  import { completeSigmaOAuth, connectSigmaWallet } from "@1sat/connect";
216
216
  import { useEffect as useEffect2, useState as useState2 } from "react";
217
217
  import { jsx as jsx2, jsxs, Fragment } from "react/jsx-runtime";
218
- "use client";
219
218
  function SigmaCallback({
220
219
  redirectTo = "/",
221
220
  onComplete,
@@ -315,7 +314,6 @@ function SigmaCallback({
315
314
  // src/ConnectDialog.tsx
316
315
  import { useCallback as useCallback2, useEffect as useEffect3, useRef as useRef2, useState as useState3 } from "react";
317
316
  import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
318
- "use client";
319
317
  function ConnectDialog({
320
318
  open,
321
319
  onOpenChange,
@@ -436,7 +434,6 @@ import {
436
434
  useState as useState4
437
435
  } from "react";
438
436
  import { jsx as jsx4, jsxs as jsxs3 } from "react/jsx-runtime";
439
- "use client";
440
437
  var ConnectDialogCtx = createContext2(null);
441
438
  function useConnectDialog() {
442
439
  const ctx = useContext2(ConnectDialogCtx);
@@ -473,7 +470,6 @@ function ConnectDialogProvider({
473
470
  }
474
471
  // src/ConnectButton.tsx
475
472
  import { jsx as jsx5, Fragment as Fragment2 } from "react/jsx-runtime";
476
- "use client";
477
473
  function truncateIdentityKey(key) {
478
474
  if (key.length <= 12)
479
475
  return key;
@@ -556,7 +552,6 @@ function ConnectButton({
556
552
  // src/WalletSelector.tsx
557
553
  import { useCallback as useCallback4, useState as useState5 } from "react";
558
554
  import { jsx as jsx6, Fragment as Fragment3 } from "react/jsx-runtime";
559
- "use client";
560
555
  function WalletSelector({ onClose, children }) {
561
556
  const { availableProviders, connect, error } = useWallet();
562
557
  const [connectingType, setConnectingType] = useState5(null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1sat/react",
3
- "version": "0.0.35",
3
+ "version": "0.0.36",
4
4
  "description": "React hooks and components for 1Sat wallet integration",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",