@open-social-protocol/osp-plugin-webview-types
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "@open-social-protocol/osp-plugin-webview-types", | ||
"description": "API types for Open Social Protocol plugins", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"private": false, | ||
@@ -34,4 +34,4 @@ "repository": { | ||
"@stylistic/eslint-plugin-ts": "^1.8.0", | ||
"@open-social-protocol/osp-plugin-api-types": "^1.1.0" | ||
"@open-social-protocol/osp-plugin-api-types": "^1.1.1" | ||
} | ||
} | ||
} |
@@ -1,4 +0,4 @@ | ||
import { TPluginOspInfo, WebViewSource } from "./context"; | ||
import { WebViewSource } from "./context"; | ||
import { EIP1193Provider } from "eip1193-provider"; | ||
import { TPluginInfo } from "@open-social-protocol/osp-plugin-api-types"; | ||
import { TPluginInfo, TPluginOspInfo } from "@open-social-protocol/osp-plugin-api-types"; | ||
import { IPluginTransactionProps } from "../message"; | ||
@@ -5,0 +5,0 @@ |
export type TPluginOspInfo = { | ||
appId: string; | ||
env: string; | ||
chainId: string; | ||
accessToken?: string; | ||
isAASigner: boolean; | ||
hasSigner: boolean; | ||
userInfo?: { | ||
address: string; | ||
handle: string; | ||
profileId: string; | ||
} | ||
} & Record<string, any>; | ||
export interface WebViewSourceUri { | ||
@@ -20,0 +3,0 @@ /** |
import { PageType } from "@open-social-protocol/osp-plugin-api-types"; | ||
export type TPluginUrlParams = { | ||
appVersion: string; | ||
postId?: string; | ||
type: PageType; | ||
pluginId: string; | ||
urlParams?: { [key: string]: string }; | ||
} | ||
export type TSandboxUrlParams = { | ||
appVersion: string; | ||
postId?: string; | ||
type: PageType; | ||
pluginId: string; | ||
contentId?: string; | ||
profileId?: string; | ||
urlParams?: { [key: string]: string }; | ||
}; |
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
6840
204