2.0.0 • Published 1 year ago
@xmtp/content-type-group-updated v2.0.0
Group updated content type
This package provides an XMTP content type to support group updated messages.
Install the package
# npm
npm i @xmtp/content-type-group-updated
# yarn
yarn add @xmtp/content-type-group-updated
# pnpm
pnpm i @xmtp/content-type-group-updatedNotes
This content type is included by default in official XMTP SDKs.
Developing
Run yarn dev to build the content type and watch for changes, which will trigger a rebuild.
Testing
Before running unit tests, start the required Docker container at the root of this repository. For more info, see Running tests.
Useful commands
yarn build: Builds the content typeyarn clean: Removesnode_modules,dist, and.turbofoldersyarn dev: Builds the content type and watches for changes, which will trigger a rebuildyarn lint: Runs ESLintyarn test:setup: Starts a necessary docker container for testingyarn test:teardown: Stops docker container for testingyarn test: Runs all unit testsyarn typecheck: Runstsc