fortis-multisig-client 0.1.3 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,6 +5,6 @@
5
5
  *
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
8
- export * from './multisig';
9
- export * from './proposal';
10
- export * from './vaultTransaction';
8
+ export * from './multisig.js';
9
+ export * from './proposal.js';
10
+ export * from './vaultTransaction.js';
@@ -5,6 +5,6 @@
5
5
  *
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
8
- export * from './multisig';
9
- export * from './proposal';
10
- export * from './vaultTransaction';
8
+ export * from './multisig.js';
9
+ export * from './proposal.js';
10
+ export * from './vaultTransaction.js';
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
8
- export * from './accounts';
9
- export * from './instructions';
10
- export * from './programs';
11
- export * from './types';
8
+ export * from "./accounts/index.js";
9
+ export * from "./instructions/index.js";
10
+ export * from "./programs/index.js";
11
+ export * from "./types/index.js";
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
8
- export * from './accounts';
9
- export * from './instructions';
10
- export * from './programs';
11
- export * from './types';
8
+ export * from "./accounts/index.js";
9
+ export * from "./instructions/index.js";
10
+ export * from "./programs/index.js";
11
+ export * from "./types/index.js";
@@ -5,8 +5,8 @@
5
5
  *
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
8
- export * from './multisigCreate';
9
- export * from './proposalAccountsClose';
10
- export * from './proposalApprove';
11
- export * from './proposalCreate';
12
- export * from './proposalExecute';
8
+ export * from './multisigCreate.js';
9
+ export * from './proposalAccountsClose.js';
10
+ export * from './proposalApprove.js';
11
+ export * from './proposalCreate.js';
12
+ export * from './proposalExecute.js';
@@ -5,8 +5,8 @@
5
5
  *
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
8
- export * from './multisigCreate';
9
- export * from './proposalAccountsClose';
10
- export * from './proposalApprove';
11
- export * from './proposalCreate';
12
- export * from './proposalExecute';
8
+ export * from './multisigCreate.js';
9
+ export * from './proposalAccountsClose.js';
10
+ export * from './proposalApprove.js';
11
+ export * from './proposalCreate.js';
12
+ export * from './proposalExecute.js';
@@ -5,4 +5,4 @@
5
5
  *
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
8
- export * from './fortisMultisig';
8
+ export * from './fortisMultisig.js';
@@ -5,4 +5,4 @@
5
5
  *
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
8
- export * from './fortisMultisig';
8
+ export * from './fortisMultisig.js';
@@ -5,9 +5,9 @@
5
5
  *
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
8
- export * from './compiledInstruction';
9
- export * from './messageAddressTableLookup';
10
- export * from './multisigCreateArgs';
11
- export * from './proposalApproveArgs';
12
- export * from './proposalCreateArgs';
13
- export * from './vaultTransactionMessage';
8
+ export * from './compiledInstruction.js';
9
+ export * from './messageAddressTableLookup.js';
10
+ export * from './multisigCreateArgs.js';
11
+ export * from './proposalApproveArgs.js';
12
+ export * from './proposalCreateArgs.js';
13
+ export * from './vaultTransactionMessage.js';
@@ -5,9 +5,9 @@
5
5
  *
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
8
- export * from './compiledInstruction';
9
- export * from './messageAddressTableLookup';
10
- export * from './multisigCreateArgs';
11
- export * from './proposalApproveArgs';
12
- export * from './proposalCreateArgs';
13
- export * from './vaultTransactionMessage';
8
+ export * from './compiledInstruction.js';
9
+ export * from './messageAddressTableLookup.js';
10
+ export * from './multisigCreateArgs.js';
11
+ export * from './proposalApproveArgs.js';
12
+ export * from './proposalCreateArgs.js';
13
+ export * from './vaultTransactionMessage.js';
@@ -5,8 +5,8 @@
5
5
  *
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
8
- export * from './multisigCreate';
9
- export * from './proposalAccountsClose';
10
- export * from './proposalApprove';
11
- export * from './proposalCreate';
12
- export * from './proposalExecute';
8
+ export * from "./multisigCreate.js";
9
+ export * from "./proposalAccountsClose.js";
10
+ export * from "./proposalApprove.js";
11
+ export * from "./proposalCreate.js";
12
+ export * from "./proposalExecute.js";
@@ -5,8 +5,8 @@
5
5
  *
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
8
- export * from './multisigCreate';
9
- export * from './proposalAccountsClose';
10
- export * from './proposalApprove';
11
- export * from './proposalCreate';
12
- export * from './proposalExecute';
8
+ export * from "./multisigCreate.js";
9
+ export * from "./proposalAccountsClose.js";
10
+ export * from "./proposalApprove.js";
11
+ export * from "./proposalCreate.js";
12
+ export * from "./proposalExecute.js";
@@ -1,6 +1,6 @@
1
1
  import { SystemProgram } from "@solana/web3.js";
