Use Gunsmith typing instead of old SimpleGun typing
This commit is contained in:
parent
fffe1313fd
commit
191e6c068d
1 changed files with 3 additions and 1 deletions
|
|
@ -33,6 +33,8 @@ const $$__SHOCKWALLET__MSG__ = '$$__SHOCKWALLET__MSG__'
|
|||
const $$__SHOCKWALLET__NUMBER__ = '$$__SHOCKWALLET__NUMBER__'
|
||||
const $$__SHOCKWALLET__BOOLEAN__ = '$$__SHOCKWALLET__BOOLEAN__'
|
||||
|
||||
/// <reference path="../../../utils/GunSmith/Smith.ts" />
|
||||
|
||||
mySEA.encrypt = (msg, secret) => {
|
||||
if (typeof secret !== 'string') {
|
||||
throw new TypeError(
|
||||
|
|
@ -281,7 +283,7 @@ const isAuthenticating = () => _isAuthenticating
|
|||
const isRegistering = () => _isRegistering
|
||||
|
||||
/**
|
||||
* @returns {import('../contact-api/SimpleGUN').GUNNode}
|
||||
* @returns {Smith.GunSmithNode}
|
||||
*/
|
||||
const getGun = () => {
|
||||
throw new Error('NO GUNS')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue