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

resolve-account

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

resolve-account - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

10

dist/index.js

@@ -20,3 +20,3 @@ (function (root, factory) {

var SOURCE = 'library';
var VERSION = '1.0.0';
var VERSION = '1.0.1';

@@ -58,7 +58,9 @@ function ResolveAccount(options) {

account.plan.id = account.plan.id || defaultPlanId;
account.plan.expires = account.plan.expires || {};
account.plan.expires.timestamp = new Date(account.plan.expires.timestamp || 0).toISOString();
account.plan.expires.timestampUNIX = Math.round(new Date(account.plan.expires.timestamp || 0).getTime() / 1000);
account.plan.status = account.plan.status || 'cancelled';
account.plan.trial = account.plan.trial || {};

@@ -167,3 +169,3 @@ account.plan.trial.activated = account.plan.trial.activated || false;

account.activity.geolocation.language = account.activity.geolocation.language || 'unknown';
account.activity.geolocation.platform = account.activity.geolocation.platform || 'unknown';
account.activity.geolocation.platform = account.activity.geolocation.platform || 'unknown';

@@ -170,0 +172,0 @@ // Api

2

package.json
{
"name": "resolve-account",
"version": "1.0.0",
"version": "1.0.1",
"description": "Standardize account JSON structure for projects built under ITW Creative Works",

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

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