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

@lit-protocol/types

Package Overview
Dependencies
Maintainers
4
Versions
387
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lit-protocol/types - npm Package Compare versions

Comparing version 2.1.85 to 2.1.86

2

package.json
{
"name": "@lit-protocol/types",
"version": "2.1.85",
"version": "2.1.86",
"type": "commonjs",

@@ -5,0 +5,0 @@ "license": "MIT",

import { SupportedJsonRequests } from './types';
import { ExecuteJsProps, ExecuteJsResponse, FormattedMultipleAccs, HandshakeWithSgx, JsonEncryptionRetrieveRequest, JsonExecutionRequest, JsonSaveEncryptionKeyRequest, JsonSignChainDataRequest, JsonSigningRetrieveRequest, JsonSigningStoreRequest, JsonStoreSigningRequest, KV, LitNodeClientConfig, NodeCommandResponse, NodeCommandServerKeysResponse, NodeShare, RejectedNodePromises, SendNodeCommand, SignedChainDataToken, SignConditionECDSA, SuccessNodePromises, ValidateAndSignECDSA } from './interfaces';
import { ExecuteJsProps, ExecuteJsResponse, FormattedMultipleAccs, HandshakeWithSgx, JsonEncryptionRetrieveRequest, JsonExecutionRequest, JsonSaveEncryptionKeyRequest, JsonSignChainDataRequest, JsonSigningRetrieveRequest, JsonSigningStoreRequest, JsonStoreSigningRequest, KV, LitNodeClientConfig, NodeCommandResponse, NodeCommandServerKeysResponse, NodeShare, RejectedNodePromises, SendNodeCommand, SignedChainDataToken, SignWithECDSA, SignConditionECDSA, SuccessNodePromises, ValidateAndSignECDSA } from './interfaces';
export interface ILitNodeClient {

@@ -276,3 +276,3 @@ config: LitNodeClientConfig;

*/
getEncryptionKey(params: JsonEncryptionRetrieveRequest): Promise<Uint8Array>;
getEncryptionKey(params: JsonEncryptionRetrieveRequest): Promise<Uint8Array | undefined>;
/**

@@ -297,2 +297,3 @@ *

*/
signWithEcdsa(params: SignWithECDSA): Promise<string>;
/**

@@ -299,0 +300,0 @@ *

@@ -152,2 +152,3 @@ /** ---------- Access Control Conditions Interfaces ---------- */

targetNodeRange?: number;
authMethods?: Array<Object>;
}

@@ -400,20 +401,2 @@ /**

}
export interface EncryptToIpfsProps {
authSig: JsonAuthSig;
accessControlConditions?: AccessControlConditions;
evmContractConditions?: EvmContractConditions;
solRpcConditions?: SolRpcConditions;
unifiedAccessControlConditions?: UnifiedAccessControlConditions;
chain: Chain;
string?: string;
file?: AcceptedFileType;
litNodeClient: ILitNodeClient;
infuraId: string;
infuraSecretKey: string;
}
export interface DecryptFromIpfsProps {
authSig: JsonAuthSig;
ipfsCid: string;
litNodeClient: ILitNodeClient;
}
export interface EncryptFileAndZipWithMetadataProps {

@@ -420,0 +403,0 @@ authSig: JsonAuthSig;

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