Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@appsemble/preact

Package Overview
Dependencies
Maintainers
4
Versions
230
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@appsemble/preact - npm Package Compare versions

Comparing version 0.20.42 to 0.20.43

LICENSE.md

4

index.d.ts

@@ -1,3 +0,3 @@

import { BootstrapParams, Messages } from '@appsemble/sdk';
import { ComponentType, VNode } from 'preact';
import { type BootstrapParams, type Messages } from '@appsemble/sdk';
import { type ComponentType, type VNode } from 'preact';
export interface BlockProps extends BootstrapParams {

@@ -4,0 +4,0 @@ /**

{
"name": "@appsemble/preact",
"version": "0.20.42",
"version": "0.20.43",
"description": "Build your own blocks using Preact",

@@ -38,5 +38,5 @@ "keywords": [

"peerDependencies": {
"@appsemble/sdk": "0.20.42",
"@appsemble/sdk": "0.20.43",
"preact": "^10"
}
}

@@ -1,2 +0,2 @@

# ![](https://gitlab.com/appsemble/appsemble/-/raw/0.20.42/config/assets/logo.svg) Appsemble Preact SDK
# ![](https://gitlab.com/appsemble/appsemble/-/raw/0.20.43/config/assets/logo.svg) Appsemble Preact SDK

@@ -6,5 +6,14 @@ > Build your own blocks using Preact

[![npm](https://img.shields.io/npm/v/@appsemble/preact)](https://www.npmjs.com/package/@appsemble/preact)
[![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.20.42/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.20.42)
[![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.20.43/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.20.43)
[![Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://prettier.io)
## Table of Contents
- [Installation](#installation)
- [Usage](#usage)
- [`bootstrap()`](#bootstrap)
- [`useBlock()`](#useblock)
- [`<FormattedMessage />`](#formattedmessage-)
- [License](#license)
## Installation

@@ -56,3 +65,3 @@

import { useBlock } from '@appsemble/preact';
import { VNode } from 'preact';
import { type VNode } from 'preact';

@@ -76,3 +85,3 @@ export function MyButton(): VNode {

import { FormattedMessage } from '@appsemble/preact';
import { VNode } from 'preact';
import { type VNode } from 'preact';

@@ -94,3 +103,3 @@ interface MyButtonProps {

[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.20.42/LICENSE.md) ©
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.20.43/LICENSE.md) ©
[Appsemble](https://appsemble.com)
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