@fogo/sessions-sdk 0.0.3 → 0.0.4

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.
package/cjs/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import type { TransactionError } from "@solana/web3.js";
2
- import { PublicKey, TransactionInstruction } from "@solana/web3.js";
1
+ import type { TransactionInstruction, TransactionError } from "@solana/web3.js";
2
+ import { PublicKey } from "@solana/web3.js";
3
3
  import type { SessionAdapter, TransactionResult } from "./adapter.js";
4
4
  export { type SessionAdapter, type TransactionResult, TransactionResultType, createSolanaWalletAdapter, } from "./adapter.js";
5
5
  type EstablishSessionOptions = {
package/esm/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import type { TransactionError } from "@solana/web3.js";
2
- import { PublicKey, TransactionInstruction } from "@solana/web3.js";
1
+ import type { TransactionInstruction, TransactionError } from "@solana/web3.js";
2
+ import { PublicKey } from "@solana/web3.js";
3
3
  import type { SessionAdapter, TransactionResult } from "./adapter.js";
4
4
  export { type SessionAdapter, type TransactionResult, TransactionResultType, createSolanaWalletAdapter, } from "./adapter.js";
5
5
  type EstablishSessionOptions = {
package/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { AnchorProvider, Wallet } from "@coral-xyz/anchor";
1
+ import { AnchorProvider } from "@coral-xyz/anchor";
2
2
  import { DomainRegistryIdl, SessionManagerProgram } from "@fogo/sessions-idls";
3
3
  import { findMetadataPda, safeFetchMetadata, } from "@metaplex-foundation/mpl-token-metadata";
4
4
  import { publicKey as metaplexPublicKey } from "@metaplex-foundation/umi";
@@ -6,7 +6,7 @@ import { createUmi } from "@metaplex-foundation/umi-bundle-defaults";
6
6
  import { sha256 } from "@noble/hashes/sha2";
7
7
  import { generateKeyPair, getAddressFromPublicKey } from "@solana/kit";
8
8
  import { createAssociatedTokenAccountIdempotentInstruction, getAssociatedTokenAddressSync, getMint, } from "@solana/spl-token";
9
- import { Ed25519Program, PublicKey, TransactionInstruction, } from "@solana/web3.js";
9
+ import { Ed25519Program, PublicKey } from "@solana/web3.js";
10
10
  import { TransactionResultType } from "./adapter.js";
11
11
  export { TransactionResultType, createSolanaWalletAdapter, } from "./adapter.js";
12
12
  const MESSAGE_HEADER = `Fogo Sessions:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fogo/sessions-sdk",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "A set of utilities for integrating with Fogo sessions",
5
5
  "keywords": [
6
6
  "fogo",