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

piral-blazor

Package Overview
Dependencies
Maintainers
1
Versions
805
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

piral-blazor - npm Package Compare versions

Comparing version 0.11.5-pre.1233 to 0.11.5-pre.1237

1

lib/internal/index.d.ts

@@ -11,2 +11,3 @@ import './globals';

export declare function addReference(blob: Blob): Promise<unknown>;
export declare function removeReference(name: string): Promise<unknown>;
export declare function attachEvents(host: HTMLElement, render: (ev: CustomEvent) => void, navigate: (ev: CustomEvent) => void): () => void;

@@ -13,0 +14,0 @@ export declare function initialize(data: BootJsonData): Promise<{

@@ -49,2 +49,6 @@ "use strict";

exports.addReference = addReference;
function removeReference(name) {
return DotNet.invokeMethodAsync(coreLib, 'UnloadComponentsFromLibrary', name);
}
exports.removeReference = removeReference;
function attachEvents(host, render, navigate) {

@@ -51,0 +55,0 @@ host.addEventListener(exports.eventNames.render, render, false);

6

package.json
{
"name": "piral-blazor",
"version": "0.11.5-pre.1233",
"version": "0.11.5-pre.1237",
"description": "Plugin for integrating Blazor components in Piral.",

@@ -48,3 +48,3 @@ "keywords": [

"@types/emscripten": "0.0.34",
"piral-core": "^0.11.5-pre.1233"
"piral-core": "^0.11.5-pre.1237"
},

@@ -54,3 +54,3 @@ "peerDependencies": {

},
"gitHead": "8f7a439009e34b485bbb5f2a4e8828252ae44b85"
"gitHead": "30ceae60248dd969ea2a3591e221b06cde6ea578"
}

@@ -32,2 +32,27 @@ [![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io)

Exposing components looks like:
```cs
@attribute [ExposePilet("sample-page")]
<div>
<p>
Current count: @counter
</p>
<p>
<button @onclick="Increment">Increment</button>
</p>
</div>
@code {
int counter = 0;
void Increment()
{
counter++;
}
}
```
The following functions are brought to the Pilet API.

@@ -34,0 +59,0 @@

@@ -56,2 +56,6 @@ import './globals';

export function removeReference(name: string) {
return DotNet.invokeMethodAsync(coreLib, 'UnloadComponentsFromLibrary', name);
}
export function attachEvents(

@@ -58,0 +62,0 @@ host: HTMLElement,

Sorry, the diff of this file is not supported yet

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