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

[version 3.0.0] Major version bump #199

Closed
wants to merge 243 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
243 commits
Select commit Hold shift + click to select a range
e3b9a3d
update ecdsa sdk
May 8, 2023
73e0629
refactor combiination entry point for new method signature
May 8, 2023
767c18f
update ecdsa-sdk from ecdsa wasm
May 9, 2023
3c305ca
updates for new cait sith ecdsa-sdk
May 9, 2023
5c20480
Merge branch 'master' of github.com:LIT-Protocol/js-sdk into integrat…
May 9, 2023
d9cfb71
fixes to key remapping
May 9, 2023
4bf4ce3
update to crypto tests for ecdsa sdk
May 9, 2023
902664c
Merge branch 'master' of github.com:LIT-Protocol/js-sdk into integrat…
May 10, 2023
7507936
update tests for sign recombination
May 11, 2023
47646f4
remove unused import
May 11, 2023
088c89c
Add new ECDSA signature types
May 11, 2023
4af74cb
remove enum from types
May 11, 2023
153afc6
add enum for ecdsa key type.
May 11, 2023
350a848
update enums
May 11, 2023
df72f76
remove static v value from test
May 11, 2023
309503f
update ecdsa-sdk with new recid calculation
May 15, 2023
5b81f85
fix update to ecdsa-sdk for recid fixes
May 15, 2023
52e5e2c
Integrate new BLS WASM
hwrdtm Jun 14, 2023
c48f68e
Update crypto wrappers around BLS WASM
hwrdtm Jun 14, 2023
1ce2602
Add return types to utility functions
hwrdtm Jun 14, 2023
8134bf8
Use generics in IEither
hwrdtm Jun 14, 2023
c51cf9a
Use generics in IEither
hwrdtm Jun 14, 2023
a4f6b2b
Refactor param validation, add coverage, use IEither to return error …
hwrdtm Jun 14, 2023
d9d782f
Fix map
hwrdtm Jun 14, 2023
f2212fc
Fix crypto package logic + tests
hwrdtm Jun 14, 2023
4fe63af
Update encryption helpers and integrate new BLS encryption to lit-nod…
hwrdtm Jun 14, 2023
dde3868
Remove jalapeno support and make serrano the default
hwrdtm Jun 14, 2023
3df13fb
Build fixes + bug fixes
hwrdtm Jun 15, 2023
17b1558
Make demo app use TS
hwrdtm Jun 15, 2023
7dc7d04
Use better names, fixes
hwrdtm Jun 15, 2023
a9bd44d
Fix bug, make errors more verbose
hwrdtm Jun 16, 2023
c67df58
Update encryption logic in demo app
hwrdtm Jun 16, 2023
cda0f1d
Couple of important bug fixes + tidy up
hwrdtm Jun 16, 2023
802851e
Demo using human-readable strings
hwrdtm Jun 16, 2023
3e5b46a
Update comments and JSDocs
hwrdtm Jun 17, 2023
4d751ad
Fix bugs, update all e2e & manual tests, simplify encryptString to ju…
hwrdtm Jun 21, 2023
4bb0a14
Update bls-sdk,crypto with verify_signature, implement demo-locked-ex…
hwrdtm Jun 24, 2023
ae35bcd
Add getSignedToken + verification to e2e tests
hwrdtm Jun 24, 2023
ff937b5
Update manual_tests for signed JWT tests
hwrdtm Jun 24, 2023
85f7671
Cleanup
hwrdtm Jun 24, 2023
60b621b
Fix types
hwrdtm Jul 7, 2023
af3f59b
Use cayenne as default
hwrdtm Jul 10, 2023
9ad5af3
Update to cayenne contracts
hwrdtm Jul 10, 2023
e6c90bb
Merge remote-tracking branch 'origin/integrate/cait-sith' into feat/S…
Jul 17, 2023
f6c292d
fix tsc error
Jul 17, 2023
d2b15e8
rebuilt wasm module
Jul 17, 2023
42115e3
bump major to 3 -> 3.0.0
Jul 17, 2023
4ac71ed
add sig type
Jul 17, 2023
5182e80
fix test and sig combination logic
Jul 17, 2023
2152927
update logic for removing postifxed polarity on signature
Jul 18, 2023
ab340bb
upgrade signature combination for cait sith changes
Jul 27, 2023
1db195b
update test
Jul 27, 2023
29e4ad8
upgrade crypto and ecdsa lib for hd key signature and public key deri…
Jul 28, 2023
4d11c65
add support for public key derivation
Jul 28, 2023
1ba9c92
update claim and signing tests
Jul 29, 2023
ca1785f
add auth callback statement
Jul 31, 2023
e3edec2
updates for new enums on nodes
Aug 4, 2023
67bb831
add hd key support
Aug 8, 2023
e038f30
update claim impls
Aug 9, 2023
38af96f
add rootkeys to handshake
Aug 9, 2023
be3d1c1
add mint claim callback
Aug 11, 2023
c896dda
update claim types per node updates
Aug 15, 2023
9b06618
remove key id from signing request
Aug 16, 2023
83263dd
chore: update pkgs in lit auth example
sarahzdev Aug 16, 2023
b4a9f09
Revert "chore: update pkgs in lit auth example"
Aug 16, 2023
fc00d58
Merge pull request #194 from LIT-Protocol/feat/update-mint-relay
sarahzdev Aug 15, 2023
a8641c2
merge of pr #194 fixes
Aug 16, 2023
bba8c01
implement relay fetch call
Aug 17, 2023
cc5076a
add telem endpoint
Aug 20, 2023
310db0f
fix build issues from merge
Aug 20, 2023
5502d4c
fix types
Aug 22, 2023
5e083bb
migrate hd pubkey method from lit-node-client to lit-core
Aug 22, 2023
38fb2dd
update claim endpoint
Aug 24, 2023
e73e53a
updates for key claiming
Aug 25, 2023
daca2bb
wip update contracts
Aug 27, 2023
4113755
update manifest urls and add access token headers on fetch
Aug 27, 2023
e3e3230
move sig reformatting to client
Aug 29, 2023
d8b78b3
read auth method acc token from cfg
Aug 29, 2023
3cf6cf2
update contract-client
Aug 29, 2023
8bc8e23
updates for cayenne
Aug 30, 2023
321fe77
update lit config for auth method pass through
Aug 30, 2023
cacac45
update sig recomb for new key type value
Aug 30, 2023
e58231d
update tests
Aug 30, 2023
1edb949
update contract addresses for cayenne
Aug 31, 2023
47b807c
add contract ignore statement
Aug 31, 2023
7343cb2
update contract sdk bindings
Aug 31, 2023
36c09be
update contracts lookup for cayenne
Aug 31, 2023
8416123
update claim types for explicit claim processing types.
Aug 31, 2023
b2ddd61
add check for expiration on auth sig generation
Sep 1, 2023
30cdc58
update type comment
Sep 1, 2023
81d963a
fix import
Sep 1, 2023
07adf2f
change network for demo
Sep 3, 2023
7c94ef9
update relay endpoints
Sep 3, 2023
ed2d623
update relay url
Sep 6, 2023
5221c87
update relayer endpoint
Sep 6, 2023
aa7ba68
update import
Sep 6, 2023
5f02b2f
get rp id from origin domain
Sep 6, 2023
e9fd949
remove check for webauthn from claim
Sep 6, 2023
5a940ed
add logging of request id on http request failure
Sep 6, 2023
ca1e088
update function name
Sep 6, 2023
fde352c
fmt
Sep 7, 2023
fdf604b
update baseProvider claimKey
Sep 7, 2023
c99670e
type update
Sep 7, 2023
fa1da27
[Master <> V3 Merge] Feature/lit 1322 js sdk merge in v3 to revamp br…
Ansonhkg Sep 8, 2023
5865079
add connect call to claimKeyId
Sep 8, 2023
aa1e51a
remove access list contract
Sep 11, 2023
e303a0c
update contract addresses
Sep 11, 2023
119e910
remove allow list
Sep 11, 2023
81887a0
remove access control conditions contract
Sep 11, 2023
7d5a5d2
add WithAuthMethodSigning type
Sep 11, 2023
a44bde9
update contract manifest
Sep 11, 2023
8be57e6
update deployment addresses
Sep 11, 2023
c777fe4
remove twillio otp auth provider
Sep 11, 2023
4c2a45e
remove duplicated package
Ansonhkg Sep 12, 2023
b4e7ef3
feat: ability to npm link and unlink packages
Ansonhkg Sep 12, 2023
b3d9cea
feat: add scripts to either bun/npm link
Ansonhkg Sep 12, 2023
f6c480b
getSignatures works
Ansonhkg Sep 12, 2023
96a698e
fix: publish version
Ansonhkg Sep 12, 2023
4d14f3c
feat: ES2021 to make "replaceAll" work
Ansonhkg Sep 12, 2023
cb67dab
fix: add chore back to be able to publish
Ansonhkg Sep 12, 2023
b494b5b
fix: had to add "DOM" to use global "crypto"
Ansonhkg Sep 12, 2023
b81e0d2
feat: add script to generate config
Ansonhkg Sep 12, 2023
78b499c
feat: add flatten object
Ansonhkg Sep 12, 2023
e7bac38
fix: when lit action is used as pure serverless function
Ansonhkg Sep 12, 2023
489a917
fix: general worker api
Ansonhkg Sep 12, 2023
64ad86b
chore: add success exit
Ansonhkg Sep 12, 2023
c6f3a52
enable nx cache
Ansonhkg Sep 12, 2023
a3bc0a4
remove nx cache
Ansonhkg Sep 13, 2023
8683003
Feat/manual claim test (#213)
glitch003 Sep 13, 2023
be7ef16
Merge branch 'master' into feat/SDK-V3
glitch003 Sep 13, 2023
f9c51d7
built
glitch003 Sep 13, 2023
5425540
add check for sig properties before conversion
Sep 13, 2023
0e42adf
update config
Ansonhkg Sep 13, 2023
29b4f85
update config
Ansonhkg Sep 13, 2023
b0df9d8
Merge branch 'feat/SDK-V3' of https://github.com/LIT-Protocol/js-sdk …
Ansonhkg Sep 13, 2023
2b11ea6
feat: add UNKNOWN_SIGNATURE_ERROR
Ansonhkg Sep 13, 2023
1ad8753
updates for claim key comments and abstractions
Sep 13, 2023
4ff1f75
fix typescript errors with nodejs app
glitch003 Sep 13, 2023
805d41d
Feature/easier local node testing (#215)
glitch003 Sep 14, 2023
c898b8d
feat: script to enable/disable nx build cache
Ansonhkg Sep 14, 2023
e2f2649
chore: update text
Ansonhkg Sep 14, 2023
fc18bac
feat: add bun test script
Ansonhkg Sep 14, 2023
1369be5
chore: make test exit
Ansonhkg Sep 14, 2023
b83f15d
chore: bun test lit node client
Ansonhkg Sep 14, 2023
2799773
Update executeJs for claim processing from execution response
Sep 14, 2023
1379672
chage claim test
Sep 14, 2023
39c5474
add new error type
Sep 14, 2023
9cd5ef0
Merge branch 'feat/SDK-V3' of github.com:LIT-Protocol/js-sdk into fea…
Sep 14, 2023
daffa89
ref loop to map stmt
Sep 15, 2023
224da3f
add lit actions comment
Sep 15, 2023
c05f62b
add claim combiner test
Sep 15, 2023
986b7b2
update comments
Sep 15, 2023
4da3c5a
disallow webauthn authentication
Sep 15, 2023
e5197f7
add explicit return type
Sep 15, 2023
924431c
Merge branch 'feat/SDK-V3' of github.com:LIT-Protocol/js-sdk into fea…
glitch003 Sep 15, 2023
f1de98f
make cayenne use 3 nodes by default (#217)
glitch003 Sep 16, 2023
ae7bdc4
Merge branch 'feat/SDK-V3' of github.com:LIT-Protocol/js-sdk into fea…
Sep 16, 2023
69a5a8d
update key claim combiner and types
Sep 17, 2023
baa4ddf
Feature/fixes to manual test for local chronicle node (#218)
glitch003 Sep 19, 2023
f2380ff
add address conversion
Sep 19, 2023
f7f1485
Merge branch 'feat/SDK-V3' of github.com:LIT-Protocol/js-sdk into fea…
Sep 19, 2023
fdf3860
update api docs for v3
Sep 19, 2023
18bb5ac
format account addr to eip-55
Sep 19, 2023
4bd6d82
add casing normalize to eth sign message check
Sep 19, 2023
06ed9f9
bump version to 3.0.1
Sep 19, 2023
ac430f0
bump version 3.0.2
Sep 19, 2023
9a7ff53
update project id
Sep 20, 2023
0ee73d4
update api docs
Sep 20, 2023
942bd6b
add auth method scopes and pkp helper method
Sep 20, 2023
a690086
add pkp helper methods
Sep 20, 2023
8b5c7d9
Hash the toSign parameter before signing in tests (#220)
glitch003 Sep 21, 2023
c95dbd8
[Merge Branch] Feature/lit 1498 js sdk merge e2e nodejs branch into v…
Ansonhkg Sep 25, 2023
f13d30b
This is an empty commit
Ansonhkg Sep 25, 2023
51c6fd9
fix conflicts
Ansonhkg Sep 25, 2023
04d2385
[Merge Branch] Feature/lit 1498 js sdk merge e2e nodejs branch into v…
Ansonhkg Sep 25, 2023
b3221c3
Merge branch 'feat/SDK-V3' of https://github.com/LIT-Protocol/js-sdk …
Ansonhkg Sep 25, 2023
77c073d
test: all good. ready go publish 3.0.3
Ansonhkg Sep 25, 2023
cf06824
docs: update
Ansonhkg Sep 25, 2023
e6b3072
update contract-sdk
Sep 26, 2023
6af0b08
remove duplicate type file
Sep 26, 2023
b3450aa
update CHANGELOG
Sep 26, 2023
332a41a
fix auth client claim pubkey generator
Sep 29, 2023
423f59c
remove stale contract data
Sep 29, 2023
e755e16
fix logging and make user id check optional
Sep 29, 2023
b16b72c
error message log and action key id flag
Sep 29, 2023
c4268e8
Bump version 3.0.4
Sep 29, 2023
ace7dca
fix contracts-sdk & e2e tests
Ansonhkg Oct 3, 2023
bf15128
Merge branch 'master' of github.com:LIT-Protocol/js-sdk into feat/SDK-V3
Oct 3, 2023
0062123
fix typeo
Oct 3, 2023
0a31483
bump version 3.0.5
Oct 3, 2023
7bc1046
some fixes to make the manual tests work with node changes (#227)
glitch003 Oct 5, 2023
ca09b2f
update (#226)
debbly Oct 5, 2023
3999843
make alertWhenUnauthorized be false by default (#229)
glitch003 Oct 6, 2023
13e9a1c
update docs
Oct 9, 2023
ffbe3ee
Fix/controller auth method (#230)
Oct 10, 2023
c706e20
Feat: Validate boolean conditions in safeParams for Encryption (#231)
DashKash54 Oct 10, 2023
6b79825
Remove broken examples (#232)
debbly Oct 11, 2023
7130f30
Feature/lit 1598 js sdk v3 fix unable to use sessionsigs to pkpsign (…
Ansonhkg Oct 12, 2023
5f77586
feat: update bump script to include tag
Ansonhkg Oct 12, 2023
38368cf
Published version 3.0.6
Ansonhkg Oct 12, 2023
e1c5792
fix: Validate boolean Access Control Conditions (#235)
DashKash54 Oct 16, 2023
b02bab7
Fix/claim return (#237)
Oct 18, 2023
6654a33
Published version 3.0.11
Ansonhkg Oct 18, 2023
09db37c
Feature/lit 1697 js sdk fix combine shares when above threshold (#238)
Ansonhkg Oct 19, 2023
cb89c85
Update PKP social auth project to be on cayenne (#233)
debbly Oct 19, 2023
5f55f64
Add/claim props e2e (#239)
Oct 20, 2023
d1b7b06
fix: don't block if null (#240)
Ansonhkg Oct 20, 2023
88a5300
add auth method support to executeJs and helper methods (#243)
Oct 28, 2023
02cc9ba
publish version 3.0.15
Oct 28, 2023
8082417
Lit 1693/add explicit stytch authentication factors (#242)
Oct 30, 2023
6483d9b
Feature/lit 1799 fix req data mapping in js sdk (#244)
Nov 1, 2023
cc889de
Bump Version 3.0.16
Nov 1, 2023
2f520ff
Fix tests for providers
Nov 6, 2023
637f839
change check for auth to auth sig and session sig defined
Nov 6, 2023
ab7e268
update contract gen
Nov 6, 2023
5f98d8f
fmt
Nov 6, 2023
36d8989
add authMethod pass through to lit actions
Nov 6, 2023
025fde3
Fix/executeJS array normalizing (#249)
Nov 7, 2023
7acb068
feat: ability to add scope when minting (#251)
Ansonhkg Nov 9, 2023
ea8293d
Feature/lit 1765 js sdk provider not set in pkpethers (#250)
Ansonhkg Nov 9, 2023
76b3120
fix tests & interfaces
Ansonhkg Nov 9, 2023
c38840b
update e2e tests
Ansonhkg Nov 9, 2023
64fef0d
Published version 3.0.18@cayenne
Ansonhkg Nov 9, 2023
245aa76
mint by auth method (#253)
Ansonhkg Nov 10, 2023
076325b
feat: add logs to e2e nodejs tests
Ansonhkg Nov 10, 2023
669893f
Published version 3.0.19
Ansonhkg Nov 10, 2023
15ca56d
Feature/lit 1862 js sdk add a abstract getauthmethodid public static …
Ansonhkg Nov 10, 2023
6117496
Published version 3.0.20
Ansonhkg Nov 10, 2023
b062f20
fix: allowing custom args to be passed (#256)
Ansonhkg Nov 10, 2023
8f738cf
feat: update e2e tests
Ansonhkg Nov 10, 2023
cae11a2
update social demo app (#255)
Ansonhkg Nov 10, 2023
116e953
clean up demos
Ansonhkg Nov 12, 2023
529810d
publish and add a little readme thing
glitch003 Nov 14, 2023
6b9ace2
make a change to claim and mint to add in tx options (#257)
VoR0220 Nov 16, 2023
af53b65
fix encryptFileAndZipWithMetadata node (#246)
vmc-crossmint Nov 16, 2023
948f8c5
fix(nacl): remove require hack (#263)
ericlewis Nov 17, 2023
181e953
Published version 3.0.23
Ansonhkg Nov 17, 2023
00ba19f
feat: Add missing chains to Cayenne (#264)
DashKash54 Nov 17, 2023
d2ac084
Published version 3.0.24
Ansonhkg Nov 18, 2023
d5f0f3e
feat: Store blockhash from handshake + use it in SIWE (#248)
DashKash54 Nov 22, 2023
405a74f
fmt
Nov 25, 2023
73d45aa
fix types for provider call
Nov 25, 2023
612cda4
fmt
Nov 25, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

**Environment:**
- Lit SDK version (including the network (ie, "serrano") if different, and type - browser or backend)
- 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)
Expand Down
26 changes: 25 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,21 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

# [3.0.18] - 2023-11-10

- [feature/lit-1859-example-of-setting-permission-scopes](https://github.com/LIT-Protocol/js-sdk/pull/253)

# [3.0.0] - 2023-09-25

- [https://github.com/LIT-Protocol/js-sdk/pull/199](https://github.com/LIT-Protocol/js-sdk/pull/199)

# [2.2.39] - 2023-07-06

- [a0d88bc](https://github.com/LIT-Protocol/js-sdk/pull/167) Add [Backpack wallet 🎒](https://www.backpack.app/) support

# [2.2.33] - 2023-06-27

- [95c7258](https://github.com/LIT-Protocol/js-sdk/commit/95c725850de44e17f70a9365dc13e46f6bd841de) Removed wallet connect from lit-connect-modal temporarily
- [95c7258](https://github.com/LIT-Protocol/js-sdk/commit/95c725850de44e17f70a9365dc13e46f6bd841de) Removed wallet connect from lit-connect-modal temporarily

# [2.2.20] - 2023-05-31

Expand Down Expand Up @@ -66,3 +74,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `yarn bump:major` to update `major` version in `lerna.json` and `version.ts`
- Logs will now include version number eg. `[LitJsSdk v2.1.63]`
- `yarn tool:e2e` will now serve the react app and launch Cypress E2E testing automatically

## [3.0.0] - 2023-09-26

- [[#199](https://github.com/LIT-Protocol/js-sdk/pull/199)] `Cayenne` network upgrade bumps `packages` to `3.0.0`

### Added

- [#145](https://github.com/LIT-Protocol/js-sdk/pull/145) ACC-based JWT Signing (V2)
- `computePubKey` to `lit-core` which wraps an implementation in `crypto` for interfacing with a new wasm module for deriving HD public keys
- Addition of `claimKeyId` method on `lit-node-client-nodejs` for deriving a key from an `authMethod`
- Supports a new `MintCallBack` which is defined as `async (params: ClaimKeyResponse): Promise<ClaimKeyResponse>` which is called to route derived keys from a claim operation on chain.

### Updates

- Update `SIGTYPE` to include new ecdsa types
- [#107](https://github.com/LIT-Protocol/js-sdk/pull/107) Adds support for new ECDSA implementations for signature recombine
156 changes: 107 additions & 49 deletions README.md

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions apps/demo-contracts-sdk-react/README.md

This file was deleted.

39 changes: 0 additions & 39 deletions apps/demo-contracts-sdk-react/package.json

This file was deleted.

16 changes: 0 additions & 16 deletions apps/demo-contracts-sdk-react/project.json

This file was deleted.

43 changes: 0 additions & 43 deletions apps/demo-contracts-sdk-react/public/index.html

This file was deleted.

Binary file removed apps/demo-contracts-sdk-react/public/logo192.png
Binary file not shown.
Binary file removed apps/demo-contracts-sdk-react/public/logo512.png
Binary file not shown.
25 changes: 0 additions & 25 deletions apps/demo-contracts-sdk-react/public/manifest.json

This file was deleted.

3 changes: 0 additions & 3 deletions apps/demo-contracts-sdk-react/public/robots.txt

This file was deleted.

62 changes: 0 additions & 62 deletions apps/demo-contracts-sdk-react/src/App.css

This file was deleted.

Loading