From 504e457b91f4caca02d79ffb09a044fd3647cf33 Mon Sep 17 00:00:00 2001 From: Aaryan R S <82698176+Aaryan-R-S@users.noreply.github.com> Date: Fri, 29 Mar 2024 04:54:42 +0530 Subject: [PATCH 01/30] feat(support): Add github issues templates and update configuration --- .github/ISSUE_TEMPLATE/bug_report.md | 37 ----------- .github/ISSUE_TEMPLATE/bug_report.yml | 72 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 8 +++ .github/ISSUE_TEMPLATE/feature_request.yml | 42 +++++++++++++ .github/ISSUE_TEMPLATE/general_support.yml | 20 ++++++ 5 files changed, 142 insertions(+), 37 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml create mode 100644 .github/ISSUE_TEMPLATE/general_support.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100644 index 1ae66e3eb6..0000000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: '' -labels: '' -assignees: '' - ---- - -**Before reporting, I have already *** -- checked LIT Protocol [developer docs](https://developer.litprotocol.com/) and/or the [lit-js-sdk](https://lit-protocol.github.io/lit-js-sdk/api_docs_html/). -- searched for other [open issues](https://github.com/LIT-Protocol/lit-js-sdk/issues). - -**Describe the bug** -A clear and concise description of what the bug is. - -**To Reproduce** -Steps to reproduce the behavior: -1. Go to '...' -2. Click on '....' -3. Scroll down to '....' -4. See error - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Screenshots** -If applicable, add screenshots to help explain your problem. - -**Environment:** - - Lit SDK version (including the network (ie, "cayenne") if different, and type - browser or backend) - - Node version - - Framework (React, Vue, Angular, Svelte - just Plain HTML!, etc) - - Specific tooling (Webpack, Vite, browserify, etc) - -**Additional info** -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000000..860da022c5 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,72 @@ +name: 🐞 Bug Report +description: File a bug report or issue +title: "[Team Name] " +labels: [Bug, Integration Issue] +body: +- type: checkboxes + attributes: + label: Is there an existing issue for this? + description: Please search to see if an issue already exists for the bug you encountered. + options: + - label: I have searched the existing issues + required: true +- type: text + attributes: + label: SDK version + description: Which version(s) of the SDK are you using? + validations: + required: true +- type: text + attributes: + label: Lit Network + description: Which Lit network(s) are you using? + validations: + required: true +- type: textarea + attributes: + label: Description of the bug/issue + description: A clear and concise description of what the bug or issue is along with error message. + validations: + required: true +- type: textarea + attributes: + label: Severity of the bug + description: What is the impact of this bug on your integration? + validations: + required: true +- type: textarea + attributes: + label: Steps To Reproduce + description: Steps to reproduce the behavior. + placeholder: | + 1. In this environment... + 2. With this config... + 3. Run '...' + 4. See error... + validations: + required: true +- type: textarea + attributes: + label: Link to code + description: If you have a public repository with the code, please provide a link. + validations: + required: false +- type: textarea + attributes: + label: Anything else? + description: | + Links? References? Screenshots? Anything that will give us more context about the issue you are encountering! + + Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. + validations: + required: false +# - type: dropdown +# id: browsers +# attributes: +# label: What browsers are you seeing the problem on? +# multiple: true +# options: +# - Firefox +# - Chrome +# - Safari +# - Microsoft Edge \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000000..b648b8089f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: false +contact_links: + - name: "Community" + url: "https://developer.litprotocol.com/ecosystem/community" + about: "Join Lit Protocol's Community to ask questions and share your projects" + - name: "Documentation" + url: "https://developer.litprotocol.com/v3" + about: "Find more information in the Lit Protocol's official documentation" \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000000..e6b46c75a3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,42 @@ +name: 🚀 Feature Request +description: Request a new feature or enhancement +title: "[Team Name] " +labels: [Feature Request, Enhancement] +body: +- type: textarea + attributes: + label: Description of the feature request + description: A clear and concise description of the feature or enhancement you are requesting. + validations: + required: true +- type: textarea + attributes: + label: Use case for the feature + description: How would this feature benefit your integration or use case? + validations: + required: true +- type: textarea + attributes: + label: Proposed solution + description: If you have any ideas or suggestions for how this feature could be implemented, please provide them here. + validations: + required: false +- type: textarea + attributes: + label: Additional context + description: | + Links? References? Screenshots? Anything that will give us more context about the feature you are requesting! + + Tip: You can attach images or files by clicking this area to highlight it and then dragging files in. + validations: + required: false +# - type: dropdown +# id: browsers +# attributes: +# label: What browsers do you expect this feature to work on? +# multiple: true +# options: +# - Firefox +# - Chrome +# - Safari +# - Microsoft Edge \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/general_support.yml b/.github/ISSUE_TEMPLATE/general_support.yml new file mode 100644 index 0000000000..b27991ba60 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/general_support.yml @@ -0,0 +1,20 @@ +name: 🆘 General Support +description: Request general support or assistance +title: "[Team Name] " +labels: [General Support] +body: +- type: textarea + attributes: + label: Description of the issue + description: A clear and concise description of the issue or problem you are facing. + validations: + required: true +- type: textarea + attributes: + label: Additional context + description: | + Links? References? Screenshots? Anything that will give us more context about the issue you are facing! + + Tip: You can attach images or files by clicking this area to highlight it and then dragging files in. + validations: + required: false From ff5436f0eafeaa370ca3da78ea1e74bec035d1b1 Mon Sep 17 00:00:00 2001 From: Aaryan R S <82698176+Aaryan-R-S@users.noreply.github.com> Date: Fri, 29 Mar 2024 22:16:27 +0530 Subject: [PATCH 02/30] fix(support): Fix github bug report template --- .github/ISSUE_TEMPLATE/bug_report.yml | 4 ++-- .github/ISSUE_TEMPLATE/general_support.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 860da022c5..7126c217d4 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -10,13 +10,13 @@ body: options: - label: I have searched the existing issues required: true -- type: text +- type: textarea attributes: label: SDK version description: Which version(s) of the SDK are you using? validations: required: true -- type: text +- type: textarea attributes: label: Lit Network description: Which Lit network(s) are you using? diff --git a/.github/ISSUE_TEMPLATE/general_support.yml b/.github/ISSUE_TEMPLATE/general_support.yml index b27991ba60..584c574a90 100644 --- a/.github/ISSUE_TEMPLATE/general_support.yml +++ b/.github/ISSUE_TEMPLATE/general_support.yml @@ -1,6 +1,6 @@ name: 🆘 General Support description: Request general support or assistance -title: "[Team Name] " +title: "[Team Name] " labels: [General Support] body: - type: textarea From 5d35cb152a96f41b90577c68e19c36b29db2092b Mon Sep 17 00:00:00 2001 From: Anson_LitProtocol Date: Mon, 1 Apr 2024 17:18:48 +0100 Subject: [PATCH 03/30] feat(version-bump): update accs-schemas package for verifyTestnet chain --- README.md | 2 +- lerna.json | 2 +- package.json | 2 +- packages/constants/src/lib/version.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index db01037627..03b880296e 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@
-

Lit Protocol Javascript/Typescript SDK V4.1.1

+

Lit Protocol Javascript/Typescript SDK V4.2.0


diff --git a/lerna.json b/lerna.json index 81de2a9ba0..23fbcc45cf 100644 --- a/lerna.json +++ b/lerna.json @@ -2,5 +2,5 @@ "$schema": "node_modules/lerna/schemas/lerna-schema.json", "useNx": true, "useWorkspaces": true, - "version": "4.1.1" + "version": "4.2.0" } diff --git a/package.json b/package.json index 30cbb59080..c467b5a4cc 100644 --- a/package.json +++ b/package.json @@ -77,7 +77,7 @@ "@cypress/code-coverage": "^3.10.0", "@cypress/react": "^6.2.0", "@cypress/webpack-dev-server": "^2.3.0", - "@lit-protocol/accs-schemas": "0.0.6", + "@lit-protocol/accs-schemas": "0.0.7", "@metamask/eth-sig-util": "5.0.2", "@mysten/sui.js": "^0.37.1", "@playwright/test": "^1.25.2", diff --git a/packages/constants/src/lib/version.ts b/packages/constants/src/lib/version.ts index 1e4bcf9a76..14b018bf58 100644 --- a/packages/constants/src/lib/version.ts +++ b/packages/constants/src/lib/version.ts @@ -1 +1 @@ -export const version = '4.1.1'; +export const version = '4.2.0'; From 97be4bdee0e710e817aa68bd77737ca1c52bae40 Mon Sep 17 00:00:00 2001 From: Anson_LitProtocol Date: Mon, 1 Apr 2024 17:26:04 +0100 Subject: [PATCH 04/30] fix: update yarn lockfile --- yarn.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/yarn.lock b/yarn.lock index 61a2d87725..85becec924 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3268,10 +3268,10 @@ resolved "https://registry.yarnpkg.com/@lit-labs/ssr-dom-shim/-/ssr-dom-shim-1.2.0.tgz#353ce4a76c83fadec272ea5674ede767650762fd" integrity sha512-yWJKmpGE6lUURKAaIltoPIE/wrbY3TEkqQt+X0m+7fQNnAv0keydnYvbiJFP1PnMhizmIWRWOG5KLhYyc/xl+g== -"@lit-protocol/accs-schemas@0.0.6": - version "0.0.6" - resolved "https://registry.yarnpkg.com/@lit-protocol/accs-schemas/-/accs-schemas-0.0.6.tgz#a2dd4677bdfe33fd1a45b8f6919d1eff92633012" - integrity sha512-/NIZkAN+kgAarWefBX1a4DiNerUtv8JOdQmqUo45cnlDp89X9HkiK+8gm9z2p9gojtvxMqqId7wW8J8NHXVRDg== +"@lit-protocol/accs-schemas@0.0.7": + version "0.0.7" + resolved "https://registry.yarnpkg.com/@lit-protocol/accs-schemas/-/accs-schemas-0.0.7.tgz#aad45c27f8c1dc0363a08771bdab50b595dc34d7" + integrity sha512-n8fJ6NMh2T3KgSKe0CRB0Uam6ZwxUTQV0oQXY0vEmSL+Q2a1PsM2FX42szOM+O7LgY+Bko7AiCjjDHbqQoJydg== dependencies: ajv "^8.12.0" From c4e457ba96659b27d30079a66e6c557bf57aa947 Mon Sep 17 00:00:00 2001 From: Anson_LitProtocol Date: Mon, 1 Apr 2024 17:32:08 +0100 Subject: [PATCH 05/30] Published version 4.2.0 --- .../contracts_sdk_src.LitContracts.html | 84 +++++++++---------- .../lit_node_client_src.LitNodeClient.html | 6 +- doc/enums/constants_src.EITHER_TYPE.html | 6 +- doc/enums/constants_src.SIGTYPE.html | 10 +-- doc/enums/constants_src.VMTYPE.html | 8 +- ...onicalAccessControlConditionFormatter.html | 2 +- ...src.canonicalCosmosConditionFormatter.html | 2 +- ...anonicalEVMContractConditionFormatter.html | 2 +- ...ions_src.canonicalResourceIdFormatter.html | 2 +- ...src.canonicalSolRpcConditionFormatter.html | 2 +- ...nifiedAccessControlConditionFormatter.html | 2 +- ...ess_control_conditions_src.formatAtom.html | 2 +- ...cess_control_conditions_src.formatSol.html | 2 +- ...tions_src.hashAccessControlConditions.html | 2 +- ...ditions_src.hashEVMContractConditions.html | 2 +- ...control_conditions_src.hashResourceId.html | 2 +- ...nditions_src.hashResourceIdForSigning.html | 2 +- ...l_conditions_src.hashSolRpcConditions.html | 2 +- ...rc.hashUnifiedAccessControlConditions.html | 2 +- ...s_src.humanizeAccessControlConditions.html | 2 +- ...rol_conditions_src.humanizeComparator.html | 2 +- ...nditions_src.humanizeCosmosConditions.html | 2 +- ...manizeEvmBasicAccessControlConditions.html | 2 +- ...ons_src.humanizeEvmContractConditions.html | 2 +- ...nditions_src.humanizeSolRpcConditions.html | 2 +- ...umanizeUnifiedAccessControlConditions.html | 2 +- ...h_browser_src.checkAndSignAuthMessage.html | 2 +- ...Connect.checkAndSignCosmosAuthMessage.html | 2 +- ...c.cosmosConnect.connectCosmosProvider.html | 2 +- ...er_src.cosmosConnect.serializeSignDoc.html | 2 +- ....cosmosConnect.signAndSaveAuthMessage.html | 2 +- ..._src.ethConnect.chainHexIdToChainName.html | 2 +- ...ethConnect.checkAndSignEVMAuthMessage.html | 2 +- ...th_browser_src.ethConnect.connectWeb3.html | 2 +- ...owser_src.ethConnect.decodeCallResult.html | 2 +- ...browser_src.ethConnect.disconnectWeb3.html | 2 +- ...browser_src.ethConnect.encodeCallData.html | 2 +- ...uth_browser_src.ethConnect.getChainId.html | 2 +- ..._browser_src.ethConnect.getMustResign.html | 2 +- ...uth_browser_src.ethConnect.getRPCUrls.html | 2 +- ...src.ethConnect.signAndSaveAuthMessage.html | 2 +- ...th_browser_src.ethConnect.signMessage.html | 2 +- ...owser_src.ethConnect.signMessageAsync.html | 2 +- ...solConnect.checkAndSignSolAuthMessage.html | 2 +- ...ser_src.solConnect.connectSolProvider.html | 2 +- ...src.solConnect.signAndSaveAuthMessage.html | 2 +- .../bls_sdk_src.combine_signature_shares.html | 2 +- doc/functions/bls_sdk_src.encrypt.html | 2 +- doc/functions/bls_sdk_src.initWasmBlsSdk.html | 2 +- doc/functions/constants_src.ELeft.html | 2 +- doc/functions/constants_src.ERight.html | 2 +- .../contracts_sdk_src.asyncForEachReturn.html | 2 +- .../crypto_src.combineEcdsaShares.html | 2 +- .../crypto_src.generateSessionKeyPair.html | 2 +- .../ecdsa_sdk_src.combine_signature.html | 2 +- ...yption_src.decryptZipFileWithMetadata.html | 2 +- doc/functions/encryption_src.encryptFile.html | 2 +- ...ion_src.encryptFileAndZipWithMetadata.html | 2 +- .../encryption_src.encryptString.html | 2 +- doc/functions/encryption_src.encryptZip.html | 2 +- doc/functions/encryption_src.safeParams.html | 2 +- doc/functions/encryption_src.verifyJwt.html | 2 +- .../encryption_src.zipAndEncryptFiles.html | 2 +- .../encryption_src.zipAndEncryptString.html | 2 +- ...it_node_client_src.base64StringToBlob.html | 2 +- ...it_node_client_src.blobToBase64String.html | 2 +- .../misc_browser_src.downloadFile.html | 2 +- .../misc_browser_src.fileToDataUrl.html | 2 +- .../misc_browser_src.getStorageItem.html | 2 +- .../misc_browser_src.injectViewerIFrame.html | 2 +- ..._src.checkIfAuthSigRequiresChainParam.html | 2 +- doc/functions/misc_src.checkType.html | 2 +- .../misc_src.convertLitActionsParams.html | 2 +- doc/functions/misc_src.decimalPlaces.html | 2 +- doc/functions/misc_src.genRandomPath.html | 2 +- doc/functions/misc_src.getVarType.html | 2 +- doc/functions/misc_src.is.html | 2 +- doc/functions/misc_src.isBrowser.html | 2 +- doc/functions/misc_src.isNode.html | 2 +- doc/functions/misc_src.log.html | 2 +- doc/functions/misc_src.mostCommonString.html | 2 +- doc/functions/misc_src.numberToHex.html | 2 +- doc/functions/misc_src.printError.html | 2 +- doc/functions/misc_src.sortedObject.html | 2 +- doc/functions/misc_src.throwError.html | 2 +- .../misc_src.throwRemovedFunctionError.html | 2 +- doc/index.html | 2 +- doc/interfaces/constants_src.IEither.html | 6 +- doc/interfaces/constants_src.ILitError.html | 12 +-- .../constants_src.ILitErrorTypeParams.html | 6 +- .../contracts_sdk_src.IPFSHash.html | 8 +- .../access_control_conditions_src.html | 2 +- .../auth_browser_src.cosmosConnect.html | 2 +- doc/modules/auth_browser_src.ethConnect.html | 2 +- doc/modules/auth_browser_src.html | 2 +- doc/modules/auth_browser_src.solConnect.html | 2 +- doc/modules/bls_sdk_src.html | 2 +- doc/modules/constants_src.html | 6 +- doc/modules/contracts_sdk_src.html | 2 +- doc/modules/crypto_src.html | 2 +- doc/modules/ecdsa_sdk_src.html | 2 +- doc/modules/encryption_src.html | 2 +- doc/modules/lit_node_client_src.html | 2 +- doc/modules/misc_browser_src.html | 2 +- doc/modules/misc_src.html | 2 +- doc/modules/nacl_src.html | 2 +- doc/modules/uint8arrays_src.html | 2 +- .../encryption_src.ParamsValidatorsType.html | 2 +- .../constants_src.ALL_LIT_CHAINS.html | 2 +- .../constants_src.AUTH_SIGNATURE_BODY.html | 2 +- ...constants_src.LIT_AUTH_SIG_CHAIN_KEYS.html | 2 +- doc/variables/constants_src.LIT_CHAINS.html | 2 +- .../constants_src.LIT_COSMOS_CHAINS.html | 2 +- doc/variables/constants_src.LIT_ERROR.html | 2 +- .../constants_src.LIT_EVM_CHAINS.html | 2 +- doc/variables/constants_src.LIT_NETWORKS.html | 2 +- .../constants_src.LIT_SESSION_KEY_URI.html | 2 +- .../constants_src.LIT_SVM_CHAINS.html | 2 +- .../constants_src.LOCAL_STORAGE_KEYS.html | 2 +- .../constants_src.NETWORK_PUB_KEY.html | 2 +- .../constants_src.SYMM_KEY_ALGO_PARAMS.html | 2 +- doc/variables/constants_src.version.html | 4 +- .../encryption_src.paramsValidators.html | 2 +- doc/variables/nacl_src.nacl.html | 2 +- .../access-control-conditions/package.json | 2 +- packages/auth-browser/package.json | 2 +- packages/auth-helpers/package.json | 2 +- packages/bls-sdk/package.json | 2 +- packages/constants/package.json | 2 +- packages/contracts-sdk/package.json | 2 +- packages/core/package.json | 2 +- packages/crypto/package.json | 2 +- packages/ecdsa-sdk/package.json | 2 +- packages/encryption/package.json | 2 +- packages/lit-auth-client/package.json | 2 +- packages/lit-node-client-nodejs/package.json | 2 +- packages/lit-node-client/package.json | 2 +- packages/logger/package.json | 2 +- packages/misc-browser/package.json | 2 +- packages/misc/package.json | 2 +- packages/nacl/package.json | 2 +- packages/pkp-base/package.json | 2 +- packages/pkp-client/package.json | 2 +- packages/pkp-cosmos/package.json | 2 +- packages/pkp-ethers/package.json | 2 +- packages/pkp-sui/package.json | 2 +- packages/pkp-walletconnect/package.json | 2 +- packages/sev-snp-utils-sdk/package.json | 2 +- packages/types/package.json | 2 +- packages/uint8arrays/package.json | 2 +- 150 files changed, 217 insertions(+), 217 deletions(-) diff --git a/doc/classes/contracts_sdk_src.LitContracts.html b/doc/classes/contracts_sdk_src.LitContracts.html index 5afeea996c..c87ee353f0 100644 --- a/doc/classes/contracts_sdk_src.LitContracts.html +++ b/doc/classes/contracts_sdk_src.LitContracts.html @@ -21,7 +21,7 @@

