Skip to content

Commit 4773059

Browse files
wtfsayoshakkernerd
andauthored
patch via pnpm (#2901)
Co-authored-by: Shakker Nerd <165377636+shakkernerd@users.noreply.github.com>
1 parent 60c2f30 commit 4773059

File tree

3 files changed

+492
-493
lines changed

3 files changed

+492
-493
lines changed

package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@
5959
"cookie": "0.7.0",
6060
"bs58": "5.0.0",
6161
"@coral-xyz/anchor": "0.28.0"
62+
},
63+
"patchedDependencies": {
64+
"@solana-developers/helpers": "patches/@solana-developers__helpers.patch"
6265
}
6366
},
6467
"engines": {
@@ -71,13 +74,13 @@
7174
"@injectivelabs/sdk-ts": "^1.14.33",
7275
"@vitest/eslint-plugin": "1.0.1",
7376
"amqplib": "0.10.5",
77+
"bs58": "4.0.0",
7478
"csv-parse": "5.6.0",
7579
"langdetect": "^0.2.1",
7680
"ollama-ai-provider": "0.16.1",
7781
"optional": "0.1.4",
7882
"pnpm": "9.15.0",
79-
"sharp": "0.33.5",
80-
"bs58": "4.0.0"
83+
"sharp": "0.33.5"
8184
},
8285
"packageManager": "pnpm@9.15.0",
8386
"workspaces": [
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/dist/esm/lib/transaction.js b/dist/esm/lib/transaction.js
2+
index c86ccd726fb0bef6e82cd37a6d7c7fc9edef8344..0ec2bfe2463e998b5ad68b618f4d216fec28a0f7 100644
3+
--- a/dist/esm/lib/transaction.js
4+
+++ b/dist/esm/lib/transaction.js
5+
@@ -1,6 +1,7 @@
6+
import { ComputeBudgetProgram, PublicKey, TransactionMessage, VersionedTransaction, } from "@solana/web3.js";
7+
import { getErrorFromRPCResponse } from "./logs.js";
8+
-import { Program, AnchorProvider, EventParser, BorshAccountsCoder, BorshInstructionCoder, BN, } from "@coral-xyz/anchor";
9+
+import pkg from '@coral-xyz/anchor';
10+
+const { Program, AnchorProvider, EventParser, BorshAccountsCoder, BorshInstructionCoder, BN, } = pkg;
11+
import * as fs from "fs";
12+
import * as path from "path";
13+
export const confirmTransaction = async (connection, signature, commitment = "confirmed") => {

0 commit comments

Comments
 (0)