You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation accurately reflects the current implementation of the Spaces class, ensuring developers have the correct information for integration.
Current Behaviour
I've been working on integrating Spaces into my DApp and encountered discrepancies between the provided documentation and the actual implementation. After expanding the Spaces class, I noticed that the parameters and objects differ from what is outlined in the documentation.
Reproduction steps
1. Follow the steps outlined in the [Spaces Integration Guide](https://github.com/ethereum-push-notification-service/push-sdk/tree/main/packages/restapi#to-create-a-space).
2. Expand the Spaces class as per the documentation.
3. Compare the parameters and objects in the documentation with the actual implementation.
Screenshots
Relevant Logs
TypeError: Cannot read properties of undefined (reading 'create') at initializeSpace (page.js:24:42)
After updating spaceOptions:
POST https://backend-staging.epns.io/apis/v2/chat/groups 400 (Bad Request)
page.js:23 [Error - API createGroupV2] {
"status": 400,
"errorCode": "00000000000",
"message": "Validation failed",
"details": {
"body": {
"source": "body",
"keys": [
"groupImage"
],
"message": "\"groupImage\" must be a string"
}
},
"timestamp": "2024-03-18T11:46:14.459Z"
}
page.js:23 [Push SDK] - API - Error - API createV2 -: ValidationError: Validation failed
at handleError (validationError.js:79:29)
at eval (createGroupV2.js:102:49)
at Generator.throw (<anonymous>)
at rejected (tslib.es6.mjs:153:63)
createV2.js:37 Uncaught (in promise) Error: [Push SDK] - API - Error - API createV2 -: ValidationError: Validation failed
at Object.eval (createV2.js:37:19)
at Generator.throw (<anonymous>)
at rejected (tslib.es6.mjs:153:63)
Dapp Env
Staging (staging.push.org)
Browsers
Chrome
The text was updated successfully, but these errors were encountered:
Hi @Gautam25Raj The current docs is not updated for Highlevel class implementation yet, the current API docs shows low level implementation only. The High level class docs should be out soon.
Expected Behaviour
The documentation accurately reflects the current implementation of the Spaces class, ensuring developers have the correct information for integration.
Current Behaviour
I've been working on integrating Spaces into my DApp and encountered discrepancies between the provided documentation and the actual implementation. After expanding the Spaces class, I noticed that the parameters and objects differ from what is outlined in the documentation.
Reproduction steps
Screenshots
Relevant Logs
Dapp Env
Staging (staging.push.org)
Browsers
Chrome
The text was updated successfully, but these errors were encountered: