Socket
Socket
Sign inDemoInstall

@dfinity/agent

Package Overview
Dependencies
Maintainers
7
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.6.9 to 0.6.10

2

package.json
{
"name": "@dfinity/agent",
"version": "0.6.9",
"version": "0.6.10",
"main": "src/index.js",

@@ -5,0 +5,0 @@ "scripts": {

@@ -32,2 +32,4 @@ "use strict";

const API_VERSION = 'v1';
// Default delta for ingress expiry is 5 minutes.
const DEFAULT_INGRESS_EXPIRY_DELTA_IN_MSECS = 5 * 60 * 1000;
function getDefaultFetch() {

@@ -109,3 +111,3 @@ const result = typeof window === 'undefined'

sender: p.toBlob(),
ingress_expiry: new http_agent_transforms_1.Expiry(300000),
ingress_expiry: new http_agent_transforms_1.Expiry(DEFAULT_INGRESS_EXPIRY_DELTA_IN_MSECS),
});

@@ -125,3 +127,3 @@ }

sender: p.toBlob(),
ingress_expiry: new http_agent_transforms_1.Expiry(300000),
ingress_expiry: new http_agent_transforms_1.Expiry(DEFAULT_INGRESS_EXPIRY_DELTA_IN_MSECS),
});

@@ -138,3 +140,3 @@ }

sender: p.toBlob(),
ingress_expiry: new http_agent_transforms_1.Expiry(300000),
ingress_expiry: new http_agent_transforms_1.Expiry(DEFAULT_INGRESS_EXPIRY_DELTA_IN_MSECS),
});

@@ -154,3 +156,3 @@ }

sender: p.toBlob(),
ingress_expiry: new http_agent_transforms_1.Expiry(300000),
ingress_expiry: new http_agent_transforms_1.Expiry(DEFAULT_INGRESS_EXPIRY_DELTA_IN_MSECS),
});

@@ -167,2 +169,3 @@ }

request_id: fields.requestId,
ingress_expiry: new http_agent_transforms_1.Expiry(DEFAULT_INGRESS_EXPIRY_DELTA_IN_MSECS),
});

@@ -169,0 +172,0 @@ }

@@ -41,2 +41,3 @@ "use strict";

toCBOR() {
// TODO: change this to take the minimum amount of space (it always takes 8 bytes now).
return cbor.value.u64(this._value.toString(16), 16);

@@ -43,0 +44,0 @@ }

@@ -123,2 +123,3 @@ import { Expiry } from './http_agent_transforms';

request_id: RequestId;
ingress_expiry: Expiry;
}

@@ -125,0 +126,0 @@ export declare type RequestStatusResponse = RequestStatusResponseReceived | RequestStatusResponseProcessing | RequestStatusResponseReplied | RequestStatusResponseRejected | RequestStatusResponseUnknown | RequestStatusResponseDone;

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