create-miro-app
Advanced tools
Comparing version 0.4.0 to 0.5.0
@@ -1,20 +0,8 @@ | ||
function init() { | ||
const root = document.querySelector('#root'); | ||
if (root) { | ||
root.innerHTML = `<button>Create your first widget</button>`; | ||
const button = document.querySelector('button'); | ||
if (button) { | ||
button.addEventListener('click', async () => { | ||
await miro.board.widgets.create({ | ||
type: 'sticker', | ||
text: 'Hello, World!', | ||
}); | ||
}); | ||
} | ||
} | ||
async function init() { | ||
await miro.board.widgets.create({ | ||
type: 'sticker', | ||
text: 'Hello, World!', | ||
}); | ||
} | ||
init(); |
@@ -1,2 +0,2 @@ | ||
import icon from './icon.svg?raw'; | ||
import icon from './assets/icon.svg?raw'; | ||
@@ -3,0 +3,0 @@ miro.onReady(() => { |
@@ -1,20 +0,8 @@ | ||
function init() { | ||
const root = document.querySelector('#root'); | ||
if (root) { | ||
root.innerHTML = `<button>Create your first widget</button>`; | ||
const button = document.querySelector('button'); | ||
if (button) { | ||
button.addEventListener('click', async () => { | ||
await miro.board.widgets.create({ | ||
type: 'sticker', | ||
text: 'Hello, World!', | ||
}); | ||
}); | ||
} | ||
} | ||
async function init() { | ||
await miro.board.widgets.create({ | ||
type: 'sticker', | ||
text: 'Hello, World!', | ||
}); | ||
} | ||
init(); |
@@ -1,2 +0,2 @@ | ||
import icon from './icon.svg?raw'; | ||
import icon from './assets/icon.svg?raw'; | ||
@@ -3,0 +3,0 @@ miro.onReady(() => { |
{ | ||
"name": "create-miro-app", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"keywords": [ | ||
@@ -10,3 +10,6 @@ "miro", | ||
"description": "Create Miro app", | ||
"author": "Ahmed El Gabri <ahmed@gabri.me> (https://gabri.me)", | ||
"author": "Miro <npm@miro.com> (https://miro.com)", | ||
"contributors": [ | ||
"Ahmed El Gabri <ahmed@miro.com>" | ||
], | ||
"license": "MIT", | ||
@@ -44,2 +47,3 @@ "bin": { | ||
"lint-staged": "^11.0.0", | ||
"np": "^7.5.0", | ||
"prettier": "^2.3.1", | ||
@@ -46,0 +50,0 @@ "prompts": "2.4.1", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
842436
31
4110
25