flipmeme-sdk 1.3.19 → 1.3.20

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/dist/index.d.mts CHANGED
@@ -373,7 +373,7 @@ declare class FlipmemeSDK {
373
373
  extendLookupTable(lookupTableAddress: PublicKey, addressesToAdd: PublicKey[], isInitial?: boolean): Promise<void>;
374
374
  finalizeSale(collectionId: string): Promise<void>;
375
375
  ejectNfts(collectionId: string, nftInfos: NftInfo[]): Promise<void>;
376
- getConnectedAccount(): void;
376
+ getConnectedAccount(): PublicKey;
377
377
  /**For testing */
378
378
  getStateInfo(): Promise<{
379
379
  admin: PublicKey;
package/dist/index.d.ts CHANGED
@@ -373,7 +373,7 @@ declare class FlipmemeSDK {
373
373
  extendLookupTable(lookupTableAddress: PublicKey, addressesToAdd: PublicKey[], isInitial?: boolean): Promise<void>;
374
374
  finalizeSale(collectionId: string): Promise<void>;
375
375
  ejectNfts(collectionId: string, nftInfos: NftInfo[]): Promise<void>;
376
- getConnectedAccount(): void;
376
+ getConnectedAccount(): PublicKey;
377
377
  /**For testing */
378
378
  getStateInfo(): Promise<{
379
379
  admin: PublicKey;
package/dist/index.js CHANGED
@@ -5325,7 +5325,7 @@ var FlipmemeSDK = class {
5325
5325
  }
5326
5326
  getConnectedAccount() {
5327
5327
  if (this.blockchainType === "solana" /* SOLANA */ && this.solana) {
5328
- this.solana.getConnectedAccount();
5328
+ return this.solana.getConnectedAccount();
5329
5329
  } else {
5330
5330
  throw new Error("Cannot call this function");
5331
5331
  }