New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

assembly-payments

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

assembly-payments - npm Package Compare versions

Comparing version 0.2.0-beta2 to 0.2.0-beta3

4

lib/client.js

@@ -83,3 +83,5 @@ "use strict";

// expires in the next 10 minutes
const window = new Date(this.refreshedAt.getTime() + expires * 1000 - 6000);
const ten = 1000 * 10 * 60;
const future = expires * 1000;
const window = new Date(this.refreshedAt.getTime() + future - ten);
const expired = new Date() > window;

@@ -86,0 +88,0 @@ if (expired) {

{
"name": "assembly-payments",
"version": "0.2.0-beta2",
"version": "0.2.0-beta3",
"description": "Assembly Payments API Typescript/Javascript Bindings",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -147,3 +147,5 @@ /**

// expires in the next 10 minutes
const window = new Date(this.refreshedAt.getTime() + expires * 1000 - 6000);
const ten = 1000 * 10 * 60;
const future = expires * 1000;
const window = new Date(this.refreshedAt.getTime() + future - ten);
const expired = new Date() > window;

@@ -150,0 +152,0 @@ if (expired) {

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