flipmeme-sdk 1.3.72 → 1.3.74

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
@@ -149,6 +149,7 @@ interface TransferParams {
149
149
  }
150
150
  interface EthTransferParams {
151
151
  amount: string;
152
+ slippage?: number;
152
153
  }
153
154
  declare enum PurcahseType {
154
155
  BUY = "buy",
@@ -479,6 +480,7 @@ declare class FlipmemeSDK {
479
480
  buy(params: BuyParams | EthBuyParams): Promise<ConfirmResult>;
480
481
  flipSell(params: SellParams | EthSellParams): Promise<ConfirmResult>;
481
482
  profileSell(data: ProfileSellParams | EthProfileSellParams): Promise<ConfirmResult>;
483
+ getCollectionPriceByTotalSupply(totalSupply: number): string;
482
484
  buyCredit(params: TransferParams | {
483
485
  amount: string;
484
486
  }): Promise<string | {
@@ -488,6 +490,7 @@ declare class FlipmemeSDK {
488
490
  lastValidBlockHeight: number;
489
491
  }>;
490
492
  }>;
493
+ exportCollectionByEth(sessionId: string, totalSupply: number, slippage?: number): Promise<string>;
491
494
  getTotalPrice(type: PurcahseType, collectionId: string, amount: number): Promise<string>;
492
495
  profileSellTotalPrice(data: Record<string, EthSellData>): Promise<string>;
493
496
  /**
package/dist/index.d.ts CHANGED
@@ -149,6 +149,7 @@ interface TransferParams {
149
149
  }
150
150
  interface EthTransferParams {
151
151
  amount: string;
152
+ slippage?: number;
152
153
  }
153
154
  declare enum PurcahseType {
154
155
  BUY = "buy",
@@ -479,6 +480,7 @@ declare class FlipmemeSDK {
479
480
  buy(params: BuyParams | EthBuyParams): Promise<ConfirmResult>;
480
481
  flipSell(params: SellParams | EthSellParams): Promise<ConfirmResult>;
481
482
  profileSell(data: ProfileSellParams | EthProfileSellParams): Promise<ConfirmResult>;
483
+ getCollectionPriceByTotalSupply(totalSupply: number): string;
482
484
  buyCredit(params: TransferParams | {
483
485
  amount: string;
484
486
  }): Promise<string | {
@@ -488,6 +490,7 @@ declare class FlipmemeSDK {
488
490
  lastValidBlockHeight: number;
489
491
  }>;
490
492
  }>;
493
+ exportCollectionByEth(sessionId: string, totalSupply: number, slippage?: number): Promise<string>;
491
494
  getTotalPrice(type: PurcahseType, collectionId: string, amount: number): Promise<string>;
492
495
  profileSellTotalPrice(data: Record<string, EthSellData>): Promise<string>;
493
496
  /**