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: make capacityTokenId optional #384

Merged

Conversation

Ansonhkg
Copy link
Collaborator

Description

Making capacityTokenId param optional to make delegating capacity credits easier

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • e2e
DEBUG=true NETWORK=manzano MINT_NEW=true yarn test:e2e:nodejs --filter=test-rli-from-lit-node-client-optional-capacity-token-id.mjs

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@Ansonhkg Ansonhkg mentioned this pull request Feb 26, 2024
5 tasks
@Ansonhkg Ansonhkg requested a review from glitch003 February 26, 2024 14:10
@FedericoAmura
Copy link
Contributor

Can we close this? Seems like it got replaced by other PRs

@Ansonhkg Ansonhkg merged commit a8ba384 into staging/3.2.2 Feb 27, 2024
1 of 4 checks passed
@Ansonhkg Ansonhkg deleted the feature/lit-2564-js-sdk-make-capacitytokenid-param-of branch February 27, 2024 01:25
Ansonhkg added a commit that referenced this pull request Feb 28, 2024
* init patch

* Feature/lit 2570 js sdk fix build (#387)

* feat: make capacityTokenId optional

* chore: add test

* fix: Conditionally include nft_id

* fix: replace nx executor to @nrwl/js:tsc

* fix: replace nx executor

* feat: migrated nx to 15.9.0

* feat: migration nx from 15.9.0 -> 16.10.0

* feat: migrate nx to 17.3.0

* fix: yarn:test:unit command

* chore: log cc nft token info

* fix: undefined typings in package.json

* remove old v0 errors from js sdk.  provide error details to the user (#385)

* remove old v0 errors from js sdk.  provide error details to the user

* building now seems to consistently work

* refactored error handling to make it cleaner

* Remove unused function

* okay also added requestId in a few places

* ran the linter

* fix: replace nx executor

* feat: add gitignore

---------

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

* feat: cache enabled

* chore: update .gitignore

* chore: enable parallel

* feat: make capacityTokenId optional (#384)

* feat: make capacityTokenId optional

* chore: add test

* fix: Conditionally include nft_id

* Update yarn.lock to match package.json changes

* fix: ReferenceError: crypto is not defined

* fix: ignore nx cache directory on linting

* fix: ignore tools directory on linting

* fix: linting

* fix: '
ReferenceError: require is not defined in ES module scope, you can use import instead'

* fix: lint

* [Release] 3.2.2

* chore: move to manual tests

---------

Co-authored-by: Chris Cassano <1285652+glitch003@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.

3 participants