@trypanacea/sdk
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -84,4 +84,4 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
styleLink.rel = "stylesheet"; | ||
styleLink.href = "https://unpkg.com/@trypanacea/sdk@latest/dist/styles.css"; // Update with the correct path to your built CSS | ||
// styleLink.href = "/dist/styles.css"; // Update with the correct path to your built CSS | ||
// styleLink.href = "https://unpkg.com/@trypanacea/sdk@latest/dist/styles.css"; // Update with the correct path to your built CSS | ||
styleLink.href = "/dist/styles.css"; // Update with the correct path to your built CSS | ||
shadow.appendChild(styleLink); | ||
@@ -92,2 +92,3 @@ // Create floating button | ||
button.className = `btn fixed bottom-5 right-5 p-3 primary z-20 transition-all duration-300 ease-in-out`; | ||
button.style.display = "none"; | ||
shadow.appendChild(button); | ||
@@ -100,2 +101,3 @@ // Create the iframe | ||
iframe.style.backgroundColor = backgroundColor; | ||
iframe.style.height = "0px"; | ||
shadow.appendChild(iframe); | ||
@@ -102,0 +104,0 @@ // Add event listener to toggle the iframe width |
{ | ||
"name": "@trypanacea/sdk", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24515
184