@bosonprotocol/core-sdk 1.7.1-alpha.0 → 1.8.0-alpha.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/cjs/offers/index.d.ts +2 -2
- package/dist/cjs/subgraph.d.ts +32 -32
- package/dist/cjs/subgraph.d.ts.map +1 -1
- package/dist/cjs/subgraph.js +2 -2
- package/dist/cjs/subgraph.js.map +1 -1
- package/dist/esm/offers/index.d.ts +2 -2
- package/dist/esm/subgraph.d.ts +32 -32
- package/dist/esm/subgraph.d.ts.map +1 -1
- package/dist/esm/subgraph.js +2 -2
- package/dist/esm/subgraph.js.map +1 -1
- package/package.json +3 -3
- package/src/offers/queries.graphql +1 -1
- package/src/subgraph.ts +33 -33
|
@@ -20,7 +20,7 @@ export declare const validation: {
|
|
|
20
20
|
resolutionPeriodDurationInMS: import("yup/lib/string").RequiredStringSchema<string, import("yup/lib/types").AnyObject>;
|
|
21
21
|
exchangeToken: import("yup/lib/string").RequiredStringSchema<string, import("yup/lib/types").AnyObject>;
|
|
22
22
|
metadataUri: import("yup/lib/string").RequiredStringSchema<string, import("yup/lib/types").AnyObject>;
|
|
23
|
-
|
|
23
|
+
metadataHash: import("yup/lib/string").RequiredStringSchema<string, import("yup/lib/types").AnyObject>;
|
|
24
24
|
}, import("yup/lib/object").AnyObject, import("yup/lib/object").TypeOfShape<{
|
|
25
25
|
price: import("yup/lib/string").RequiredStringSchema<string, import("yup/lib/types").AnyObject>;
|
|
26
26
|
sellerDeposit: import("yup/lib/string").RequiredStringSchema<string, import("yup/lib/types").AnyObject>;
|
|
@@ -36,7 +36,7 @@ export declare const validation: {
|
|
|
36
36
|
resolutionPeriodDurationInMS: import("yup/lib/string").RequiredStringSchema<string, import("yup/lib/types").AnyObject>;
|
|
37
37
|
exchangeToken: import("yup/lib/string").RequiredStringSchema<string, import("yup/lib/types").AnyObject>;
|
|
38
38
|
metadataUri: import("yup/lib/string").RequiredStringSchema<string, import("yup/lib/types").AnyObject>;
|
|
39
|
-
|
|
39
|
+
metadataHash: import("yup/lib/string").RequiredStringSchema<string, import("yup/lib/types").AnyObject>;
|
|
40
40
|
}>>;
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/cjs/subgraph.d.ts
CHANGED
|
@@ -1001,8 +1001,8 @@ export declare type Offer = {
|
|
|
1001
1001
|
fulfillmentPeriodDuration: Scalars["BigInt"];
|
|
1002
1002
|
id: Scalars["ID"];
|
|
1003
1003
|
metadata?: Maybe<MetadataInterface>;
|
|
1004
|
+
metadataHash: Scalars["String"];
|
|
1004
1005
|
metadataUri: Scalars["String"];
|
|
1005
|
-
offerChecksum: Scalars["String"];
|
|
1006
1006
|
price: Scalars["BigInt"];
|
|
1007
1007
|
protocolFee: Scalars["BigInt"];
|
|
1008
1008
|
quantityAvailable: Scalars["BigInt"];
|
|
@@ -1113,6 +1113,26 @@ export declare type Offer_Filter = {
|
|
|
1113
1113
|
id_not?: InputMaybe<Scalars["ID"]>;
|
|
1114
1114
|
id_not_in?: InputMaybe<Array<Scalars["ID"]>>;
|
|
1115
1115
|
metadata?: InputMaybe<Scalars["String"]>;
|
|
1116
|
+
metadataHash?: InputMaybe<Scalars["String"]>;
|
|
1117
|
+
metadataHash_contains?: InputMaybe<Scalars["String"]>;
|
|
1118
|
+
metadataHash_contains_nocase?: InputMaybe<Scalars["String"]>;
|
|
1119
|
+
metadataHash_ends_with?: InputMaybe<Scalars["String"]>;
|
|
1120
|
+
metadataHash_ends_with_nocase?: InputMaybe<Scalars["String"]>;
|
|
1121
|
+
metadataHash_gt?: InputMaybe<Scalars["String"]>;
|
|
1122
|
+
metadataHash_gte?: InputMaybe<Scalars["String"]>;
|
|
1123
|
+
metadataHash_in?: InputMaybe<Array<Scalars["String"]>>;
|
|
1124
|
+
metadataHash_lt?: InputMaybe<Scalars["String"]>;
|
|
1125
|
+
metadataHash_lte?: InputMaybe<Scalars["String"]>;
|
|
1126
|
+
metadataHash_not?: InputMaybe<Scalars["String"]>;
|
|
1127
|
+
metadataHash_not_contains?: InputMaybe<Scalars["String"]>;
|
|
1128
|
+
metadataHash_not_contains_nocase?: InputMaybe<Scalars["String"]>;
|
|
1129
|
+
metadataHash_not_ends_with?: InputMaybe<Scalars["String"]>;
|
|
1130
|
+
metadataHash_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
|
|
1131
|
+
metadataHash_not_in?: InputMaybe<Array<Scalars["String"]>>;
|
|
1132
|
+
metadataHash_not_starts_with?: InputMaybe<Scalars["String"]>;
|
|
1133
|
+
metadataHash_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
|
|
1134
|
+
metadataHash_starts_with?: InputMaybe<Scalars["String"]>;
|
|
1135
|
+
metadataHash_starts_with_nocase?: InputMaybe<Scalars["String"]>;
|
|
1116
1136
|
metadataUri?: InputMaybe<Scalars["String"]>;
|
|
1117
1137
|
metadataUri_contains?: InputMaybe<Scalars["String"]>;
|
|
1118
1138
|
metadataUri_contains_nocase?: InputMaybe<Scalars["String"]>;
|
|
@@ -1152,26 +1172,6 @@ export declare type Offer_Filter = {
|
|
|
1152
1172
|
metadata_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
|
|
1153
1173
|
metadata_starts_with?: InputMaybe<Scalars["String"]>;
|
|
1154
1174
|
metadata_starts_with_nocase?: InputMaybe<Scalars["String"]>;
|
|
1155
|
-
offerChecksum?: InputMaybe<Scalars["String"]>;
|
|
1156
|
-
offerChecksum_contains?: InputMaybe<Scalars["String"]>;
|
|
1157
|
-
offerChecksum_contains_nocase?: InputMaybe<Scalars["String"]>;
|
|
1158
|
-
offerChecksum_ends_with?: InputMaybe<Scalars["String"]>;
|
|
1159
|
-
offerChecksum_ends_with_nocase?: InputMaybe<Scalars["String"]>;
|
|
1160
|
-
offerChecksum_gt?: InputMaybe<Scalars["String"]>;
|
|
1161
|
-
offerChecksum_gte?: InputMaybe<Scalars["String"]>;
|
|
1162
|
-
offerChecksum_in?: InputMaybe<Array<Scalars["String"]>>;
|
|
1163
|
-
offerChecksum_lt?: InputMaybe<Scalars["String"]>;
|
|
1164
|
-
offerChecksum_lte?: InputMaybe<Scalars["String"]>;
|
|
1165
|
-
offerChecksum_not?: InputMaybe<Scalars["String"]>;
|
|
1166
|
-
offerChecksum_not_contains?: InputMaybe<Scalars["String"]>;
|
|
1167
|
-
offerChecksum_not_contains_nocase?: InputMaybe<Scalars["String"]>;
|
|
1168
|
-
offerChecksum_not_ends_with?: InputMaybe<Scalars["String"]>;
|
|
1169
|
-
offerChecksum_not_ends_with_nocase?: InputMaybe<Scalars["String"]>;
|
|
1170
|
-
offerChecksum_not_in?: InputMaybe<Array<Scalars["String"]>>;
|
|
1171
|
-
offerChecksum_not_starts_with?: InputMaybe<Scalars["String"]>;
|
|
1172
|
-
offerChecksum_not_starts_with_nocase?: InputMaybe<Scalars["String"]>;
|
|
1173
|
-
offerChecksum_starts_with?: InputMaybe<Scalars["String"]>;
|
|
1174
|
-
offerChecksum_starts_with_nocase?: InputMaybe<Scalars["String"]>;
|
|
1175
1175
|
price?: InputMaybe<Scalars["BigInt"]>;
|
|
1176
1176
|
price_gt?: InputMaybe<Scalars["BigInt"]>;
|
|
1177
1177
|
price_gte?: InputMaybe<Scalars["BigInt"]>;
|
|
@@ -1311,8 +1311,8 @@ export declare enum Offer_OrderBy {
|
|
|
1311
1311
|
FulfillmentPeriodDuration = "fulfillmentPeriodDuration",
|
|
1312
1312
|
Id = "id",
|
|
1313
1313
|
Metadata = "metadata",
|
|
1314
|
+
MetadataHash = "metadataHash",
|
|
1314
1315
|
MetadataUri = "metadataUri",
|
|
1315
|
-
OfferChecksum = "offerChecksum",
|
|
1316
1316
|
Price = "price",
|
|
1317
1317
|
ProtocolFee = "protocolFee",
|
|
1318
1318
|
QuantityAvailable = "quantityAvailable",
|
|
@@ -2242,7 +2242,7 @@ export declare type GetSellerByIdQueryQuery = {
|
|
|
2242
2242
|
voucherValidDuration: string;
|
|
2243
2243
|
resolutionPeriodDuration: string;
|
|
2244
2244
|
metadataUri: string;
|
|
2245
|
-
|
|
2245
|
+
metadataHash: string;
|
|
2246
2246
|
voidedAt?: string | null;
|
|
2247
2247
|
disputeResolverId: string;
|
|
2248
2248
|
seller: {
|
|
@@ -2358,7 +2358,7 @@ export declare type GetSellersQueryQuery = {
|
|
|
2358
2358
|
voucherValidDuration: string;
|
|
2359
2359
|
resolutionPeriodDuration: string;
|
|
2360
2360
|
metadataUri: string;
|
|
2361
|
-
|
|
2361
|
+
metadataHash: string;
|
|
2362
2362
|
voidedAt?: string | null;
|
|
2363
2363
|
disputeResolverId: string;
|
|
2364
2364
|
seller: {
|
|
@@ -2447,7 +2447,7 @@ export declare type SellerFieldsFragment = {
|
|
|
2447
2447
|
voucherValidDuration: string;
|
|
2448
2448
|
resolutionPeriodDuration: string;
|
|
2449
2449
|
metadataUri: string;
|
|
2450
|
-
|
|
2450
|
+
metadataHash: string;
|
|
2451
2451
|
voidedAt?: string | null;
|
|
2452
2452
|
disputeResolverId: string;
|
|
2453
2453
|
seller: {
|
|
@@ -2561,7 +2561,7 @@ export declare type GetExchangeByIdQueryQuery = {
|
|
|
2561
2561
|
voucherValidDuration: string;
|
|
2562
2562
|
resolutionPeriodDuration: string;
|
|
2563
2563
|
metadataUri: string;
|
|
2564
|
-
|
|
2564
|
+
metadataHash: string;
|
|
2565
2565
|
voidedAt?: string | null;
|
|
2566
2566
|
disputeResolverId: string;
|
|
2567
2567
|
seller: {
|
|
@@ -2652,7 +2652,7 @@ export declare type GetExchangesQueryQuery = {
|
|
|
2652
2652
|
voucherValidDuration: string;
|
|
2653
2653
|
resolutionPeriodDuration: string;
|
|
2654
2654
|
metadataUri: string;
|
|
2655
|
-
|
|
2655
|
+
metadataHash: string;
|
|
2656
2656
|
voidedAt?: string | null;
|
|
2657
2657
|
disputeResolverId: string;
|
|
2658
2658
|
seller: {
|
|
@@ -2734,7 +2734,7 @@ export declare type ExchangeFieldsFragment = {
|
|
|
2734
2734
|
voucherValidDuration: string;
|
|
2735
2735
|
resolutionPeriodDuration: string;
|
|
2736
2736
|
metadataUri: string;
|
|
2737
|
-
|
|
2737
|
+
metadataHash: string;
|
|
2738
2738
|
voidedAt?: string | null;
|
|
2739
2739
|
disputeResolverId: string;
|
|
2740
2740
|
seller: {
|
|
@@ -2867,7 +2867,7 @@ export declare type GetOfferByIdQueryQuery = {
|
|
|
2867
2867
|
voucherValidDuration: string;
|
|
2868
2868
|
resolutionPeriodDuration: string;
|
|
2869
2869
|
metadataUri: string;
|
|
2870
|
-
|
|
2870
|
+
metadataHash: string;
|
|
2871
2871
|
voidedAt?: string | null;
|
|
2872
2872
|
disputeResolverId: string;
|
|
2873
2873
|
exchanges?: Array<{
|
|
@@ -2949,7 +2949,7 @@ export declare type GetOffersQueryQuery = {
|
|
|
2949
2949
|
voucherValidDuration: string;
|
|
2950
2950
|
resolutionPeriodDuration: string;
|
|
2951
2951
|
metadataUri: string;
|
|
2952
|
-
|
|
2952
|
+
metadataHash: string;
|
|
2953
2953
|
voidedAt?: string | null;
|
|
2954
2954
|
disputeResolverId: string;
|
|
2955
2955
|
exchanges?: Array<{
|
|
@@ -3016,7 +3016,7 @@ export declare type OfferFieldsFragment = {
|
|
|
3016
3016
|
voucherValidDuration: string;
|
|
3017
3017
|
resolutionPeriodDuration: string;
|
|
3018
3018
|
metadataUri: string;
|
|
3019
|
-
|
|
3019
|
+
metadataHash: string;
|
|
3020
3020
|
voidedAt?: string | null;
|
|
3021
3021
|
disputeResolverId: string;
|
|
3022
3022
|
exchanges?: Array<{
|
|
@@ -3082,7 +3082,7 @@ export declare type BaseOfferFieldsFragment = {
|
|
|
3082
3082
|
voucherValidDuration: string;
|
|
3083
3083
|
resolutionPeriodDuration: string;
|
|
3084
3084
|
metadataUri: string;
|
|
3085
|
-
|
|
3085
|
+
metadataHash: string;
|
|
3086
3086
|
voidedAt?: string | null;
|
|
3087
3087
|
disputeResolverId: string;
|
|
3088
3088
|
seller: {
|