webdriver-bidi-protocol 0.3.3 → 0.3.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.3.4](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/compare/webdriver-bidi-protocol-v0.3.3...webdriver-bidi-protocol-v0.3.4) (2025-09-25)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* generation should not emit ts imports ([#262](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/issues/262)) ([74bf1ad](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/commit/74bf1adb89582b073fa8741ddf3680549dada469))
|
|
9
|
+
|
|
3
10
|
## [0.3.3](https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/compare/webdriver-bidi-protocol-v0.3.2...webdriver-bidi-protocol-v0.3.3) (2025-09-25)
|
|
4
11
|
|
|
5
12
|
|
package/out/gen/mapping.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type * as Bidi from './main.
|
|
2
|
-
import type * as BidiPermissions from './permissions.
|
|
3
|
-
import type * as BidiBluetooth from './web-bluetooth.
|
|
1
|
+
import type * as Bidi from './main.js';
|
|
2
|
+
import type * as BidiPermissions from './permissions.js';
|
|
3
|
+
import type * as BidiBluetooth from './web-bluetooth.js';
|
|
4
4
|
export interface CommandMapping {
|
|
5
5
|
'bluetooth.disableSimulation': {
|
|
6
6
|
params: BidiBluetooth.Bluetooth.DisableSimulationParameters;
|
package/package.json
CHANGED
package/src/gen/mapping.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type * as Bidi from './main.
|
|
2
|
-
import type * as BidiPermissions from './permissions.
|
|
3
|
-
import type * as BidiBluetooth from './web-bluetooth.
|
|
1
|
+
import type * as Bidi from './main.js';
|
|
2
|
+
import type * as BidiPermissions from './permissions.js';
|
|
3
|
+
import type * as BidiBluetooth from './web-bluetooth.js';
|
|
4
4
|
|
|
5
5
|
export interface CommandMapping {
|
|
6
6
|
'bluetooth.disableSimulation': {
|
|
@@ -122,7 +122,7 @@ const generatedFile = project.createSourceFile(outputPath, '', {
|
|
|
122
122
|
|
|
123
123
|
for (const spec of specs) {
|
|
124
124
|
generatedFile.addImportDeclaration({
|
|
125
|
-
moduleSpecifier: spec.inputFile,
|
|
125
|
+
moduleSpecifier: spec.inputFile.replace('.ts', '.js'),
|
|
126
126
|
isTypeOnly: true,
|
|
127
127
|
namespaceImport: spec.modulePrefix,
|
|
128
128
|
});
|