@budibase/frontend-core 2.33.3 → 2.33.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.
Files changed (2) hide show
  1. package/package.json +5 -5
  2. package/src/api/user.js +5 -5
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@budibase/frontend-core",
3
- "version": "2.33.3",
3
+ "version": "2.33.4",
4
4
  "description": "Budibase frontend core libraries used in builder and client",
5
5
  "author": "Budibase",
6
6
  "license": "MPL-2.0",
7
7
  "svelte": "src/index.js",
8
8
  "dependencies": {
9
- "@budibase/bbui": "2.33.3",
10
- "@budibase/shared-core": "2.33.3",
11
- "@budibase/types": "2.33.3",
9
+ "@budibase/bbui": "2.33.4",
10
+ "@budibase/shared-core": "2.33.4",
11
+ "@budibase/types": "2.33.4",
12
12
  "dayjs": "^1.10.8",
13
13
  "lodash": "4.17.21",
14
14
  "shortid": "2.2.15",
15
15
  "socket.io-client": "^4.7.5"
16
16
  },
17
- "gitHead": "59d2531535e610f1ef961cb35e09bb1d477ff563"
17
+ "gitHead": "3fdac98d5137c43e5c8593f24a546338bc0ec36f"
18
18
  }
package/src/api/user.js CHANGED
@@ -122,14 +122,14 @@ export const buildUserEndpoints = API => ({
122
122
 
123
123
  /**
124
124
  * Deletes multiple users
125
- * @param userIds the ID of the user to delete
125
+ * @param users the ID/email pair of the user to delete
126
126
  */
127
- deleteUsers: async userIds => {
127
+ deleteUsers: async users => {
128
128
  const res = await API.post({
129
129
  url: `/api/global/users/bulk`,
130
130
  body: {
131
131
  delete: {
132
- userIds,
132
+ users,
133
133
  },
134
134
  },
135
135
  })
@@ -296,9 +296,9 @@ export const buildUserEndpoints = API => ({
296
296
  })
297
297
  },
298
298
 
299
- getTenantInfo: async ({ tenantId }) => {
299
+ getAccountHolder: async () => {
300
300
  return await API.get({
301
- url: `/api/global/tenant/${tenantId}`,
301
+ url: `/api/global/users/accountholder`,
302
302
  })
303
303
  },
304
304
  })