Skip to content

Commit

Permalink
Change from pending to unknown
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgeny Kuzyakov committed Oct 1, 2019
1 parent a23e44a commit c71b344
Show file tree
Hide file tree
Showing 82 changed files with 382 additions and 369 deletions.
3 changes: 2 additions & 1 deletion dist/nearlib.js
Original file line number Diff line number Diff line change
Expand Up @@ -779,6 +779,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
const enums_1 = require("../utils/enums");
var ExecutionStatusBasic;
(function (ExecutionStatusBasic) {
ExecutionStatusBasic["Unknown"] = "Unknown";
ExecutionStatusBasic["Pending"] = "Pending";
ExecutionStatusBasic["Failure"] = "Failure";
})(ExecutionStatusBasic = exports.ExecutionStatusBasic || (exports.ExecutionStatusBasic = {}));
Expand Down Expand Up @@ -810,7 +811,7 @@ var LegacyTransactionStatus;
function mapLegacyTransactionLog(tl) {
let status;
if (tl.result.status === LegacyTransactionStatus.Unknown) {
status = ExecutionStatusBasic.Pending;
status = ExecutionStatusBasic.Unknown;
}
else if (tl.result.status === LegacyTransactionStatus.Failed) {
status = ExecutionStatusBasic.Failure;
Expand Down
2 changes: 1 addition & 1 deletion dist/nearlib.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 24 additions & 24 deletions docs/nearlib/classes/_account_.account.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/nearlib/classes/_account_creator_.accountcreator.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions docs/nearlib/classes/_account_creator_.localaccountcreator.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions docs/nearlib/classes/_account_creator_.urlaccountcreator.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c71b344

Please sign in to comment.