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

juno works nicely #68

Merged
merged 1 commit into from
Apr 4, 2023
Merged

juno works nicely #68

merged 1 commit into from
Apr 4, 2023

Conversation

glitch003
Copy link
Collaborator

No description provided.

@glitch003 glitch003 merged commit b99348a into master Apr 4, 2023
Ansonhkg added a commit that referenced this pull request Apr 4, 2023
* chore: Change logs for sessionSigs support to remaining functions (#64)

* Published version 2.1.104

* juno works nicely (#68)

* Feature/juno network (#69)

* juno works nicely

* published latest version 2.1.106

* Squashed commit of the following:

commit 849e2f2
Author: Ansonhkg <ansonox@gmail.com>
Date:   Tue Apr 4 14:16:42 2023 +0100

    fix: re-export disconnectWeb3

* Published version 2.1.107

* feat: e2e & unit tests passed

---------

Co-authored-by: Adarsh-Kumar28 <115020815+Adarsh-Kumar28@users.noreply.github.com>
Co-authored-by: Chris Cassano <1285652+glitch003@users.noreply.github.com>
Ansonhkg added a commit that referenced this pull request May 1, 2023
* hotfix: add sessionSigs as a field and use it in PKPWallet

* workflow: added dev:target watch mode

* fix: jest setup configs to polyfill

* feat: add pkp-cosmos

* script: add publish script for pkp

* feat: new library

* Published version 2.1.95 --pkp tag

* chore: update .gitignore

* feat: update dev tools to watch build in order

* feat: update gitignore

* feat: pkp-ethers to extend from pkp-base

* feat: test settings to send real tx

* refactor: rewrote uint8arrays to be compatible with specs.ts

* feat: unit8arrays test works

* feat: make test:e2e run on react only

* feat: add console.log test snippet

* fix: uint8arrayToString to cast arg as Uint8Array

* fix: use cosmos bundled sdk

* Published version 2.1.97 --pkp

* Published version 2.1.98 --pkp

* chore: add test cases to crypto

* feat: add cosmosBunbledSdk test

* feat: add draft pkp client

* feat: add pkp client

* feat: added some executeJs tests

* feat: add verify tool

* feat: add types to 3rd party libs & updated tests

* feat: add jsParams setter to PKP base

* WIP: eth_signTypedData

* chore: update types

* feat: new pkg with pkp auth helpers

* bump: published version 2.1.101 --dev

* fix: nanoid dependency

* bump: published version 2.1.103 --dev

* docs: readme

* docs: update

* docs: update readme

* fix: add webpack to react so it loads crypto

* feat: restructure pkp-cosmos

* gitignore update

* wip: update handler

* chore: add note

* fix: handler.mjs

* feat: add .spec.mjs tools

* feat: added some dev styling

* chore: update style

* feat: add ts json handlers

* Squashed commit of the following:

commit c285143
Author: Ansonhkg <ansonox@gmail.com>
Date:   Tue Apr 4 15:58:08 2023 +0100

    Published version 2.1.108 --dev

commit 58d507c
Author: Ansonhkg <ansonox@gmail.com>
Date:   Tue Apr 4 15:48:55 2023 +0100

    chore: update test

commit 94deb7b
Author: Ansonhkg <ansonox@gmail.com>
Date:   Tue Apr 4 15:46:25 2023 +0100

    feat: complete lit-pkp-sdk integration

commit 6d765b2
Author: Ansonhkg <ansonox@gmail.com>
Date:   Mon Apr 3 22:16:02 2023 +0100

    feat: sendtx test cases

commit 19c0b5e
Author: Ansonhkg <ansonox@gmail.com>
Date:   Mon Apr 3 16:10:23 2023 +0100

    feat: add ts json handlers

commit dac9af0
Author: Ansonhkg <ansonox@gmail.com>
Date:   Fri Mar 31 22:27:44 2023 +0100

    chore: update style

commit 73b08c4
Author: Ansonhkg <ansonox@gmail.com>
Date:   Fri Mar 31 22:26:20 2023 +0100

    feat: added some dev styling

commit 619acd2
Author: Ansonhkg <ansonox@gmail.com>
Date:   Fri Mar 31 22:16:33 2023 +0100

    feat: add .spec.mjs tools

commit 25558c5
Author: Ansonhkg <ansonox@gmail.com>
Date:   Fri Mar 31 20:34:10 2023 +0100

    fix: handler.mjs

commit 69ae254
Author: Ansonhkg <ansonox@gmail.com>
Date:   Fri Mar 31 19:55:54 2023 +0100

    chore: add note

commit a5ffc19
Author: Ansonhkg <ansonox@gmail.com>
Date:   Fri Mar 31 19:42:29 2023 +0100

    wip: update handler

commit f72eb13
Author: Ansonhkg <ansonox@gmail.com>
Date:   Fri Mar 31 17:45:47 2023 +0100

    gitignore update

commit 9ea014a
Author: Ansonhkg <ansonox@gmail.com>
Date:   Fri Mar 31 17:40:28 2023 +0100

    feat: restructure pkp-cosmos

commit 2a32099
Author: Ansonhkg <ansonox@gmail.com>
Date:   Fri Mar 31 17:35:21 2023 +0100

    fix: add webpack to react so it loads crypto

commit b0d0b9a
Author: Ansonhkg <ansonox@gmail.com>
Date:   Thu Mar 30 18:05:10 2023 +0100

    chore: update types

commit 2e680bf
Author: Ansonhkg <ansonox@gmail.com>
Date:   Thu Mar 30 17:56:24 2023 +0100

    WIP: eth_signTypedData

commit 3d08446
Author: Ansonhkg <ansonox@gmail.com>
Date:   Thu Mar 30 13:35:21 2023 +0100

    feat: add jsParams setter to PKP base

commit f4b7b01
Author: Ansonhkg <ansonox@gmail.com>
Date:   Thu Mar 30 13:16:30 2023 +0100

    feat: add types to 3rd party libs & updated tests

* Feat pkp client merge master (#71)

* chore: Change logs for sessionSigs support to remaining functions (#64)

* Published version 2.1.104

* juno works nicely (#68)

* Feature/juno network (#69)

* juno works nicely

* published latest version 2.1.106

* Squashed commit of the following:

commit 849e2f2
Author: Ansonhkg <ansonox@gmail.com>
Date:   Tue Apr 4 14:16:42 2023 +0100

    fix: re-export disconnectWeb3

* Published version 2.1.107

* feat: e2e & unit tests passed

---------

Co-authored-by: Adarsh-Kumar28 <115020815+Adarsh-Kumar28@users.noreply.github.com>
Co-authored-by: Chris Cassano <1285652+glitch003@users.noreply.github.com>

* feat: add sessionSigs helper in PKPBase

* refactor: make rpc optional on PKPBase, check for provider in PKPEthers

* feat: add demo-pkp-social-auth

* fix: type annotation

* fix: type annotation

* feat: added some test cases

* fix: siwe message optional domain

* feat: update PKPClient constructor & test cases

* feat: add msg & tx signing without rpc

* feat: test to send cosmos tx in pkpClient

* refactor: flatten wallet props, track sigs expiry, handle connect rpc

* Published version 2.1.110 --pkp

* fix: remove pkpPubKey

* [wip] update PKPBase props (#75)

* feat: add types to 3rd party libs & updated tests

* feat: add jsParams setter to PKP base

* WIP: eth_signTypedData

* chore: update types

* fix: add webpack to react so it loads crypto

* feat: restructure pkp-cosmos

* gitignore update

* wip: update handler

* chore: add note

* fix: handler.mjs

* feat: add .spec.mjs tools

* feat: added some dev styling

* chore: update style

* feat: add ts json handlers

* feat: add sessionSigs helper in PKPBase

* refactor: make rpc optional on PKPBase, check for provider in PKPEthers

* refactor: flatten wallet props, track sigs expiry, handle connect rpc

* fix: remove pkpPubKey

---------

Co-authored-by: Ansonhkg <ansonox@gmail.com>

* fix: remove yarn.lock, use env var

* feat: add session sigs wrapper, pass relay url to LitRelay

* chore: eslint

* temp: comment methods

* fix: types

* refactor: improve handling of provided keypair in getSessionKey

* feat: ensure parsed key pair is of correct type

* fix: consistent with throwing error

* fix: wrong property

* refactor: getSessionSigs wrapper in LitAuthClient and make expiration optional in signSessionKey prop, chore: remove unused funcs, types

* feat: update demo with new litauthclient and use new chronicle chain

* chore: update litauthclient init options in demo app

* docs: update readme

* fix: import TextEncoder in lit-auth-client spec

* feat: make relay api key optional in type interface

* bump: published version 2.1.120 --dev

* chore: update pkg in demo, clean up unused

* refactor: move auth, session, and relay logic into providers

* update: types

* refactor: one initProvider method, abstract authenticate method

* fix: initProvider return type, rename eth provider

* WIP: build works

* refactor: initProvider, provider options, tests, use dynamic import

* feat: turned off nx cloud

* fix: pkp-ethers test cases

* fix: pkp-client specs works

* fix: contracts-sdk spec works

* feat: use node16 moduleResolution to work with dynamic imports

* docs: readme

* fix: because of THIS, circular dependency error

* fix: uncomment some tests, docs

* feat: add extra test PKP for nonce won't get block

* demo: use published pkg

* fix: expiration not used

* fix: test cases finally f-ing passes

* feat: update pkp-ethers to use default rpc from constants

* feat: change test case order

* Feat/tx handler for test cases (#91)

* feat: add tx handler server to avoid nonce

* feat: launch server before unit tests

* feat: increase retries

* feat: use remote tx handling server instead

* chore: some notes on tx handler server

---------

Co-authored-by: sarahzdev <sarah.hg.zhang@gmail.com>
Co-authored-by: Adarsh-Kumar28 <115020815+Adarsh-Kumar28@users.noreply.github.com>
Co-authored-by: Chris Cassano <1285652+glitch003@users.noreply.github.com>
Co-authored-by: sarah z <15064710+sarahzdev@users.noreply.github.com>
Ansonhkg added a commit that referenced this pull request May 1, 2023
* hotfix: add sessionSigs as a field and use it in PKPWallet

* workflow: added dev:target watch mode

* fix: jest setup configs to polyfill

* feat: add pkp-cosmos

* script: add publish script for pkp

* feat: new library

* Published version 2.1.95 --pkp tag

* chore: update .gitignore

* feat: update dev tools to watch build in order

* feat: update gitignore

* feat: pkp-ethers to extend from pkp-base

* feat: test settings to send real tx

* refactor: rewrote uint8arrays to be compatible with specs.ts

* feat: unit8arrays test works

* feat: make test:e2e run on react only

* feat: add console.log test snippet

* fix: uint8arrayToString to cast arg as Uint8Array

* fix: use cosmos bundled sdk

* Published version 2.1.97 --pkp

* Published version 2.1.98 --pkp

* chore: add test cases to crypto

* feat: add cosmosBunbledSdk test

* feat: add draft pkp client

* feat: add pkp client

* feat: added some executeJs tests

* feat: add verify tool

* feat: add types to 3rd party libs & updated tests

* feat: add jsParams setter to PKP base

* WIP: eth_signTypedData

* chore: update types

* feat: new pkg with pkp auth helpers

* bump: published version 2.1.101 --dev

* fix: nanoid dependency

* bump: published version 2.1.103 --dev

* docs: readme

* docs: update

* docs: update readme

* fix: add webpack to react so it loads crypto

* feat: restructure pkp-cosmos

* gitignore update

* wip: update handler

* chore: add note

* fix: handler.mjs

* feat: add .spec.mjs tools

* feat: added some dev styling

* chore: update style

* feat: add ts json handlers

* Squashed commit of the following:

commit c285143
Author: Ansonhkg <ansonox@gmail.com>
Date:   Tue Apr 4 15:58:08 2023 +0100

    Published version 2.1.108 --dev

commit 58d507c
Author: Ansonhkg <ansonox@gmail.com>
Date:   Tue Apr 4 15:48:55 2023 +0100

    chore: update test

commit 94deb7b
Author: Ansonhkg <ansonox@gmail.com>
Date:   Tue Apr 4 15:46:25 2023 +0100

    feat: complete lit-pkp-sdk integration

commit 6d765b2
Author: Ansonhkg <ansonox@gmail.com>
Date:   Mon Apr 3 22:16:02 2023 +0100

    feat: sendtx test cases

commit 19c0b5e
Author: Ansonhkg <ansonox@gmail.com>
Date:   Mon Apr 3 16:10:23 2023 +0100

    feat: add ts json handlers

commit dac9af0
Author: Ansonhkg <ansonox@gmail.com>
Date:   Fri Mar 31 22:27:44 2023 +0100

    chore: update style

commit 73b08c4
Author: Ansonhkg <ansonox@gmail.com>
Date:   Fri Mar 31 22:26:20 2023 +0100

    feat: added some dev styling

commit 619acd2
Author: Ansonhkg <ansonox@gmail.com>
Date:   Fri Mar 31 22:16:33 2023 +0100

    feat: add .spec.mjs tools

commit 25558c5
Author: Ansonhkg <ansonox@gmail.com>
Date:   Fri Mar 31 20:34:10 2023 +0100

    fix: handler.mjs

commit 69ae254
Author: Ansonhkg <ansonox@gmail.com>
Date:   Fri Mar 31 19:55:54 2023 +0100

    chore: add note

commit a5ffc19
Author: Ansonhkg <ansonox@gmail.com>
Date:   Fri Mar 31 19:42:29 2023 +0100

    wip: update handler

commit f72eb13
Author: Ansonhkg <ansonox@gmail.com>
Date:   Fri Mar 31 17:45:47 2023 +0100

    gitignore update

commit 9ea014a
Author: Ansonhkg <ansonox@gmail.com>
Date:   Fri Mar 31 17:40:28 2023 +0100

    feat: restructure pkp-cosmos

commit 2a32099
Author: Ansonhkg <ansonox@gmail.com>
Date:   Fri Mar 31 17:35:21 2023 +0100

    fix: add webpack to react so it loads crypto

commit b0d0b9a
Author: Ansonhkg <ansonox@gmail.com>
Date:   Thu Mar 30 18:05:10 2023 +0100

    chore: update types

commit 2e680bf
Author: Ansonhkg <ansonox@gmail.com>
Date:   Thu Mar 30 17:56:24 2023 +0100

    WIP: eth_signTypedData

commit 3d08446
Author: Ansonhkg <ansonox@gmail.com>
Date:   Thu Mar 30 13:35:21 2023 +0100

    feat: add jsParams setter to PKP base

commit f4b7b01
Author: Ansonhkg <ansonox@gmail.com>
Date:   Thu Mar 30 13:16:30 2023 +0100

    feat: add types to 3rd party libs & updated tests

* Feat pkp client merge master (#71)

* chore: Change logs for sessionSigs support to remaining functions (#64)

* Published version 2.1.104

* juno works nicely (#68)

* Feature/juno network (#69)

* juno works nicely

* published latest version 2.1.106

* Squashed commit of the following:

commit 849e2f2
Author: Ansonhkg <ansonox@gmail.com>
Date:   Tue Apr 4 14:16:42 2023 +0100

    fix: re-export disconnectWeb3

* Published version 2.1.107

* feat: e2e & unit tests passed

---------

Co-authored-by: Adarsh-Kumar28 <115020815+Adarsh-Kumar28@users.noreply.github.com>
Co-authored-by: Chris Cassano <1285652+glitch003@users.noreply.github.com>

* feat: add sessionSigs helper in PKPBase

* refactor: make rpc optional on PKPBase, check for provider in PKPEthers

* feat: add demo-pkp-social-auth

* fix: type annotation

* fix: type annotation

* feat: added some test cases

* fix: siwe message optional domain

* feat: update PKPClient constructor & test cases

* feat: add msg & tx signing without rpc

* feat: test to send cosmos tx in pkpClient

* refactor: flatten wallet props, track sigs expiry, handle connect rpc

* Published version 2.1.110 --pkp

* fix: remove pkpPubKey

* [wip] update PKPBase props (#75)

* feat: add types to 3rd party libs & updated tests

* feat: add jsParams setter to PKP base

* WIP: eth_signTypedData

* chore: update types

* fix: add webpack to react so it loads crypto

* feat: restructure pkp-cosmos

* gitignore update

* wip: update handler

* chore: add note

* fix: handler.mjs

* feat: add .spec.mjs tools

* feat: added some dev styling

* chore: update style

* feat: add ts json handlers

* feat: add sessionSigs helper in PKPBase

* refactor: make rpc optional on PKPBase, check for provider in PKPEthers

* refactor: flatten wallet props, track sigs expiry, handle connect rpc

* fix: remove pkpPubKey

---------

Co-authored-by: Ansonhkg <ansonox@gmail.com>

* fix: remove yarn.lock, use env var

* feat: add session sigs wrapper, pass relay url to LitRelay

* chore: eslint

* temp: comment methods

* fix: types

* refactor: improve handling of provided keypair in getSessionKey

* feat: ensure parsed key pair is of correct type

* fix: consistent with throwing error

* fix: wrong property

* refactor: getSessionSigs wrapper in LitAuthClient and make expiration optional in signSessionKey prop, chore: remove unused funcs, types

* feat: update demo with new litauthclient and use new chronicle chain

* chore: update litauthclient init options in demo app

* docs: update readme

* fix: import TextEncoder in lit-auth-client spec

* feat: make relay api key optional in type interface

* bump: published version 2.1.120 --dev

* chore: update pkg in demo, clean up unused

* refactor: move auth, session, and relay logic into providers

* update: types

* refactor: one initProvider method, abstract authenticate method

* fix: initProvider return type, rename eth provider

* WIP: build works

* refactor: initProvider, provider options, tests, use dynamic import

* feat: turned off nx cloud

* fix: pkp-ethers test cases

* fix: pkp-client specs works

* fix: contracts-sdk spec works

* feat: use node16 moduleResolution to work with dynamic imports

* docs: readme

* fix: because of THIS, circular dependency error

* fix: uncomment some tests, docs

* feat: add extra test PKP for nonce won't get block

* demo: use published pkg

* fix: expiration not used

* fix: test cases finally f-ing passes

* feat: update pkp-ethers to use default rpc from constants

* feat: change test case order

* Feat/tx handler for test cases (#91)

* feat: add tx handler server to avoid nonce

* feat: launch server before unit tests

* feat: increase retries

* feat: use remote tx handling server instead

* chore: some notes on tx handler server

* feat: update contracts-sdk

---------

Co-authored-by: Ansonhkg <ansonox@gmail.com>
Co-authored-by: Adarsh-Kumar28 <115020815+Adarsh-Kumar28@users.noreply.github.com>
Co-authored-by: Chris Cassano <1285652+glitch003@users.noreply.github.com>
Ansonhkg added a commit that referenced this pull request May 30, 2023
* hotfix: add sessionSigs as a field and use it in PKPWallet

* workflow: added dev:target watch mode

* fix: jest setup configs to polyfill

* feat: add pkp-cosmos

* script: add publish script for pkp

* feat: new library

* Published version 2.1.95 --pkp tag

* chore: update .gitignore

* feat: update dev tools to watch build in order

* feat: update gitignore

* feat: pkp-ethers to extend from pkp-base

* feat: test settings to send real tx

* refactor: rewrote uint8arrays to be compatible with specs.ts

* feat: unit8arrays test works

* feat: make test:e2e run on react only

* feat: add console.log test snippet

* fix: uint8arrayToString to cast arg as Uint8Array

* fix: use cosmos bundled sdk

* Published version 2.1.97 --pkp

* Published version 2.1.98 --pkp

* chore: add test cases to crypto

* feat: add cosmosBunbledSdk test

* feat: add draft pkp client

* feat: add pkp client

* feat: added some executeJs tests

* feat: add verify tool

* feat: add types to 3rd party libs & updated tests

* feat: add jsParams setter to PKP base

* WIP: eth_signTypedData

* chore: update types

* feat: new pkg with pkp auth helpers

* bump: published version 2.1.101 --dev

* fix: nanoid dependency

* bump: published version 2.1.103 --dev

* docs: readme

* docs: update

* docs: update readme

* fix: add webpack to react so it loads crypto

* feat: restructure pkp-cosmos

* gitignore update

* wip: update handler

* chore: add note

* fix: handler.mjs

* feat: add .spec.mjs tools

* feat: added some dev styling

* chore: update style

* feat: add ts json handlers

* Squashed commit of the following:

commit c285143
Author: Ansonhkg <ansonox@gmail.com>
Date:   Tue Apr 4 15:58:08 2023 +0100

    Published version 2.1.108 --dev

commit 58d507c
Author: Ansonhkg <ansonox@gmail.com>
Date:   Tue Apr 4 15:48:55 2023 +0100

    chore: update test

commit 94deb7b
Author: Ansonhkg <ansonox@gmail.com>
Date:   Tue Apr 4 15:46:25 2023 +0100

    feat: complete lit-pkp-sdk integration

commit 6d765b2
Author: Ansonhkg <ansonox@gmail.com>
Date:   Mon Apr 3 22:16:02 2023 +0100

    feat: sendtx test cases

commit 19c0b5e
Author: Ansonhkg <ansonox@gmail.com>
Date:   Mon Apr 3 16:10:23 2023 +0100

    feat: add ts json handlers

commit dac9af0
Author: Ansonhkg <ansonox@gmail.com>
Date:   Fri Mar 31 22:27:44 2023 +0100

    chore: update style

commit 73b08c4
Author: Ansonhkg <ansonox@gmail.com>
Date:   Fri Mar 31 22:26:20 2023 +0100

    feat: added some dev styling

commit 619acd2
Author: Ansonhkg <ansonox@gmail.com>
Date:   Fri Mar 31 22:16:33 2023 +0100

    feat: add .spec.mjs tools

commit 25558c5
Author: Ansonhkg <ansonox@gmail.com>
Date:   Fri Mar 31 20:34:10 2023 +0100

    fix: handler.mjs

commit 69ae254
Author: Ansonhkg <ansonox@gmail.com>
Date:   Fri Mar 31 19:55:54 2023 +0100

    chore: add note

commit a5ffc19
Author: Ansonhkg <ansonox@gmail.com>
Date:   Fri Mar 31 19:42:29 2023 +0100

    wip: update handler

commit f72eb13
Author: Ansonhkg <ansonox@gmail.com>
Date:   Fri Mar 31 17:45:47 2023 +0100

    gitignore update

commit 9ea014a
Author: Ansonhkg <ansonox@gmail.com>
Date:   Fri Mar 31 17:40:28 2023 +0100

    feat: restructure pkp-cosmos

commit 2a32099
Author: Ansonhkg <ansonox@gmail.com>
Date:   Fri Mar 31 17:35:21 2023 +0100

    fix: add webpack to react so it loads crypto

commit b0d0b9a
Author: Ansonhkg <ansonox@gmail.com>
Date:   Thu Mar 30 18:05:10 2023 +0100

    chore: update types

commit 2e680bf
Author: Ansonhkg <ansonox@gmail.com>
Date:   Thu Mar 30 17:56:24 2023 +0100

    WIP: eth_signTypedData

commit 3d08446
Author: Ansonhkg <ansonox@gmail.com>
Date:   Thu Mar 30 13:35:21 2023 +0100

    feat: add jsParams setter to PKP base

commit f4b7b01
Author: Ansonhkg <ansonox@gmail.com>
Date:   Thu Mar 30 13:16:30 2023 +0100

    feat: add types to 3rd party libs & updated tests

* Feat pkp client merge master (#71)

* chore: Change logs for sessionSigs support to remaining functions (#64)

* Published version 2.1.104

* juno works nicely (#68)

* Feature/juno network (#69)

* juno works nicely

* published latest version 2.1.106

* Squashed commit of the following:

commit 849e2f2
Author: Ansonhkg <ansonox@gmail.com>
Date:   Tue Apr 4 14:16:42 2023 +0100

    fix: re-export disconnectWeb3

* Published version 2.1.107

* feat: e2e & unit tests passed

---------

Co-authored-by: Adarsh-Kumar28 <115020815+Adarsh-Kumar28@users.noreply.github.com>
Co-authored-by: Chris Cassano <1285652+glitch003@users.noreply.github.com>

* feat: add sessionSigs helper in PKPBase

* refactor: make rpc optional on PKPBase, check for provider in PKPEthers

* feat: add demo-pkp-social-auth

* fix: type annotation

* fix: type annotation

* feat: added some test cases

* fix: siwe message optional domain

* feat: update PKPClient constructor & test cases

* feat: add msg & tx signing without rpc

* feat: test to send cosmos tx in pkpClient

* refactor: flatten wallet props, track sigs expiry, handle connect rpc

* Published version 2.1.110 --pkp

* fix: remove pkpPubKey

* [wip] update PKPBase props (#75)

* feat: add types to 3rd party libs & updated tests

* feat: add jsParams setter to PKP base

* WIP: eth_signTypedData

* chore: update types

* fix: add webpack to react so it loads crypto

* feat: restructure pkp-cosmos

* gitignore update

* wip: update handler

* chore: add note

* fix: handler.mjs

* feat: add .spec.mjs tools

* feat: added some dev styling

* chore: update style

* feat: add ts json handlers

* feat: add sessionSigs helper in PKPBase

* refactor: make rpc optional on PKPBase, check for provider in PKPEthers

* refactor: flatten wallet props, track sigs expiry, handle connect rpc

* fix: remove pkpPubKey

---------

Co-authored-by: Ansonhkg <ansonox@gmail.com>

* fix: remove yarn.lock, use env var

* feat: add session sigs wrapper, pass relay url to LitRelay

* chore: eslint

* temp: comment methods

* fix: types

* refactor: improve handling of provided keypair in getSessionKey

* feat: ensure parsed key pair is of correct type

* fix: consistent with throwing error

* fix: wrong property

* refactor: getSessionSigs wrapper in LitAuthClient and make expiration optional in signSessionKey prop, chore: remove unused funcs, types

* feat: update demo with new litauthclient and use new chronicle chain

* chore: update litauthclient init options in demo app

* docs: update readme

* fix: import TextEncoder in lit-auth-client spec

* feat: make relay api key optional in type interface

* bump: published version 2.1.120 --dev

* chore: update pkg in demo, clean up unused

* refactor: move auth, session, and relay logic into providers

* update: types

* refactor: one initProvider method, abstract authenticate method

* fix: initProvider return type, rename eth provider

* WIP: build works

* refactor: initProvider, provider options, tests, use dynamic import

* feat: turned off nx cloud

* fix: pkp-ethers test cases

* fix: pkp-client specs works

* fix: contracts-sdk spec works

* feat: use node16 moduleResolution to work with dynamic imports

* docs: readme

* fix: because of THIS, circular dependency error

* fix: uncomment some tests, docs

* feat: add extra test PKP for nonce won't get block

* demo: use published pkg

* fix: expiration not used

* fix: test cases finally f-ing passes

* feat: update pkp-ethers to use default rpc from constants

* feat: change test case order

* Feat/tx handler for test cases (#91)

* feat: add tx handler server to avoid nonce

* feat: launch server before unit tests

* feat: increase retries

* feat: use remote tx handling server instead

* chore: some notes on tx handler server

* feat: update contracts-sdk

* Feature/lit 293 add registration for otp auth method (#85)

* add otp type as authmethod type

* implement basic otp auth functionality (wip)

* changes to otp server url configuration

* fix url builder

* update request to otp server

* refactor: move auth, session, and relay logic into providers

* update: types

* updates for conforming to `AuthMethod` type.

* refactor: one initProvider method, abstract authenticate method

* fix: initProvider return type, rename eth provider

* refactor: initProvider, provider options, tests, use dynamic import

* feat: use node16 moduleResolution to work with dynamic imports

* docs: readme

* fix: uncomment some tests, docs

* demo: use published pkg

* add otp for auth method pkp fetch

* updates for new provider implementation

* removed demo app

* update comment timestamp

* build tag update

* build tag update

* fix merge error

* allow otp configuration options to be passed from the lit-auth-client instance

* allow undefined litOtpOptions

* fix merge errors

* add jsdoc

* addition jsdoc update

---------

Co-authored-by: sarahzdev <sarah.hg.zhang@gmail.com>
Co-authored-by: sarah z <15064710+sarahzdev@users.noreply.github.com>

* add demo

* add demo to workspace

* fix auth client from merge

* updates to otp provider

* add type for send otp response body

* update verification api url

* fix merge errors

* update demo with new session capabilities

* update demo logic

* rename demo

---------

Signed-off-by: Anson <ansonox@gmail.com>
Co-authored-by: sarahzdev <sarah.hg.zhang@gmail.com>
Co-authored-by: Ansonhkg <ansonox@gmail.com>
Co-authored-by: Adarsh-Kumar28 <115020815+Adarsh-Kumar28@users.noreply.github.com>
Co-authored-by: Chris Cassano <1285652+glitch003@users.noreply.github.com>
Co-authored-by: sarah z <15064710+sarahzdev@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant