@salesforce/sf-embedding-bridge 2.2.4-rc.2 → 2.2.4
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/errors.d.ts +1 -1
- package/dist/index.cjs.js +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +2 -2
- package/package.json +3 -3
package/dist/errors.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export declare const ErrorCode: {
|
|
|
7
7
|
readonly PROTOCOL_VERSION_MISMATCH: -32013;
|
|
8
8
|
readonly ORIGIN_MISMATCH: -32014;
|
|
9
9
|
readonly PROTOCOL_VIOLATION: -32020;
|
|
10
|
-
readonly
|
|
10
|
+
readonly DUPLICATE_PORT_TRANSFER: -32023;
|
|
11
11
|
readonly PARSE_ERROR: -32700;
|
|
12
12
|
readonly INVALID_REQUEST: -32600;
|
|
13
13
|
readonly METHOD_NOT_FOUND: -32601;
|
package/dist/index.cjs.js
CHANGED
|
@@ -39,7 +39,7 @@ const SfEmbeddingErrorCode = {
|
|
|
39
39
|
/** Catch-all — duplicate ui/select-version, duplicate ui/discover-capabilities, etc. */
|
|
40
40
|
PROTOCOL_VIOLATION: -32020,
|
|
41
41
|
/** Embedding observed a second valid bootstrap envelope and shut down (§3.1.2). */
|
|
42
|
-
|
|
42
|
+
DUPLICATE_PORT_TRANSFER: -32023,
|
|
43
43
|
};
|
|
44
44
|
/**
|
|
45
45
|
* Codes that are non-retryable by default (§8.4). Consumers building error
|
|
@@ -553,7 +553,7 @@ class JsonRpcRouter {
|
|
|
553
553
|
/** Identity emitted on `ui/notifications/embedding-initialized`. */
|
|
554
554
|
const EMBEDDING_INFO = {
|
|
555
555
|
name: "@salesforce/sf-embedding-bridge",
|
|
556
|
-
version: "2.2.4
|
|
556
|
+
version: "2.2.4",
|
|
557
557
|
};
|
|
558
558
|
|
|
559
559
|
class SessionFailureError extends Error {
|
package/dist/index.d.ts
CHANGED
|
@@ -49,7 +49,7 @@ declare const SfEmbeddingErrorCode: {
|
|
|
49
49
|
/** Catch-all — duplicate ui/select-version, duplicate ui/discover-capabilities, etc. */
|
|
50
50
|
readonly PROTOCOL_VIOLATION: -32020;
|
|
51
51
|
/** Embedding observed a second valid bootstrap envelope and shut down (§3.1.2). */
|
|
52
|
-
readonly
|
|
52
|
+
readonly DUPLICATE_PORT_TRANSFER: -32023;
|
|
53
53
|
};
|
|
54
54
|
/** Numeric type of any value in `SfEmbeddingErrorCode`. */
|
|
55
55
|
type SfEmbeddingErrorCodeValue = (typeof SfEmbeddingErrorCode)[keyof typeof SfEmbeddingErrorCode];
|
|
@@ -712,7 +712,7 @@ declare const ErrorCode: {
|
|
|
712
712
|
readonly PROTOCOL_VERSION_MISMATCH: -32013;
|
|
713
713
|
readonly ORIGIN_MISMATCH: -32014;
|
|
714
714
|
readonly PROTOCOL_VIOLATION: -32020;
|
|
715
|
-
readonly
|
|
715
|
+
readonly DUPLICATE_PORT_TRANSFER: -32023;
|
|
716
716
|
readonly PARSE_ERROR: -32700;
|
|
717
717
|
readonly INVALID_REQUEST: -32600;
|
|
718
718
|
readonly METHOD_NOT_FOUND: -32601;
|
package/dist/index.esm.js
CHANGED
|
@@ -37,7 +37,7 @@ const SfEmbeddingErrorCode = {
|
|
|
37
37
|
/** Catch-all — duplicate ui/select-version, duplicate ui/discover-capabilities, etc. */
|
|
38
38
|
PROTOCOL_VIOLATION: -32020,
|
|
39
39
|
/** Embedding observed a second valid bootstrap envelope and shut down (§3.1.2). */
|
|
40
|
-
|
|
40
|
+
DUPLICATE_PORT_TRANSFER: -32023,
|
|
41
41
|
};
|
|
42
42
|
/**
|
|
43
43
|
* Codes that are non-retryable by default (§8.4). Consumers building error
|
|
@@ -551,7 +551,7 @@ class JsonRpcRouter {
|
|
|
551
551
|
/** Identity emitted on `ui/notifications/embedding-initialized`. */
|
|
552
552
|
const EMBEDDING_INFO = {
|
|
553
553
|
name: "@salesforce/sf-embedding-bridge",
|
|
554
|
-
version: "2.2.4
|
|
554
|
+
version: "2.2.4",
|
|
555
555
|
};
|
|
556
556
|
|
|
557
557
|
class SessionFailureError extends Error {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/sf-embedding-bridge",
|
|
3
|
-
"version": "2.2.4
|
|
3
|
+
"version": "2.2.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "JSON-RPC 2.0 bridge for the sf-embedding host ↔ embedding protocol",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"@salesforce/jsonrpc": "^10.12.3"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@salesforce/sf-embedding-contract": "2.2.4
|
|
28
|
-
"utils": "2.2.4
|
|
27
|
+
"@salesforce/sf-embedding-contract": "2.2.4",
|
|
28
|
+
"utils": "2.2.4"
|
|
29
29
|
},
|
|
30
30
|
"files": [
|
|
31
31
|
"dist/",
|