@madewithremy/admin 0.1.58 → 0.1.59

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/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ What changed in `@madewithremy/admin`, newest first, each version under its own
4
4
 
5
5
  Versions before 0.1.44 aren't recorded here.
6
6
 
7
+ ## 0.1.59
8
+
9
+ ### Changed behavior
10
+
11
+ - Secret values are write-only. `remy-admin secrets get` and `admin.secrets.get` are gone, and so is the api route behind them, so an older version's `get` answers 404. `secrets list` still says which environments have a value, and `secrets set` replaces one. An app's code still reads its secrets as environment variables. Check for: a script or method that read a value back through `get`, which now has to keep its own copy or be given the value another way.
12
+
7
13
  ## 0.1.58
8
14
 
9
15
  ### Changed behavior
package/dist/index.js CHANGED
@@ -3020,7 +3020,6 @@ function statsForMethod(ctx, methodId, params = {}) {
3020
3020
  var secrets_exports = {};
3021
3021
  __export(secrets_exports, {
3022
3022
  del: () => del2,
3023
- get: () => get11,
3024
3023
  list: () => list14,
3025
3024
  set: () => set2
3026
3025
  });
@@ -3031,13 +3030,6 @@ function list14(ctx) {
3031
3030
  `/_internal/v2/apps/${ctx.appId}/secrets`
3032
3031
  );
3033
3032
  }
3034
- function get11(ctx, key) {
3035
- return call(
3036
- ctx,
3037
- "GET",
3038
- `/_internal/v2/apps/${ctx.appId}/secrets/${seg(key)}`
3039
- );
3040
- }
3041
3033
  function set2(ctx, key, params) {
3042
3034
  const body = {};
3043
3035
  if ("devValue" in params) {