Skip to content

Commit

Permalink
Merge pull request #385 from near/SQC-240/mnw-return-final-execution-…
Browse files Browse the repository at this point in the history
…outcome-main

5.0.3 Release Improvements
  • Loading branch information
kujtimprenkuSQA authored Aug 10, 2022
2 parents 56a391f + 9d2903f commit 92fc76e
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 16 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "near-wallet-selector",
"version": "5.0.2",
"version": "5.0.3",
"description": "NEAR Wallet Selector makes it easy for users to interact with your dApp by providing an abstraction over various wallets within the NEAR ecosystem",
"keywords": [
"near",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "@near-wallet-selector/core",
"version": "5.0.2"
"version": "5.0.3"
}
3 changes: 2 additions & 1 deletion packages/core/src/lib/wallet/wallet.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import type { Options } from "../options.types";
import type { ReadOnlyStore } from "../store.types";
import type { Transaction, Action } from "./transactions.types";
import type { Modify, Optional } from "../utils.types";
import type { FinalExecutionOutcome } from "near-api-js/lib/providers";

interface BaseWalletMetadata {
name: string;
Expand Down Expand Up @@ -90,7 +91,7 @@ export type BrowserWalletBehaviour = Modify<
{
signAndSendTransaction(
params: BrowserWalletSignAndSendTransactionParams
): Promise<void>;
): Promise<FinalExecutionOutcome | void>;
signAndSendTransactions(
params: BrowserWalletSignAndSendTransactionsParams
): Promise<void>;
Expand Down
2 changes: 1 addition & 1 deletion packages/ledger/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "@near-wallet-selector/ledger",
"version": "5.0.2"
"version": "5.0.3"
}
2 changes: 1 addition & 1 deletion packages/math-wallet/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "@near-wallet-selector/math-wallet",
"version": "5.0.2"
"version": "5.0.3"
}
2 changes: 1 addition & 1 deletion packages/modal-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "@near-wallet-selector/modal-ui",
"version": "5.0.2"
"version": "5.0.3"
}
2 changes: 1 addition & 1 deletion packages/my-near-wallet/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "@near-wallet-selector/my-near-wallet",
"version": "5.0.2"
"version": "5.0.3"
}
3 changes: 0 additions & 3 deletions packages/my-near-wallet/src/lib/my-near-wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,6 @@ const MyNearWallet: WalletBehaviourFactory<
receiverId: receiverId || contract.contractId,
actions: actions.map((action) => createAction(action)),
walletCallbackUrl: callbackUrl,
}).then(() => {
// Suppress response since transactions with deposits won't actually
// return FinalExecutionOutcome.
});
},

Expand Down
2 changes: 1 addition & 1 deletion packages/near-wallet/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "@near-wallet-selector/near-wallet",
"version": "5.0.2"
"version": "5.0.3"
}
2 changes: 1 addition & 1 deletion packages/nightly-connect/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "@near-wallet-selector/nightly-connect",
"version": "5.0.2"
"version": "5.0.3"
}
2 changes: 1 addition & 1 deletion packages/nightly/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "@near-wallet-selector/nightly",
"version": "5.0.2"
"version": "5.0.3"
}
2 changes: 1 addition & 1 deletion packages/sender/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "@near-wallet-selector/sender",
"version": "5.0.2"
"version": "5.0.3"
}
2 changes: 1 addition & 1 deletion packages/wallet-connect/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "@near-wallet-selector/wallet-connect",
"version": "5.0.2"
"version": "5.0.3"
}
2 changes: 1 addition & 1 deletion packages/wallet-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "@near-wallet-selector/wallet-utils",
"version": "5.0.2"
"version": "5.0.3"
}

0 comments on commit 92fc76e

Please sign in to comment.