ton-watcher
Advanced tools
Comparing version 1.1.10 to 1.1.11
@@ -77,3 +77,3 @@ "use strict"; | ||
try { | ||
if (!ton_1.Address.isAddress(destination)) { | ||
if (!ton.isValidAddress(destination)) { | ||
const event = { | ||
@@ -123,3 +123,3 @@ data: { error: 'Recipient Address is invalid', req_id }, | ||
try { | ||
if (!ton_1.Address.isAddress(destination)) { | ||
if (!ton.isValidAddress(destination)) { | ||
const event = { | ||
@@ -126,0 +126,0 @@ data: { error: 'Recipient Address is invalid', req_id }, |
{ | ||
"name": "ton-watcher", | ||
"version": "1.1.10", | ||
"version": "1.1.11", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -112,3 +112,3 @@ import { getHttpV4Endpoint } from "@orbs-network/ton-access"; | ||
try { | ||
if (!Address.isAddress(destination)) { | ||
if (!ton.isValidAddress(destination)) { | ||
const event: TonProcessEvents<'resSendTon'> = { | ||
@@ -161,3 +161,3 @@ data: { error: 'Recipient Address is invalid', req_id }, | ||
try { | ||
if (!Address.isAddress(destination)) { | ||
if (!ton.isValidAddress(destination)) { | ||
const event: TonProcessEvents<'resSendJetton'> = { | ||
@@ -164,0 +164,0 @@ data: { error: 'Recipient Address is invalid', req_id }, |
Sorry, the diff of this file is not supported yet
297812