Socket
Socket
Sign inDemoInstall

@solana/transaction-confirmation

Package Overview
Dependencies
Maintainers
0
Versions
684
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solana/transaction-confirmation - npm Package Compare versions

Comparing version 2.0.0-canary-20240807165603 to 2.0.0-canary-20240808004408

21

package.json
{
"name": "@solana/transaction-confirmation",
"version": "2.0.0-canary-20240807165603",
"version": "2.0.0-canary-20240808004408",
"description": "Helpers for confirming Solana transactions",

@@ -52,11 +52,12 @@ "exports": {

"dependencies": {
"@solana/addresses": "2.0.0-canary-20240807165603",
"@solana/codecs-strings": "2.0.0-canary-20240807165603",
"@solana/errors": "2.0.0-canary-20240807165603",
"@solana/keys": "2.0.0-canary-20240807165603",
"@solana/rpc": "2.0.0-canary-20240807165603",
"@solana/rpc-subscriptions": "2.0.0-canary-20240807165603",
"@solana/rpc-types": "2.0.0-canary-20240807165603",
"@solana/transaction-messages": "2.0.0-canary-20240807165603",
"@solana/transactions": "2.0.0-canary-20240807165603"
"@solana/addresses": "2.0.0-canary-20240808004408",
"@solana/errors": "2.0.0-canary-20240808004408",
"@solana/keys": "2.0.0-canary-20240808004408",
"@solana/codecs-strings": "2.0.0-canary-20240808004408",
"@solana/rpc": "2.0.0-canary-20240808004408",
"@solana/promises": "2.0.0-canary-20240808004408",
"@solana/rpc-types": "2.0.0-canary-20240808004408",
"@solana/rpc-subscriptions": "2.0.0-canary-20240808004408",
"@solana/transaction-messages": "2.0.0-canary-20240808004408",
"@solana/transactions": "2.0.0-canary-20240808004408"
},

@@ -63,0 +64,0 @@ "peerDependencies": {

@@ -105,6 +105,7 @@ [![npm][npm-image]][npm-url]

```ts
import { safeRace } from '@solana/promises';
import { getTimeoutPromise } from '@solana/transaction-confirmation';
try {
await Promise.race([getCustomTransactionConfirmationPromise(/* ... */), getTimeoutPromise({ commitment })]);
await safeRace([getCustomTransactionConfirmationPromise(/* ... */), getTimeoutPromise({ commitment })]);
} catch (e) {

@@ -111,0 +112,0 @@ if (e instanceof DOMException && e.name === 'TimeoutError') {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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