-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: migrate wallets and signers to node16
- Loading branch information
1 parent
f4c25ba
commit e849c40
Showing
167 changed files
with
655 additions
and
477 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
diff --git a/node_modules/@solflare-wallet/sdk/package.json b/node_modules/@solflare-wallet/sdk/package.json | ||
index 6d43e38..8fd0274 100644 | ||
--- a/node_modules/@solflare-wallet/sdk/package.json | ||
+++ b/node_modules/@solflare-wallet/sdk/package.json | ||
@@ -1,5 +1,6 @@ | ||
{ | ||
"name": "@solflare-wallet/sdk", | ||
+ "type": "module", | ||
"version": "1.4.2", | ||
"description": "", | ||
"repository": "https://github.com/solflare-wallet/solflare-sdk", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/node_modules/@walletconnect/modal/dist/_types/src/client.d.ts b/node_modules/@walletconnect/modal/dist/_types/src/client.d.ts | ||
index fc7c092..258e47f 100644 | ||
--- a/node_modules/@walletconnect/modal/dist/_types/src/client.d.ts | ||
+++ b/node_modules/@walletconnect/modal/dist/_types/src/client.d.ts | ||
@@ -9,8 +9,8 @@ export type WalletConnectModalConfig = ConfigCtrlState & ThemeCtrlState; | ||
export declare class WalletConnectModal { | ||
constructor(config: WalletConnectModalConfig); | ||
private initUi; | ||
- openModal: (options?: import("packages/modal-core/dist/_types/src/controllers/ModalCtrl").OpenOptions | undefined) => Promise<void>; | ||
+ openModal: (options?: import("@walletconnect/modal-core/dist/_types/src/controllers/ModalCtrl").OpenOptions | undefined) => Promise<void>; | ||
closeModal: () => void; | ||
- subscribeModal: (callback: (newState: import("packages/modal-core/dist/_types/src/types/controllerTypes").ModalCtrlState) => void) => () => void; | ||
+ subscribeModal: (callback: (newState: import("@walletconnect/modal-core/dist/_types/src/types/controllerTypes").ModalCtrlState) => void) => () => void; | ||
setTheme: (theme: ThemeCtrlState) => void; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/node_modules/long/umd/index.d.ts b/node_modules/long/umd/index.d.ts | ||
index c623535..9722763 100644 | ||
--- a/node_modules/long/umd/index.d.ts | ||
+++ b/node_modules/long/umd/index.d.ts | ||
@@ -1,2 +1,7 @@ | ||
+// @ts-expect-error this library has a build issue which breaks `esnext` and `nodendex` module resolution. | ||
+// Issues: | ||
+// https://github.com/dcodeIO/long.js/issues/125 | ||
+// https://github.com/dcodeIO/long.js/issues/131 | ||
+// https://github.com/dcodeIO/long.js/issues/109 | ||
import Long from "../index.js"; | ||
export = Long; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export { DefaultCosmosSigner } from './signer'; | ||
export { executeCosmosTransaction, getsignedTx } from './helpers'; | ||
export { DefaultCosmosSigner } from './signer.js'; | ||
export { executeCosmosTransaction, getsignedTx } from './helpers.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
{ | ||
// see https://www.typescriptlang.org/tsconfig to better understand tsconfigs | ||
"extends": "../../tsconfig.lib.json", | ||
"extends": "../../tsconfig.libnext.json", | ||
"include": ["src", "types"], | ||
"compilerOptions": { | ||
"outDir": "dist", | ||
"rootDir": "./src", | ||
"lib": ["dom", "esnext"], | ||
// match output dir to input dir. e.g. dist/index instead of dist/src/index | ||
"allowSyntheticDefaultImports": true | ||
"lib": ["dom", "esnext"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export { DefaultEvmSigner } from './signer'; | ||
export { waitMs, cleanEvmError } from './helper'; | ||
export { DefaultEvmSigner } from './signer.js'; | ||
export { waitMs, cleanEvmError } from './helper.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
export { DefaultSolanaSigner } from './signer'; | ||
export { DefaultSolanaSigner } from './signer.js'; | ||
export { | ||
executeSolanaTransaction, | ||
generalSolanaTransactionExecutor, | ||
prepareTransaction, | ||
getSolanaConnection, | ||
simulateTransaction, | ||
} from './utils'; | ||
export type { SolanaWeb3Signer } from './utils'; | ||
export { setSolanaSignerConfig } from './config'; | ||
} from './utils/index.js'; | ||
export type { SolanaWeb3Signer } from './utils/index.js'; | ||
export { setSolanaSignerConfig } from './config.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
export type { SolanaWeb3Signer, SolanaExternalProvider } from './types'; | ||
export type { SolanaWeb3Signer, SolanaExternalProvider } from './types.js'; | ||
export { | ||
executeSolanaTransaction, | ||
generalSolanaTransactionExecutor, | ||
} from './main'; | ||
export { prepareTransaction } from './prepare'; | ||
export { getSolanaConnection } from './helpers'; | ||
export { simulateTransaction } from './simulate'; | ||
} from './main.js'; | ||
export { prepareTransaction } from './prepare.js'; | ||
export { getSolanaConnection } from './helpers.js'; | ||
export { simulateTransaction } from './simulate.js'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.