This PR updates the import of Algodv2 from algosdk in src/store.ts to resolve a SyntaxError occurring in some consuming applications that use CommonJS modules.
Details
Changed the import of algosdk from named import to default import
Updated all references to Algodv2 to use the default import syntax
Resolves the error: "SyntaxError: Named export 'Algodv2' not found. The requested module 'algosdk' is a CommonJS module, which may not support all module.exports as named exports."
Description
This PR updates the import of
Algodv2
fromalgosdk
insrc/store.ts
to resolve a SyntaxError occurring in some consuming applications that use CommonJS modules.Details
algosdk
from named import to default importAlgodv2
to use the default import syntaxCloses #216