crate icon indicating copy to clipboard operation
crate copied to clipboard

Popup Discord widgets for your website ☄️

Results 8 crate issues
Sort by recently updated
recently updated
newest added

Removed an instance of eval so Crate can be used with CSP easier.

I am reopening #13 since I think I have found an instance of `eval` that is not negated by setting `"no-eval"=true`. In [`src/util/validate/index.ts Line 62`](https://github.com/widgetbot-io/crate/blob/66a121f1712167837fbc2a78d18252eed409cad4/src/util/validate/index.ts#L62), there is an `eval` that...

Bottom left ![GIF](https://advaithbot.is-really.fun/lEZODrdkD.gif) Top left ![Screenshot](https://advaithbot.is-really.fun/vAwDBtkSZ.png) Top right ![Screenshot](https://advaithbot.is-really.fun/rLuhBrMJQ.png)

If someone needs the types, they would currently need to do ```js import { ... } from '@widgetbot/crate/dist/types/...'; ``` Instead of ```js import { ... } from '@widgetbot/crate'; ```

![image](https://github.com/widgetbot-io/crate/assets/110395497/3c2e5cf3-29aa-4e3c-bf51-c07cea4d3b02)

It would be really good to have some events emitted by the Crate object which could be used by the app/website where it's installed. Example: ``` create.on('ready', (data) => {...

I'm trying to bundle some common js scripts into a single npm package for use across my different projects, one of those common js scripts is loading the widgetbot crate....