flipmeme-sdk 1.2.60 → 1.2.61

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
@@ -356,6 +356,6 @@ declare const VALID_SIZE_PAIR: {
356
356
  /**
357
357
  * this function only works for solana mainnet. So don't need to get connection as parameter
358
358
  */
359
- declare function placeTensorCollectionBid(price: number, quantity: number, collectionMint: string, privateKey: string): Promise<void>;
359
+ declare function placeTensorCollectionBid(price: number, quantity: number, collectionMint: string, privateKey: string): Promise<String>;
360
360
 
361
361
  export { type AssetData, type AssetInfo, BlockchainType, type BuyCreditParams, type BuyParams, type BuyResponse, type CollectionInfo, type CollectionParams, type Compression, type CreateCollectionResponse, ENV, type EthereumConfig, FlipmemeSDK, type MerkleProof, type NetworkAddress, type NftInfo, type Ownership, type ProfileSellParams, PurcahseType, RPC, type ReserveToken, type SDKTransaction, SDK_SOLANA_CONFIG, SOLANA_COMMON, SOLANA_DEV, SOLANA_MAIN, SOLANA_PUBKEYS, SOLANA_PUBKEYS_DEV, type SellData, type SellParams, type SellResponse, type SolanaConfig, VALID_SIZE_PAIR, isEthereumConfig, isSolanaConfig, placeTensorCollectionBid };
package/dist/index.d.ts CHANGED
@@ -356,6 +356,6 @@ declare const VALID_SIZE_PAIR: {
356
356
  /**
357
357
  * this function only works for solana mainnet. So don't need to get connection as parameter
358
358
  */
359
- declare function placeTensorCollectionBid(price: number, quantity: number, collectionMint: string, privateKey: string): Promise<void>;
359
+ declare function placeTensorCollectionBid(price: number, quantity: number, collectionMint: string, privateKey: string): Promise<String>;
360
360
 
361
361
  export { type AssetData, type AssetInfo, BlockchainType, type BuyCreditParams, type BuyParams, type BuyResponse, type CollectionInfo, type CollectionParams, type Compression, type CreateCollectionResponse, ENV, type EthereumConfig, FlipmemeSDK, type MerkleProof, type NetworkAddress, type NftInfo, type Ownership, type ProfileSellParams, PurcahseType, RPC, type ReserveToken, type SDKTransaction, SDK_SOLANA_CONFIG, SOLANA_COMMON, SOLANA_DEV, SOLANA_MAIN, SOLANA_PUBKEYS, SOLANA_PUBKEYS_DEV, type SellData, type SellParams, type SellResponse, type SolanaConfig, VALID_SIZE_PAIR, isEthereumConfig, isSolanaConfig, placeTensorCollectionBid };
package/dist/index.js CHANGED
@@ -3241,8 +3241,6 @@ function getCollectionId(collectionMint) {
3241
3241
  }
3242
3242
  }
3243
3243
  );
3244
- console.log("====collection Mint====", collectionMint);
3245
- console.log("====collection collId====", data.collId);
3246
3244
  return data.collId;
3247
3245
  });
3248
3246
  }
@@ -3272,11 +3270,10 @@ function placeTensorCollectionBid(price, quantity, collectionMint, privateKey) {
3272
3270
  preflightCommitment: "confirmed"
3273
3271
  });
3274
3272
  console.log("signature", signature);
3273
+ return tensorCollId;
3275
3274
  } catch (e) {
3276
- if (e instanceof import_axios.AxiosError) {
3277
- console.log("api error", e.message);
3278
- }
3279
- console.log("error", e);
3275
+ console.log("tensor bid error", e);
3276
+ throw new Error("Error on ternsor bid");
3280
3277
  }
3281
3278
  });
3282
3279
  }