extension-install 4.0.19 → 4.0.20
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/dist/lib/messaging.d.ts +9 -0
- package/package.json +1 -1
package/dist/lib/messaging.d.ts
CHANGED
|
@@ -54,6 +54,8 @@ export declare const CODES: {
|
|
|
54
54
|
readonly E_SESSION_NOT_FOUND: 'E_SESSION_NOT_FOUND';
|
|
55
55
|
readonly E_EVAL_REFUSED: 'E_EVAL_REFUSED';
|
|
56
56
|
readonly E_TARGET_NOT_FOUND: 'E_TARGET_NOT_FOUND';
|
|
57
|
+
readonly E_HEADED_WINDOW_REQUIRED: 'E_HEADED_WINDOW_REQUIRED';
|
|
58
|
+
readonly E_USER_GESTURE_REQUIRED: 'E_USER_GESTURE_REQUIRED';
|
|
57
59
|
readonly E_TIMEOUT: 'E_TIMEOUT';
|
|
58
60
|
readonly E_PUBLISH_REJECTED: 'E_PUBLISH_REJECTED';
|
|
59
61
|
readonly E_AUTH_REQUIRED: 'E_AUTH_REQUIRED';
|
|
@@ -149,12 +151,19 @@ export declare const CODES: {
|
|
|
149
151
|
readonly E_UNINSTALL_NOOP: 'E_UNINSTALL_NOOP';
|
|
150
152
|
};
|
|
151
153
|
export type ErrorCode = (typeof CODES)[keyof typeof CODES];
|
|
154
|
+
export interface EnvelopeErrorRefs {
|
|
155
|
+
flag?: string;
|
|
156
|
+
command?: string;
|
|
157
|
+
path?: string;
|
|
158
|
+
version?: string;
|
|
159
|
+
}
|
|
152
160
|
export interface EnvelopeError {
|
|
153
161
|
code: ErrorCode;
|
|
154
162
|
message: string;
|
|
155
163
|
name?: string;
|
|
156
164
|
engine?: string;
|
|
157
165
|
hint?: string;
|
|
166
|
+
refs?: EnvelopeErrorRefs;
|
|
158
167
|
}
|
|
159
168
|
export interface Envelope<T = unknown> {
|
|
160
169
|
schema: typeof ENVELOPE_SCHEMA;
|