Skip to content
This repository was archived by the owner on Sep 11, 2025. It is now read-only.

Commit e865437

Browse files
authored
Integrate try-as library into AssemblyScript SDK (#912)
1 parent 565c1e7 commit e865437

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+2076
-1806
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44

55
NOTE: all releases may include dependency updates, not specifically mentioned
66

7-
UNRELEASED
7+
## UNRELEASED
88

9+
- feat: integrate try-as library [#912](https://github.com/hypermodeinc/modus/pull/912)
910
- fix: check topic actor status before publishing events [#918](https://github.com/hypermodeinc/modus/pull/918)
1011

1112
## 2025-06-25 - Runtime v0.18.2
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"extends": "./node_modules/@hypermode/modus-sdk-as/plugin.asconfig.json",
33
"options": {
4-
"transform": ["@hypermode/modus-sdk-as/transform", "json-as/transform"]
4+
"transform": ["@hypermode/modus-sdk-as/transform", "json-as/transform", "try-as/transform"]
55
}
66
}
4.09 KB
Binary file not shown.

runtime/languages/assemblyscript/testdata/package-lock.json

Lines changed: 18 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

runtime/languages/assemblyscript/testdata/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
},
77
"dependencies": {
88
"@hypermode/modus-sdk-as": "../../../../sdk/assemblyscript/src",
9-
"json-as": "^1.1.17"
9+
"json-as": "^1.1.19",
10+
"try-as": "^0.2.3"
1011
},
1112
"devDependencies": {
1213
"assemblyscript": "^0.28.2",
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
{
22
"extends": "./node_modules/@hypermode/modus-sdk-as/plugin.asconfig.json",
33
"options": {
4-
"transform": ["@hypermode/modus-sdk-as/transform", "json-as/transform"]
4+
"transform": [
5+
"@hypermode/modus-sdk-as/transform",
6+
"json-as/transform",
7+
"try-as/transform"
8+
]
59
}
610
}

0 commit comments

Comments
 (0)