flipmeme-sdk 1.2.59 → 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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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<
|
|
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<
|
|
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
|
@@ -2055,9 +2055,9 @@ var SOLANA_PUBKEYS_DEV = __spreadValues({
|
|
|
2055
2055
|
}, SOLANA_COMMON);
|
|
2056
2056
|
var SDK_SOLANA_CONFIG = {
|
|
2057
2057
|
MINT_CHUNK_SIZE: 3,
|
|
2058
|
-
BUY_CHUNK_SIZE:
|
|
2059
|
-
SELL_CHUNK_SIZE:
|
|
2060
|
-
EJECT_CHUNK_SIZE:
|
|
2058
|
+
BUY_CHUNK_SIZE: 5,
|
|
2059
|
+
SELL_CHUNK_SIZE: 5,
|
|
2060
|
+
EJECT_CHUNK_SIZE: 5
|
|
2061
2061
|
};
|
|
2062
2062
|
var VALID_SIZE_PAIR = {
|
|
2063
2063
|
3: { maxBufferSize: 8, maxDepth: 3 },
|
|
@@ -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
|
-
|
|
3277
|
-
|
|
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
|
}
|