Skip to content

Commit

Permalink
Merge pull request #2062 from demergent-labs/release_fixes
Browse files Browse the repository at this point in the history
Release fixes
  • Loading branch information
lastmjs authored Sep 4, 2024
2 parents a660611 + c95ca00 commit d7804a8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
!dfx/**
!dfx_extension/**
!examples/hello_world/**
!examples/hello_world_candid_rpc/**
!examples/hello_world_http_server/**
!experimental/**
!http_client/**
!property_tests/arbitraries/**
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Please remember that Azle is in beta and thus it may have unknown security vulne

## Get Started

The quickest way to get started is through the [hello_world Candid RPC example](https://github.com/demergent-labs/azle/tree/main/examples/hello_world_candid_rpc) or the [hello_world HTTP Server example](https://github.com/demergent-labs/azle/tree/main/examples/hello_world).
The quickest way to get started is through the [hello_world Candid RPC example](https://github.com/demergent-labs/azle/tree/main/examples/hello_world) or the [hello_world HTTP Server example](https://github.com/demergent-labs/azle/tree/main/examples/hello_world_http_server).

You can create the hello_world Candid RPC example locally like this:

Expand Down
2 changes: 1 addition & 1 deletion src/lib/stable/ic_apis/reply.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function reply<T>(input: ReplyInput<T>): void {
? []
: [input.data];

// @ts-expect-error idl.d.ts specifies the wrong type for IDL.encode. It's actually a Uint8Array
// @ts-ignore IDL.encode types are defined incorrectly https://github.com/demergent-labs/azle/issues/2061
return globalThis._azleIc.replyRaw(IDL.encode(idlType, data).buffer);
}
}
2 changes: 1 addition & 1 deletion tests/end_to_end/candid_rpc/class_syntax/new/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "new_end_to_end_test_functional_syntax",
"scripts": {
"test": "if [ \"$AZLE_TEST_RUN_ON_RELEASE\" == \"true\" ]; then tsx test/test.ts; else echo 'Skipping pretests'; fi"
"test": "if [ \"$AZLE_TEST_RUN_ON_RELEASE\" = \"true\" ]; then tsx test/test.ts; else echo 'Skipping pretests'; fi"
},
"devDependencies": {
"@dfinity/agent": "^0.19.2",
Expand Down

0 comments on commit d7804a8

Please sign in to comment.