UNPKG

@dynamic-labs/sdk-react-core

Version:

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

10 lines (8 loc) 197 B
'use client' const isRawMessage = (data) => { if (typeof data !== 'object' || data === null) { return false; } return typeof data.raw === 'string'; }; export { isRawMessage };