@voltro/plugin-releases 0.84.0 → 0.85.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.
@@ -4,16 +4,13 @@ import { defineMutation as r, defineQuery as i } from "@voltro/protocol";
4
4
  //#region src/names.ts
5
5
  var a = "_voltro_release_apps", o = "_voltro_release_channels", s = "_voltro_releases", c = "_voltro_release_artifacts", l = "_voltro_release_events", u = "@voltro/plugin-releases", d = "releases:manage", f = n.optional(n.Struct({
6
6
  id: n.String,
7
- revision: n.Number.pipe(n.int(), n.nonNegative())
7
+ revision: n.Number.pipe(n.check(n.isInt()), n.check(n.isGreaterThanOrEqualTo(0)))
8
8
  })), p = n.Struct({
9
9
  app: n.String,
10
10
  channel: n.String,
11
11
  latestVersion: n.NullOr(n.String),
12
12
  minSupportedVersion: n.NullOr(n.String),
13
- killSwitches: n.Record({
14
- key: n.String,
15
- value: n.Array(n.String)
16
- }),
13
+ killSwitches: n.Record(n.String, n.Array(n.String)),
17
14
  rolloutPercent: n.Number,
18
15
  rolloutSalt: n.NullOr(n.String),
19
16
  cohorts: n.NullOr(n.Array(n.String))
@@ -46,8 +43,20 @@ var a = "_voltro_release_apps", o = "_voltro_release_channels", s = "_voltro_rel
46
43
  name: "releases.registerApp",
47
44
  input: n.Struct({
48
45
  app: n.String,
49
- platform: n.Literal("web", "ios", "android", "macos", "windows", "linux"),
50
- shell: n.Literal("pwa", "expo", "tauri", "electron"),
46
+ platform: n.Literals([
47
+ "web",
48
+ "ios",
49
+ "android",
50
+ "macos",
51
+ "windows",
52
+ "linux"
53
+ ]),
54
+ shell: n.Literals([
55
+ "pwa",
56
+ "expo",
57
+ "tauri",
58
+ "electron"
59
+ ]),
51
60
  bundleId: n.optional(n.String),
52
61
  updaterPublicKey: n.optional(n.String),
53
62
  runtimeVersion: n.optional(n.String),
@@ -71,7 +80,7 @@ var a = "_voltro_release_apps", o = "_voltro_release_channels", s = "_voltro_rel
71
80
  cohorts: n.optional(n.Array(n.String))
72
81
  }),
73
82
  output: n.Struct({ id: n.String }),
74
- error: n.Union(t, e),
83
+ error: n.Union([t, e]),
75
84
  guards: [{ scope: d }]
76
85
  }), y = r({
77
86
  name: "releases.upload",
@@ -89,7 +98,7 @@ var a = "_voltro_release_apps", o = "_voltro_release_channels", s = "_voltro_rel
89
98
  contentType: n.optional(n.String)
90
99
  }),
91
100
  output: n.Struct({ id: n.String }),
92
- error: n.Union(t, e),
101
+ error: n.Union([t, e]),
93
102
  guards: [{ scope: d }]
94
103
  }), b = r({
95
104
  name: "releases.promote",
@@ -98,28 +107,28 @@ var a = "_voltro_release_apps", o = "_voltro_release_channels", s = "_voltro_rel
98
107
  app: n.String,
99
108
  version: n.String,
100
109
  to: n.String,
101
- rolloutPercent: n.optional(n.Number.pipe(n.int()))
110
+ rolloutPercent: n.optional(n.Number.pipe(n.check(n.isInt())))
102
111
  }),
103
112
  output: n.Struct({
104
113
  channel: n.String,
105
114
  version: n.String,
106
115
  rolloutPercent: n.Number
107
116
  }),
108
- error: n.Union(t, e),
117
+ error: n.Union([t, e]),
109
118
  guards: [{ scope: d }]
