![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@tonomy/tonomy-id-sdk
Advanced tools
The Software Development Kit is used in the Tonomy ID ecosystems to interact with Tonomy identities and services.
The Software Development Kit is used in the Tonomy ID ecosystems to interact with Tonomy identities and services.
See https://docs.pangea.web4.world for documentation.
The SDK is written in typescript with jest to run tests.
Integration tests:
yarn run build
Build notes:
yarn run build:sdk
yarn run build:cli
argon2
package, which is not needed by SDK and should be moved to a devDependency if these softwares are ever separated.yarn start
This builds to /build
and runs the project in watch mode so any edits you save inside src
causes a rebuild to /build
.
To do a one-off build, use yarn run build
.
Tests individual class and function logic within the SDK.
yarn test:unit
Tests end-to-end functions across more than one service.
First run the blockchain or Tonomy Communication service locally.
yarn run test:setup
Then run the tests
yarn run test:integration
Tests the governance of the system. Can only be run once before a blockchain reset is required.
First run the blockchain or Tonomy Communication service locally.
yarn run test:setup
Then run the tests
yarn run test:governance
Make sure you install the Jest extension (recommended automatically when you open VS Code)
If you also want to do this with the integration tests then run yarn run test:setup
first
Then go to any test e.g. test/app.test.ts
and you can click ▶️ or right click and press "Debug test". You can also look at the Jest Test Explorer in the left-side activity bar.
yarn run cli
yarn run cli bootstrap
Environment variables are required to bootstrap the network. These values are provided by default in test and develpment environments but must be provided externally for non-dev environments:
TONOMY_OPS_PRIVATE_KEY
: the private key of the operations account that will be used for the tonomy@active account.TONOMY_BOARD_PUBLIC_KEYS
: the public keys (in JSON array format) of the network governance multi-signature account that controls governance operationsTONOMY_TEST_ACCOUNTS_PASSPHRASE
: the passphrase that will be used for the App store test user and demo app usersLinting is done with eslint
. Install the recommended VS Code plugin to see markers in your code.
yarn run lint
See errors.ts. All errors have a registered unique enumeration code.
Uses debug package. Use export DEBUG="tonomy*"
to see all debug logs.
FAQs
The Software Development Kit is used in the Tonomy ID ecosystems to interact with Tonomy identities and services.
The npm package @tonomy/tonomy-id-sdk receives a total of 547 weekly downloads. As such, @tonomy/tonomy-id-sdk popularity was classified as not popular.
We found that @tonomy/tonomy-id-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.