Skip to content
This repository has been archived by the owner on Jan 29, 2025. It is now read-only.

Commit

Permalink
Update algosdk branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonpaulos committed Nov 21, 2023
1 parent d4ed3a6 commit a07ef00
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
11 changes: 7 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
},
"dependencies": {
"@vscode/debugadapter": "^1.64.0",
"algosdk": "github:jasonpaulos/js-algorand-sdk#teal-source-map-improvements",
"algosdk": "github:algorand/js-algorand-sdk#3.0.0",
"await-notify": "^1.0.1",
"json-bigint": "^1.0.0"
},
Expand Down
6 changes: 3 additions & 3 deletions src/common/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ interface ProgramSourceEntry {

export class ProgramSourceDescriptor {
public readonly sourcemapFileLocation: string;
public readonly sourcemap: algosdk.SourceMap;
public readonly sourcemap: algosdk.ProgramSourceMap;
public readonly hash: Uint8Array;

constructor({
Expand All @@ -145,7 +145,7 @@ export class ProgramSourceDescriptor {
hash,
}: {
sourcemapFileLocation: string;
sourcemap: algosdk.SourceMap;
sourcemap: algosdk.ProgramSourceMap;
hash: Uint8Array;
}) {
this.sourcemapFileLocation = sourcemapFileLocation;
Expand Down Expand Up @@ -179,7 +179,7 @@ export class ProgramSourceDescriptor {
fileAccessor.readFile(sourcemapFileLocation),
'Could not read source map file',
);
const sourcemap = new algosdk.SourceMap(
const sourcemap = new algosdk.ProgramSourceMap(
JSON.parse(new TextDecoder().decode(rawSourcemap)),
);

Expand Down

0 comments on commit a07ef00

Please sign in to comment.