@lit-protocol/types
Advanced tools
Comparing version 2.1.85 to 2.1.86
{ | ||
"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; |
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
28947
912