Comparing version 0.0.18 to 0.0.19
'use strict' | ||
const fetch = require('node-fetch'); | ||
const moment = require("moment"); | ||
@@ -107,3 +108,7 @@ module.exports = class Api { | ||
try { | ||
return await this.#Set(this.#keys.connection, connectionId, offer).then(res => { | ||
const data = { | ||
offer, | ||
timestamp: moment.now() | ||
} | ||
return await this.#Set(this.#keys.connection, connectionId, data).then(res => { | ||
return connectionId; | ||
@@ -110,0 +115,0 @@ }).catch(e => { |
{ | ||
"name": "guardee", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"description": "Guardee Wallet API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43133
1157