110
119
  }), x = r({
111
120
  name: "releases.rollout",
112
121
  input: n.Struct({
113
122
  app: n.String,
114
123
  channel: n.String,
115
- percent: n.Number.pipe(n.int()),
124
+ percent: n.Number.pipe(n.check(n.isInt())),
116
125
  expectedTarget: f
117
126
  }),
118
127
  output: n.Struct({
119
128
  version: n.String,
120
129
  rolloutPercent: n.Number
121
130
  }),
122
- error: n.Union(t, e),
131
+ error: n.Union([t, e]),
123
132
  guards: [{ scope: d }]
124
133
  }), S = r({
125
134
  name: "releases.rollback",
@@ -130,7 +139,7 @@ var a = "_voltro_release_apps", o = "_voltro_release_channels", s = "_voltro_rel
130
139
  expectedTarget: f
131
140
  }),
132
141
  output: n.Struct({ version: n.NullOr(n.String) }),
133
- error: n.Union(t, e),
142
+ error: n.Union([t, e]),
134
143
  guards: [{ scope: d }]
135
144
  }), C = r({
136
145
  name: "releases.setPolicy",
@@ -139,14 +148,11 @@ var a = "_voltro_release_apps", o = "_voltro_release_channels", s = "_voltro_rel
139
148
  app: n.String,
140
149
  channel: n.String,
141
150
  minSupportedVersion: n.optional(n.NullOr(n.String)),
142
- killSwitches: n.optional(n.Record({
143
- key: n.String,
144
- value: n.Array(n.String)
145
- })),
151
+ killSwitches: n.optional(n.Record(n.String, n.Array(n.String))),
146
152
  reason: n.String
147
153
  }),
148
154
  output: p,
149
- error: n.Union(t, e),
155
+ error: n.Union([t, e]),
150
156
  guards: [{ scope: d }]
