@mojito-inc/core-service
Advanced tools
Comparing version 1.0.8-beta.34 to 1.0.8-beta.35
@@ -6,2 +6,28 @@ import { TokenType } from './ListItemParam'; | ||
} | ||
export interface bubbleGumListArgParams { | ||
price: number; | ||
isCnft: boolean; | ||
dataHash: string; | ||
creatorHash: string; | ||
nonce: number; | ||
index: number; | ||
} | ||
export interface BubbleGumListParams { | ||
seller: string; | ||
sellerTokenAccount: string; | ||
mintAccount: string; | ||
systemProgram: string; | ||
tokenProgram: string; | ||
rent: string; | ||
bubblegumProgram: string; | ||
compressionProgram: string; | ||
treeAuthority: string; | ||
leafOwner: string; | ||
previousLeafDelegate: string; | ||
newLeafDelegate: string; | ||
logWrapper: string; | ||
merkleTree: string; | ||
listDiscriminator: number[]; | ||
bubbleGumListArg: bubbleGumListArgParams; | ||
} | ||
export interface CreateSignatureToListNFTForSaleData { | ||
@@ -22,2 +48,5 @@ createSignatureToListNFTForSale: { | ||
}; | ||
isSigningRequired: boolean; | ||
isNonEVM: boolean; | ||
bubbleGumListParams: BubbleGumListParams; | ||
}; | ||
@@ -24,0 +53,0 @@ } |
@@ -19,7 +19,9 @@ export declare enum TokenType { | ||
signature: string; | ||
quantity: number; | ||
fixedPrice: number; | ||
paymentToken: string; | ||
currencyId: string; | ||
creatorFee: number; | ||
quantity?: number; | ||
fixedPrice?: number; | ||
paymentToken?: string; | ||
currencyId?: string; | ||
creatorFee?: number; | ||
listingReceipt?: string; | ||
currency?: 'USD' | 'EUR'; | ||
} | ||
@@ -26,0 +28,0 @@ export interface RemoveListingParam { |
@@ -37,2 +37,29 @@ import { gql } from '@apollo/client'; | ||
} | ||
isSigningRequired | ||
isNonEVM | ||
bubbleGumListParams { | ||
seller | ||
sellerTokenAccount | ||
mintAccount | ||
systemProgram | ||
tokenProgram | ||
rent | ||
bubblegumProgram | ||
compressionProgram | ||
treeAuthority | ||
leafOwner | ||
previousLeafDelegate | ||
newLeafDelegate | ||
logWrapper | ||
merkleTree | ||
listDiscriminator | ||
bubbleGumListArg { | ||
price | ||
isCnft | ||
dataHash | ||
creatorHash | ||
nonce | ||
index | ||
} | ||
} | ||
} | ||
@@ -51,2 +78,4 @@ } | ||
$creatorFee: Float | ||
$listingReceipt: String | ||
$currency: CurrencyCodeFiat | ||
) { | ||
@@ -62,2 +91,4 @@ submitProofOfApproval( | ||
creatorFee: $creatorFee | ||
currency: $currency | ||
listingReceipt: $listingReceipt | ||
) | ||
@@ -64,0 +95,0 @@ } |
{ | ||
"name": "@mojito-inc/core-service", | ||
"version": "1.0.8-beta.34", | ||
"version": "1.0.8-beta.35", | ||
"description": "Mojito Core API service for auction, payment, token", | ||
@@ -5,0 +5,0 @@ "main": "./index.cjs", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
484902
13125