@scallop-io/sui-scallop-sdk 1.4.5 → 1.4.6

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.js CHANGED
@@ -749,7 +749,7 @@ var queryKeys = {
749
749
  {
750
750
  walletAddress,
751
751
  options,
752
- objectIds: JSON.stringify(objectIds ?? [])
752
+ objectIds: JSON.stringify(objectIds ?? void 0)
753
753
  }
754
754
  ],
755
755
  getOwnedObjects: (input) => [
@@ -2000,14 +2000,14 @@ var ScallopCache = class {
2000
2000
  * - `all`: All queries that match the refetch predicate will be refetched in the background.
2001
2001
  * - `none`: No queries will be refetched. Queries that match the refetch predicate will only be marked as invalid.
2002
2002
  */
2003
- async invalidateAllCache() {
2004
- return Object.values(queryKeys.rpc).map(
2005
- (t) => this.queryClient.invalidateQueries({
2006
- queryKey: t(),
2007
- type: "all"
2008
- })
2009
- );
2010
- }
2003
+ // public async invalidateAllCache() {
2004
+ // return Object.values(queryKeys.rpc).map((t) =>
2005
+ // this.queryClient.invalidateQueries({
2006
+ // queryKey: t(),
2007
+ // type: 'all',
2008
+ // })
2009
+ // );
2010
+ // }
2011
2011
  retryFn(errCount, e) {
2012
2012
  if (errCount === 5)
2013
2013
  return false;