151
157
  }), w = [
152
158
  {
package/dist/rpc.d.ts CHANGED
@@ -2,117 +2,115 @@ import { MutationProcedureDescriptor } from '@voltro/protocol';
2
2
  import { PluginRpcClientDescriptor } from '@voltro/protocol';
3
3
  import { QueryProcedureDescriptor } from '@voltro/protocol';
4
4
  import { Schema } from 'effect';
5
+ import { YieldableError } from 'effect/Cause';
5
6
 
6
7
  export declare const BASE_NAME = "@voltro/plugin-releases";
7
8
 
8
9
  export declare const createDescriptor: MutationProcedureDescriptor<"releases.create", Schema.Struct<{
9
- expectedTarget: Schema.optional<Schema.Struct<{
10
- id: typeof Schema.String;
11
- revision: Schema.filter<Schema.filter<typeof Schema.Number>>;
10
+ readonly expectedTarget: Schema.optional<Schema.Struct<{
11
+ readonly id: Schema.String;
12
+ readonly revision: Schema.Number;
12
13
  }>>;
13
- app: typeof Schema.String;
14
- channel: typeof Schema.String;
15
- version: typeof Schema.String;
16
- buildId: Schema.optional<typeof Schema.String>;
17
- notes: Schema.optional<typeof Schema.String>;
18
- cohorts: Schema.optional<Schema.Array$<typeof Schema.String>>;
14
+ readonly app: Schema.String;
15
+ readonly channel: Schema.String;
16
+ readonly version: Schema.String;
17
+ readonly buildId: Schema.optional<Schema.String>;
18
+ readonly notes: Schema.optional<Schema.String>;
19
+ readonly cohorts: Schema.optional<Schema.$Array<Schema.String>>;
19
20
  }>, Schema.Struct<{
20
- id: typeof Schema.String;
21
- }>, Schema.Union<[typeof ReleaseRefused, typeof ReleaseNotFound]>>;
21
+ readonly id: Schema.String;
22
+ }>, Schema.Union<readonly [typeof ReleaseRefused, typeof ReleaseNotFound]>>;
22
23
 
23
24
  export declare const listDescriptor: QueryProcedureDescriptor<"releases.list", Schema.Struct<{
24
- app: typeof Schema.String;
25
- }>, Schema.Array$<Schema.Struct<{
26
- id: typeof Schema.String;
27
- version: typeof Schema.String;
28
- buildId: Schema.NullOr<typeof Schema.String>;
29
- state: typeof Schema.String;
30
- rolloutPercent: typeof Schema.Number;
31
- channel: typeof Schema.String;
32
- createdAt: typeof Schema.String;
33
- artifacts: typeof Schema.Number;
34
- signed: typeof Schema.Boolean;
35
- }>>, typeof Schema.Never>;
25
+ readonly app: Schema.String;
26
+ }>, Schema.$Array<Schema.Struct<{
27
+ readonly id: Schema.String;
28
+ readonly version: Schema.String;
29
+ readonly buildId: Schema.NullOr<Schema.String>;
30
+ readonly state: Schema.String;
31
+ readonly rolloutPercent: Schema.Number;
32
+ readonly channel: Schema.String;
33
+ readonly createdAt: Schema.String;
34
+ readonly artifacts: Schema.Number;
35
+ readonly signed: Schema.Boolean;
36
+ }>>, Schema.Never>;
36
37
 
37
38
  /** The reactive policy every client subscribes to. Table-sourced, so a
38
39
  * promote, rollout change or policy edit reaches every live client. */
39
40
  export declare const policyDescriptor: QueryProcedureDescriptor<"releases.policy", Schema.Struct<{
40
- app: typeof Schema.String;
41
- channel: typeof Schema.String;
41
+ readonly app: Schema.String;
42
+ readonly channel: Schema.String;
42
43
  }>, Schema.Struct<{
43
- app: typeof Schema.String;
44
- channel: typeof Schema.String;
45
- latestVersion: Schema.NullOr<typeof Schema.String>;
46
- minSupportedVersion: Schema.NullOr<typeof Schema.String>;
47
- killSwitches: Schema.Record$<typeof Schema.String, Schema.Array$<typeof Schema.String>>;
48
- rolloutPercent: typeof Schema.Number;
49
- rolloutSalt: Schema.NullOr<typeof Schema.String>;
50
- cohorts: Schema.NullOr<Schema.Array$<typeof Schema.String>>;
51
- }>, typeof Schema.Never>;
44
+ readonly app: Schema.String;
45
+ readonly channel: Schema.String;
46
+ readonly latestVersion: Schema.NullOr<Schema.String>;
47
+ readonly minSupportedVersion: Schema.NullOr<Schema.String>;
48
+ readonly killSwitches: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
49
+ readonly rolloutPercent: Schema.Number;
50
+ readonly rolloutSalt: Schema.NullOr<Schema.String>;
51
+ readonly cohorts: Schema.NullOr<Schema.$Array<Schema.String>>;
52
+ }>, Schema.Never>;
52
53
 
53
54
  export declare const PolicySchema: Schema.Struct<{
54
- app: typeof Schema.String;
55
- channel: typeof Schema.String;
56
- latestVersion: Schema.NullOr<typeof Schema.String>;
57
- minSupportedVersion: Schema.NullOr<typeof Schema.String>;
58
- killSwitches: Schema.Record$<typeof Schema.String, Schema.Array$<typeof Schema.String>>;
59
- rolloutPercent: typeof Schema.Number;
60
- rolloutSalt: Schema.NullOr<typeof Schema.String>;
61
- cohorts: Schema.NullOr<Schema.Array$<typeof Schema.String>>;
55
+ readonly app: Schema.String;
56
+ readonly channel: Schema.String;
57
+ readonly latestVersion: Schema.NullOr<Schema.String>;
58
+ readonly minSupportedVersion: Schema.NullOr<Schema.String>;
59
+ readonly killSwitches: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
60
+ readonly rolloutPercent: Schema.Number;
61
+ readonly rolloutSalt: Schema.NullOr<Schema.String>;
62
+ readonly cohorts: Schema.NullOr<Schema.$Array<Schema.String>>;
62
63
  }>;
63
64
 
