@budibase/frontend-core 2.27.5 → 2.27.6

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 +10 -0
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@budibase/frontend-core",
3
- "version": "2.27.5",
3
+ "version": "2.27.6",
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.27.5",
10
- "@budibase/shared-core": "2.27.5",
11
- "@budibase/types": "2.27.5",
9
+ "@budibase/bbui": "2.27.6",
10
+ "@budibase/shared-core": "2.27.6",
11
+ "@budibase/types": "2.27.6",
12
12
  "dayjs": "^1.10.8",
13
13
  "lodash": "4.17.21",
14
14
  "shortid": "2.2.15",
15
15
  "socket.io-client": "^4.6.1"
16
16
  },
17
- "gitHead": "e4db515ecf2c0a19cd188cf4d646946e903717b1"
17
+ "gitHead": "67671b9dfc8698315cb394a427266a4d184b0e26"
18
18
  }
package/src/api/user.js CHANGED
@@ -234,6 +234,16 @@ export const buildUserEndpoints = API => ({
234
234
  })
235
235
  },
236
236
 
237
+ /**
238
+ * Removes multiple user invites from Redis cache
239
+ */
240
+ removeUserInvites: async inviteCodes => {
241
+ return await API.post({
242
+ url: "/api/global/users/multi/invite/delete",
243
+ body: inviteCodes,
244
+ })
245
+ },
246
+
237
247
  /**
238
248
  * Accepts an invite to join the platform and creates a user.
239
249
  * @param inviteCode the invite code sent in the email