@dfinity/agent
Advanced tools
Comparing version 0.20.1 to 0.20.2
@@ -237,3 +237,3 @@ "use strict"; | ||
// Mainnet and local will have the api route available | ||
const knownHosts = ['ic0.app', 'icp0.io', '127.0.0.1', '127.0.0.1']; | ||
const knownHosts = ['ic0.app', 'icp0.io', '127.0.0.1', 'localhost']; | ||
const hostname = location === null || location === void 0 ? void 0 : location.hostname; | ||
@@ -240,0 +240,0 @@ let knownHost; |
@@ -206,3 +206,3 @@ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { | ||
// Mainnet and local will have the api route available | ||
const knownHosts = ['ic0.app', 'icp0.io', '127.0.0.1', '127.0.0.1']; | ||
const knownHosts = ['ic0.app', 'icp0.io', '127.0.0.1', 'localhost']; | ||
const hostname = location === null || location === void 0 ? void 0 : location.hostname; | ||
@@ -209,0 +209,0 @@ let knownHost; |
{ | ||
"name": "@dfinity/agent", | ||
"version": "0.20.1", | ||
"version": "0.20.2", | ||
"author": "DFINITY Stiftung <sdk@dfinity.org>", | ||
@@ -50,4 +50,4 @@ "license": "Apache-2.0", | ||
"peerDependencies": { | ||
"@dfinity/candid": "^0.20.1", | ||
"@dfinity/principal": "^0.20.1" | ||
"@dfinity/candid": "^0.20.2", | ||
"@dfinity/principal": "^0.20.2" | ||
}, | ||
@@ -54,0 +54,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package