64
65
  export declare type PolicyWire = typeof PolicySchema.Type;
65
66
 
66
67
  export declare const promoteDescriptor: MutationProcedureDescriptor<"releases.promote", Schema.Struct<{
67
- expectedTarget: Schema.optional<Schema.Struct<{
68
- id: typeof Schema.String;
69
- revision: Schema.filter<Schema.filter<typeof Schema.Number>>;
68
+ readonly expectedTarget: Schema.optional<Schema.Struct<{
69
+ readonly id: Schema.String;
70
+ readonly revision: Schema.Number;
70
71
  }>>;
71
- app: typeof Schema.String;
72
- version: typeof Schema.String;
73
- to: typeof Schema.String;
74
- rolloutPercent: Schema.optional<Schema.filter<typeof Schema.Number>>;
72
+ readonly app: Schema.String;
73
+ readonly version: Schema.String;
74
+ readonly to: Schema.String;
75
+ readonly rolloutPercent: Schema.optional<Schema.Number>;
75
76
  }>, Schema.Struct<{
76
- channel: typeof Schema.String;
77
- version: typeof Schema.String;
78
- rolloutPercent: typeof Schema.Number;
79
- }>, Schema.Union<[typeof ReleaseRefused, typeof ReleaseNotFound]>>;
77
+ readonly channel: Schema.String;
78
+ readonly version: Schema.String;
79
+ readonly rolloutPercent: Schema.Number;
80
+ }>, Schema.Union<readonly [typeof ReleaseRefused, typeof ReleaseNotFound]>>;
80
81
 
81
82
  /** Register an app target at runtime — what a hosted feed (one api serving
82
83
  * many projects' apps) needs, where `apps:` in the plugin's config cannot
83
84
  * know them. Idempotent: a target that exists answers with its id. */
84
85
  export declare const registerAppDescriptor: MutationProcedureDescriptor<"releases.registerApp", Schema.Struct<{
85
- app: typeof Schema.String;
86
- platform: Schema.Literal<["web", "ios", "android", "macos", "windows", "linux"]>;
87
- shell: Schema.Literal<["pwa", "expo", "tauri", "electron"]>;
88
- bundleId: Schema.optional<typeof Schema.String>;
89
- updaterPublicKey: Schema.optional<typeof Schema.String>;
90
- runtimeVersion: Schema.optional<typeof Schema.String>;
91
- channels: Schema.optional<Schema.Array$<typeof Schema.String>>;
86
+ readonly app: Schema.String;
87
+ readonly platform: Schema.Literals<readonly ["web", "ios", "android", "macos", "windows", "linux"]>;
88
+ readonly shell: Schema.Literals<readonly ["pwa", "expo", "tauri", "electron"]>;
89
+ readonly bundleId: Schema.optional<Schema.String>;
90
+ readonly updaterPublicKey: Schema.optional<Schema.String>;
91
+ readonly runtimeVersion: Schema.optional<Schema.String>;
92
+ readonly channels: Schema.optional<Schema.$Array<Schema.String>>;
92
93
  }>, Schema.Struct<{
93
- id: typeof Schema.String;
94
- created: typeof Schema.Boolean;
94
+ readonly id: Schema.String;
95
+ readonly created: Schema.Boolean;
95
96
  }>, typeof ReleaseRefused>;
96
97
 
97
98
  declare class ReleaseNotFound extends ReleaseNotFound_base {
98
99
  }
99
100
 
100
- declare const ReleaseNotFound_base: Schema.TaggedErrorClass<ReleaseNotFound, "ReleaseNotFound", {
101
- readonly _tag: Schema.tag<"ReleaseNotFound">;
102
- } & {
103
- app: typeof Schema.String;
104
- version: Schema.optional<typeof Schema.String>;
105
- channel: Schema.optional<typeof Schema.String>;
106
- }>;
101
+ declare const ReleaseNotFound_base: Schema.Class<ReleaseNotFound, Schema.TaggedStruct<"ReleaseNotFound", {
102
+ readonly app: Schema.String;
103
+ readonly version: Schema.optional<Schema.String>;
104
+ readonly channel: Schema.optional<Schema.String>;
105
+ }>, YieldableError>;
107
106
 
