New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@meteorwallet/meteor-near-sdk

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@meteorwallet/meteor-near-sdk - npm Package Compare versions

Comparing version 3.1.0 to 3.2.0

2

dist/packages/common/core/modules/blockchains/near/core/clients/near_rpc/NearRpcClient.d.ts

@@ -24,4 +24,4 @@ import { ENearNetwork } from "../../types/near_basic_types";

broadcast_tx_async(inputs: INearRpc_BroadcastTxCommit_Input): Promise<string>;
broadcast_tx_async_wait_all_receipts(inputs: INearRpc_BroadcastTxAwaitOutcome_Input): Promise<FinalExecutionOutcome>;
EXPERIMENTAL_tx_status(inputs: INearRpc_TransactionStatus_Input): Promise<TNearRpc_Response<FinalExecutionOutcome>>;
custom_broadcast_tx_async_wait_all_receipts(inputs: INearRpc_BroadcastTxAwaitOutcome_Input): Promise<FinalExecutionOutcome>;
custom_tx_status_wait_all_receipts(inputs: INearRpc_TransactionStatus_Input, options?: {

@@ -28,0 +28,0 @@ timeoutSeconds?: number;

@@ -102,3 +102,9 @@ import { ENearRpc_Finality, ENearRpc_ViewRequestType, } from "../../types/near_rpc_types";

}
async broadcast_tx_async_wait_all_receipts(inputs) {
async EXPERIMENTAL_tx_status(inputs) {
return this.send("EXPERIMENTAL_tx_status", [inputs.transaction_hash, inputs.sender_account_id], {
returnFullRpcResponse: true,
withRetry: false,
});
}
async custom_broadcast_tx_async_wait_all_receipts(inputs) {
const initialResponse = await this.broadcast_tx_async(inputs);

@@ -110,8 +116,2 @@ return this.custom_tx_status_wait_all_receipts({

}
async EXPERIMENTAL_tx_status(inputs) {
return this.send("EXPERIMENTAL_tx_status", [inputs.transaction_hash, inputs.sender_account_id], {
returnFullRpcResponse: true,
withRetry: false,
});
}
async custom_tx_status_wait_all_receipts(inputs, options) {

@@ -118,0 +118,0 @@ const pollingFunction = async () => this.EXPERIMENTAL_tx_status(inputs);

@@ -35,3 +35,3 @@ import { getNearRpcClient } from "../core/clients/near_rpc/NearRpcClient";

console.log("Signed Transaction", signedTransaction.signedTransaction);
const response = await getNearRpcClient(ENearNetwork.testnet).broadcast_tx_async_wait_all_receipts({
const response = await getNearRpcClient(ENearNetwork.testnet).custom_broadcast_tx_async_wait_all_receipts({
signed_transaction_base64: signedTransaction.signedTransactionBase64,

@@ -38,0 +38,0 @@ sender_account_id: senderWalletId,

{
"name": "@meteorwallet/meteor-near-sdk",
"version": "3.1.0",
"version": "3.2.0",
"main": "dist/packages/sdk/meteor-near-sdk/src/index.js",

@@ -5,0 +5,0 @@ "types": "dist/packages/sdk/meteor-near-sdk/src/index.d.ts",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc