Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrapped Keys #513

Merged
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
21cfaf3
chore(types): LIT-3125 - Run eslint --fix on types.ts
MaximusHaximus Jun 25, 2024
d6c1a7b
types: LIT-3125 - Fix incorrect interface for SessionKeySignedMessage…
MaximusHaximus Jun 25, 2024
549cd84
feat(wrapped-keys): LIT-3125 - Add wrapped keys backend service clien…
MaximusHaximus Jun 25, 2024
46faa91
feat(wrapped-keys): LIT-3125 - Add wrapped keys LIT actions client layer
MaximusHaximus Jun 25, 2024
b05917a
feat(wrapped-keys): LIT-3125 - Constants, types and tests updates
MaximusHaximus Jun 25, 2024
ad58e5a
chore(wrapped-keys): LIT-3125 - Add note to LIT action about missing …
MaximusHaximus Jun 26, 2024
cba8d1d
chore(wrapped-keys): LIT-3125 - Add return type interface for export …
MaximusHaximus Jun 26, 2024
e3d2055
feat(wrapped-keys): LIT-3125 - Implement main API layer for wrapped keys
MaximusHaximus Jun 26, 2024
5b5abb1
chore(wrapped-keys): LIT-3125 - Update entrypoint exports to be expli…
MaximusHaximus Jun 26, 2024
d1e49f8
types(types): LIT-3125 - Revert change to AccessControlConditions typ…
MaximusHaximus Jun 26, 2024
5af0435
constants(wrapped-keys): LIT-3125 - Remove NETWORK_XXXX constants as …
MaximusHaximus Jun 26, 2024
5d89170
test(wrapped-keys): LIT-3125 - Update success tests to latest wrapped…
MaximusHaximus Jun 26, 2024
b66af98
test(wrapped-keys): LIT-3125 - Update fail tests
MaximusHaximus Jun 26, 2024
d8d17ce
chore(wrapped-keys): LIT-3125 - Rename `algo` to `keyType` to avoid c…
MaximusHaximus Jun 26, 2024
9eb0f47
chore(wrapped-keys): LIT-3125 - Remove 'custom' API behaviours and ty…
MaximusHaximus Jun 26, 2024
900ede1
chore(wrapped-keys): LIT-3125 - Remove 'custom' tests
MaximusHaximus Jun 26, 2024
e9d771e
docs(wrapped-keys): LIT-3125 - Update exports for JSDocs
MaximusHaximus Jun 26, 2024
8cff023
feat(wrapped-keys): LIT-3125 - Add storeEncryptedKeyMetadata() method…
MaximusHaximus Jun 26, 2024
241fa97
feat(wrapped-keys): LIT-3125 - Replace `address` with `publicKey`
MaximusHaximus Jun 26, 2024
c3166a5
test(wrapped-keys): LIT-3125 - Update tests to use `publicKey` instea…
MaximusHaximus Jun 26, 2024
ac8f173
chore(wrapped-keys): LIT-3125 - Make internal service client params i…
MaximusHaximus Jun 26, 2024
b48efc9
fix(wrapped-keys): LIT-3125 - Remove inadvertent imports from `index.…
MaximusHaximus Jun 27, 2024
8140964
Published version: 6.0.3@wrapped-keys
DashKash54 Jun 28, 2024
878c4fa
fix(wrapped-keys): LIT-3125 - Remove FIXME :)
MaximusHaximus Jun 28, 2024
acb10f2
test(wrapped-keys): LIT-3125 - Fix actually-failing-fail test string …
MaximusHaximus Jun 28, 2024
c3dafd0
fix(wrapped-keys): LIT-3125 - Add strong type for `KeyType`, and comp…
MaximusHaximus Jun 28, 2024
cbdc556
chore(wrapped-keys): LIT-3125 - Remove commented code and excess `con…
MaximusHaximus Jun 28, 2024
0be70bb
docs(wrapped-keys): LIT-3125 - Fix JSDoc for `StoreEncryptedKeyMetada…
MaximusHaximus Jun 28, 2024
6b72634
docs(wrapped-keys): LIT-3125 - Export constants for `keyType` and `ne…
MaximusHaximus Jun 28, 2024
3a7c943
refac: Prettier
DashKash54 Jun 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 30 additions & 32 deletions README.md

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions local-tests/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ import { testExecuteJsBroadcastAndCollect } from './tests/testExecuteJsBroadcast

import { testEthereumSignMessageGeneratedKey } from './tests/testEthereumSignMessageGeneratedKey';
import { testEthereumBroadcastTransactionGeneratedKey } from './tests/testEthereumBroadcastTransactionGeneratedKey';
import { testCustomignMessageWrappedKey } from './tests/testCustomSignMessageWrappedKey';
import { testEthereumSignMessageWrappedKey } from './tests/testEthereumSignMessageWrappedKey';
import { testFailEthereumSignTransactionWrappedKeyInvalidDecryption } from './tests/testFailEthereumSignTransactionWrappedKeyInvalidDecryption';
import { testEthereumSignTransactionWrappedKey } from './tests/testEthereumSignTransactionWrappedKey';
Expand All @@ -97,14 +96,12 @@ import { testFailEthereumBroadcastTransactionWrappedKeysInsufficientFunds } from
import { testImportWrappedKey } from './tests/testImportWrappedKey';
import { testGenerateEthereumWrappedKey } from './tests/testGenerateEthereumWrappedKey';
import { testGenerateSolanaWrappedKey } from './tests/testGenerateSolanaWrappedKey';
import { testCustomGenerateWrappedKey } from './tests/testCustomGenerateWrappedKey';
import { testFailImportWrappedKeysWithSamePkp } from './tests/testFailImportWrappedKeysWithSamePkp';
import { testFailImportWrappedKeysWithSamePrivateKey } from './tests/testFailImportWrappedKeysWithSamePrivateKey';
import { testFailImportWrappedKeysWithEoaSessionSig } from './tests/testFailImportWrappedKeysWithEoaSessionSig';
import { testFailImportWrappedKeysWithMaxExpirySessionSig } from './tests/testFailImportWrappedKeysWithMaxExpirySessionSig';
import { testFailImportWrappedKeysWithInvalidSessionSig } from './tests/testFailImportWrappedKeysWithInvalidSessionSig';
import { testFailImportWrappedKeysWithExpiredSessionSig } from './tests/testFailImportWrappedKeysWithExpiredSessionSig';
import { testFailCustomGenerateKeyWithBothIpfsAndCode } from './tests/testFailCustomGenerateKeyWithBothIpfsAndCode';
import { testExportWrappedKey } from './tests/testExportWrappedKey';
import { testSignMessageWithSolanaEncryptedKey } from './tests/testSignMessageWithSolanaEncryptedKey';
import { testSignTransactionWithSolanaEncryptedKey } from './tests/testSignTransactionWithSolanaEncryptedKey';
Expand All @@ -120,15 +117,13 @@ import { testSignTransactionWithSolanaEncryptedKey } from './tests/testSignTrans
testEthereumSignMessageGeneratedKey,
testEthereumBroadcastTransactionGeneratedKey,
testEthereumSignMessageWrappedKey,
testCustomignMessageWrappedKey,
testEthereumSignTransactionWrappedKey,
testEthereumBroadcastTransactionWrappedKey,
testEthereumBroadcastWrappedKeyWithFetchGasParams,

// -- generate wrapped keys
testGenerateEthereumWrappedKey,
testGenerateSolanaWrappedKey,
testCustomGenerateWrappedKey,

// -- import wrapped keys
testImportWrappedKey,
Expand All @@ -146,7 +141,6 @@ import { testSignTransactionWithSolanaEncryptedKey } from './tests/testSignTrans
testFailEthereumSignTransactionWrappedKeyWithInvalidParam,
testFailEthereumSignTransactionWrappedKeyInvalidDecryption,
testFailEthereumBroadcastTransactionWrappedKeysInsufficientFunds,
testFailCustomGenerateKeyWithBothIpfsAndCode,

// -- import wrapped keys
testFailImportWrappedKeysWithSamePkp,
Expand Down
102 changes: 0 additions & 102 deletions local-tests/tests/testCustomGenerateWrappedKey.ts

This file was deleted.

124 changes: 0 additions & 124 deletions local-tests/tests/testCustomSignMessageWrappedKey.ts

This file was deleted.

Loading
Loading