@theholocron/sentry-client 1.55.0 → 1.57.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.
- package/README.md +1 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.mjs +2 -0
- package/package.json +2 -2
package/README.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -168,6 +168,7 @@ declare function createSentryClient(opts: SentryClientOptions): {
|
|
|
168
168
|
get: (org: string, id: string) => Promise<SentryWorkflow>;
|
|
169
169
|
create: (org: string, input: SentryWorkflowInput) => Promise<SentryWorkflow>;
|
|
170
170
|
update: (org: string, id: string, input: SentryWorkflowInput) => Promise<SentryWorkflow>;
|
|
171
|
+
delete: (org: string, id: string) => Promise<void>;
|
|
171
172
|
detectors: (org: string) => Promise<SentryDetector[]>;
|
|
172
173
|
};
|
|
173
174
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -108,6 +108,8 @@ function workflows(rest) {
|
|
|
108
108
|
method: "PUT",
|
|
109
109
|
body: input
|
|
110
110
|
}),
|
|
111
|
+
/** Remove a workflow. Sentry answers 204 with no body. */
|
|
112
|
+
delete: (org, id) => rest.request(`/organizations/${seg(org)}/workflows/${seg(id)}/`, { method: "DELETE" }),
|
|
111
113
|
/** The detectors of an organization: what a workflow is attached to. */
|
|
112
114
|
detectors: (org) => rest.request(`/organizations/${seg(org)}/detectors/`)
|
|
113
115
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/sentry-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.57.0",
|
|
4
4
|
"description": "A TypeScript client for the Sentry management API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sentry",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@theholocron/observability": "^0.3.0",
|
|
36
|
-
"@theholocron/http-client": "^1.
|
|
36
|
+
"@theholocron/http-client": "^1.57.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@theholocron/cli": "5.0.0-alpha.79",
|