@spicenet-io/spiceflow-ui 1.6.0 → 1.6.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.
package/dist/auth-dynamic.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import React, { useEffect, useState, useCallback } from 'react';
|
|
4
|
-
import { c as createTheme, B as Button } from './Button-
|
|
4
|
+
import { c as createTheme, B as Button } from './Button-aWXByNBC.js';
|
|
5
5
|
import { useDynamicContext, useConnectWithOtp } from '@dynamic-labs/sdk-react-core';
|
|
6
6
|
|
|
7
7
|
const Input = ({
|
package/dist/auth-privy.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
3
|
import { useState, useEffect } from 'react';
|
|
4
|
-
import { B as Button, c as createTheme } from './Button-
|
|
4
|
+
import { B as Button, c as createTheme } from './Button-aWXByNBC.js';
|
|
5
5
|
import { usePrivy, useLogin, useLogout } from '@privy-io/react-auth';
|
|
6
6
|
|
|
7
7
|
const PrivyLogin = ({
|
package/dist/index.cjs.js
CHANGED
|
@@ -4509,7 +4509,7 @@ const ConnectWalletModal = ({
|
|
|
4509
4509
|
if (lastCheckedAddressRef.current !== address) {
|
|
4510
4510
|
const timer = setTimeout(() => {
|
|
4511
4511
|
{
|
|
4512
|
-
|
|
4512
|
+
checkEligibility(address);
|
|
4513
4513
|
}
|
|
4514
4514
|
}, 500);
|
|
4515
4515
|
return () => clearTimeout(timer);
|
|
@@ -4593,7 +4593,7 @@ const ConnectWalletModal = ({
|
|
|
4593
4593
|
const connectedAddress = address;
|
|
4594
4594
|
if (connectedAddress) {
|
|
4595
4595
|
{
|
|
4596
|
-
|
|
4596
|
+
checkEligibility(connectedAddress);
|
|
4597
4597
|
}
|
|
4598
4598
|
}
|
|
4599
4599
|
} catch (error) {
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
3
3
|
import React, { useState, useRef, useEffect, useCallback, createContext, useContext, useTransition, forwardRef, createElement, useMemo } from 'react';
|
|
4
4
|
import { defineChain, createPublicClient, http, isAddress, getAddress, parseEther, parseUnits, encodeFunctionData } from 'viem';
|
|
5
|
-
import { c as createTheme, B as Button, d as defaultTheme } from './Button-
|
|
5
|
+
import { c as createTheme, B as Button, d as defaultTheme } from './Button-aWXByNBC.js';
|
|
6
6
|
import { getBalance, readContract } from 'viem/actions';
|
|
7
7
|
import { basecampTestnet, citreaTestnet, baseSepolia, arbitrumSepolia, sepolia } from 'viem/chains';
|
|
8
8
|
import { createPortal } from 'react-dom';
|
|
@@ -4507,7 +4507,7 @@ const ConnectWalletModal = ({
|
|
|
4507
4507
|
if (lastCheckedAddressRef.current !== address) {
|
|
4508
4508
|
const timer = setTimeout(() => {
|
|
4509
4509
|
{
|
|
4510
|
-
|
|
4510
|
+
checkEligibility(address);
|
|
4511
4511
|
}
|
|
4512
4512
|
}, 500);
|
|
4513
4513
|
return () => clearTimeout(timer);
|
|
@@ -4591,7 +4591,7 @@ const ConnectWalletModal = ({
|
|
|
4591
4591
|
const connectedAddress = address;
|
|
4592
4592
|
if (connectedAddress) {
|
|
4593
4593
|
{
|
|
4594
|
-
|
|
4594
|
+
checkEligibility(connectedAddress);
|
|
4595
4595
|
}
|
|
4596
4596
|
}
|
|
4597
4597
|
} catch (error) {
|
package/package.json
CHANGED
|
File without changes
|