Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve address throws error from BigInt #179

Closed
ryan-ju opened this issue Jun 25, 2021 · 1 comment
Closed

Resolve address throws error from BigInt #179

ryan-ju opened this issue Jun 25, 2021 · 1 comment

Comments

@ryan-ju
Copy link

ryan-ju commented Jun 25, 2021

When resolving an address like this:

{
	"line1": "1510 Foster Circle",
	"line2": "Algonquin",
 	"textCase": "Mixed",
 	"city": "Illinois",
 	"region": "IL",
 	"country": "US",
 	"postalCode": "60102"
}

We get this error from the SDK.

SyntaxError: Cannot convert 42.144481999999996 to a BigInt
    at BigInt (<anonymous>)
    at number (/app/node_modules/json-bigint/lib/parse.js:215:15)
    at value (/app/node_modules/json-bigint/lib/parse.js:397:41)
    at object (/app/node_modules/json-bigint/lib/parse.js:367:27)

Update 1

This issue is related to this sidorares/json-bigint#49

@svc-developer
Copy link
Collaborator

This issue has been resolved. Please upgrade to the latest version of SDK and let us know if it is still an issue.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants