@b3dotfun/sdk 0.1.69-alpha.1 → 0.1.69-alpha.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.
|
@@ -16,7 +16,6 @@ const useSearchParamsSSR_1 = require("./useSearchParamsSSR");
|
|
|
16
16
|
* @deprecated Use useAuth() instead
|
|
17
17
|
*/
|
|
18
18
|
function useTWAuth() {
|
|
19
|
-
console.warn("useTWAuth is deprecated. Please migrate to useAuth() for authentication.");
|
|
20
19
|
const referralCode = (0, useSearchParamsSSR_1.useSearchParam)("referralCode");
|
|
21
20
|
const authenticate = (0, react_1.useCallback)(async (wallet, partnerId) => {
|
|
22
21
|
if (!wallet || !wallet?.getAuthToken?.())
|
|
@@ -10,7 +10,6 @@ import { useSearchParam } from "./useSearchParamsSSR.js";
|
|
|
10
10
|
* @deprecated Use useAuth() instead
|
|
11
11
|
*/
|
|
12
12
|
export function useTWAuth() {
|
|
13
|
-
console.warn("useTWAuth is deprecated. Please migrate to useAuth() for authentication.");
|
|
14
13
|
const referralCode = useSearchParam("referralCode");
|
|
15
14
|
const authenticate = useCallback(async (wallet, partnerId) => {
|
|
16
15
|
if (!wallet || !wallet?.getAuthToken?.())
|
package/package.json
CHANGED
|
@@ -12,7 +12,6 @@ import { useSearchParam } from "./useSearchParamsSSR";
|
|
|
12
12
|
* @deprecated Use useAuth() instead
|
|
13
13
|
*/
|
|
14
14
|
export function useTWAuth() {
|
|
15
|
-
console.warn("useTWAuth is deprecated. Please migrate to useAuth() for authentication.");
|
|
16
15
|
const referralCode = useSearchParam("referralCode");
|
|
17
16
|
|
|
18
17
|
const authenticate = useCallback(
|