
Security News
Security Community Slams MIT-linked Report Claiming AI Powers 80% of Ransomware
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.
@metype/components
Advanced tools
A react wrapper around metype widgets
- Metype-Commenting-widget [ commenting platform to keep your users engaged ]
- Metype-Feed-widget [ realtime feed of all the comments on the site ]
- Metype-Contribution-Widget [ submit content to the system ]
- Metype-Reactions-Widget [ Add reactions to a realm to keep the users engaged ]
npm i @metype/components --save
import { MetypeFeedWidget } from "@metype/components";
import { MetypeCommentingWidget } from "@metype/components";
import { MetypeContributionWidget } from "@metype/components";
import { MetypeReactionsWidget } from "@metype/components";
<MetypeCommentingWidget
      host={'<-hostname->'}
      accountId={<-account id->}
      pageURL={'<-url of current page->'}
      primaryColor={'<-Hex code of required color->'}
      className = {'<-class name for styling->}
      secondaryColor = {'<-Hex code of required color->'}
      fontColor = {'<-Hex code of required color->'} 
      windowHeight = {'<-preferable window height || defaults to the required height>'} 
      windowWidth = {'<-preferable window width || defaults to 100% width of the parent container>''}
      fontFamily={'<-font family name for the widget->'}
      fontUrl={'<-font family url for the widget->'} />
<MetypeFeedWidget
      host={'<-hostname->'}
      accountId={<-account id->}
      primaryColor={'<-Hex code of required color->'}
      className = {'<-class name for styling->}
      secondaryColor = {'<-Hex code of required color->'}
      fontColor = {'<-Hex code of required color->'}        
      publisher={'<-publisher name->'}
      fontFamily={'<-font family name for the widget->'}
      fontUrl={'<-font family url for the widget->'} />       
<MetypeContributionWidget
      host={'<-hostname->'}
      accountId={<-account id->}      
      publisher={'<-publisher name->'}
      fontFamily={'<-font family name for the widget->'}
      fontUrl={'<-font family url for the widget->'} />
<MetypeReactionsWidget
      host={'<-hostname->'}
      accountId={<-account id->}
      storyUrl={'<-story realm url->'}
      storyId={'<-story realm id->}
      fontFamily={'<-font family name for the widget->'}
      fontUrl={'<-font family url for the widget->'} />
Prerequisites:
- Login to be implemented in the parent app where metype is embedded.
- Enable third party login in the metype dashboard settings.
- Generate the jwtToken after login and pass it as a prop to the
MetypeCommentingWidgetas a string.
<MetypeCommentingWidget
      host={'<-hostname->'}
      accountId={<-account id->}
      pageURL={'<-url of current page->'}
      .....
      jwt={jwt} />
      
      
- To login the user we call the below function with jwt being passed
this.props.jwt && window.talktype.accountUserLogin({
  jwt: this.props.jwt
});
Note: The iframe is rerendered based on the jwtToken.
TODO: To be made more scalable and performant.
+919019218218
FAQs
React wrapped component built around metype
We found that @metype/components demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.

Research
/Security News
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.