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
389
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.81 to 2.1.82

2

package.json
{
"name": "@lit-protocol/types",
"version": "2.1.81",
"version": "2.1.82",
"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, SignWithECDSA, 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, SignConditionECDSA, SuccessNodePromises, ValidateAndSignECDSA } from './interfaces';
export interface ILitNodeClient {

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

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

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

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

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

@@ -399,2 +399,20 @@ /** ---------- Access Control Conditions Interfaces ---------- */

}
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 {

@@ -401,0 +419,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