-
Notifications
You must be signed in to change notification settings - Fork 30
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
added core package to implement user #79
base: main
Are you sure you want to change the base?
Conversation
packages/core/package.json
Outdated
{ | ||
"name": "core", | ||
"version": "1.0.0", | ||
"description": "", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add description
"The core components for dApp-SDK. These are required by almost every other package".
packages/core/src/users.ts
Outdated
|
||
abstract createUser(userInput: object | any): void; | ||
abstract getUser(userInput: object | any): void; | ||
abstract fetchChats(fetchChatInput: object | any): void; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These abstract functions are in the messaging class and not needed here. So the messaging-core would extend this "User" and have these functions defined.
Then the specific messaging package can extend on these functions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You will also need to bump up the messaging-push and messaging-interface versions
packages/core/package.json
Outdated
"dist/**/*" | ||
], | ||
"author": "", | ||
"license": "ISC" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MIT License
yarn.lock
Outdated
@@ -491,6 +491,12 @@ __metadata: | |||
languageName: unknown | |||
linkType: soft | |||
|
|||
"@dapp-sdk/core@workspace:packages/core": | |||
version: 0.0.0-use.local |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does it do? Can we use simply 1.0.0 as thats the version of the package?
No description provided.