diff --git a/capacitor/package.json b/capacitor/package.json index d3d12ef..23c1a98 100644 --- a/capacitor/package.json +++ b/capacitor/package.json @@ -43,6 +43,7 @@ "@capacitor/ios": "^5.5.1", "@capacitor/status-bar": "^5.0.6", "@superfrogbe/cordova-plugin-chrome-apps-sockets-udp": "github:superfrogbe/cordova-plugin-chrome-apps-sockets-udp", + "capacitor-dns": "github:funniray/capacitor-dns", "capacitor-plugin-safe-area": "^2.0.5", "common": "workspace:*", "cordova-plugin-chrome-apps-common": "^1.0.7", diff --git a/capacitor/webpack.config.cjs b/capacitor/webpack.config.cjs index 6bbfc56..ba20269 100644 --- a/capacitor/webpack.config.cjs +++ b/capacitor/webpack.config.cjs @@ -33,9 +33,9 @@ const alias = { fs: false, os: false, ws: false, + dns: 'capacitor-dns', '@silentbot1/nat-api': false, 'load-ip-set': false, - 'bittorrent-dht': false, 'webtorrent/lib/utp.cjs': false, '@/modules/ipc.js': join(__dirname, 'src', 'ipc.js'), '@/modules/support.js': join(__dirname, 'src', 'support.js'), diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 838c7a6..fab6399 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -80,6 +80,9 @@ importers: '@superfrogbe/cordova-plugin-chrome-apps-sockets-udp': specifier: github:superfrogbe/cordova-plugin-chrome-apps-sockets-udp version: github.com/superfrogbe/cordova-plugin-chrome-apps-sockets-udp/4b740017299c81cfc7d5b49c7d6122a6650b57d4 + capacitor-dns: + specifier: github:funniray/capacitor-dns + version: github.com/funniray/capacitor-dns/6362cd1ad0a6b9b5bdbdc9fee3fba4c8dae91e16(@capacitor/core@5.5.1) capacitor-plugin-safe-area: specifier: ^2.0.5 version: 2.0.5(@capacitor/core@5.5.1) @@ -8296,6 +8299,17 @@ packages: dev: true optional: true + github.com/funniray/capacitor-dns/6362cd1ad0a6b9b5bdbdc9fee3fba4c8dae91e16(@capacitor/core@5.5.1): + resolution: {tarball: https://codeload.github.com/funniray/capacitor-dns/tar.gz/6362cd1ad0a6b9b5bdbdc9fee3fba4c8dae91e16} + id: github.com/funniray/capacitor-dns/6362cd1ad0a6b9b5bdbdc9fee3fba4c8dae91e16 + name: capacitor-dns + version: 0.0.1 + peerDependencies: + '@capacitor/core': ^5.0.0 + dependencies: + '@capacitor/core': 5.5.1 + dev: false + github.com/superfrogbe/cordova-plugin-chrome-apps-sockets-udp/4b740017299c81cfc7d5b49c7d6122a6650b57d4: resolution: {tarball: https://codeload.github.com/superfrogbe/cordova-plugin-chrome-apps-sockets-udp/tar.gz/4b740017299c81cfc7d5b49c7d6122a6650b57d4} name: '@superfrogbe/cordova-plugin-chrome-apps-sockets-udp'