piral-blazor
Advanced tools
Comparing version 0.11.8 to 0.12.0-pre.1747
@@ -1,2 +0,2 @@ | ||
import { Extend } from 'piral-core'; | ||
import { PiralPlugin } from 'piral-core'; | ||
import { PiletBlazorApi } from './types'; | ||
@@ -16,2 +16,2 @@ /** | ||
*/ | ||
export declare function createBlazorApi(config?: BlazorConfig): Extend<PiletBlazorApi>; | ||
export declare function createBlazorApi(config?: BlazorConfig): PiralPlugin<PiletBlazorApi>; |
{ | ||
"name": "piral-blazor", | ||
"version": "0.11.8", | ||
"version": "0.12.0-pre.1747", | ||
"description": "Plugin for integrating Blazor components in Piral.", | ||
@@ -48,8 +48,8 @@ "keywords": [ | ||
"@types/emscripten": "0.0.34", | ||
"piral-core": "^0.11.8" | ||
"piral-core": "^0.12.0-pre.1747" | ||
}, | ||
"peerDependencies": { | ||
"piral-core": "^0.9.0 || ^0.10.0 || ^0.11.0" | ||
"piral-core": "^1.0.0" | ||
}, | ||
"gitHead": "617df77a2d553e455ec66b04936967ff3ce21a47" | ||
"gitHead": "fe6d8ac1e84c1760cb54355f8fc627bda8625ef0" | ||
} |
@@ -73,3 +73,3 @@ [![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io) | ||
> For authors of pilets | ||
::: summary: For pilet authors | ||
@@ -98,5 +98,5 @@ You can use the `fromBlazor` function from the Pilet API to convert your Blazor components to components usable by your Piral instance. | ||
## Setup and Bootstrapping | ||
::: | ||
> For Piral instance developers | ||
::: summary: For Piral instance developers | ||
@@ -114,3 +114,3 @@ Using Blazor with Piral is as simple as installing `piral-blazor`. | ||
// important part | ||
extendApi: [createBlazorApi()], | ||
plugins: [createBlazorApi()], | ||
// ... | ||
@@ -124,4 +124,6 @@ }); | ||
::: | ||
## License | ||
Piral is released using the MIT license. For more information see the [license file](./LICENSE). |
@@ -1,2 +0,2 @@ | ||
import { Extend } from 'piral-core'; | ||
import { PiralPlugin } from 'piral-core'; | ||
import { addReference } from './internal'; | ||
@@ -20,3 +20,3 @@ import { createConverter } from './converter'; | ||
*/ | ||
export function createBlazorApi(config: BlazorConfig = {}): Extend<PiletBlazorApi> { | ||
export function createBlazorApi(config: BlazorConfig = {}): PiralPlugin<PiletBlazorApi> { | ||
const { lazy = true } = config; | ||
@@ -23,0 +23,0 @@ |
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
392656
126
10