2
2
  import { getMultisigCreateInstruction } from "../generated";
3
- import * as utils from "../utils";
3
+ import * as utils from "../utils.js";
4
4
  import { address } from "@solana/kit";
5
5
  import { fromLegacyPublicKey } from "@solana/compat";
6
6
  export async function multisigCreate({ treasury, creator, multisigPda, threshold, members, createKey, rentCollector, }) {
@@ -1,7 +1,7 @@
1
1
  import { SystemProgram } from "@solana/web3.js";
2
2
  import { getProposalAccountsCloseInstruction } from "../generated";
3
- import * as pda from "../pda";
4
- import * as utils from "../utils";
3
+ import * as pda from "../pda.js";
4
+ import * as utils from "../utils.js";
5
5
  import { fromLegacyPublicKey } from "@solana/compat";
6
6
  export async function ProposalAccountsClose({ rentCollector, multisigPda, transactionIndex, }) {
7
7
  let proposalPda = pda.getProposalPda({ multisigPda: multisigPda, transactionIndex: transactionIndex });
@@ -1,6 +1,6 @@
1
1
  import { getProposalApproveInstruction } from "../generated";
2
- import * as pda from "../pda";
3
- import * as utils from "../utils";
2
+ import * as pda from "../pda.js";
3
+ import * as utils from "../utils.js";
4
4
  import { fromLegacyPublicKey } from "@solana/compat";
5
5
  export async function proposalApprove({ member, multisigPda, transactionIndex, }) {
6
6
  const args = {};
@@ -1,7 +1,7 @@
1
1
  import { SystemProgram } from "@solana/web3.js";
2
2
  import { getProposalCreateInstruction } from "../generated";
3
- import * as pda from "../pda";
4
- import * as utils from "../utils";
3
+ import * as pda from "../pda.js";
4
+ import * as utils from "../utils.js";
5
5
  import { fromLegacyPublicKey } from "@solana/compat";
6
6
  export async function proposalCreate({ creator, multisigPda, ephemeralSigners, votingDeadline, transactionMessage, addressLookupTableAccounts, transactionIndex, }) {
7
7
  const transactionMessageBytes = await utils.transactionMessageToMultisigTransactionMessageBytes({
@@ -1,7 +1,7 @@
1
1
  import { PublicKey } from "@solana/web3.js";
2
2
  import { getProposalExecuteInstruction, getVaultTransactionCodec } from "../generated";
3
- import * as pda from "../pda";
4
- import * as utils from "../utils";
3
+ import * as pda from "../pda.js";
4
+ import * as utils from "../utils.js";
5
5
  import { address, AccountRole } from "@solana/kit";
6
6
  import { fromLegacyPublicKey } from "@solana/compat";
7
7
  export async function proposalExecute({ connection, member, multisigPda, transactionIndex, }) {
package/dist/pda.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { FORTIS_MULTISIG_PROGRAM_ADDRESS } from "./generated";
2
- import { toUtfBytes } from "./utils";
2
+ import { toUtfBytes } from "./utils.js";
3
3
  import { PublicKey } from "@solana/web3.js";
4
4
  import { address, getU64Encoder } from "@solana/kit";
5
5
  const SEED_PREFIX = toUtfBytes("multisig");
@@ -1,5 +1,5 @@
1
1
  import { MessageAccountKeys, } from "@solana/web3.js";
2
- import { CompiledKeys } from "./compiled-keys";
2
+ import { CompiledKeys } from "./compiled-keys.js";
3
3
  export function compileToWrappedMessageV0({ payerKey, instructions, addressLookupTableAccounts, }) {
4
4
  const compiledKeys = CompiledKeys.compile(instructions, payerKey);
5
5
  const addressTableLookups = new Array();
@@ -1,2 +1,2 @@
1
- export * from "./compiled-keys";
2
- export * from "./compileToWrappedMessageV0";
1
+ export * from "./compiled-keys.js";
2
+ export * from "./compileToWrappedMessageV0.js";
@@ -1,3 +1,3 @@
1
1
  // ts/utils/index.ts
2
- export * from "./compiled-keys";
3
- export * from "./compileToWrappedMessageV0";
2
+ export * from "./compiled-keys.js";
3
+ export * from "./compileToWrappedMessageV0.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fortis-multisig-client",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Fortis Solana multisig generated client",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",