UNPKG

@dynamic-labs/sdk-react-core

Version:

A React SDK for implementing wallet web3 authentication and authorization to your website.

14 lines (10 loc) 297 B
'use client' 'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); const resolvePromiseRef = (promise, value) => { if (!promise.current) return; promise.current.resolve(value); promise.current = null; }; exports.resolvePromiseRef = resolvePromiseRef;