@0xslots/sdk 0.13.0 → 0.13.1
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/{chunk-RKRQIWX7.js → chunk-SEHWEXEA.js} +10 -8
- package/dist/chunk-SEHWEXEA.js.map +1 -0
- package/dist/{client-BKC_2-uM.d.ts → client-B-1o8wfq.d.ts} +28 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/react.d.ts +1 -1
- package/dist/react.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-RKRQIWX7.js.map +0 -1
|
@@ -58,6 +58,12 @@ var MetadataSlotFieldsFragmentDoc = gql`
|
|
|
58
58
|
symbol
|
|
59
59
|
decimals
|
|
60
60
|
}
|
|
61
|
+
module {
|
|
62
|
+
id
|
|
63
|
+
verified
|
|
64
|
+
name
|
|
65
|
+
version
|
|
66
|
+
}
|
|
61
67
|
}
|
|
62
68
|
}
|
|
63
69
|
`;
|
|
@@ -1068,8 +1074,7 @@ var FeedModuleClient = class {
|
|
|
1068
1074
|
}
|
|
1069
1075
|
get chain() {
|
|
1070
1076
|
const chain = this.wallet.chain;
|
|
1071
|
-
if (!chain)
|
|
1072
|
-
throw new SlotsError("feed", "WalletClient must have a chain");
|
|
1077
|
+
if (!chain) throw new SlotsError("feed", "WalletClient must have a chain");
|
|
1073
1078
|
return chain;
|
|
1074
1079
|
}
|
|
1075
1080
|
get publicClient() {
|
|
@@ -1118,10 +1123,7 @@ var FeedModuleClient = class {
|
|
|
1118
1123
|
}
|
|
1119
1124
|
/** Get a single metadata slot by slot address. */
|
|
1120
1125
|
getSlot(...args) {
|
|
1121
|
-
return this.query(
|
|
1122
|
-
"feed.getSlot",
|
|
1123
|
-
() => this.sdk.GetMetadataSlot(...args)
|
|
1124
|
-
);
|
|
1126
|
+
return this.query("feed.getSlot", () => this.sdk.GetMetadataSlot(...args));
|
|
1125
1127
|
}
|
|
1126
1128
|
/** Get metadata update history for a slot. */
|
|
1127
1129
|
getUpdateHistory(...args) {
|
|
@@ -1801,5 +1803,5 @@ function createSlotsClient(config) {
|
|
|
1801
1803
|
}
|
|
1802
1804
|
|
|
1803
1805
|
export { AccountFieldsFragmentDoc, CurrencyFieldsFragmentDoc, FeedModuleClient, GetAccountDocument, GetAccountsDocument, GetBoughtEventsDocument, GetDepositedEventsDocument, GetFactoryDocument, GetLiquidatedEventsDocument, GetMetadataSlotDocument, GetMetadataSlotsByRecipientDocument, GetMetadataSlotsDocument, GetMetadataUpdatedEventsDocument, GetModulesDocument, GetPriceUpdatedEventsDocument, GetRecentEventsDocument, GetReleasedEventsDocument, GetSettledEventsDocument, GetSlotActivityDocument, GetSlotDeployedEventsDocument, GetSlotDocument, GetSlotsByOccupantDocument, GetSlotsByRecipientDocument, GetSlotsDocument, GetTaxCollectedEventsDocument, GetWithdrawnEventsDocument, MetadataModuleClient, MetadataSlotFieldsFragmentDoc, SUBGRAPH_URLS, SlotFieldsFragmentDoc, SlotsChain, SlotsClient, SlotsError, createSlotsClient, getSdk };
|
|
1804
|
-
//# sourceMappingURL=chunk-
|
|
1805
|
-
//# sourceMappingURL=chunk-
|
|
1806
|
+
//# sourceMappingURL=chunk-SEHWEXEA.js.map
|
|
1807
|
+
//# sourceMappingURL=chunk-SEHWEXEA.js.map
|