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

@open-social-protocol/osp-plugin-webview-types

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@open-social-protocol/osp-plugin-webview-types - npm Package Compare versions

Comparing version 1.0.6 to 1.0.7

2

package.json
{
"name": "@open-social-protocol/osp-plugin-webview-types",
"description": "API types for Open Social Protocol plugins",
"version": "1.0.6",
"version": "1.0.7",
"private": false,

@@ -6,0 +6,0 @@ "repository": {

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

import { WebViewSource } from "./context";
import { EIP1193Provider } from "eip1193-provider";
import {

@@ -7,2 +5,6 @@ TPluginInfo,

} from "@open-social-protocol/osp-plugin-api-types";
import { EIP1193Provider } from "eip1193-provider";
import { WebViewSource } from "./context";
import { TPayResult } from "./lifecycle";
import { IPluginTransactionProps } from "../message";

@@ -31,2 +33,3 @@

}) => void;
onPayResult: (data: TPayResult) => void;
}

@@ -1,23 +0,19 @@

export type TPluginResize = {
heightWidthRatio: number
}
heightWidthRatio: number;
};
export type TPayResult = {
success: boolean;
};
export type TOpenURL = {
url?: string, target?: string, features?: string
}
url?: string;
target?: string;
features?: string;
};
//pluginUI.resize: 加载plugin -> loaded
export type TPluginLoaded = {
id: string;
name: string;
id: string;
name: string;
} & TPluginResize;
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