New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@invitation/embed

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@invitation/embed - npm Package Compare versions

Comparing version 0.0.9 to 1.0.0

2

package.json
{
"name": "@invitation/embed",
"version": "0.0.9",
"version": "1.0.0",
"description": "A module that enables dynamic embeds and widgets from Invitation 🎁 https://invitation.codes",

@@ -5,0 +5,0 @@ "homepage": "https://invitation.codes",

@@ -21,9 +21,11 @@ # Invitation codes 🔗 embed

In your app, anywhere, initialize the embed library:
In your app, anywhere, initialize the library:
```
import embed from '@invitation/embed';
embed(); //loads the lib
embed(); // Initialize web-components library
```
This function only need to be called once. Once in memory, the library will render all `<invitation-something>` components it encounters in future templates.
With a custom locale:

@@ -48,3 +50,3 @@

Simply add this script tag into your website header:
Simply add this script tag into your website `<head>`:

@@ -51,0 +53,0 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc