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

feat(unlock-js): add Unlock v13 and PublicLock v14 support #13196

Merged
merged 2 commits into from
Jan 11, 2024

Conversation

clemsos
Copy link
Member

@clemsos clemsos commented Jan 11, 2024

Description

This adds support Unlock v13 and PublicLock v14 to unlock-js

Issues

Fixes #
Refs #

Checklist:

  • 1 PR, 1 purpose: my Pull Request applies to a single purpose
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the docs to reflect my changes if applicable
  • I have added tests (and stories for frontend components) that prove my fix is effective or that my feature works
  • I have performed a self-review of my own code
  • If my code involves visual changes, I am adding applicable screenshots to this thread

Release Note Draft Snippet

@clemsos clemsos requested a review from julien51 January 11, 2024 10:27
@cla-bot cla-bot bot added the cla-signed label Jan 11, 2024
Comment on lines +15 to +18
'v4',
'v6',
'v7',
'v8',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should consider cleaning up these older versions... wdyt?

'v11',
'v12',
'v13',
]
const publicLockVersions = [
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here. I'd sayd anything that has not seen any activity in 2 years can be removed

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes will do in another PR

export default {
...v13,
version: 'v14',
PublicLock: abis.PublicLock.v14,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No function change?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we added a setExpirationKey but I wasn't sure we'll need it in unlockjs rn

@clemsos clemsos merged commit ad0ac3e into master Jan 11, 2024
12 checks passed
@clemsos clemsos deleted the unlock-js-upgrade-v13-v14 branch January 11, 2024 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants