@budibase/frontend-core 3.13.28 → 3.14.0

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 +2 -2
  2. package/src/api/flags.ts +0 -11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@budibase/frontend-core",
3
- "version": "3.13.28",
3
+ "version": "3.14.0",
4
4
  "description": "Budibase frontend core libraries used in builder and client",
5
5
  "author": "Budibase",
6
6
  "license": "MPL-2.0",
@@ -17,5 +17,5 @@
17
17
  "shortid": "2.2.15",
18
18
  "socket.io-client": "^4.7.5"
19
19
  },
20
- "gitHead": "de8a462d540b26a2040f4c8059d0a2395234c628"
20
+ "gitHead": "7ff8f5fc9480931c373b86dd573882841dd290d4"
21
21
  }
package/src/api/flags.ts CHANGED
@@ -2,14 +2,12 @@ import {
2
2
  GetUserFlagsResponse,
3
3
  SetUserFlagRequest,
4
4
  SetUserFlagResponse,
5
- ToggleBetaFeatureResponse,
6
5
  } from "@budibase/types"
7
6
  import { BaseAPIClient } from "./types"
8
7
 
9
8
  export interface FlagEndpoints {
10
9
  getFlags: () => Promise<GetUserFlagsResponse>
11
10
  updateFlag: (flag: string, value: any) => Promise<SetUserFlagResponse>
12
- toggleUiFeature: (value: string) => Promise<ToggleBetaFeatureResponse>
13
11
  }
14
12
 
15
13
  export const buildFlagEndpoints = (API: BaseAPIClient): FlagEndpoints => ({
@@ -36,13 +34,4 @@ export const buildFlagEndpoints = (API: BaseAPIClient): FlagEndpoints => ({
36
34
  },
37
35
  })
38
36
  },
39
- /**
40
- * Allows us to experimentally toggle a beta UI feature through a cookie.
41
- * @param value the feature to toggle
42
- */
43
- toggleUiFeature: async value => {
44
- return await API.post({
45
- url: `/api/beta/${value}`,
46
- })
47
- },
48
37
  })