Socket
Socket
Sign inDemoInstall

@dfinity/agent

Package Overview
Dependencies
Maintainers
11
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dfinity/agent - npm Package Compare versions

Comparing version 0.20.1 to 0.20.2

2

lib/cjs/agent/http/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc