@lit-protocol/types
Advanced tools
Comparing version 2.1.81 to 2.1.82
{ | ||
"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; |
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
29388
928
30