108
107
  declare class ReleaseRefused extends ReleaseRefused_base {
108
+ get message(): string;
109
109
  }
110
110
 
111
- declare const ReleaseRefused_base: Schema.TaggedErrorClass<ReleaseRefused, "ReleaseRefused", {
112
- readonly _tag: Schema.tag<"ReleaseRefused">;
113
- } & {
114
- reason: typeof Schema.String;
115
- }>;
111
+ declare const ReleaseRefused_base: Schema.Class<ReleaseRefused, Schema.TaggedStruct<"ReleaseRefused", {
112
+ readonly reason: Schema.String;
113
+ }>, YieldableError>;
116
114
 
117
115
  /** The scope that promotes, rolls out, rolls back and changes policy. */
118
116
  export declare const RELEASES_MANAGE_SCOPE = "releases:manage";
@@ -120,80 +118,80 @@ export declare const RELEASES_MANAGE_SCOPE = "releases:manage";
120
118
  export declare const releasesRpcClientImports: ReadonlyArray<PluginRpcClientDescriptor>;
121
119
 
122
120
  export declare const ReleaseSummarySchema: Schema.Struct<{
123
- id: typeof Schema.String;
124
- version: typeof Schema.String;
125
- buildId: Schema.NullOr<typeof Schema.String>;
126
- state: typeof Schema.String;
127
- rolloutPercent: typeof Schema.Number;
128
- channel: typeof Schema.String;
129
- createdAt: typeof Schema.String;
130
- artifacts: typeof Schema.Number;
131
- signed: typeof Schema.Boolean;
121
+ readonly id: Schema.String;
122
+ readonly version: Schema.String;
123
+ readonly buildId: Schema.NullOr<Schema.String>;
124
+ readonly state: Schema.String;
125
+ readonly rolloutPercent: Schema.Number;
126
+ readonly channel: Schema.String;
127
+ readonly createdAt: Schema.String;
128
+ readonly artifacts: Schema.Number;
129
+ readonly signed: Schema.Boolean;
132
130
  }>;
133
131
 
134
132
  export declare const rollbackDescriptor: MutationProcedureDescriptor<"releases.rollback", Schema.Struct<{
135
- app: typeof Schema.String;
136
- channel: typeof Schema.String;
137
- reason: typeof Schema.String;
138
- expectedTarget: Schema.optional<Schema.Struct<{
139
- id: typeof Schema.String;
140
- revision: Schema.filter<Schema.filter<typeof Schema.Number>>;
133
+ readonly app: Schema.String;
134
+ readonly channel: Schema.String;
135
+ readonly reason: Schema.String;
136
+ readonly expectedTarget: Schema.optional<Schema.Struct<{
137
+ readonly id: Schema.String;
138
+ readonly revision: Schema.Number;
141
139
  }>>;
142
140
  }>, Schema.Struct<{
143
- version: Schema.NullOr<typeof Schema.String>;
144
- }>, Schema.Union<[typeof ReleaseRefused, typeof ReleaseNotFound]>>;
141
+ readonly version: Schema.NullOr<Schema.String>;
142
+ }>, Schema.Union<readonly [typeof ReleaseRefused, typeof ReleaseNotFound]>>;
145
143
 
