flipmeme-sdk 1.2.47 → 1.2.48

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
@@ -88,7 +88,7 @@ interface ProfileSellParams {
88
88
  declare function isEthereumConfig(config: EthereumConfig | SolanaConfig): config is EthereumConfig;
89
89
  declare function isSolanaConfig(config: EthereumConfig | SolanaConfig): config is SolanaConfig;
90
90
  interface BuyCreditParams {
91
- adminPubKey: PublicKey;
91
+ userPubkey: PublicKey;
92
92
  amount: number;
93
93
  }
94
94
  declare enum PurcahseType {
package/dist/index.d.ts CHANGED
@@ -88,7 +88,7 @@ interface ProfileSellParams {
88
88
  declare function isEthereumConfig(config: EthereumConfig | SolanaConfig): config is EthereumConfig;
89
89
  declare function isSolanaConfig(config: EthereumConfig | SolanaConfig): config is SolanaConfig;
90
90
  interface BuyCreditParams {
91
- adminPubKey: PublicKey;
91
+ userPubkey: PublicKey;
92
92
  amount: number;
93
93
  }
94
94
  declare enum PurcahseType {
package/dist/index.js CHANGED
@@ -1992,7 +1992,7 @@ var SOLANA = {
1992
1992
  ROYALTY_ID_STR: "6oYqWqe23Ff1pnP2qPGhtYAgC7zD3fdWCUfvafaoTJEX",
1993
1993
  TOKEN_METADATA_PROGRAM_ID_STR: "metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s",
1994
1994
  MPL_CORE_STR: "CoREENxT6tW1HoK8ypY1SxRMZTcVPm7R94rH4PZNhX7d",
1995
- ADMIN_FOR_CREDIT_BUY_STR: "8pvgCVqHh2F1zdMdj7mo6AJPcV4ZwcPvhoomhSFib8vv",
1995
+ ADMIN_FOR_CREDIT_BUY_STR: "ELaia39FeuTV1EttanpKMy6jbWViJAmjUurnZCB7VxBg",
1996
1996
  MPL_BUBBLEGUM_STR: "BGUMAp9Gq7iTEuizy4pqaxsTyUCBK68MDfK752saRPUY",
1997
1997
  SPL_ACCOUNT_COMPRESSION_STR: "cmtDvXumGCrqC1Age74AVPhSRVXJMd8PJS91L8KbNCK",
1998
1998
  SPL_NOOP_STR: "noopb9bkMVfRPU8AsbpTUg8AQkHtKwMYZiFUjNRtMmV",
@@ -2461,7 +2461,7 @@ var SolanaConnector = class {
2461
2461
  }
2462
2462
  const transaction = new import_web34.Transaction().add(
2463
2463
  import_web34.SystemProgram.transfer({
2464
- fromPubkey: params.adminPubKey,
2464
+ fromPubkey: params.userPubkey,
2465
2465
  toPubkey: SOLANA_PUBKEYS.ADMIN_FOR_CREDIT_BUY,
2466
2466
  lamports: new import_decimal2.default(params.amount).mul(10 ** 9).toNumber()
2467
2467
  })