
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@scaleflex/widget-canva
Advanced tools
Create your own design & customize it then upload it through the widget on the go.
Create your own design & customize it then upload it on the go by integrating this plugin inside Scaleflex Media Asset Widget.
npm install --save @scaleflex/widget-canva
yarn add @scaleflex/widget-canva
then
import Canva from '@scaleflex/widget-canva'
...
...
...
scaleflexWidget.use(Canva, propertiesObject)
The plugin from CDN is found inside Scaleflex
global object Scaleflex.Canva
const Canva = window.ScaleflexWidget.Canva
...
...
...
scaleflexWidget.use(Canva, propertiesObject)
title
Type: string
.
Default: 'Canva (Design & Upload)'
The title/label that would be shown & used for the plugin.
apiKey
Type: string
.
Default: 'scaleflexWidget's canva api key'
The API key used in initializing canva & creating the design through their SDK.
designType
Type: string
.
Default: 'A4Document'
The design type of the design workspace that would be opened to create the design, visit Canva's design types for all available types.
fileType: string
Type: string
.
Default: 'png'
The type of the final created design's to be saved & uploaded with it.
companionHeaders
Type: null
| object
.
Default: null
If you need to pass additonal headers in companion requests then pass them in this property (used in retrieving the metadata of the design file).
locale
Type: object
.
Default: locales from scaleflexWidget's backend then default locale file with all labels is under lib/defaultLocale.js
.
You can override some labels by specifying a translation object here, such as:
{
strings: {
canvaPluginTitle: 'Canva (Design & upload)' // overrides the default Standard portraits value to standard verticals
}
}
FAQs
Create your own design & customize it then upload it through the widget on the go.
We found that @scaleflex/widget-canva demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.