146
144
  export declare const rolloutDescriptor: MutationProcedureDescriptor<"releases.rollout", Schema.Struct<{
147
- app: typeof Schema.String;
148
- channel: typeof Schema.String;
149
- percent: Schema.filter<typeof Schema.Number>;
150
- expectedTarget: Schema.optional<Schema.Struct<{
151
- id: typeof Schema.String;
152
- revision: Schema.filter<Schema.filter<typeof Schema.Number>>;
145
+ readonly app: Schema.String;
146
+ readonly channel: Schema.String;
147
+ readonly percent: Schema.Number;
148
+ readonly expectedTarget: Schema.optional<Schema.Struct<{
149
+ readonly id: Schema.String;
150
+ readonly revision: Schema.Number;
153
151
  }>>;
154
152
  }>, Schema.Struct<{
155
- version: typeof Schema.String;
156
- rolloutPercent: typeof Schema.Number;
157
- }>, Schema.Union<[typeof ReleaseRefused, typeof ReleaseNotFound]>>;
153
+ readonly version: Schema.String;
154
+ readonly rolloutPercent: Schema.Number;
155
+ }>, Schema.Union<readonly [typeof ReleaseRefused, typeof ReleaseNotFound]>>;
158
156
 
159
157
  export declare const setPolicyDescriptor: MutationProcedureDescriptor<"releases.setPolicy", Schema.Struct<{
160
- expectedTarget: Schema.optional<Schema.Struct<{
161
- id: typeof Schema.String;
162
- revision: Schema.filter<Schema.filter<typeof Schema.Number>>;
158
+ readonly expectedTarget: Schema.optional<Schema.Struct<{
159
+ readonly id: Schema.String;
160
+ readonly revision: Schema.Number;
163
161
  }>>;
164
- app: typeof Schema.String;
165
- channel: typeof Schema.String;
166
- minSupportedVersion: Schema.optional<Schema.NullOr<typeof Schema.String>>;
167
- killSwitches: Schema.optional<Schema.Record$<typeof Schema.String, Schema.Array$<typeof Schema.String>>>;
168
- reason: typeof Schema.String;
162
+ readonly app: Schema.String;
163
+ readonly channel: Schema.String;
164
+ readonly minSupportedVersion: Schema.optional<Schema.NullOr<Schema.String>>;
165
+ readonly killSwitches: Schema.optional<Schema.$Record<Schema.String, Schema.$Array<Schema.String>>>;
166
+ readonly reason: Schema.String;
169
167
  }>, Schema.Struct<{
170
- app: typeof Schema.String;
171
- channel: typeof Schema.String;
172
- latestVersion: Schema.NullOr<typeof Schema.String>;
173
- minSupportedVersion: Schema.NullOr<typeof Schema.String>;
174
- killSwitches: Schema.Record$<typeof Schema.String, Schema.Array$<typeof Schema.String>>;
175
- rolloutPercent: typeof Schema.Number;
176
- rolloutSalt: Schema.NullOr<typeof Schema.String>;
177
- cohorts: Schema.NullOr<Schema.Array$<typeof Schema.String>>;
178
- }>, Schema.Union<[typeof ReleaseRefused, typeof ReleaseNotFound]>>;
168
+ readonly app: Schema.String;
169
+ readonly channel: Schema.String;
170
+ readonly latestVersion: Schema.NullOr<Schema.String>;
171
+ readonly minSupportedVersion: Schema.NullOr<Schema.String>;
172
+ readonly killSwitches: Schema.$Record<Schema.String, Schema.$Array<Schema.String>>;
173
+ readonly rolloutPercent: Schema.Number;
174
+ readonly rolloutSalt: Schema.NullOr<Schema.String>;
175
+ readonly cohorts: Schema.NullOr<Schema.$Array<Schema.String>>;
176
+ }>, Schema.Union<readonly [typeof ReleaseRefused, typeof ReleaseNotFound]>>;
179
177
 
