bdy 1.22.35-beta → 1.22.36-dev

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.22.35-beta",
4
+ "version": "1.22.36-dev",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -600,7 +600,7 @@ class ApiClient {
600
600
  async registerApp(name, redirectUrl) {
601
601
  return await this.request({
602
602
  method: 'POST',
603
- path: '/auth/register',
603
+ path: '/oauth2/register',
604
604
  body: {
605
605
  redirect_uris: [redirectUrl],
606
606
  client_name: name,
@@ -615,7 +615,7 @@ class ApiClient {
615
615
  async getApp(clientId) {
616
616
  return await this.request({
617
617
  method: 'GET',
618
- path: `/auth/register/${encodeURIComponent(clientId)}`,
618
+ path: `/oauth2/register/${encodeURIComponent(clientId)}`,
619
619
  headers: {
620
620
  authorization: `Bearer ${this.clientToken || ''}`,
621
621
  },
@@ -625,7 +625,7 @@ class ApiClient {
625
625
  async deleteApp(clientId) {
626
626
  return await this.request({
627
627
  method: 'DELETE',
628
- path: `/auth/register/${encodeURIComponent(clientId)}`,
628
+ path: `/oauth2/register/${encodeURIComponent(clientId)}`,
629
629
  headers: {
630
630
  authorization: `Bearer ${this.clientToken || ''}`,
631
631
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.22.35-beta",
4
+ "version": "1.22.36-dev",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "scripts": {