gondi 0.49.0 → 0.50.0
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.mjs +450 -51
- package/dist/index.mjs.map +3 -3
- package/dist/src/clients/api/index.d.ts +8 -2
- package/dist/src/clients/api/sdk.d.ts +3 -0
- package/dist/src/generated/graphql/index.d.ts +399 -7
- package/dist/src/gondi.d.ts +151 -2
- package/dist/tests/utils/gondiStub.d.ts +26 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApolloClient, NormalizedCacheObject } from '@apollo/client';
|
|
2
2
|
import { getSdkApollo } from '../../clients/api/sdk';
|
|
3
3
|
import { Wallet } from '../../clients/contracts';
|
|
4
|
-
import { BnplOrderInput, BulkNftOrdersInput, CollectionOrderInput, CollectionSignedOfferInput, DealInput, ListListingsQueryVariables, ListLoansQueryVariables, ListOffersQueryVariables, LoanOfferPublicationInput, NftOrderInput, RenegotiationOfferInput, SingleNftOfferInput, SingleNftOrderInput, SingleNftSignedOfferInput, TraitOrderInput, TraitSignedOfferInput } from '../../generated/graphql';
|
|
4
|
+
import { BnplOrderInput, BulkNftOrdersInput, CollectionOrderInput, CollectionSignedOfferInput, DealInput, ListListingsQueryVariables, ListLoansQueryVariables, ListOffersQueryVariables, LoanOfferPublicationInput, NftOrderInput, NftSetOrderInput, RenegotiationOfferInput, SingleNftOfferInput, SingleNftOrderInput, SingleNftSignedOfferInput, TraitOrderInput, TraitSignedOfferInput } from '../../generated/graphql';
|
|
5
5
|
import { OnStepChange } from '../../gondi';
|
|
6
6
|
import { RenegotiationOffer } from '../../model';
|
|
7
7
|
export type Props = {
|
|
@@ -162,7 +162,7 @@ export declare class Api {
|
|
|
162
162
|
nftCollateralAddress: `0x${string}`;
|
|
163
163
|
nftCollateralTokenId: bigint;
|
|
164
164
|
}>;
|
|
165
|
-
publishOrder(orderInput: SingleNftOrderInput | CollectionOrderInput | TraitOrderInput): Promise<{
|
|
165
|
+
publishOrder(orderInput: SingleNftOrderInput | CollectionOrderInput | TraitOrderInput | NftSetOrderInput): Promise<{
|
|
166
166
|
__typename?: "MultipleTraitOrder";
|
|
167
167
|
id: string;
|
|
168
168
|
status: string;
|
|
@@ -190,6 +190,12 @@ export declare class Api {
|
|
|
190
190
|
status: string;
|
|
191
191
|
signature: import("viem").Hex;
|
|
192
192
|
marketPlaceAddress: import("viem").Address;
|
|
193
|
+
} | {
|
|
194
|
+
__typename?: "SetBidOrder";
|
|
195
|
+
id: string;
|
|
196
|
+
status: string;
|
|
197
|
+
signature: import("viem").Hex;
|
|
198
|
+
marketPlaceAddress: import("viem").Address;
|
|
193
199
|
} | {
|
|
194
200
|
__typename?: "CollectionOrder";
|
|
195
201
|
id: string;
|
|
@@ -61,6 +61,9 @@ export declare function getSdkApollo<C>(client: ApolloClient<C>, onStepChange?:
|
|
|
61
61
|
publishOrderForNft(variables: import("../../generated/graphql").Exact<{
|
|
62
62
|
orderInput: import("../../generated/graphql").SingleNftOrderInput;
|
|
63
63
|
}>, options?: {} | undefined): Promise<import("../../generated/graphql").PublishOrderForNftMutation>;
|
|
64
|
+
publishOrderForNftSet(variables: import("../../generated/graphql").Exact<{
|
|
65
|
+
orderInput: import("../../generated/graphql").NftSetOrderInput;
|
|
66
|
+
}>, options?: {} | undefined): Promise<import("../../generated/graphql").PublishOrderForNftSetMutation>;
|
|
64
67
|
publishOrderForTrait(variables: import("../../generated/graphql").Exact<{
|
|
65
68
|
orderInput: import("../../generated/graphql").TraitOrderInput;
|
|
66
69
|
}>, options?: {} | undefined): Promise<import("../../generated/graphql").PublishOrderForTraitMutation>;
|