@audius/sdk 2.0.3-beta.3 → 2.0.3-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@audius/sdk",
3
- "version": "2.0.3-beta.3",
3
+ "version": "2.0.3-beta.4",
4
4
  "audius": {
5
- "releaseSHA": "ac2f3f33f7f99e4d22588ffaf77a1e01bc4dbc15"
5
+ "releaseSHA": "42c56a1bf4cc52d52da7df738ace6822a91b0fce"
6
6
  },
7
7
  "description": "",
8
8
  "main": "dist/index.cjs.js",
@@ -427,6 +427,20 @@ export class ChatsApi
427
427
  })
428
428
  }
429
429
 
430
+ public async unblock(requestParameters: ChatBlockRequest) {
431
+ this.assertNotNullOrUndefined(
432
+ requestParameters.userId,
433
+ 'requestParameters.userId',
434
+ 'unblock'
435
+ )
436
+ return await this.sendRpc({
437
+ method: 'chat.unblock',
438
+ params: {
439
+ user_id: requestParameters.userId
440
+ }
441
+ })
442
+ }
443
+
430
444
  public async delete(requestParameters: ChatDeleteRequest) {
431
445
  this.assertNotNullOrUndefined(
432
446
  requestParameters.chatId,