180
178
  export declare const uploadDescriptor: MutationProcedureDescriptor<"releases.upload", Schema.Struct<{
181
- expectedTarget: Schema.optional<Schema.Struct<{
182
- id: typeof Schema.String;
183
- revision: Schema.filter<Schema.filter<typeof Schema.Number>>;
179
+ readonly expectedTarget: Schema.optional<Schema.Struct<{
180
+ readonly id: Schema.String;
181
+ readonly revision: Schema.Number;
184
182
  }>>;
185
- releaseId: typeof Schema.String;
186
- kind: typeof Schema.String;
187
- target: Schema.optional<typeof Schema.String>;
188
- url: typeof Schema.String;
189
- sha256: typeof Schema.String;
190
- size: typeof Schema.Number;
191
- signature: Schema.optional<typeof Schema.String>;
192
- notarized: Schema.optional<typeof Schema.Boolean>;
193
- assetKey: Schema.optional<typeof Schema.String>;
194
- contentType: Schema.optional<typeof Schema.String>;
183
+ readonly releaseId: Schema.String;
184
+ readonly kind: Schema.String;
185
+ readonly target: Schema.optional<Schema.String>;
186
+ readonly url: Schema.String;
187
+ readonly sha256: Schema.String;
188
+ readonly size: Schema.Number;
189
+ readonly signature: Schema.optional<Schema.String>;
190
+ readonly notarized: Schema.optional<Schema.Boolean>;
191
+ readonly assetKey: Schema.optional<Schema.String>;
192
+ readonly contentType: Schema.optional<Schema.String>;
195
193
  }>, Schema.Struct<{
196
- id: typeof Schema.String;
197
- }>, Schema.Union<[typeof ReleaseRefused, typeof ReleaseNotFound]>>;
194
+ readonly id: Schema.String;
195
+ }>, Schema.Union<readonly [typeof ReleaseRefused, typeof ReleaseNotFound]>>;
198
196
 
199
197
  export { }
package/dist/rpc.js CHANGED
@@ -1,2 +1,2 @@
1
- import { a as e, c as t, d as n, f as r, i, l as a, m as o, n as s, o as c, p as l, r as u, s as d, t as f, u as p } from "./rpc-DeEV8l3U.js";
1
+ import { a as e, c as t, d as n, f as r, i, l as a, m as o, n as s, o as c, p as l, r as u, s as d, t as f, u as p } from "./rpc-DrfZqJIA.js";
2
2
  export { f as BASE_NAME, s as PolicySchema, u as RELEASES_MANAGE_SCOPE, i as ReleaseSummarySchema, e as createDescriptor, c as listDescriptor, d as policyDescriptor, t as promoteDescriptor, a as registerAppDescriptor, p as releasesRpcClientImports, n as rollbackDescriptor, r as rolloutDescriptor, l as setPolicyDescriptor, o as uploadDescriptor };
package/dist/web.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { n as e } from "./rollout-CGRKMTfv.js";
2
- import { t } from "./rpc-DeEV8l3U.js";
2
+ import { t } from "./rpc-DrfZqJIA.js";
3
3
  import { pluginTag as n } from "@voltro/protocol";
4
4
  import { createElement as r, useEffect as i, useRef as a } from "react";
5
5
  import { usePlatform as o, useSubscription as s } from "@voltro/client";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voltro/plugin-releases",
3
- "version": "0.84.0",
3
+ "version": "0.85.0",
4
4
  "description": "Release channels, artefacts and rollouts for the apps a Voltro api serves — the self-hosted update server behind Tauri, Expo OTA, electron-updater and PWA update feeds, with a reactive release policy every client subscribes to.",
5
5
  "keywords": [
6
6
  "voltro",
@@ -48,14 +48,14 @@
48
48
  "node": ">=24.0.0"
49
49
  },
50
50
  "dependencies": {
51
- "@voltro/client": "0.84.0",
52
- "@voltro/database": "0.84.0",
53
- "@voltro/logger": "0.84.0",
54
- "@voltro/protocol": "0.84.0",
55
- "@voltro/runtime": "0.84.0"
51
+ "@voltro/client": "0.85.0",
52
+ "@voltro/database": "0.85.0",
53
+ "@voltro/logger": "0.85.0",
54
+ "@voltro/protocol": "0.85.0",
55
+ "@voltro/runtime": "0.85.0"
56
56
  },
57
57
  "peerDependencies": {
58
- "effect": "^3.22.2",
58
+ "effect": "4.0.1",
59
59
  "react": "^19.0.0"
60
60
  },
61
61
  "peerDependenciesMeta": {