corba.js 0.1.10 → 0.1.12
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/lib/idl/idl.cjs +1 -4
- package/lib/idl/idl.cjs.map +1 -1
- package/lib/idl/src/net/browser.d.ts +21 -1
- package/lib/idl/src/net/tls.d.ts +1 -0
- package/lib/idl/src/net/ws.d.ts +1 -0
- package/lib/idl/src/orb/connection.d.ts +1 -0
- package/lib/idl/src/orb/orb.d.ts +5 -1
- package/lib/src/net/browser.d.ts +21 -1
- package/lib/src/net/browser.js +72 -27
- package/lib/src/net/browser.js.map +1 -1
- package/lib/src/net/tcp.js +1 -0
- package/lib/src/net/tcp.js.map +1 -1
- package/lib/src/net/tls.d.ts +1 -0
- package/lib/src/net/tls.js +1 -0
- package/lib/src/net/tls.js.map +1 -1
- package/lib/src/net/ws.d.ts +1 -0
- package/lib/src/net/ws.js +1 -0
- package/lib/src/net/ws.js.map +1 -1
- package/lib/src/orb/connection.d.ts +1 -0
- package/lib/src/orb/connection.js.map +1 -1
- package/lib/src/orb/orb.d.ts +5 -1
- package/lib/src/orb/orb.js +24 -5
- package/lib/src/orb/orb.js.map +1 -1
- package/package.json +4 -4
package/lib/idl/idl.cjs
CHANGED
|
@@ -1586,10 +1586,7 @@ function identifier() {
|
|
|
1586
1586
|
function expect(text, customMessage) {
|
|
1587
1587
|
let t0 = lexer.lex();
|
|
1588
1588
|
let errorMessage;
|
|
1589
|
-
|
|
1590
|
-
errorMessage = `expected '${text}' but got '${t0?.toString()}'`;
|
|
1591
|
-
else
|
|
1592
|
-
errorMessage = customMessage;
|
|
1589
|
+
errorMessage = `expected '${text}' but got '${t0?.toString()}'`;
|
|
1593
1590
|
if (t0 === undefined)
|
|
1594
1591
|
throw Error(errorMessage + " but found end of file");
|
|
1595
1592
|
if (t0.type !== Type.TKN_TEXT || t0.text !== text) {
|