Comparing version 0.0.31 to 0.0.32
@@ -99,9 +99,7 @@ 'use strict' | ||
connection.SetAnswer(data.answer).then(res => { | ||
if(res.answer.length > 0) { | ||
this.#Emit('genesis_answer_set', { | ||
connection: res | ||
}); | ||
} | ||
}).then(async res => { | ||
await Util.Sleep(100); | ||
if(res.answer.length === 0) throw 'Failed to set answer'; | ||
this.#Emit('genesis_answer_set', { | ||
connection: res | ||
}); | ||
connection.Send({ | ||
@@ -116,11 +114,2 @@ method: 'connect', | ||
}).catch(e => { | ||
connection.Send({ | ||
method: 'error', | ||
data: { | ||
msg: 'connect_failed', | ||
error: e, | ||
connectionId: connection.id, | ||
peerId: data.connectionId | ||
} | ||
}); | ||
throw e; | ||
@@ -127,0 +116,0 @@ }); |
{ | ||
"name": "guardee", | ||
"version": "0.0.31", | ||
"version": "0.0.32", | ||
@@ -5,0 +5,0 @@ "description": "Guardee Wallet API", |
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
42545
1143