Hierarchy

  • LitContracts
+
  • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:104
  • @@ -115,7 +115,7 @@
    Optional rpcsOptional signer?: any

    Returns LitContracts

    +
  • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:181
  • Properties

    @@ -129,27 +129,27 @@
    read:
    write: Allowlist
    +
  • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:123
  • connected: boolean = false
    +
  • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:114
  • +
  • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:118
  • debug: boolean = false
    +
  • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:116
  • isPKP: boolean = false
    +
  • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:115
  • litTokenContract: {
        read: LITToken;
        write: LITToken;
    }
    @@ -161,7 +161,7 @@
    read:
    write: LITToken
    +
  • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:128
  • multisenderContract: {
        read: Multisender;
        write: Multisender;
    }
    @@ -173,12 +173,12 @@
    read:
    write: Multisender
    +
  • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:133
  • network: "cayenne" | "manzano" | "habanero" | "custom" | "localhost"
    +
  • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:117
  • options?: {
        storeOrUseStorageKey?: boolean;
    }
    @@ -188,7 +188,7 @@

    Type declaration

  • Optional storeOrUseStorageKey?: boolean
  • +
  • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:110
  • pkpHelperContract: {
        read: PKPHelper;
        write: PKPHelper;
    }
    @@ -200,7 +200,7 @@
    read:
    write: PKPHelper
    +
  • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:138
  • pkpHelperContractUtil: {
        read: {};
        write: {
            mintNextAndAddAuthMethods: ((param0: {
                addPkpEthAddressAsPermittedAddress: boolean;
                keyType: string;
                permittedAuthMethodIds: string[];
                permittedAuthMethodPubkeys: string[];
                permittedAuthMethodScopes: string[][];
                permittedAuthMethodTypes: string[];
                sendPkpToItself: boolean;
            }) => Promise<any>);
        };
    } = ...
    @@ -244,7 +244,7 @@
    permittedAuthMethodTypessendPkpToItself: boolean

    Returns Promise<any>

    +
  • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:2163
  • pkpNftContract: {
        read: PKPNFT;
        write: PKPNFT;
    }
    @@ -256,7 +256,7 @@
    read:
    write: PKPNFT
    +
  • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:143
  • pkpNftContractUtils: {
        read: {
            getTokens: ((latestNumberOfTokens: number) => Promise<string[]>);
            getTokensByAddress: ((ownerAddress: string) => Promise<string[]>);
            getTokensInfoByAddress: ((ownerAddress: string) => Promise<TokenInfo[]>);
        };
        write: {
            claimAndMint: ((derivedKeyId: BytesLike, signatures: SignatureStruct[], txOpts?: any) => Promise<{
                res: any;
                tokenId: any;
                tx: any;
            }>);
            mint: (() => Promise<{
                pkp: {
                    ethAddress: any;
                    publicKey: any;
                    tokenId: any;
                };
                res: any;
                tokenId: any;
                tx: any;
            }>);
        };
    } = ...
    @@ -345,7 +345,7 @@
    mint:

    Returns Promise<{
        pkp: {
            ethAddress: any;
            publicKey: any;
            tokenId: any;
        };
        res: any;
        tokenId: any;
        tx: any;
    }>

    +
  • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:1276
  • pkpNftMetadataContract: {
        read: PKPNFTMetadata;
        write: PKPNFTMetadata;
    }
    @@ -357,7 +357,7 @@
    read:
    write: PKPNFTMetadata
    +
  • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:148
  • pkpPermissionsContract: {
        read: PKPPermissions;
        write: PKPPermissions;
    }
    @@ -369,7 +369,7 @@
    read:
    write: PKPPermissions
    +
  • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:153
  • pkpPermissionsContractUtils: {
        read: {
            getPermittedActions: ((tokenId: any) => Promise<any[]>);
            getPermittedAddresses: ((tokenId: string) => Promise<string[]>);
            isPermittedAction: ((pkpId: string, ipfsId: string) => Promise<boolean>);
            isPermittedAddress: ((tokenId: string, address: string) => Promise<boolean>);
        };
        write: {
            addPermittedAction: ((pkpId: string, ipfsId: string) => Promise<any>);
            addPermittedAddress: ((pkpId: string, ownerAddress: string) => Promise<any>);
            revokePermittedAction: ((pkpId: string, ipfsId: string) => Promise<any>);
        };
    } = ...
    @@ -523,17 +523,17 @@
    ipfsId: string

    Returns Promise<any>

    +
  • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:1506
  • privateKey: string
    +
  • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:109
  • provider: any
    +
  • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:105
  • pubkeyRouterContract: {
        read: PubkeyRouter;
        write: PubkeyRouter;
    }
    @@ -545,12 +545,12 @@
    read:
    write: PubkeyRouter
    +
  • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:158
  • randomPrivateKey: boolean = false
    +
  • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:113
  • rateLimitNftContract: {
        read: RateLimitNFT;
        write: RateLimitNFT;
    }
    @@ -562,7 +562,7 @@
    read:
    write: RateLimitNFT
    +
  • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:163
  • rateLimitNftContractUtils: {
        read: {
            getCapacityByIndex: ((index: number) => Promise<any>);
            getTokenURIByIndex: ((index: number) => Promise<string>);
            getTokens: (() => Promise<any>);
            getTokensByOwnerAddress: ((ownerAddress: string) => Promise<any>);
        };
        write: {
            mint: ((__namedParameters: {
                mintCost: {
                    value: any;
                };
                timestamp: number;
            }) => Promise<{
                tokenId: any;
                tx: any;
            }>);
            transfer: ((__namedParameters: {
                RLITokenAddress: string;
                fromAddress: string;
                toAddress: string;
            }) => Promise<any>);
        };
    } = ...
    @@ -764,7 +764,7 @@
    fromAddress: : string

    Returns Promise<any>

    +
  • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:1803
  • routerContractUtils: {
        read: {};
        write: {};
    } = ...
    @@ -778,22 +778,22 @@
    read: : {}
      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:2141
    • rpc: string
      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:106
    • rpcs: string[]
      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:107
    • signer: Signer | Wallet
      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:108
    • stakingBalancesContract: {
          read: StakingBalances;
          write: StakingBalances;
      }
      @@ -805,7 +805,7 @@
      read:
      write: StakingBalances
      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:173
    • stakingContract: {
          read: Staking;
          write: Staking;
      }
      @@ -817,7 +817,7 @@
      read:
      write: Staking
      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:168
    • utils: {
          decToHex: any;
          getBytes32FromMultihash: ((ipfsId: string) => Promise<any>);
          getBytesFromMultihash: ((multihash: string) => string);
          getMultihashFromBytes: ((byte32: string) => string);
          hexToDec: any;
          timestamp2Date: ((timestamp: string) => string);
      } = ...
      @@ -895,12 +895,12 @@

      Parameters

      timestamp: string

      Returns string

      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:1211
    • logger: Logger = ...
      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:120
    • Methods

      @@ -910,7 +910,7 @@
      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:242
    • +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:236
    • Returns Promise<MintCapacityCreditsRes>

      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:1075
      • @@ -960,7 +960,7 @@
        Optional pubkey: string[] | number[] | BigNumberish[]

      Returns Promise<{
          pkp: {
              ethAddress: any;
              publicKey: any;
              tokenId: any;
          };
          tx: any;
      }>

      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:969
    • Returns Promise<LitContractContext>

      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:629
    • Returns Promise<any>

      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:909
    • Returns Promise<any>

      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:746
    • Returns Promise<any>

      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:844
    • Returns Promise<any>

      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:564
    • Returns Promise<string[]>

      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:858
    • Returns void

      +
    • Defined in packages/lit-node-client/src/lib/lit-node-client.ts:26
    • +
    • Defined in packages/constants/src/lib/enums.ts:10
    • +
    • Defined in packages/constants/src/lib/enums.ts:4
    • +
    • Defined in packages/access-control-conditions/src/lib/canonicalFormatter.ts:256
    • +
    • Defined in packages/access-control-conditions/src/lib/canonicalFormatter.ts:406
    • +
    • Defined in packages/access-control-conditions/src/lib/canonicalFormatter.ts:314
    • +
    • Defined in packages/access-control-conditions/src/lib/canonicalFormatter.ts:459
    • +
    • Defined in packages/access-control-conditions/src/lib/canonicalFormatter.ts:139
    • +
    • Defined in packages/access-control-conditions/src/lib/canonicalFormatter.ts:57
    • +
    • Defined in packages/access-control-conditions/src/lib/humanizer.ts:37
    • +
    • Defined in packages/access-control-conditions/src/lib/humanizer.ts:24
    • +
    • Defined in packages/access-control-conditions/src/lib/hashing.ts:169
    • +
    • Defined in packages/access-control-conditions/src/lib/hashing.ts:193
    • +
    • Defined in packages/access-control-conditions/src/lib/hashing.ts:134
    • +
    • Defined in packages/access-control-conditions/src/lib/hashing.ts:153
    • +
    • Defined in packages/access-control-conditions/src/lib/hashing.ts:216
    • +
    • Defined in packages/access-control-conditions/src/lib/humanizer.ts:565
    • +
    • Defined in packages/access-control-conditions/src/lib/humanizer.ts:49
    • +
    • Defined in packages/access-control-conditions/src/lib/humanizer.ts:414
    • +
    • Defined in packages/access-control-conditions/src/lib/humanizer.ts:79
    • +
    • Defined in packages/access-control-conditions/src/lib/humanizer.ts:279
    • +
    • Defined in packages/access-control-conditions/src/lib/humanizer.ts:340
    • +
    • Defined in packages/access-control-conditions/src/lib/humanizer.ts:492
    • +
    • Defined in packages/auth-browser/src/lib/auth-browser.ts:18
    • +
    • Defined in packages/auth-browser/src/lib/chains/cosmos.ts:127
    • +
    • Defined in packages/auth-browser/src/lib/chains/cosmos.ts:91
    • +
    • Defined in packages/auth-browser/src/lib/chains/cosmos.ts:237
    • +
    • Defined in packages/auth-browser/src/lib/chains/cosmos.ts:177
    • +
    • Defined in packages/auth-browser/src/lib/chains/eth.ts:144
    • +
    • Defined in packages/auth-browser/src/lib/chains/eth.ts:463
    • +
    • Defined in packages/auth-browser/src/lib/chains/eth.ts:351
    • +
    • Defined in packages/auth-browser/src/lib/chains/eth.ts:331
    • +
    • Defined in packages/auth-browser/src/lib/chains/eth.ts:428
    • +
    • Defined in packages/auth-browser/src/lib/chains/eth.ts:315
    • +
    • Defined in packages/auth-browser/src/lib/chains/eth.ts:195
    • +
    • Defined in packages/auth-browser/src/lib/chains/eth.ts:244
    • +
    • Defined in packages/auth-browser/src/lib/chains/eth.ts:292
    • +
    • Defined in packages/auth-browser/src/lib/chains/eth.ts:730
    • +
    • Defined in packages/auth-browser/src/lib/chains/eth.ts:819
    • +
    • Defined in packages/auth-browser/src/lib/chains/eth.ts:874
    • Returns Promise<AuthSig>

      +
    • Defined in packages/auth-browser/src/lib/chains/sol.ts:83
    • Returns Promise<IProvider>

      +
    • Defined in packages/auth-browser/src/lib/chains/sol.ts:57
    • +
    • Defined in packages/auth-browser/src/lib/chains/sol.ts:151
    • +
    • Defined in packages/bls-sdk/src/lib/bls-sdk.ts:437
    • +
    • Defined in packages/bls-sdk/src/lib/bls-sdk.ts:276
    • +
    • Defined in packages/bls-sdk/src/lib/bls-sdk.ts:857
    • +
    • Defined in packages/constants/src/lib/utils/utils.ts:25
    • +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:76
    • +
    • Defined in packages/crypto/src/lib/crypto.ts:198
    • +
    • Defined in packages/crypto/src/lib/crypto.ts:323
    • +
    • Defined in packages/ecdsa-sdk/src/lib/ecdsa-sdk.ts:425
    • +
    • Defined in packages/encryption/src/lib/params-validators.ts:45
    • +
    • Defined in packages/encryption/src/lib/encryption.ts:751
    • Returns Blob

      +
    • Defined in packages/misc-browser/src/lib/misc-browser.ts:94
    • +
    • Defined in packages/misc-browser/src/lib/misc-browser.ts:131
    • Returns Promise<string | ArrayBuffer>

      +
    • Defined in packages/misc-browser/src/lib/misc-browser.ts:106
    • +
    • Defined in packages/misc-browser/src/lib/misc-browser.ts:13
    • +
    • Defined in packages/misc-browser/src/lib/misc-browser.ts:171
    • +
    • Defined in packages/misc/src/lib/misc.ts:463
    • +
    • Defined in packages/misc/src/lib/misc.ts:374
    • +
    • Defined in packages/misc/src/lib/misc.ts:569
    • +
    • Defined in packages/misc/src/lib/misc.ts:624
    • +
    • Defined in packages/misc/src/lib/misc.ts:646
    • +
    • Defined in packages/misc/src/lib/misc.ts:356
    • +
    • Defined in packages/misc/src/lib/misc.ts:536
    • +
    • Defined in packages/misc/src/lib/misc.ts:611
    • +
    • Defined in packages/misc/src/lib/misc.ts:597
    • +
    • Defined in packages/misc/src/lib/misc.ts:229
    • +
    • Defined in packages/misc/src/lib/misc.ts:60
    • +
    • Defined in packages/misc/src/lib/misc.ts:521
    • +
    • Defined in packages/misc/src/lib/misc.ts:47
    • +
    • Defined in packages/misc/src/lib/misc.ts:497
    • +
    • Defined in packages/misc/src/lib/misc.ts:70
    • +
    • Defined in packages/misc/src/lib/misc.ts:194
    • +
    • Defined in packages/auth-browser/src/index.ts:1
    • diff --git a/doc/modules/auth_browser_src.solConnect.html b/doc/modules/auth_browser_src.solConnect.html index 8ca41e2fbf..f7a6cf54e0 100644 --- a/doc/modules/auth_browser_src.solConnect.html +++ b/doc/modules/auth_browser_src.solConnect.html @@ -17,7 +17,7 @@
    • solConnect
    • Namespace solConnect

      +
    • Defined in packages/auth-browser/src/lib/chains/sol.ts:1
    • Index

      diff --git a/doc/modules/bls_sdk_src.html b/doc/modules/bls_sdk_src.html index 8e047049e5..30fa9643df 100644 --- a/doc/modules/bls_sdk_src.html +++ b/doc/modules/bls_sdk_src.html @@ -16,7 +16,7 @@
    • bls-sdk/src
    • Module bls-sdk/src

      +
    • Defined in packages/bls-sdk/src/index.ts:1
    • diff --git a/doc/modules/constants_src.html b/doc/modules/constants_src.html index 80030fea11..3004a5df45 100644 --- a/doc/modules/constants_src.html +++ b/doc/modules/constants_src.html @@ -16,7 +16,7 @@
    • constants/src
    • Module constants/src

      +
    • Defined in packages/constants/src/index.ts:2
    • @@ -92,7 +92,7 @@

      Type declaration

    • abi: ({
          anonymous?: undefined;
          constant: boolean;
          inputs: {
              name: string;
              type: string;
          }[];
          name: string;
          outputs: {
              name: string;
              type: string;
          }[];
          payable: boolean;
          stateMutability: string;
          type: string;
      } | {
          anonymous?: undefined;
          constant?: undefined;
          inputs?: undefined;
          name?: undefined;
          outputs?: undefined;
          payable: boolean;
          stateMutability: string;
          type: string;
      } | {
          anonymous: boolean;
          constant?: undefined;
          inputs: {
              indexed: boolean;
              name: string;
              type: string;
          }[];
          name: string;
          outputs?: undefined;
          payable?: undefined;
          stateMutability?: undefined;
          type: string;
      })[]
    • +
    • Defined in packages/constants/src/lib/abis/ERC20.json:1
    • ABI_LIT: {
          abi: ({
              anonymous?: undefined;
              constant?: undefined;
              inputs: any[];
              name?: undefined;
              outputs?: undefined;
              payable?: undefined;
              stateMutability: string;
              type: string;
          } | {
              anonymous: boolean;
              constant?: undefined;
              inputs: {
                  indexed: boolean;
                  internalType: string;
                  name: string;
                  type: string;
              }[];
              name: string;
              outputs?: undefined;
              payable?: undefined;
              stateMutability?: undefined;
              type: string;
          } | {
              anonymous?: undefined;
              constant: boolean;
              inputs: {
                  internalType: string;
                  name: string;
                  type: string;
              }[];
              name: string;
              outputs: {
                  internalType: string;
                  name: string;
                  type: string;
              }[];
              payable?: undefined;
              stateMutability: string;
              type: string;
          } | {
              anonymous?: undefined;
              constant?: undefined;
              inputs: {
                  internalType: string;
                  name: string;
                  type: string;
              }[];
              name: string;
              outputs: {
                  internalType: string;
                  name: string;
                  type: string;
              }[];
              payable: boolean;
              stateMutability: string;
              type: string;
          } | {
              anonymous?: undefined;
              constant?: undefined;
              inputs: {
                  internalType: string;
                  name: string;
                  type: string;
              }[];
              name: string;
              outputs: {
                  internalType: string;
                  name: string;
                  type: string;
              }[];
              payable?: undefined;
              stateMutability: string;
              type: string;
          })[];
          contractName: string;
      }
      @@ -104,7 +104,7 @@
      abi:
      contractName: string
      +
    • Defined in packages/constants/src/lib/abis/LIT.json:1
    • +
    • Defined in packages/crypto/src/index.ts:1
    • diff --git a/doc/modules/ecdsa_sdk_src.html b/doc/modules/ecdsa_sdk_src.html index d251c09439..7f68538c63 100644 --- a/doc/modules/ecdsa_sdk_src.html +++ b/doc/modules/ecdsa_sdk_src.html @@ -16,7 +16,7 @@
    • ecdsa-sdk/src
    • Module ecdsa-sdk/src

      +
    • Defined in packages/ecdsa-sdk/src/index.ts:1
    • diff --git a/doc/modules/encryption_src.html b/doc/modules/encryption_src.html index e3d38eee55..c88224adcd 100644 --- a/doc/modules/encryption_src.html +++ b/doc/modules/encryption_src.html @@ -16,7 +16,7 @@
    • encryption/src
    • Module encryption/src

      +
    • Defined in packages/encryption/src/index.ts:1
    • diff --git a/doc/modules/lit_node_client_src.html b/doc/modules/lit_node_client_src.html index eba424e6dd..9ad13832e1 100644 --- a/doc/modules/lit_node_client_src.html +++ b/doc/modules/lit_node_client_src.html @@ -16,7 +16,7 @@
    • lit-node-client/src
    • Module lit-node-client/src

      +
    • Defined in packages/lit-node-client/src/index.ts:1
    • diff --git a/doc/modules/misc_browser_src.html b/doc/modules/misc_browser_src.html index 5f66bb39c8..9b9c721cbc 100644 --- a/doc/modules/misc_browser_src.html +++ b/doc/modules/misc_browser_src.html @@ -16,7 +16,7 @@
    • misc-browser/src
    • Module misc-browser/src

      +
    • Defined in packages/misc-browser/src/index.ts:1
    • diff --git a/doc/modules/misc_src.html b/doc/modules/misc_src.html index ca5681786f..229baf5f96 100644 --- a/doc/modules/misc_src.html +++ b/doc/modules/misc_src.html @@ -16,7 +16,7 @@
    • misc/src
    • Module misc/src

      +
    • Defined in packages/misc/src/index.ts:1
    • diff --git a/doc/modules/nacl_src.html b/doc/modules/nacl_src.html index fff995aafe..813d351047 100644 --- a/doc/modules/nacl_src.html +++ b/doc/modules/nacl_src.html @@ -16,7 +16,7 @@
    • nacl/src
    • Module nacl/src

      +
    • Defined in packages/nacl/src/index.ts:1
    • diff --git a/doc/modules/uint8arrays_src.html b/doc/modules/uint8arrays_src.html index bbc5d84e59..3dfd13272f 100644 --- a/doc/modules/uint8arrays_src.html +++ b/doc/modules/uint8arrays_src.html @@ -16,7 +16,7 @@
    • uint8arrays/src
    • Module uint8arrays/src

      +
    • Defined in packages/uint8arrays/src/index.ts:5
    • diff --git a/doc/types/encryption_src.ParamsValidatorsType.html b/doc/types/encryption_src.ParamsValidatorsType.html index 1295cf93fc..fa02f33228 100644 --- a/doc/types/encryption_src.ParamsValidatorsType.html +++ b/doc/types/encryption_src.ParamsValidatorsType.html @@ -18,7 +18,7 @@

      Type alias ParamsValidatorsType

      ParamsValidatorsType: typeof paramsValidators
      +
    • Defined in packages/encryption/src/lib/params-validators.ts:151
    • +
    • Defined in packages/constants/src/lib/constants/constants.ts:26
    • +
    • Defined in packages/constants/src/lib/constants/constants.ts:19
    • +
    • Defined in packages/constants/src/lib/constants/constants.ts:35
    • +
    • Defined in packages/constants/src/lib/constants/constants.ts:633
    • +
    • Defined in packages/constants/src/lib/errors.ts:13
    • +
    • Defined in packages/constants/src/lib/constants/constants.ts:592
    • +
    • Defined in packages/constants/src/lib/constants/constants.ts:737
    • +
    • Defined in packages/constants/src/lib/constants/constants.ts:766
    • +
    • Defined in packages/constants/src/lib/constants/constants.ts:600
    • +
    • Defined in packages/constants/src/lib/constants/constants.ts:714
    • +
    • Defined in packages/constants/src/lib/constants/constants.ts:14
    • +
    • Defined in packages/constants/src/lib/constants/constants.ts:727
    • +
    • Defined in packages/constants/src/lib/version.ts:1
    • +
    • Defined in packages/encryption/src/lib/params-validators.ts:69
    • +
    • Defined in packages/nacl/src/lib/nacl.ts:1331
    • +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:104
    • @@ -115,7 +115,7 @@
      Optional rpcsOptional signer?: any

      Returns LitContracts

      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:181
    • Properties

      @@ -129,27 +129,27 @@
      read:
      write: Allowlist
      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:123
    • connected: boolean = false
      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:114
    • +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:118
    • debug: boolean = false
      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:116
    • isPKP: boolean = false
      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:115
    • litTokenContract: {
          read: LITToken;
          write: LITToken;
      }
      @@ -161,7 +161,7 @@
      read:
      write: LITToken
      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:128
    • multisenderContract: {
          read: Multisender;
          write: Multisender;
      }
      @@ -173,12 +173,12 @@
      read:
      write: Multisender
      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:133
    • network: "cayenne" | "manzano" | "habanero" | "custom" | "localhost"
      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:117
    • options?: {
          storeOrUseStorageKey?: boolean;
      }
      @@ -188,7 +188,7 @@

      Type declaration

    • Optional storeOrUseStorageKey?: boolean
    • +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:110
    • pkpHelperContract: {
          read: PKPHelper;
          write: PKPHelper;
      }
      @@ -200,7 +200,7 @@
      read:
      write: PKPHelper
      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:138
    • pkpHelperContractUtil: {
          read: {};
          write: {
              mintNextAndAddAuthMethods: ((param0: {
                  addPkpEthAddressAsPermittedAddress: boolean;
                  keyType: string;
                  permittedAuthMethodIds: string[];
                  permittedAuthMethodPubkeys: string[];
                  permittedAuthMethodScopes: string[][];
                  permittedAuthMethodTypes: string[];
                  sendPkpToItself: boolean;
              }) => Promise<any>);
          };
      } = ...
      @@ -244,7 +244,7 @@
      permittedAuthMethodTypessendPkpToItself: boolean

      Returns Promise<any>

      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:2163
    • pkpNftContract: {
          read: PKPNFT;
          write: PKPNFT;
      }
      @@ -256,7 +256,7 @@
      read:
      write: PKPNFT
      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:143
    • pkpNftContractUtils: {
          read: {
              getTokens: ((latestNumberOfTokens: number) => Promise<string[]>);
              getTokensByAddress: ((ownerAddress: string) => Promise<string[]>);
              getTokensInfoByAddress: ((ownerAddress: string) => Promise<TokenInfo[]>);
          };
          write: {
              claimAndMint: ((derivedKeyId: BytesLike, signatures: SignatureStruct[], txOpts?: any) => Promise<{
                  res: any;
                  tokenId: any;
                  tx: any;
              }>);
              mint: (() => Promise<{
                  pkp: {
                      ethAddress: any;
                      publicKey: any;
                      tokenId: any;
                  };
                  res: any;
                  tokenId: any;
                  tx: any;
              }>);
          };
      } = ...
      @@ -345,7 +345,7 @@
      mint:

      Returns Promise<{
          pkp: {
              ethAddress: any;
              publicKey: any;
              tokenId: any;
          };
          res: any;
          tokenId: any;
          tx: any;
      }>

      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:1276
    • pkpNftMetadataContract: {
          read: PKPNFTMetadata;
          write: PKPNFTMetadata;
      }
      @@ -357,7 +357,7 @@
      read:
      write: PKPNFTMetadata
      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:148
    • pkpPermissionsContract: {
          read: PKPPermissions;
          write: PKPPermissions;
      }
      @@ -369,7 +369,7 @@
      read:
      write: PKPPermissions
      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:153
    • pkpPermissionsContractUtils: {
          read: {
              getPermittedActions: ((tokenId: any) => Promise<any[]>);
              getPermittedAddresses: ((tokenId: string) => Promise<string[]>);
              isPermittedAction: ((pkpId: string, ipfsId: string) => Promise<boolean>);
              isPermittedAddress: ((tokenId: string, address: string) => Promise<boolean>);
          };
          write: {
              addPermittedAction: ((pkpId: string, ipfsId: string) => Promise<any>);
              addPermittedAddress: ((pkpId: string, ownerAddress: string) => Promise<any>);
              revokePermittedAction: ((pkpId: string, ipfsId: string) => Promise<any>);
          };
      } = ...
      @@ -523,17 +523,17 @@
      ipfsId: string

      Returns Promise<any>

      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:1506
    • privateKey: string
      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:109
    • provider: any
      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:105
    • pubkeyRouterContract: {
          read: PubkeyRouter;
          write: PubkeyRouter;
      }
      @@ -545,12 +545,12 @@
      read:
      write: PubkeyRouter
      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:158
    • randomPrivateKey: boolean = false
      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:113
    • rateLimitNftContract: {
          read: RateLimitNFT;
          write: RateLimitNFT;
      }
      @@ -562,7 +562,7 @@
      read:
      write: RateLimitNFT
      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:163
    • rateLimitNftContractUtils: {
          read: {
              getCapacityByIndex: ((index: number) => Promise<any>);
              getTokenURIByIndex: ((index: number) => Promise<string>);
              getTokens: (() => Promise<any>);
              getTokensByOwnerAddress: ((ownerAddress: string) => Promise<any>);
          };
          write: {
              mint: ((__namedParameters: {
                  mintCost: {
                      value: any;
                  };
                  timestamp: number;
              }) => Promise<{
                  tokenId: any;
                  tx: any;
              }>);
              transfer: ((__namedParameters: {
                  RLITokenAddress: string;
                  fromAddress: string;
                  toAddress: string;
              }) => Promise<any>);
          };
      } = ...
      @@ -764,7 +764,7 @@
      fromAddress: : string

      Returns Promise<any>

      +
    • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:1803
    • routerContractUtils: {
          read: {};
          write: {};
      } = ...
      @@ -778,22 +778,22 @@
      read: : {}
        +
      • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:2141
      • rpc: string
        +
      • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:106
      • rpcs: string[]
        +
      • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:107
      • signer: Signer | Wallet
        +
      • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:108
      • stakingBalancesContract: {
            read: StakingBalances;
            write: StakingBalances;
        }
        @@ -805,7 +805,7 @@
        read:
        write: StakingBalances
        +
      • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:173
      • stakingContract: {
            read: Staking;
            write: Staking;
        }
        @@ -817,7 +817,7 @@
        read:
        write: Staking
        +
      • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:168
      • utils: {
            decToHex: any;
            getBytes32FromMultihash: ((ipfsId: string) => Promise<any>);
            getBytesFromMultihash: ((multihash: string) => string);
            getMultihashFromBytes: ((byte32: string) => string);
            hexToDec: any;
            timestamp2Date: ((timestamp: string) => string);
        } = ...
        @@ -895,12 +895,12 @@

        Parameters

        timestamp: string

        Returns string

        +
      • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:1211
      • logger: Logger = ...
        +
      • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:120
      • Methods

        @@ -910,7 +910,7 @@
        +
      • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:242
      • +
      • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:236
      • Returns Promise<MintCapacityCreditsRes>

        +
      • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:1075
        • @@ -960,7 +960,7 @@
          Optional pubkey: string[] | number[] | BigNumberish[]

        Returns Promise<{
            pkp: {
                ethAddress: any;
                publicKey: any;
                tokenId: any;
            };
            tx: any;
        }>

        +
      • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:969
      • Returns Promise<LitContractContext>

        +
      • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:629
      • Returns Promise<any>

        +
      • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:909
      • Returns Promise<any>

        +
      • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:746
      • Returns Promise<any>

        +
      • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:844
      • Returns Promise<any>

        +
      • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:564
      • Returns Promise<string[]>

        +
      • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:858
      • Returns void

        +
      • Defined in packages/lit-node-client/src/lib/lit-node-client.ts:26
      • +
      • Defined in packages/constants/src/lib/enums.ts:10
      • +
      • Defined in packages/constants/src/lib/enums.ts:4
      • +
      • Defined in packages/access-control-conditions/src/lib/canonicalFormatter.ts:256
      • +
      • Defined in packages/access-control-conditions/src/lib/canonicalFormatter.ts:406
      • +
      • Defined in packages/access-control-conditions/src/lib/canonicalFormatter.ts:314
      • +
      • Defined in packages/access-control-conditions/src/lib/canonicalFormatter.ts:459
      • +
      • Defined in packages/access-control-conditions/src/lib/canonicalFormatter.ts:139
      • +
      • Defined in packages/access-control-conditions/src/lib/canonicalFormatter.ts:57
      • +
      • Defined in packages/access-control-conditions/src/lib/humanizer.ts:37
      • +
      • Defined in packages/access-control-conditions/src/lib/humanizer.ts:24
      • +
      • Defined in packages/access-control-conditions/src/lib/hashing.ts:169
      • +
      • Defined in packages/access-control-conditions/src/lib/hashing.ts:193
      • +
      • Defined in packages/access-control-conditions/src/lib/hashing.ts:134
      • +
      • Defined in packages/access-control-conditions/src/lib/hashing.ts:153
      • +
      • Defined in packages/access-control-conditions/src/lib/hashing.ts:216
      • +
      • Defined in packages/access-control-conditions/src/lib/humanizer.ts:565
      • +
      • Defined in packages/access-control-conditions/src/lib/humanizer.ts:49
      • +
      • Defined in packages/access-control-conditions/src/lib/humanizer.ts:414
      • +
      • Defined in packages/access-control-conditions/src/lib/humanizer.ts:79
      • +
      • Defined in packages/access-control-conditions/src/lib/humanizer.ts:279
      • +
      • Defined in packages/access-control-conditions/src/lib/humanizer.ts:340
      • +
      • Defined in packages/access-control-conditions/src/lib/humanizer.ts:492
      • +
      • Defined in packages/auth-browser/src/lib/auth-browser.ts:18
      • +
      • Defined in packages/auth-browser/src/lib/chains/cosmos.ts:127
      • +
      • Defined in packages/auth-browser/src/lib/chains/cosmos.ts:91
      • +
      • Defined in packages/auth-browser/src/lib/chains/cosmos.ts:237
      • +
      • Defined in packages/auth-browser/src/lib/chains/cosmos.ts:177
      • +
      • Defined in packages/auth-browser/src/lib/chains/eth.ts:148
      • +
      • Defined in packages/auth-browser/src/lib/chains/eth.ts:467
      • +
      • Defined in packages/auth-browser/src/lib/chains/eth.ts:355
      • +
      • Defined in packages/auth-browser/src/lib/chains/eth.ts:335
      • +
      • Defined in packages/auth-browser/src/lib/chains/eth.ts:432
      • +
      • Defined in packages/auth-browser/src/lib/chains/eth.ts:319
      • +
      • Defined in packages/auth-browser/src/lib/chains/eth.ts:199
      • +
      • Defined in packages/auth-browser/src/lib/chains/eth.ts:248
      • +
      • Defined in packages/auth-browser/src/lib/chains/eth.ts:296
      • +
      • Defined in packages/auth-browser/src/lib/chains/eth.ts:734
      • +
      • Defined in packages/auth-browser/src/lib/chains/eth.ts:823
      • +
      • Defined in packages/auth-browser/src/lib/chains/eth.ts:878
      • Returns Promise<AuthSig>

        +
      • Defined in packages/auth-browser/src/lib/chains/sol.ts:83
      • Returns Promise<IProvider>

        +
      • Defined in packages/auth-browser/src/lib/chains/sol.ts:57
      • +
      • Defined in packages/auth-browser/src/lib/chains/sol.ts:151
      • +
      • Defined in packages/bls-sdk/src/lib/bls-sdk.ts:437
      • +
      • Defined in packages/bls-sdk/src/lib/bls-sdk.ts:276
      • +
      • Defined in packages/bls-sdk/src/lib/bls-sdk.ts:857
      • +
      • Defined in packages/constants/src/lib/utils/utils.ts:25
      • +
      • Defined in packages/contracts-sdk/src/lib/contracts-sdk.ts:76
      • +
      • Defined in packages/crypto/src/lib/crypto.ts:198
      • +
      • Defined in packages/crypto/src/lib/crypto.ts:323
      • +
      • Defined in packages/ecdsa-sdk/src/lib/ecdsa-sdk.ts:425
      • +
      • Defined in packages/encryption/src/lib/params-validators.ts:45
      • +
      • Defined in packages/encryption/src/lib/encryption.ts:751
      • Returns Blob

        +
      • Defined in packages/misc-browser/src/lib/misc-browser.ts:94
      • +
      • Defined in packages/misc-browser/src/lib/misc-browser.ts:131
      • Returns Promise<string | ArrayBuffer>

        +
      • Defined in packages/misc-browser/src/lib/misc-browser.ts:106
      • +
      • Defined in packages/misc-browser/src/lib/misc-browser.ts:13
      • +
      • Defined in packages/misc-browser/src/lib/misc-browser.ts:171
      • +
      • Defined in packages/misc/src/lib/misc.ts:463
      • +
      • Defined in packages/misc/src/lib/misc.ts:374
      • +
      • Defined in packages/misc/src/lib/misc.ts:569
      • +
      • Defined in packages/misc/src/lib/misc.ts:624
      • +
      • Defined in packages/misc/src/lib/misc.ts:646
      • +
      • Defined in packages/misc/src/lib/misc.ts:356
      • +
      • Defined in packages/misc/src/lib/misc.ts:536
      • +
      • Defined in packages/misc/src/lib/misc.ts:611
      • +
      • Defined in packages/misc/src/lib/misc.ts:597
      • +
      • Defined in packages/misc/src/lib/misc.ts:229
      • +
      • Defined in packages/misc/src/lib/misc.ts:60
      • +
      • Defined in packages/misc/src/lib/misc.ts:521
      • +
      • Defined in packages/misc/src/lib/misc.ts:47
      • +
      • Defined in packages/misc/src/lib/misc.ts:497
      • +
      • Defined in packages/misc/src/lib/misc.ts:70
      • +
      • Defined in packages/misc/src/lib/misc.ts:194
      • +
      • Defined in packages/auth-browser/src/lib/chains/cosmos.ts:1
      • Index

        diff --git a/doc/modules/auth_browser_src.ethConnect.html b/doc/modules/auth_browser_src.ethConnect.html index 0f2f6190af..b8fd20af8f 100644 --- a/doc/modules/auth_browser_src.ethConnect.html +++ b/doc/modules/auth_browser_src.ethConnect.html @@ -17,7 +17,7 @@
      • ethConnect
      • Namespace ethConnect

        +
      • Defined in packages/auth-browser/src/lib/chains/eth.ts:1
      • Index

        diff --git a/doc/modules/auth_browser_src.html b/doc/modules/auth_browser_src.html index 779d514419..66cdd695ee 100644 --- a/doc/modules/auth_browser_src.html +++ b/doc/modules/auth_browser_src.html @@ -16,7 +16,7 @@
      • auth-browser/src
      • Module auth-browser/src

        +
      • Defined in packages/auth-browser/src/index.ts:1
      • diff --git a/doc/modules/auth_browser_src.solConnect.html b/doc/modules/auth_browser_src.solConnect.html index f7a6cf54e0..e74fb22940 100644 --- a/doc/modules/auth_browser_src.solConnect.html +++ b/doc/modules/auth_browser_src.solConnect.html @@ -17,7 +17,7 @@
      • solConnect
      • Namespace solConnect

        +
      • Defined in packages/auth-browser/src/lib/chains/sol.ts:1
      • Index

        diff --git a/doc/modules/bls_sdk_src.html b/doc/modules/bls_sdk_src.html index 30fa9643df..f250a407f2 100644 --- a/doc/modules/bls_sdk_src.html +++ b/doc/modules/bls_sdk_src.html @@ -16,7 +16,7 @@
      • bls-sdk/src
      • Module bls-sdk/src

        +
      • Defined in packages/bls-sdk/src/index.ts:1
      • diff --git a/doc/modules/constants_src.html b/doc/modules/constants_src.html index 3004a5df45..c8d32fa258 100644 --- a/doc/modules/constants_src.html +++ b/doc/modules/constants_src.html @@ -16,7 +16,7 @@
      • constants/src
      • Module constants/src

        +
      • Defined in packages/constants/src/index.ts:2
      • @@ -92,7 +92,7 @@

        Type declaration

      • abi: ({
            anonymous?: undefined;
            constant: boolean;
            inputs: {
                name: string;
                type: string;
            }[];
            name: string;
            outputs: {
                name: string;
                type: string;
            }[];
            payable: boolean;
            stateMutability: string;
            type: string;
        } | {
            anonymous?: undefined;
            constant?: undefined;
            inputs?: undefined;
            name?: undefined;
            outputs?: undefined;
            payable: boolean;
            stateMutability: string;
            type: string;
        } | {
            anonymous: boolean;
            constant?: undefined;
            inputs: {
                indexed: boolean;
                name: string;
                type: string;
            }[];
            name: string;
            outputs?: undefined;
            payable?: undefined;
            stateMutability?: undefined;
            type: string;
        })[]
      • +
      • Defined in packages/constants/src/lib/abis/ERC20.json:1
      • ABI_LIT: {
            abi: ({
                anonymous?: undefined;
                constant?: undefined;
                inputs: any[];
                name?: undefined;
                outputs?: undefined;
                payable?: undefined;
                stateMutability: string;
                type: string;
            } | {
                anonymous: boolean;
                constant?: undefined;
                inputs: {
                    indexed: boolean;
                    internalType: string;
                    name: string;
                    type: string;
                }[];
                name: string;
                outputs?: undefined;
                payable?: undefined;
                stateMutability?: undefined;
                type: string;
            } | {
                anonymous?: undefined;
                constant: boolean;
                inputs: {
                    internalType: string;
                    name: string;
                    type: string;
                }[];
                name: string;
                outputs: {
                    internalType: string;
                    name: string;
                    type: string;
                }[];
                payable?: undefined;
                stateMutability: string;
                type: string;
            } | {
                anonymous?: undefined;
                constant?: undefined;
                inputs: {
                    internalType: string;
                    name: string;
                    type: string;
                }[];
                name: string;
                outputs: {
                    internalType: string;
                    name: string;
                    type: string;
                }[];
                payable: boolean;
                stateMutability: string;
                type: string;
            } | {
                anonymous?: undefined;
                constant?: undefined;
                inputs: {
                    internalType: string;
                    name: string;
                    type: string;
                }[];
                name: string;
                outputs: {
                    internalType: string;
                    name: string;
                    type: string;
                }[];
                payable?: undefined;
                stateMutability: string;
                type: string;
            })[];
            contractName: string;
        }
        @@ -104,7 +104,7 @@
        abi:
        contractName: string
        +
      • Defined in packages/constants/src/lib/abis/LIT.json:1
      • +
      • Defined in packages/crypto/src/index.ts:1
      • diff --git a/doc/modules/ecdsa_sdk_src.html b/doc/modules/ecdsa_sdk_src.html index 7f68538c63..d30fa8f94e 100644 --- a/doc/modules/ecdsa_sdk_src.html +++ b/doc/modules/ecdsa_sdk_src.html @@ -16,7 +16,7 @@
      • ecdsa-sdk/src
      • Module ecdsa-sdk/src

        +
      • Defined in packages/ecdsa-sdk/src/index.ts:1
      • diff --git a/doc/modules/encryption_src.html b/doc/modules/encryption_src.html index c88224adcd..097d5149fb 100644 --- a/doc/modules/encryption_src.html +++ b/doc/modules/encryption_src.html @@ -16,7 +16,7 @@
      • encryption/src
      • Module encryption/src

        +
      • Defined in packages/encryption/src/index.ts:1
      • diff --git a/doc/modules/lit_node_client_src.html b/doc/modules/lit_node_client_src.html index 9ad13832e1..1a6ec8f618 100644 --- a/doc/modules/lit_node_client_src.html +++ b/doc/modules/lit_node_client_src.html @@ -16,7 +16,7 @@
      • lit-node-client/src
      • Module lit-node-client/src

        +
      • Defined in packages/lit-node-client/src/index.ts:1
      • diff --git a/doc/modules/misc_browser_src.html b/doc/modules/misc_browser_src.html index 9b9c721cbc..049d56facc 100644 --- a/doc/modules/misc_browser_src.html +++ b/doc/modules/misc_browser_src.html @@ -16,7 +16,7 @@
      • misc-browser/src
      • Module misc-browser/src

        +
      • Defined in packages/misc-browser/src/index.ts:1
      • diff --git a/doc/modules/misc_src.html b/doc/modules/misc_src.html index 229baf5f96..027ffb4aaa 100644 --- a/doc/modules/misc_src.html +++ b/doc/modules/misc_src.html @@ -16,7 +16,7 @@
      • misc/src
      • Module misc/src

        +
      • Defined in packages/misc/src/index.ts:1
      • diff --git a/doc/modules/nacl_src.html b/doc/modules/nacl_src.html index 813d351047..5b9d36a393 100644 --- a/doc/modules/nacl_src.html +++ b/doc/modules/nacl_src.html @@ -16,7 +16,7 @@
      • nacl/src
      • Module nacl/src

        +
      • Defined in packages/nacl/src/index.ts:1
      • diff --git a/doc/modules/uint8arrays_src.html b/doc/modules/uint8arrays_src.html index 3dfd13272f..8c542eeaf7 100644 --- a/doc/modules/uint8arrays_src.html +++ b/doc/modules/uint8arrays_src.html @@ -16,7 +16,7 @@
      • uint8arrays/src
      • Module uint8arrays/src

        +
      • Defined in packages/uint8arrays/src/index.ts:5
      • diff --git a/doc/types/encryption_src.ParamsValidatorsType.html b/doc/types/encryption_src.ParamsValidatorsType.html index fa02f33228..8152c0db7e 100644 --- a/doc/types/encryption_src.ParamsValidatorsType.html +++ b/doc/types/encryption_src.ParamsValidatorsType.html @@ -18,7 +18,7 @@

        Type alias ParamsValidatorsType

        ParamsValidatorsType: typeof paramsValidators
        +
      • Defined in packages/encryption/src/lib/params-validators.ts:151
      • +
      • Defined in packages/constants/src/lib/constants/constants.ts:26
      • +
      • Defined in packages/constants/src/lib/constants/constants.ts:19
      • +
      • Defined in packages/constants/src/lib/constants/constants.ts:35
      • +
      • Defined in packages/constants/src/lib/constants/constants.ts:633
      • +
      • Defined in packages/constants/src/lib/errors.ts:13
      • +
      • Defined in packages/constants/src/lib/constants/constants.ts:592
      • +
      • Defined in packages/constants/src/lib/constants/constants.ts:737
      • +
      • Defined in packages/constants/src/lib/constants/constants.ts:766
      • +
      • Defined in packages/constants/src/lib/constants/constants.ts:600
      • +
      • Defined in packages/constants/src/lib/constants/constants.ts:714
      • +
      • Defined in packages/constants/src/lib/constants/constants.ts:14
      • +
      • Defined in packages/constants/src/lib/constants/constants.ts:727
      • +
      • Defined in packages/constants/src/lib/version.ts:1
      • +
      • Defined in packages/encryption/src/lib/params-validators.ts:69
      • +
      • Defined in packages/nacl/src/lib/nacl.ts:1331