@microsoft/dotnet-js-interop
Advanced tools
Comparing version 7.0.0-preview.5.22303.8 to 7.0.0-preview.6.22330.3
@@ -301,8 +301,6 @@ // Licensed to the .NET Foundation under one or more agreements. | ||
// Not using "await" because it codegens a lot of boilerplate | ||
promise.then(result => getRequiredDispatcher().endInvokeJSFromDotNet(asyncHandle, true, stringifyArgs([ | ||
promise | ||
.then(result => stringifyArgs([asyncHandle, true, createJSCallResult(result, resultType)])) | ||
.then(result => getRequiredDispatcher().endInvokeJSFromDotNet(asyncHandle, true, result), error => getRequiredDispatcher().endInvokeJSFromDotNet(asyncHandle, false, JSON.stringify([ | ||
asyncHandle, | ||
true, | ||
createJSCallResult(result, resultType) | ||
])), error => getRequiredDispatcher().endInvokeJSFromDotNet(asyncHandle, false, JSON.stringify([ | ||
asyncHandle, | ||
false, | ||
@@ -309,0 +307,0 @@ formatError(error) |
{ | ||
"name": "@microsoft/dotnet-js-interop", | ||
"version": "7.0.0-preview.5.22303.8", | ||
"version": "7.0.0-preview.6.22330.3", | ||
"description": "Provides abstractions and features for interop between .NET and JavaScript code.", | ||
@@ -29,6 +29,6 @@ "main": "dist/Microsoft.JSInterop.js", | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^5.8.0", | ||
"@typescript-eslint/parser": "^5.8.0", | ||
"eslint": "^8.5.0", | ||
"eslint-plugin-jsdoc": "^37.4.0", | ||
"@typescript-eslint/eslint-plugin": "^5.26.0", | ||
"@typescript-eslint/parser": "^5.26.0", | ||
"eslint": "^8.16.0", | ||
"eslint-plugin-jsdoc": "^39.3.2", | ||
"eslint-plugin-prefer-arrow": "^1.2.3", | ||
@@ -35,0 +35,0 @@ "rimraf": "^3.0.2", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46886
663