Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@narative/oanda-v20

Package Overview
Dependencies
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@narative/oanda-v20 - npm Package Compare versions

Comparing version 3.0.50 to 3.0.51

2

dist/index.d.ts

@@ -57,2 +57,2 @@ import * as accountAPI from './api/account';

export declare function toOANDATime(date: Date, dateFormat?: 'UNIX' | 'RFC3339'): string;
export declare function oandaTimeToDate(data: any, dateFormat?: 'UNIX' | 'RFC3339'): number | Date;
export declare function oandaTimeToDate(data: any, dateFormat?: 'UNIX' | 'RFC3339'): Date;

@@ -156,5 +156,5 @@ "use strict";

if (dateFormat === void 0) { dateFormat = 'UNIX'; }
return dateFormat === 'UNIX' ? new Date(Number(data) * 1000) : Date.parse(data);
return dateFormat === 'UNIX' ? new Date(Number(data) * 1000) : new Date(Date.parse(data));
}
exports.oandaTimeToDate = oandaTimeToDate;
//# sourceMappingURL=index.js.map
{
"name": "@narative/oanda-v20",
"description": "OANDA v20 bindings for Javascript",
"version": "3.0.50",
"version": "3.0.51",
"author": "OANDA Corporation",

@@ -6,0 +6,0 @@ "repository": "https://github.com/narative/v20-javascript",

@@ -216,3 +216,3 @@ import * as accountAPI from './api/account'

export function oandaTimeToDate(data: any, dateFormat: 'UNIX' | 'RFC3339' = 'UNIX') {
return dateFormat === 'UNIX' ? new Date(Number(data) * 1000) : Date.parse(data)
return dateFormat === 'UNIX' ? new Date(Number(data) * 1000) : new Date(Date.parse(data))
}

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