Skip to content

Commit

Permalink
chore: update @tact-lang/compiler to version 1.4.1 (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulyadav-57 authored Jul 30, 2024
1 parent 14e4e58 commit 9c88678
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 62 deletions.
72 changes: 16 additions & 56 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 @@ -16,7 +16,7 @@
"@minoru/react-dnd-treeview": "^3.4.1",
"@monaco-editor/react": "^4.5.1",
"@orbs-network/ton-access": "^2.3.0",
"@tact-lang/compiler": "^1.4.0",
"@tact-lang/compiler": "^1.4.1",
"@ton-community/func-js": "^0.5.0",
"@ton/core": "^0.56.3",
"@ton/sandbox": "^0.16.0",
Expand Down
2 changes: 1 addition & 1 deletion src/assets/ton/tact/tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"patterns": [
{
"comment": "FunC identifier",
"match": "((?:[a-zA-Z_\\'\\?!&]|::)(?:[a-zA-Z0-9_\\'\\?!&]|::)*)",
"match": "(.*?)",
"name": "entity.name.function.func.tact"
}
],
Expand Down
8 changes: 4 additions & 4 deletions src/hooks/project.hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export function useProjectActions() {
project: fs,
stdlib: '@stdlib',
});
if (!response) {
if (!response.ok) {
throw new Error('Error while building');
}

Expand Down Expand Up @@ -406,10 +406,10 @@ const getInitParams = (

initParams =
// eslint-disable-next-line @typescript-eslint/no-explicit-any
contactType.init?.args.map((item: any) => {
contactType.init?.params.map((item: any) => {
return {
name: item.name,
type: item.type.name,
name: item.name.text,
type: item.type.name.toLowerCase(),
optional: item.type.optional,
};
}) ?? [];
Expand Down

0 comments on commit 9c88678

Please sign in to comment.