Skip to content

Commit

Permalink
updating edge-cs version
Browse files Browse the repository at this point in the history
  • Loading branch information
agracio committed May 21, 2024
1 parent dd4123c commit 505fa9a
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
14 changes: 7 additions & 7 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 @@ -39,7 +39,7 @@
},
"license": "MIT",
"dependencies": {
"edge-cs": "npm:@agracio/edge-cs@^1.3.5",
"edge-cs": "npm:@agracio/edge-cs@^1.3.6",
"nan": "^2.19.0"
},
"devDependencies": {
Expand Down
26 changes: 13 additions & 13 deletions test/104_csx.js
Original file line number Diff line number Diff line change
Expand Up @@ -507,21 +507,21 @@ describe('edge-cs', function () {
this.skip();
}
var func = edge.func(function () {/*
#r "Newtonsoft.Json"
using Newtonsoft.Json;
using System.Threading.Tasks;
public class MyObject
{
public string Message { get; set; }
}
public class Startup
{
public async Task<object> Invoke(object input)
#r "Newtonsoft.Json"
using Newtonsoft.Json;
using System.Threading.Tasks;
public class MyObject
{
return JsonConvert.DeserializeObject<MyObject>("{ 'message': 'Hello from .NET' }");
public string Message { get; set; }
}
}
*/
public class Startup
{
public async Task<object> Invoke(object input)
{
return JsonConvert.DeserializeObject<MyObject>("{ 'message': 'Hello from .NET' }");
}
}
*/
});

func("JavaScript", function (error, result) {
Expand Down

0 comments on commit 505fa9a

Please sign in to comment.