From 955879bca54c5d141813cdf43878adc40ed85923 Mon Sep 17 00:00:00 2001 From: kouraf Date: Fri, 13 Dec 2024 20:29:37 +0100 Subject: [PATCH 1/4] Updated lit action --- .../lib/internal/solana/signTransaction.ts | 43 ++++++++++++++++--- .../signTransactionWithEncryptedSolanaKey.ts | 3 ++ .../signTransactionWithEncryptedSolanaKey.ts | 2 + 3 files changed, 41 insertions(+), 7 deletions(-) diff --git a/packages/wrapped-keys-lit-actions/src/lib/internal/solana/signTransaction.ts b/packages/wrapped-keys-lit-actions/src/lib/internal/solana/signTransaction.ts index 1586f5ea0..8f69a60c1 100644 --- a/packages/wrapped-keys-lit-actions/src/lib/internal/solana/signTransaction.ts +++ b/packages/wrapped-keys-lit-actions/src/lib/internal/solana/signTransaction.ts @@ -4,6 +4,7 @@ import { Connection, Keypair, Transaction, + VersionedTransaction, } from '@solana/web3.js'; // Solana transactions are pre-serialized; much simpler API than ethereum transactions @@ -31,7 +32,7 @@ export function validateUnsignedTransaction( } } -function signTransaction({ +function signLegacyTransaction({ solanaKeyPair, transaction, }: { @@ -45,18 +46,36 @@ function signTransaction({ throw new Error('Transaction signature is null'); } - return { signature: ethers.utils.base58.encode(transaction.signature) }; + return ethers.utils.base58.encode(transaction.signature); } catch (err: unknown) { throw new Error(`When signing transaction - ${(err as Error).message}`); } } +function signVersionedTransaction({ + solanaKeyPair, + transaction, +}: { + solanaKeyPair: Keypair; + transaction: VersionedTransaction; +}) { + try { + transaction.sign([solanaKeyPair]); + + if (!transaction.signatures.length) { + throw new Error('Transaction signature is null'); + } + return ethers.utils.base58.encode(transaction.signatures[0]); + } catch (err: unknown) { + throw new Error(`When signing transaction - ${(err as Error).message}`); + } +} async function sendTransaction({ chain, transaction, }: { chain: Cluster; - transaction: Transaction; + transaction: Transaction | VersionedTransaction; }) { try { const solanaConnection = new Connection(clusterApiUrl(chain), 'confirmed'); @@ -70,20 +89,30 @@ export async function signTransactionSolanaKey({ broadcast, privateKey, unsignedTransaction, + versionedTransaction }: { broadcast: boolean; privateKey: string; unsignedTransaction: UnsignedTransaction; + versionedTransaction: boolean }) { // Be sure you call validateUnsignedTransaction(unsignedTransaction); before calling this method! const solanaKeyPair = Keypair.fromSecretKey(Buffer.from(privateKey, 'hex')); - const transaction = Transaction.from( - Buffer.from(unsignedTransaction.serializedTransaction, 'base64') - ); + let transaction + let signature + if (versionedTransaction) { + const swapTransactionBuf = Buffer.from(unsignedTransaction.serializedTransaction, 'base64'); + transaction = VersionedTransaction.deserialize(swapTransactionBuf); + signature = signVersionedTransaction({ transaction, solanaKeyPair }); + } else { - const { signature } = signTransaction({ transaction, solanaKeyPair }); + transaction = Transaction.from( + Buffer.from(unsignedTransaction.serializedTransaction, 'base64') + ); + signature = signLegacyTransaction({ transaction, solanaKeyPair }); + } if (!broadcast) { return signature; diff --git a/packages/wrapped-keys-lit-actions/src/lib/raw-action-functions/solana/signTransactionWithEncryptedSolanaKey.ts b/packages/wrapped-keys-lit-actions/src/lib/raw-action-functions/solana/signTransactionWithEncryptedSolanaKey.ts index b3efdcb4e..5f8c7a9de 100644 --- a/packages/wrapped-keys-lit-actions/src/lib/raw-action-functions/solana/signTransactionWithEncryptedSolanaKey.ts +++ b/packages/wrapped-keys-lit-actions/src/lib/raw-action-functions/solana/signTransactionWithEncryptedSolanaKey.ts @@ -12,6 +12,7 @@ export interface SignTransactionWithEncryptedSolanaKeyParams { dataToEncryptHash: string; // The hash of the data to encrypt unsignedTransaction: UnsignedTransaction; broadcast: boolean; // Flag to determine if the transaction should be broadcasted + versionedTransaction: boolean; // Flag to determine if the transaction is a versioned one or a legacy one } /** @@ -28,6 +29,7 @@ export async function signTransactionWithEncryptedSolanaKey({ dataToEncryptHash, unsignedTransaction, broadcast, + versionedTransaction }: SignTransactionWithEncryptedSolanaKeyParams): Promise { validateUnsignedTransaction(unsignedTransaction); @@ -41,5 +43,6 @@ export async function signTransactionWithEncryptedSolanaKey({ broadcast, privateKey, unsignedTransaction, + versionedTransaction }); } diff --git a/packages/wrapped-keys-lit-actions/src/lib/self-executing-actions/solana/signTransactionWithEncryptedSolanaKey.ts b/packages/wrapped-keys-lit-actions/src/lib/self-executing-actions/solana/signTransactionWithEncryptedSolanaKey.ts index 164c8e117..e2b8ba029 100644 --- a/packages/wrapped-keys-lit-actions/src/lib/self-executing-actions/solana/signTransactionWithEncryptedSolanaKey.ts +++ b/packages/wrapped-keys-lit-actions/src/lib/self-executing-actions/solana/signTransactionWithEncryptedSolanaKey.ts @@ -11,6 +11,7 @@ declare const ciphertext: SignTransactionWithEncryptedSolanaKeyParams['ciphertex declare const dataToEncryptHash: SignTransactionWithEncryptedSolanaKeyParams['dataToEncryptHash']; declare const unsignedTransaction: SignTransactionWithEncryptedSolanaKeyParams['unsignedTransaction']; declare const broadcast: SignTransactionWithEncryptedSolanaKeyParams['broadcast']; +declare const versionedTransaction: SignTransactionWithEncryptedSolanaKeyParams['versionedTransaction']; (async () => litActionHandler(async () => @@ -20,5 +21,6 @@ declare const broadcast: SignTransactionWithEncryptedSolanaKeyParams['broadcast' dataToEncryptHash, unsignedTransaction, broadcast, + versionedTransaction }) ))(); From 04910810c5d1887f58d3a558c0880cd0f022e6cd Mon Sep 17 00:00:00 2001 From: kouraf Date: Fri, 13 Dec 2024 20:40:46 +0100 Subject: [PATCH 2/4] Added versionedTransaction to the sdk --- .../src/lib/api/sign-transaction-with-encrypted-key.ts | 3 ++- .../src/lib/lit-actions-client/sign-transaction.ts | 3 +++ packages/wrapped-keys/src/lib/types.ts | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/wrapped-keys/src/lib/api/sign-transaction-with-encrypted-key.ts b/packages/wrapped-keys/src/lib/api/sign-transaction-with-encrypted-key.ts index 53cfa8d4e..bebf8a2f9 100644 --- a/packages/wrapped-keys/src/lib/api/sign-transaction-with-encrypted-key.ts +++ b/packages/wrapped-keys/src/lib/api/sign-transaction-with-encrypted-key.ts @@ -11,7 +11,8 @@ import { SignTransactionWithEncryptedKeyParams } from '../types'; /** * Signs a transaction inside the Lit Action using the previously persisted wrapped key associated with the current LIT PK. * This method fetches the encrypted key from the wrapped keys service, then executes a Lit Action that decrypts the key inside the LIT action and uses - * the decrypted key to sign the provided transaction + * the decrypted key to sign the provided transaction + * use `versionedTransaction: true` to sign a versioned transaction and `false` for a legacy one * Optionally, if you pass `broadcast: true`, the LIT action will also submit the signed transaction to the associated RPC endpoint on your behalf * * @param { SignTransactionWithEncryptedKeyParams } params Parameters required to sign the requested transaction diff --git a/packages/wrapped-keys/src/lib/lit-actions-client/sign-transaction.ts b/packages/wrapped-keys/src/lib/lit-actions-client/sign-transaction.ts index 5dde9e0b3..66084a531 100644 --- a/packages/wrapped-keys/src/lib/lit-actions-client/sign-transaction.ts +++ b/packages/wrapped-keys/src/lib/lit-actions-client/sign-transaction.ts @@ -21,6 +21,7 @@ interface SignTransactionWithLitActionParams { storedKeyMetadata: StoredKeyData; accessControlConditions: AccessControlConditions; broadcast: boolean; + versionedTransaction?: boolean; } export async function signTransactionWithLitAction({ @@ -32,6 +33,7 @@ export async function signTransactionWithLitAction({ pkpSessionSigs, storedKeyMetadata: { ciphertext, dataToEncryptHash, pkpAddress }, unsignedTransaction, + versionedTransaction }: SignTransactionWithLitActionParams): Promise { const result = await litNodeClient.executeJs({ sessionSigs: pkpSessionSigs, @@ -44,6 +46,7 @@ export async function signTransactionWithLitAction({ unsignedTransaction, broadcast, accessControlConditions, + versionedTransaction }, ipfsOptions: { overwriteCode: diff --git a/packages/wrapped-keys/src/lib/types.ts b/packages/wrapped-keys/src/lib/types.ts index b3742ff69..1739833f0 100644 --- a/packages/wrapped-keys/src/lib/types.ts +++ b/packages/wrapped-keys/src/lib/types.ts @@ -291,6 +291,7 @@ export interface SignTransactionParamsSupportedSolana extends SignTransactionParams { unsignedTransaction: SerializedTransaction; network: Extract; + versionedTransaction: boolean; } /** @typedef SignTransactionWithEncryptedKeyParams From 3ae6e3d38fc40478ab1aa98a8b8b9834111f8d12 Mon Sep 17 00:00:00 2001 From: FedericoAmura Date: Tue, 17 Dec 2024 20:00:58 +0100 Subject: [PATCH 3/4] feat: - made versionedTransaction optional - updated with latest master - applied format rules --- .../src/lib/internal/solana/signTransaction.ts | 14 ++++++++------ .../signTransactionWithEncryptedSolanaKey.ts | 6 +++--- .../signTransactionWithEncryptedSolanaKey.ts | 2 +- .../lib/api/sign-transaction-with-encrypted-key.ts | 2 +- .../src/lib/lit-actions-client/sign-transaction.ts | 4 ++-- packages/wrapped-keys/src/lib/types.ts | 2 +- 6 files changed, 16 insertions(+), 14 deletions(-) diff --git a/packages/wrapped-keys-lit-actions/src/lib/internal/solana/signTransaction.ts b/packages/wrapped-keys-lit-actions/src/lib/internal/solana/signTransaction.ts index 8f69a60c1..af24371ff 100644 --- a/packages/wrapped-keys-lit-actions/src/lib/internal/solana/signTransaction.ts +++ b/packages/wrapped-keys-lit-actions/src/lib/internal/solana/signTransaction.ts @@ -89,25 +89,27 @@ export async function signTransactionSolanaKey({ broadcast, privateKey, unsignedTransaction, - versionedTransaction + versionedTransaction, }: { broadcast: boolean; privateKey: string; unsignedTransaction: UnsignedTransaction; - versionedTransaction: boolean + versionedTransaction?: boolean; }) { // Be sure you call validateUnsignedTransaction(unsignedTransaction); before calling this method! const solanaKeyPair = Keypair.fromSecretKey(Buffer.from(privateKey, 'hex')); - let transaction - let signature + let transaction; + let signature; if (versionedTransaction) { - const swapTransactionBuf = Buffer.from(unsignedTransaction.serializedTransaction, 'base64'); + const swapTransactionBuf = Buffer.from( + unsignedTransaction.serializedTransaction, + 'base64' + ); transaction = VersionedTransaction.deserialize(swapTransactionBuf); signature = signVersionedTransaction({ transaction, solanaKeyPair }); } else { - transaction = Transaction.from( Buffer.from(unsignedTransaction.serializedTransaction, 'base64') ); diff --git a/packages/wrapped-keys-lit-actions/src/lib/raw-action-functions/solana/signTransactionWithEncryptedSolanaKey.ts b/packages/wrapped-keys-lit-actions/src/lib/raw-action-functions/solana/signTransactionWithEncryptedSolanaKey.ts index 5f8c7a9de..48feb9fb3 100644 --- a/packages/wrapped-keys-lit-actions/src/lib/raw-action-functions/solana/signTransactionWithEncryptedSolanaKey.ts +++ b/packages/wrapped-keys-lit-actions/src/lib/raw-action-functions/solana/signTransactionWithEncryptedSolanaKey.ts @@ -12,7 +12,7 @@ export interface SignTransactionWithEncryptedSolanaKeyParams { dataToEncryptHash: string; // The hash of the data to encrypt unsignedTransaction: UnsignedTransaction; broadcast: boolean; // Flag to determine if the transaction should be broadcasted - versionedTransaction: boolean; // Flag to determine if the transaction is a versioned one or a legacy one + versionedTransaction?: boolean; // Flag to determine if the transaction is a versioned one or a legacy one } /** @@ -29,7 +29,7 @@ export async function signTransactionWithEncryptedSolanaKey({ dataToEncryptHash, unsignedTransaction, broadcast, - versionedTransaction + versionedTransaction, }: SignTransactionWithEncryptedSolanaKeyParams): Promise { validateUnsignedTransaction(unsignedTransaction); @@ -43,6 +43,6 @@ export async function signTransactionWithEncryptedSolanaKey({ broadcast, privateKey, unsignedTransaction, - versionedTransaction + versionedTransaction, }); } diff --git a/packages/wrapped-keys-lit-actions/src/lib/self-executing-actions/solana/signTransactionWithEncryptedSolanaKey.ts b/packages/wrapped-keys-lit-actions/src/lib/self-executing-actions/solana/signTransactionWithEncryptedSolanaKey.ts index e2b8ba029..9725ae534 100644 --- a/packages/wrapped-keys-lit-actions/src/lib/self-executing-actions/solana/signTransactionWithEncryptedSolanaKey.ts +++ b/packages/wrapped-keys-lit-actions/src/lib/self-executing-actions/solana/signTransactionWithEncryptedSolanaKey.ts @@ -21,6 +21,6 @@ declare const versionedTransaction: SignTransactionWithEncryptedSolanaKeyParams[ dataToEncryptHash, unsignedTransaction, broadcast, - versionedTransaction + versionedTransaction, }) ))(); diff --git a/packages/wrapped-keys/src/lib/api/sign-transaction-with-encrypted-key.ts b/packages/wrapped-keys/src/lib/api/sign-transaction-with-encrypted-key.ts index bebf8a2f9..7df1daf13 100644 --- a/packages/wrapped-keys/src/lib/api/sign-transaction-with-encrypted-key.ts +++ b/packages/wrapped-keys/src/lib/api/sign-transaction-with-encrypted-key.ts @@ -11,7 +11,7 @@ import { SignTransactionWithEncryptedKeyParams } from '../types'; /** * Signs a transaction inside the Lit Action using the previously persisted wrapped key associated with the current LIT PK. * This method fetches the encrypted key from the wrapped keys service, then executes a Lit Action that decrypts the key inside the LIT action and uses - * the decrypted key to sign the provided transaction + * the decrypted key to sign the provided transaction * use `versionedTransaction: true` to sign a versioned transaction and `false` for a legacy one * Optionally, if you pass `broadcast: true`, the LIT action will also submit the signed transaction to the associated RPC endpoint on your behalf * diff --git a/packages/wrapped-keys/src/lib/lit-actions-client/sign-transaction.ts b/packages/wrapped-keys/src/lib/lit-actions-client/sign-transaction.ts index 66084a531..9e28ddc5c 100644 --- a/packages/wrapped-keys/src/lib/lit-actions-client/sign-transaction.ts +++ b/packages/wrapped-keys/src/lib/lit-actions-client/sign-transaction.ts @@ -33,7 +33,7 @@ export async function signTransactionWithLitAction({ pkpSessionSigs, storedKeyMetadata: { ciphertext, dataToEncryptHash, pkpAddress }, unsignedTransaction, - versionedTransaction + versionedTransaction, }: SignTransactionWithLitActionParams): Promise { const result = await litNodeClient.executeJs({ sessionSigs: pkpSessionSigs, @@ -46,7 +46,7 @@ export async function signTransactionWithLitAction({ unsignedTransaction, broadcast, accessControlConditions, - versionedTransaction + versionedTransaction, }, ipfsOptions: { overwriteCode: diff --git a/packages/wrapped-keys/src/lib/types.ts b/packages/wrapped-keys/src/lib/types.ts index 1739833f0..b76f2cff0 100644 --- a/packages/wrapped-keys/src/lib/types.ts +++ b/packages/wrapped-keys/src/lib/types.ts @@ -291,7 +291,7 @@ export interface SignTransactionParamsSupportedSolana extends SignTransactionParams { unsignedTransaction: SerializedTransaction; network: Extract; - versionedTransaction: boolean; + versionedTransaction?: boolean; } /** @typedef SignTransactionWithEncryptedKeyParams From b5b2b2dce55e2920da8efc028cda34457b783376 Mon Sep 17 00:00:00 2001 From: FedericoAmura Date: Mon, 23 Dec 2024 21:24:46 +0100 Subject: [PATCH 4/4] chore: upgrade version to 7.0.3 --- README.md | 1 + lerna.json | 2 +- packages/access-control-conditions/package.json | 2 +- packages/auth-browser/package.json | 2 +- packages/auth-helpers/package.json | 2 +- packages/constants/package.json | 2 +- packages/constants/src/lib/version.ts | 2 +- packages/contracts-sdk/package.json | 2 +- packages/core/package.json | 2 +- packages/crypto/package.json | 2 +- packages/encryption/package.json | 2 +- packages/event-listener/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-cosmos/package.json | 2 +- packages/pkp-ethers/package.json | 2 +- packages/pkp-sui/package.json | 2 +- packages/pkp-walletconnect/package.json | 2 +- packages/types/package.json | 2 +- packages/uint8arrays/package.json | 2 +- packages/wasm/package.json | 2 +- packages/wrapped-keys-lit-actions/package.json | 2 +- packages/wrapped-keys/package.json | 2 +- 29 files changed, 29 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index b2595b03f..147bb24a8 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,7 @@ If you're a tech-savvy user and wish to utilize only specific submodules that ou | [@lit-protocol/core](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/core) | ![core](https://img.shields.io/badge/-universal-8A6496 'core') | | | [@lit-protocol/crypto](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/crypto) | ![crypto](https://img.shields.io/badge/-universal-8A6496 'crypto') | | | [@lit-protocol/encryption](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/encryption) | ![encryption](https://img.shields.io/badge/-universal-8A6496 'encryption') | | +| [@lit-protocol/event-listener](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/event-listener) | ![event-listener](https://img.shields.io/badge/-universal-8A6496 'event-listener') | | | [@lit-protocol/logger](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/logger) | ![logger](https://img.shields.io/badge/-universal-8A6496 'logger') | | | [@lit-protocol/misc](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/misc) | ![misc](https://img.shields.io/badge/-universal-8A6496 'misc') | | | [@lit-protocol/nacl](https://github.com/LIT-Protocol/js-sdk/tree/master/packages/nacl) | ![nacl](https://img.shields.io/badge/-universal-8A6496 'nacl') | | diff --git a/lerna.json b/lerna.json index e84f54e60..04caccfd2 100644 --- a/lerna.json +++ b/lerna.json @@ -2,5 +2,5 @@ "$schema": "node_modules/lerna/schemas/lerna-schema.json", "useNx": true, "useWorkspaces": true, - "version": "7.0.2" + "version": "7.0.3" } diff --git a/packages/access-control-conditions/package.json b/packages/access-control-conditions/package.json index ec27dea62..90146a689 100644 --- a/packages/access-control-conditions/package.json +++ b/packages/access-control-conditions/package.json @@ -21,7 +21,7 @@ "tags": [ "universal" ], - "version": "7.0.2", + "version": "7.0.3", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } diff --git a/packages/auth-browser/package.json b/packages/auth-browser/package.json index 1d9d4274c..787d52a3b 100644 --- a/packages/auth-browser/package.json +++ b/packages/auth-browser/package.json @@ -31,7 +31,7 @@ "tags": [ "browser" ], - "version": "7.0.2", + "version": "7.0.3", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } diff --git a/packages/auth-helpers/package.json b/packages/auth-helpers/package.json index 2356815cf..206becd37 100644 --- a/packages/auth-helpers/package.json +++ b/packages/auth-helpers/package.json @@ -25,7 +25,7 @@ "crypto": false, "stream": false }, - "version": "7.0.2", + "version": "7.0.3", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } diff --git a/packages/constants/package.json b/packages/constants/package.json index 04974a3bf..25d519d2b 100644 --- a/packages/constants/package.json +++ b/packages/constants/package.json @@ -20,7 +20,7 @@ "tags": [ "universal" ], - "version": "7.0.2", + "version": "7.0.3", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } diff --git a/packages/constants/src/lib/version.ts b/packages/constants/src/lib/version.ts index 20b8fbfd7..df5935849 100644 --- a/packages/constants/src/lib/version.ts +++ b/packages/constants/src/lib/version.ts @@ -1 +1 @@ -export const version = '7.0.2'; +export const version = '7.0.3'; diff --git a/packages/contracts-sdk/package.json b/packages/contracts-sdk/package.json index 1134dfc70..b0ab53d5b 100644 --- a/packages/contracts-sdk/package.json +++ b/packages/contracts-sdk/package.json @@ -25,7 +25,7 @@ "tags": [ "universal" ], - "version": "7.0.2", + "version": "7.0.3", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } diff --git a/packages/core/package.json b/packages/core/package.json index e0d683582..46a3ef86c 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@lit-protocol/core", - "version": "7.0.2", + "version": "7.0.3", "type": "commonjs", "license": "MIT", "homepage": "https://github.com/Lit-Protocol/js-sdk", diff --git a/packages/crypto/package.json b/packages/crypto/package.json index ee7ce605b..8c5aa99aa 100644 --- a/packages/crypto/package.json +++ b/packages/crypto/package.json @@ -21,7 +21,7 @@ "tags": [ "universal" ], - "version": "7.0.2", + "version": "7.0.3", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } diff --git a/packages/encryption/package.json b/packages/encryption/package.json index b7aefed1a..81cdfcc4a 100644 --- a/packages/encryption/package.json +++ b/packages/encryption/package.json @@ -25,7 +25,7 @@ "crypto": false, "stream": false }, - "version": "7.0.2", + "version": "7.0.3", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } diff --git a/packages/event-listener/package.json b/packages/event-listener/package.json index 240f1cf14..d502769ad 100644 --- a/packages/event-listener/package.json +++ b/packages/event-listener/package.json @@ -26,7 +26,7 @@ "scripts": { "generate-lit-actions": "yarn node ./esbuild.config.js" }, - "version": "7.0.2", + "version": "7.0.3", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } diff --git a/packages/lit-auth-client/package.json b/packages/lit-auth-client/package.json index 877ed114f..38fafd00f 100644 --- a/packages/lit-auth-client/package.json +++ b/packages/lit-auth-client/package.json @@ -1,6 +1,6 @@ { "name": "@lit-protocol/lit-auth-client", - "version": "7.0.2", + "version": "7.0.3", "type": "commonjs", "license": "MIT", "homepage": "https://github.com/Lit-Protocol/js-sdk", diff --git a/packages/lit-node-client-nodejs/package.json b/packages/lit-node-client-nodejs/package.json index 042bfb8b2..d9cddba12 100644 --- a/packages/lit-node-client-nodejs/package.json +++ b/packages/lit-node-client-nodejs/package.json @@ -24,7 +24,7 @@ "tags": [ "nodejs" ], - "version": "7.0.2", + "version": "7.0.3", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } diff --git a/packages/lit-node-client/package.json b/packages/lit-node-client/package.json index 9063e55d1..5a0b0397a 100644 --- a/packages/lit-node-client/package.json +++ b/packages/lit-node-client/package.json @@ -28,7 +28,7 @@ "crypto": false, "stream": false }, - "version": "7.0.2", + "version": "7.0.3", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } diff --git a/packages/logger/package.json b/packages/logger/package.json index 3521d215e..92c6cf817 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -1,6 +1,6 @@ { "name": "@lit-protocol/logger", - "version": "7.0.2", + "version": "7.0.3", "type": "commonjs", "tags": [ "universal" diff --git a/packages/misc-browser/package.json b/packages/misc-browser/package.json index 7fc9a613c..7e83c896e 100644 --- a/packages/misc-browser/package.json +++ b/packages/misc-browser/package.json @@ -21,7 +21,7 @@ "tags": [ "browser" ], - "version": "7.0.2", + "version": "7.0.3", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } diff --git a/packages/misc/package.json b/packages/misc/package.json index 53ace8a69..e9e8fb1ab 100644 --- a/packages/misc/package.json +++ b/packages/misc/package.json @@ -21,7 +21,7 @@ "tags": [ "universal" ], - "version": "7.0.2", + "version": "7.0.3", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } diff --git a/packages/nacl/package.json b/packages/nacl/package.json index 958ee0541..77a113594 100644 --- a/packages/nacl/package.json +++ b/packages/nacl/package.json @@ -21,7 +21,7 @@ "access": "public", "directory": "../../dist/packages/nacl" }, - "version": "7.0.2", + "version": "7.0.3", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } diff --git a/packages/pkp-base/package.json b/packages/pkp-base/package.json index 37e8928cf..51de248ce 100644 --- a/packages/pkp-base/package.json +++ b/packages/pkp-base/package.json @@ -1,6 +1,6 @@ { "name": "@lit-protocol/pkp-base", - "version": "7.0.2", + "version": "7.0.3", "type": "commonjs", "license": "MIT", "homepage": "https://github.com/Lit-Protocol/js-sdk", diff --git a/packages/pkp-cosmos/package.json b/packages/pkp-cosmos/package.json index cc8fe7bb3..83f6dee39 100644 --- a/packages/pkp-cosmos/package.json +++ b/packages/pkp-cosmos/package.json @@ -1,6 +1,6 @@ { "name": "@lit-protocol/pkp-cosmos", - "version": "7.0.2", + "version": "7.0.3", "type": "commonjs", "license": "MIT", "homepage": "https://github.com/Lit-Protocol/js-sdk", diff --git a/packages/pkp-ethers/package.json b/packages/pkp-ethers/package.json index 6753a5687..1bbef1a5f 100644 --- a/packages/pkp-ethers/package.json +++ b/packages/pkp-ethers/package.json @@ -20,7 +20,7 @@ "tags": [ "universal" ], - "version": "7.0.2", + "version": "7.0.3", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } diff --git a/packages/pkp-sui/package.json b/packages/pkp-sui/package.json index 82b1a0a71..b22f15deb 100644 --- a/packages/pkp-sui/package.json +++ b/packages/pkp-sui/package.json @@ -1,6 +1,6 @@ { "name": "@lit-protocol/pkp-sui", - "version": "7.0.2", + "version": "7.0.3", "type": "commonjs", "license": "MIT", "homepage": "https://github.com/Lit-Protocol/js-sdk", diff --git a/packages/pkp-walletconnect/package.json b/packages/pkp-walletconnect/package.json index 66d6145fd..c2b173a2e 100644 --- a/packages/pkp-walletconnect/package.json +++ b/packages/pkp-walletconnect/package.json @@ -1,6 +1,6 @@ { "name": "@lit-protocol/pkp-walletconnect", - "version": "7.0.2", + "version": "7.0.3", "type": "commonjs", "license": "MIT", "homepage": "https://github.com/Lit-Protocol/js-sdk", diff --git a/packages/types/package.json b/packages/types/package.json index 763a7177a..d387b3f30 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -23,7 +23,7 @@ "buildOptions": { "genReact": false }, - "version": "7.0.2", + "version": "7.0.3", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } diff --git a/packages/uint8arrays/package.json b/packages/uint8arrays/package.json index 98a62421e..c1027cfbc 100644 --- a/packages/uint8arrays/package.json +++ b/packages/uint8arrays/package.json @@ -21,7 +21,7 @@ "tags": [ "universal" ], - "version": "7.0.2", + "version": "7.0.3", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } diff --git a/packages/wasm/package.json b/packages/wasm/package.json index 8820c1e48..0622add64 100644 --- a/packages/wasm/package.json +++ b/packages/wasm/package.json @@ -1,6 +1,6 @@ { "name": "@lit-protocol/wasm", - "version": "7.0.2", + "version": "7.0.3", "type": "commonjs", "homepage": "https://github.com/Lit-Protocol/js-sdk", "repository": { diff --git a/packages/wrapped-keys-lit-actions/package.json b/packages/wrapped-keys-lit-actions/package.json index a1be0fbea..c9011b95c 100644 --- a/packages/wrapped-keys-lit-actions/package.json +++ b/packages/wrapped-keys-lit-actions/package.json @@ -26,7 +26,7 @@ "scripts": { "generate-lit-actions": "yarn node ./esbuild.config.js" }, - "version": "7.0.2", + "version": "7.0.3", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" } diff --git a/packages/wrapped-keys/package.json b/packages/wrapped-keys/package.json index 98f1253e7..936906633 100644 --- a/packages/wrapped-keys/package.json +++ b/packages/wrapped-keys/package.json @@ -23,7 +23,7 @@ "buildOptions": { "genReact": false }, - "version": "7.0.2", + "version": "7.0.3", "main": "./dist/src/index.js", "typings": "./dist/src/index.d.ts" }