Skip to content

added core package to implement user#79

Open
Ankush523 wants to merge 4 commits intomerokudao:mainfrom
Ankush523:main
Open

added core package to implement user#79
Ankush523 wants to merge 4 commits intomerokudao:mainfrom
Ankush523:main

Conversation

@Ankush523
Copy link

No description provided.

{
"name": "core",
"version": "1.0.0",
"description": "",
Copy link
Contributor

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".


abstract createUser(userInput: object | any): void;
abstract getUser(userInput: object | any): void;
abstract fetchChats(fetchChatInput: object | any): void;
Copy link
Contributor

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.

Copy link
Contributor

@r4881t r4881t left a 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

"dist/**/*"
],
"author": "",
"license": "ISC"
Copy link
Contributor

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
linkType: soft

"@dapp-sdk/core@workspace:packages/core":
version: 0.0.0-use.local
Copy link
Contributor

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?

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.

2 participants