@dappworks/kit 0.5.34 → 0.5.36

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.
Files changed (55) hide show
  1. package/dist/{PromiseState-DVdsif1j.d.ts → PromiseState-e64b3707.d.ts} +1 -1
  2. package/dist/{StorageState-qapaHguM.d.ts → StorageState-cfd942cb.d.ts} +1 -1
  3. package/dist/aiem.d.mts +3 -3
  4. package/dist/aiem.mjs +2 -2
  5. package/dist/{chunk-BQSQ4L7R.mjs → chunk-5BTB7HRK.mjs} +2 -2
  6. package/dist/chunk-6F7H4PAA.mjs +35 -0
  7. package/dist/{chunk-I2RSE63R.mjs → chunk-72E76L6J.mjs} +2 -2
  8. package/dist/{chunk-2L5EKCYR.mjs → chunk-AVG4JG4V.mjs} +4 -4
  9. package/dist/chunk-BR7IWH2E.mjs +1284 -0
  10. package/dist/chunk-BR7IWH2E.mjs.map +1 -0
  11. package/dist/{chunk-SA53R6TL.mjs → chunk-KIS52LFU.mjs} +7 -7
  12. package/dist/{chunk-SA53R6TL.mjs.map → chunk-KIS52LFU.mjs.map} +1 -1
  13. package/dist/{chunk-FWK5VZHE.mjs → chunk-NKGQRF5D.mjs} +3 -3
  14. package/dist/{chunk-BAXWSAXB.mjs → chunk-SPFKGNUY.mjs} +364 -388
  15. package/dist/chunk-SPFKGNUY.mjs.map +1 -0
  16. package/dist/{chunk-WWCB4WOQ.mjs → chunk-WMV5O3PI.mjs} +4 -4
  17. package/dist/chunk-WMV5O3PI.mjs.map +1 -0
  18. package/dist/dev.d.mts +1 -1
  19. package/dist/dev.mjs +2 -2
  20. package/dist/experimental.d.mts +5 -5
  21. package/dist/experimental.mjs +3 -3
  22. package/dist/form.d.mts +14 -14
  23. package/dist/form.mjs +3 -3
  24. package/dist/form.mjs.map +1 -1
  25. package/dist/{index-CUKoRIdy.d.ts → index-38be834f.d.ts} +1 -1
  26. package/dist/index.d.mts +5 -5
  27. package/dist/index.mjs +6 -6
  28. package/dist/inspector.d.mts +1 -1
  29. package/dist/inspector.mjs +1 -1
  30. package/dist/jsoncomponent.d.mts +1 -1
  31. package/dist/jsoncomponent.mjs +1 -1
  32. package/dist/jsontable.d.mts +2 -2
  33. package/dist/jsontable.mjs +4 -4
  34. package/dist/metrics.d.mts +1 -1
  35. package/dist/metrics.mjs +4 -4
  36. package/dist/plugins.d.mts +8 -8
  37. package/dist/plugins.mjs +5 -5
  38. package/dist/{root-BPMUmS6H.d.ts → root-218afa4f.d.ts} +1 -1
  39. package/dist/ui.mjs +3 -3
  40. package/dist/utils.d.mts +19 -100
  41. package/dist/utils.mjs +1 -1
  42. package/dist/wallet.d.mts +4 -4
  43. package/dist/wallet.mjs +7 -7
  44. package/package.json +175 -174
  45. package/dist/chunk-4KRVA5CB.mjs +0 -23690
  46. package/dist/chunk-4KRVA5CB.mjs.map +0 -1
  47. package/dist/chunk-BAXWSAXB.mjs.map +0 -1
  48. package/dist/chunk-VIK2VI34.mjs +0 -69
  49. package/dist/chunk-WWCB4WOQ.mjs.map +0 -1
  50. /package/dist/{PaginationState-Bmrrw0ky.d.ts → PaginationState-c19e621a.d.ts} +0 -0
  51. /package/dist/{chunk-BQSQ4L7R.mjs.map → chunk-5BTB7HRK.mjs.map} +0 -0
  52. /package/dist/{chunk-VIK2VI34.mjs.map → chunk-6F7H4PAA.mjs.map} +0 -0
  53. /package/dist/{chunk-I2RSE63R.mjs.map → chunk-72E76L6J.mjs.map} +0 -0
  54. /package/dist/{chunk-2L5EKCYR.mjs.map → chunk-AVG4JG4V.mjs.map} +0 -0
  55. /package/dist/{chunk-FWK5VZHE.mjs.map → chunk-NKGQRF5D.mjs.map} +0 -0
package/dist/index.d.mts CHANGED
@@ -1,9 +1,9 @@
1
- import { R as RootStore, E as EventMap, S as Store } from './root-BPMUmS6H.js';
2
- export { B as BaseState, c as BooleanState, N as NumberState, a as StoreClass, b as StringState, V as ValueState } from './root-BPMUmS6H.js';
3
- export { P as PromiseState } from './PromiseState-DVdsif1j.js';
4
- export { P as PromiseHook, S as StorageState } from './StorageState-qapaHguM.js';
1
+ import { R as RootStore, E as EventMap, S as Store } from './root-218afa4f.js';
2
+ export { B as BaseState, c as BooleanState, N as NumberState, a as StoreClass, b as StringState, V as ValueState } from './root-218afa4f.js';
3
+ export { P as PromiseState } from './PromiseState-e64b3707.js';
4
+ export { P as PromiseHook, S as StorageState } from './StorageState-cfd942cb.js';
5
5
  import BigNumber from 'bignumber.js';
6
- export { P as PaginationState } from './PaginationState-Bmrrw0ky.js';
6
+ export { P as PaginationState } from './PaginationState-c19e621a.js';
7
7
  import React from 'react';
8
8
  import 'typed-emitter';
9
9
  import 'events';
package/dist/index.mjs CHANGED
@@ -1,14 +1,14 @@
1
- export { AppProvider, AutoMan, BigNumberInputState, BigNumberState, ObjectPool, PromiseHook, StorageListState, StorageState } from './chunk-4KRVA5CB.mjs';
2
- export { BooleanState, NumberState, PromiseState, Store, StringState, ValueState } from './chunk-I2RSE63R.mjs';
3
- import './chunk-WWCB4WOQ.mjs';
1
+ export { AppProvider, AutoMan, BigNumberInputState, BigNumberState, ObjectPool, PromiseHook, StorageListState, StorageState } from './chunk-BR7IWH2E.mjs';
2
+ export { BooleanState, NumberState, PromiseState, Store, StringState, ValueState } from './chunk-72E76L6J.mjs';
3
+ import './chunk-WMV5O3PI.mjs';
4
4
  import './chunk-2BZKMJZX.mjs';
5
- import './chunk-FWK5VZHE.mjs';
5
+ import './chunk-NKGQRF5D.mjs';
6
6
  import './chunk-7EL2RQI7.mjs';
7
7
  import './chunk-R66SHRQE.mjs';
8
- export { RootStore, rootStore, useStore } from './chunk-SA53R6TL.mjs';
8
+ export { RootStore, rootStore, useStore } from './chunk-KIS52LFU.mjs';
9
9
  import './chunk-7WJMHFRA.mjs';
10
10
  export { PaginationState } from './chunk-Z3LJE5QF.mjs';
11
11
  import './chunk-2PD23V7H.mjs';
12
- import './chunk-VIK2VI34.mjs';
12
+ import './chunk-6F7H4PAA.mjs';
13
13
  //# sourceMappingURL=out.js.map
14
14
  //# sourceMappingURL=index.mjs.map
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { S as Store } from './root-BPMUmS6H.js';
2
+ import { S as Store } from './root-218afa4f.js';
3
3
  import 'typed-emitter';
4
4
 
5
5
  declare class DevInspectorPlugin implements Store {
@@ -1,4 +1,4 @@
1
- import './chunk-VIK2VI34.mjs';
1
+ import './chunk-6F7H4PAA.mjs';
2
2
  import React from 'react';
3
3
  import { Inspector } from 'react-dev-inspector';
4
4
 
@@ -19,4 +19,4 @@ interface JSONComponentProps<T extends Record<string, any>> {
19
19
  }
20
20
  declare const JSONComponent: <T extends Record<string, any>>({ className, jsondata, type }: JSONComponentProps<T>) => React.JSX.Element;
21
21
 
22
- export { JSONComponent, type JSONComponentProps, type JSONDataType };
22
+ export { JSONComponent, JSONComponentProps, JSONDataType };
@@ -1,4 +1,4 @@
1
- import './chunk-VIK2VI34.mjs';
1
+ import './chunk-6F7H4PAA.mjs';
2
2
  import React from 'react';
3
3
 
4
4
  var CardWidget = ({ jsondata }) => {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { SpinnerProps, PaginationProps } from '@nextui-org/react';
3
- import { P as PaginationState } from './PaginationState-Bmrrw0ky.js';
3
+ import { P as PaginationState } from './PaginationState-c19e621a.js';
4
4
 
5
5
  type TableClassNames = {
6
6
  table?: string;
@@ -123,4 +123,4 @@ interface JSONTableProps<T extends Record<string, any>> {
123
123
  }
124
124
  declare const JSONTable: <T extends Record<string, any>>(props: JSONTableProps<T>) => React.JSX.Element;
125
125
 
126
- export { type CardOptions, type CollapsedTableConfig, type ColumnOptions, type HeaderKeys, JSONTable, type LoadingOptions, type SortingUIOptions };
126
+ export { CardOptions, CollapsedTableConfig, ColumnOptions, HeaderKeys, JSONTable, LoadingOptions, SortingUIOptions };
@@ -1,8 +1,8 @@
1
- export { JSONTable } from './chunk-2L5EKCYR.mjs';
1
+ export { JSONTable } from './chunk-AVG4JG4V.mjs';
2
2
  import './chunk-Z3LJE5QF.mjs';
3
- import './chunk-BQSQ4L7R.mjs';
3
+ import './chunk-5BTB7HRK.mjs';
4
4
  import './chunk-2PD23V7H.mjs';
5
- import './chunk-BAXWSAXB.mjs';
6
- import './chunk-VIK2VI34.mjs';
5
+ import './chunk-SPFKGNUY.mjs';
6
+ import './chunk-6F7H4PAA.mjs';
7
7
  //# sourceMappingURL=out.js.map
8
8
  //# sourceMappingURL=jsontable.mjs.map
@@ -118,4 +118,4 @@ declare const MetricsView: ({ data }: {
118
118
  data: JSONMetricsViewType;
119
119
  }) => React.JSX.Element;
120
120
 
121
- export { JSONMetricsView, type JSONMetricsViewType, MetricsView };
121
+ export { JSONMetricsView, JSONMetricsViewType, MetricsView };
package/dist/metrics.mjs CHANGED
@@ -1,9 +1,9 @@
1
- import { JSONTable } from './chunk-2L5EKCYR.mjs';
1
+ import { JSONTable } from './chunk-AVG4JG4V.mjs';
2
2
  import './chunk-Z3LJE5QF.mjs';
3
- import { SkeletonBox } from './chunk-BQSQ4L7R.mjs';
3
+ import { SkeletonBox } from './chunk-5BTB7HRK.mjs';
4
4
  import './chunk-2PD23V7H.mjs';
5
- import { cn } from './chunk-BAXWSAXB.mjs';
6
- import { __spreadValues } from './chunk-VIK2VI34.mjs';
5
+ import { cn } from './chunk-SPFKGNUY.mjs';
6
+ import { __spreadValues } from './chunk-6F7H4PAA.mjs';
7
7
  import React8 from 'react';
8
8
  import { Grid, Col, BarChart, LineChart, AreaChart, DonutChart, Text } from '@tremor/react';
9
9
  import { Card } from '@nextui-org/react';
@@ -1,9 +1,9 @@
1
- import { S as Store } from './root-BPMUmS6H.js';
1
+ import { S as Store } from './root-218afa4f.js';
2
2
  import React from 'react';
3
3
  import { SlotsToClasses, ModalSlots, ButtonProps, SpinnerProps } from '@nextui-org/react';
4
- import { T as ThemeType } from './index-CUKoRIdy.js';
4
+ import { T as ThemeType } from './index-38be834f.js';
5
5
  import * as react_hot_toast from 'react-hot-toast';
6
- import { P as PromiseState } from './PromiseState-DVdsif1j.js';
6
+ import { P as PromiseState } from './PromiseState-e64b3707.js';
7
7
  import 'typed-emitter';
8
8
  import 'events';
9
9
 
@@ -34,12 +34,12 @@ declare class ToastPlugin implements Store {
34
34
  error: (message: react_hot_toast.Renderable | react_hot_toast.ValueFunction<react_hot_toast.Renderable, react_hot_toast.Toast>, options?: react_hot_toast.ToastOptions) => string;
35
35
  loading: (message: react_hot_toast.Renderable | react_hot_toast.ValueFunction<react_hot_toast.Renderable, react_hot_toast.Toast>, options?: react_hot_toast.ToastOptions) => string;
36
36
  custom: (message: react_hot_toast.Renderable | react_hot_toast.ValueFunction<react_hot_toast.Renderable, react_hot_toast.Toast>, options?: react_hot_toast.ToastOptions) => string;
37
- dismiss: (toastId?: string) => void;
38
- remove: (toastId?: string) => void;
39
- promise: <T>(promise: Promise<T>, msgs: {
37
+ dismiss: (toastId?: string, toasterId?: string) => void;
38
+ remove: (toastId?: string, toasterId?: string) => void;
39
+ promise: <T>(promise: Promise<T> | (() => Promise<T>), msgs: {
40
40
  loading: react_hot_toast.Renderable;
41
- success: react_hot_toast.ValueOrFunction<react_hot_toast.Renderable, T>;
42
- error: react_hot_toast.ValueOrFunction<react_hot_toast.Renderable, any>;
41
+ success?: react_hot_toast.ValueOrFunction<react_hot_toast.Renderable, T>;
42
+ error?: react_hot_toast.ValueOrFunction<react_hot_toast.Renderable, any>;
43
43
  }, opts?: react_hot_toast.DefaultToastOptions) => Promise<T>;
44
44
  }
45
45
 
package/dist/plugins.mjs CHANGED
@@ -1,12 +1,12 @@
1
- import { DialogStore } from './chunk-FWK5VZHE.mjs';
2
- export { DialogStore } from './chunk-FWK5VZHE.mjs';
1
+ import { DialogStore } from './chunk-NKGQRF5D.mjs';
2
+ export { DialogStore } from './chunk-NKGQRF5D.mjs';
3
3
  import { ToastPlugin } from './chunk-7EL2RQI7.mjs';
4
4
  export { ToastPlugin } from './chunk-7EL2RQI7.mjs';
5
5
  import { getStyle } from './chunk-R66SHRQE.mjs';
6
- import { useStore, RootStore } from './chunk-SA53R6TL.mjs';
6
+ import { useStore, RootStore } from './chunk-KIS52LFU.mjs';
7
7
  import './chunk-2PD23V7H.mjs';
8
- import { cn } from './chunk-BAXWSAXB.mjs';
9
- import { __spreadProps, __spreadValues } from './chunk-VIK2VI34.mjs';
8
+ import { cn } from './chunk-SPFKGNUY.mjs';
9
+ import { __spreadProps, __spreadValues } from './chunk-6F7H4PAA.mjs';
10
10
  import { makeAutoObservable, makeObservable } from 'mobx';
11
11
  import React3 from 'react';
12
12
  import { observer } from 'mobx-react-lite';
@@ -108,4 +108,4 @@ declare class RootStore<T extends EventMap = any> {
108
108
  }, ann?: any): T;
109
109
  }
110
110
 
111
- export { type BaseState as B, type EventMap as E, NumberState as N, RootStore as R, Store as S, ValueState as V, type StoreClass as a, StringState as b, BooleanState as c };
111
+ export { BaseState as B, EventMap as E, NumberState as N, RootStore as R, Store as S, ValueState as V, StoreClass as a, StringState as b, BooleanState as c };
package/dist/ui.mjs CHANGED
@@ -1,6 +1,6 @@
1
- export { SkeletonBox } from './chunk-BQSQ4L7R.mjs';
2
- import { cn } from './chunk-BAXWSAXB.mjs';
3
- import './chunk-VIK2VI34.mjs';
1
+ export { SkeletonBox } from './chunk-5BTB7HRK.mjs';
2
+ import { cn } from './chunk-SPFKGNUY.mjs';
3
+ import './chunk-6F7H4PAA.mjs';
4
4
  import React, { useState, useEffect } from 'react';
5
5
  import { Card } from '@nextui-org/react';
6
6
  import copyToClipboard from 'copy-to-clipboard';
package/dist/utils.d.mts CHANGED
@@ -1,7 +1,6 @@
1
1
  import DataLoader from 'dataloader';
2
2
  import { Table } from 'dexie';
3
3
  import BigNumber from 'bignumber.js';
4
- import * as lodash from 'lodash';
5
4
 
6
5
  declare class DexieCache {
7
6
  kv: Table<{
@@ -125,105 +124,25 @@ declare const helper: {
125
124
  };
126
125
 
127
126
  declare const _: {
128
- throttle: {
129
- <T extends (...args: any) => any>(func: T, wait?: number, options?: lodash.ThrottleSettingsLeading): lodash.DebouncedFuncLeading<T>;
130
- <T extends (...args: any) => any>(func: T, wait?: number, options?: lodash.ThrottleSettings): lodash.DebouncedFunc<T>;
131
- };
132
- debounce: {
133
- <T extends (...args: any) => any>(func: T, wait: number | undefined, options: lodash.DebounceSettingsLeading): lodash.DebouncedFuncLeading<T>;
134
- <T extends (...args: any) => any>(func: T, wait?: number, options?: lodash.DebounceSettings): lodash.DebouncedFunc<T>;
135
- };
136
- each: {
137
- <T>(collection: T[], iteratee?: lodash.ArrayIterator<T, any>): T[];
138
- (collection: string, iteratee?: lodash.StringIterator<any>): string;
139
- <T>(collection: lodash.List<T>, iteratee?: lodash.ListIterator<T, any>): lodash.List<T>;
140
- <T extends object>(collection: T, iteratee?: lodash.ObjectIterator<T, any>): T;
141
- <T, TArray extends T[] | null | undefined>(collection: TArray & (T[] | null | undefined), iteratee?: lodash.ArrayIterator<T, any>): TArray;
142
- <TString extends string | null | undefined>(collection: TString, iteratee?: lodash.StringIterator<any>): TString;
143
- <T, TList extends lodash.List<T> | null | undefined>(collection: TList & (lodash.List<T> | null | undefined), iteratee?: lodash.ListIterator<T, any>): TList;
144
- <T extends object>(collection: T | null | undefined, iteratee?: lodash.ObjectIterator<T, any>): T | null | undefined;
145
- };
146
- flattenDeep: <T>(array: lodash.ListOfRecursiveArraysOrValues<T> | null | undefined) => Array<lodash.Flat<T>>;
147
- omitBy: {
148
- <T>(object: lodash.Dictionary<T> | null | undefined, predicate?: lodash.ValueKeyIteratee<T>): lodash.Dictionary<T>;
149
- <T>(object: lodash.NumericDictionary<T> | null | undefined, predicate?: lodash.ValueKeyIteratee<T>): lodash.NumericDictionary<T>;
150
- <T extends object>(object: T | null | undefined, predicate: lodash.ValueKeyIteratee<T[keyof T]>): lodash.PartialObject<T>;
151
- };
152
- isNil: (value: any) => value is null | undefined;
153
- keyBy: {
154
- <T>(collection: lodash.List<T> | null | undefined, iteratee?: lodash.ValueIterateeCustom<T, lodash.PropertyName>): lodash.Dictionary<T>;
155
- <T extends object>(collection: T | null | undefined, iteratee?: lodash.ValueIterateeCustom<T[keyof T], lodash.PropertyName>): lodash.Dictionary<T[keyof T]>;
156
- };
157
- mergeWith: {
158
- <TObject, TSource>(object: TObject, source: TSource, customizer: lodash.MergeWithCustomizer): TObject & TSource;
159
- <TObject, TSource1, TSource2>(object: TObject, source1: TSource1, source2: TSource2, customizer: lodash.MergeWithCustomizer): TObject & TSource1 & TSource2;
160
- <TObject, TSource1, TSource2, TSource3>(object: TObject, source1: TSource1, source2: TSource2, source3: TSource3, customizer: lodash.MergeWithCustomizer): TObject & TSource1 & TSource2 & TSource3;
161
- <TObject, TSource1, TSource2, TSource3, TSource4>(object: TObject, source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4, customizer: lodash.MergeWithCustomizer): TObject & TSource1 & TSource2 & TSource3 & TSource4;
162
- (object: any, ...otherArgs: any[]): any;
163
- };
164
- cloneDeep: <T>(value: T) => T;
165
- groupBy: {
166
- <T>(collection: lodash.List<T> | null | undefined, iteratee?: lodash.ValueIteratee<T>): lodash.Dictionary<T[]>;
167
- <T extends object>(collection: T | null | undefined, iteratee?: lodash.ValueIteratee<T[keyof T]>): lodash.Dictionary<Array<T[keyof T]>>;
168
- };
169
- get: {
170
- <TObject extends object, TKey extends keyof TObject>(object: TObject, path: TKey | [TKey]): TObject[TKey];
171
- <TObject extends object, TKey extends keyof TObject>(object: TObject | null | undefined, path: TKey | [TKey]): TObject[TKey] | undefined;
172
- <TObject extends object, TKey extends keyof TObject, TDefault>(object: TObject | null | undefined, path: TKey | [TKey], defaultValue: TDefault): Exclude<TObject[TKey], undefined> | TDefault;
173
- <TObject extends object, TKey1 extends keyof TObject, TKey2 extends keyof TObject[TKey1]>(object: TObject, path: [TKey1, TKey2]): TObject[TKey1][TKey2];
174
- <TObject extends object, TKey1 extends keyof TObject, TKey2 extends keyof NonNullable<TObject[TKey1]>>(object: TObject | null | undefined, path: [TKey1, TKey2]): NonNullable<TObject[TKey1]>[TKey2] | undefined;
175
- <TObject extends object, TKey1 extends keyof TObject, TKey2 extends keyof NonNullable<TObject[TKey1]>, TDefault>(object: TObject | null | undefined, path: [TKey1, TKey2], defaultValue: TDefault): Exclude<NonNullable<TObject[TKey1]>[TKey2], undefined> | TDefault;
176
- <TObject extends object, TKey1 extends keyof TObject, TKey2 extends keyof TObject[TKey1], TKey3 extends keyof TObject[TKey1][TKey2]>(object: TObject, path: [TKey1, TKey2, TKey3]): TObject[TKey1][TKey2][TKey3];
177
- <TObject extends object, TKey1 extends keyof TObject, TKey2 extends keyof NonNullable<TObject[TKey1]>, TKey3 extends keyof NonNullable<NonNullable<TObject[TKey1]>[TKey2]>>(object: TObject | null | undefined, path: [TKey1, TKey2, TKey3]): NonNullable<NonNullable<TObject[TKey1]>[TKey2]>[TKey3] | undefined;
178
- <TObject extends object, TKey1 extends keyof TObject, TKey2 extends keyof NonNullable<TObject[TKey1]>, TKey3 extends keyof NonNullable<NonNullable<TObject[TKey1]>[TKey2]>, TDefault>(object: TObject | null | undefined, path: [TKey1, TKey2, TKey3], defaultValue: TDefault): Exclude<NonNullable<NonNullable<TObject[TKey1]>[TKey2]>[TKey3], undefined> | TDefault;
179
- <TObject extends object, TKey1 extends keyof TObject, TKey2 extends keyof TObject[TKey1], TKey3 extends keyof TObject[TKey1][TKey2], TKey4 extends keyof TObject[TKey1][TKey2][TKey3]>(object: TObject, path: [TKey1, TKey2, TKey3, TKey4]): TObject[TKey1][TKey2][TKey3][TKey4];
180
- <TObject extends object, TKey1 extends keyof TObject, TKey2 extends keyof NonNullable<TObject[TKey1]>, TKey3 extends keyof NonNullable<NonNullable<TObject[TKey1]>[TKey2]>, TKey4 extends keyof NonNullable<NonNullable<NonNullable<TObject[TKey1]>[TKey2]>[TKey3]>>(object: TObject | null | undefined, path: [TKey1, TKey2, TKey3, TKey4]): NonNullable<NonNullable<NonNullable<TObject[TKey1]>[TKey2]>[TKey3]>[TKey4] | undefined;
181
- <TObject extends object, TKey1 extends keyof TObject, TKey2 extends keyof NonNullable<TObject[TKey1]>, TKey3 extends keyof NonNullable<NonNullable<TObject[TKey1]>[TKey2]>, TKey4 extends keyof NonNullable<NonNullable<NonNullable<TObject[TKey1]>[TKey2]>[TKey3]>, TDefault>(object: TObject | null | undefined, path: [TKey1, TKey2, TKey3, TKey4], defaultValue: TDefault): Exclude<NonNullable<NonNullable<NonNullable<TObject[TKey1]>[TKey2]>[TKey3]>[TKey4], undefined> | TDefault;
182
- <T>(object: lodash.NumericDictionary<T>, path: number): T;
183
- <T>(object: lodash.NumericDictionary<T> | null | undefined, path: number): T | undefined;
184
- <T, TDefault>(object: lodash.NumericDictionary<T> | null | undefined, path: number, defaultValue: TDefault): T | TDefault;
185
- <TDefault>(object: null | undefined, path: lodash.PropertyPath, defaultValue: TDefault): TDefault;
186
- (object: null | undefined, path: lodash.PropertyPath): undefined;
187
- <TObject, TPath extends string>(data: TObject, path: TPath): string extends TPath ? any : lodash.GetFieldType<TObject, TPath>;
188
- <TObject, TPath extends string, TDefault = lodash.GetFieldType<TObject, TPath, "Path">>(data: TObject, path: TPath, defaultValue: TDefault): Exclude<lodash.GetFieldType<TObject, TPath>, null | undefined> | TDefault;
189
- (object: any, path: lodash.PropertyPath, defaultValue?: any): any;
190
- };
191
- set: {
192
- <T extends object>(object: T, path: lodash.PropertyPath, value: any): T;
193
- <TResult>(object: object, path: lodash.PropertyPath, value: any): TResult;
194
- };
195
- remove: <T>(array: lodash.List<T>, predicate?: lodash.ListIteratee<T>) => T[];
196
- merge: {
197
- <TObject, TSource>(object: TObject, source: TSource): TObject & TSource;
198
- <TObject, TSource1, TSource2>(object: TObject, source1: TSource1, source2: TSource2): TObject & TSource1 & TSource2;
199
- <TObject, TSource1, TSource2, TSource3>(object: TObject, source1: TSource1, source2: TSource2, source3: TSource3): TObject & TSource1 & TSource2 & TSource3;
200
- <TObject, TSource1, TSource2, TSource3, TSource4>(object: TObject, source1: TSource1, source2: TSource2, source3: TSource3, source4: TSource4): TObject & TSource1 & TSource2 & TSource3 & TSource4;
201
- (object: any, ...otherArgs: any[]): any;
202
- };
203
- isEqual: (value: any, other: any) => boolean;
204
- uniqWith: <T>(array: lodash.List<T> | null | undefined, comparator?: lodash.Comparator<T>) => T[];
205
- orderBy: {
206
- <T>(collection: lodash.List<T> | null | undefined, iteratees?: lodash.Many<lodash.ListIterator<T, lodash.NotVoid>>, orders?: lodash.Many<boolean | "asc" | "desc">): T[];
207
- <T>(collection: lodash.List<T> | null | undefined, iteratees?: lodash.Many<lodash.ListIteratee<T>>, orders?: lodash.Many<boolean | "asc" | "desc">): T[];
208
- <T extends object>(collection: T | null | undefined, iteratees?: lodash.Many<lodash.ObjectIterator<T, lodash.NotVoid>>, orders?: lodash.Many<boolean | "asc" | "desc">): Array<T[keyof T]>;
209
- <T extends object>(collection: T | null | undefined, iteratees?: lodash.Many<lodash.ObjectIteratee<T>>, orders?: lodash.Many<boolean | "asc" | "desc">): Array<T[keyof T]>;
210
- };
211
- map: {
212
- <T, TResult>(collection: T[] | null | undefined, iteratee: lodash.ArrayIterator<T, TResult>): TResult[];
213
- <T, TResult>(collection: lodash.List<T> | null | undefined, iteratee: lodash.ListIterator<T, TResult>): TResult[];
214
- <T>(collection: lodash.Dictionary<T> | lodash.NumericDictionary<T> | null | undefined): T[];
215
- <T extends object, TResult>(collection: T | null | undefined, iteratee: lodash.ObjectIterator<T, TResult>): TResult[];
216
- <T, K extends keyof T>(collection: lodash.Dictionary<T> | lodash.NumericDictionary<T> | null | undefined, iteratee: K): Array<T[K]>;
217
- <T>(collection: lodash.Dictionary<T> | lodash.NumericDictionary<T> | null | undefined, iteratee?: string): any[];
218
- <T>(collection: lodash.Dictionary<T> | lodash.NumericDictionary<T> | null | undefined, iteratee?: object): boolean[];
219
- };
220
- zip: {
221
- <T1, T2>(arrays1: lodash.List<T1>, arrays2: lodash.List<T2>): Array<[T1 | undefined, T2 | undefined]>;
222
- <T1, T2, T3>(arrays1: lodash.List<T1>, arrays2: lodash.List<T2>, arrays3: lodash.List<T3>): Array<[T1 | undefined, T2 | undefined, T3 | undefined]>;
223
- <T1, T2, T3, T4>(arrays1: lodash.List<T1>, arrays2: lodash.List<T2>, arrays3: lodash.List<T3>, arrays4: lodash.List<T4>): Array<[T1 | undefined, T2 | undefined, T3 | undefined, T4 | undefined]>;
224
- <T1, T2, T3, T4, T5>(arrays1: lodash.List<T1>, arrays2: lodash.List<T2>, arrays3: lodash.List<T3>, arrays4: lodash.List<T4>, arrays5: lodash.List<T5>): Array<[T1 | undefined, T2 | undefined, T3 | undefined, T4 | undefined, T5 | undefined]>;
225
- <T>(...arrays: Array<lodash.List<T> | null | undefined>): Array<Array<T | undefined>>;
226
- };
127
+ throttle: any;
128
+ debounce: any;
129
+ each: any;
130
+ flattenDeep: any;
131
+ omitBy: any;
132
+ isNil: any;
133
+ keyBy: any;
134
+ mergeWith: any;
135
+ cloneDeep: any;
136
+ groupBy: any;
137
+ get: any;
138
+ set: any;
139
+ remove: any;
140
+ merge: any;
141
+ isEqual: any;
142
+ uniqWith: any;
143
+ orderBy: any;
144
+ map: any;
145
+ zip: any;
227
146
  };
228
147
 
229
148
  export { _, cache, helper };
package/dist/utils.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  export { cache } from './chunk-2BZKMJZX.mjs';
2
2
  export { helper } from './chunk-7WJMHFRA.mjs';
3
3
  export { _ } from './chunk-2PD23V7H.mjs';
4
- import './chunk-VIK2VI34.mjs';
4
+ import './chunk-6F7H4PAA.mjs';
5
5
  //# sourceMappingURL=out.js.map
6
6
  //# sourceMappingURL=utils.mjs.map
package/dist/wallet.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { Chain } from 'viem/chains';
3
- import { a as PromiseHookData, S as StorageState } from './StorageState-qapaHguM.js';
4
- import { S as Store } from './root-BPMUmS6H.js';
3
+ import { a as PromiseHookData, S as StorageState } from './StorageState-cfd942cb.js';
4
+ import { S as Store } from './root-218afa4f.js';
5
5
  import { WalletClient, PublicClient, HttpTransport, TransactionReceipt } from 'viem';
6
6
  import EventEmitter from 'events';
7
7
  import { SwitchChainMutateAsync } from 'wagmi/query';
@@ -180,7 +180,7 @@ declare class WalletConfigStore implements Store {
180
180
  constructor(args: Partial<WalletConfigStore>);
181
181
  set(params: Partial<WalletConfigStore>): void;
182
182
  get reconnectOnMount(): boolean;
183
- get rainbowKitConfig(): wagmi.Config<_rainbow_me_rainbowkit_dist_config_getDefaultConfig._chains, _rainbow_me_rainbowkit_dist_config_getDefaultConfig._transports>;
183
+ get rainbowKitConfig(): wagmi.Config<_rainbow_me_rainbowkit_dist_config_getDefaultConfig._chains, _rainbow_me_rainbowkit_dist_config_getDefaultConfig._transports, wagmi.CreateConnectorFn<unknown, Record<string, unknown>, Record<string, unknown>>[]>;
184
184
  }
185
185
 
186
186
  declare const RpcList: (() => React.JSX.Element) & {
@@ -190,4 +190,4 @@ declare const RpcList: (() => React.JSX.Element) & {
190
190
  declare const ConnectLedger: () => Promise<void>;
191
191
  declare const DisconnectLedger: () => void;
192
192
 
193
- export { type AddressMode, ConnectLedger, DisconnectLedger, type NetworkObject, RpcList, WalletConfigStore, WalletHistoryStore, WalletProvider, WalletRpcStore, WalletStore, type WalletTransactionHistoryType, iotex, iotexTestnet };
193
+ export { AddressMode, ConnectLedger, DisconnectLedger, NetworkObject, RpcList, WalletConfigStore, WalletHistoryStore, WalletProvider, WalletRpcStore, WalletStore, WalletTransactionHistoryType, iotex, iotexTestnet };
package/dist/wallet.mjs CHANGED
@@ -1,16 +1,16 @@
1
- import { WalletConfigStore, WalletStore, WalletRpcStore } from './chunk-4KRVA5CB.mjs';
2
- export { ConnectLedger, DisconnectLedger, WalletConfigStore, WalletHistoryStore, WalletRpcStore, WalletStore } from './chunk-4KRVA5CB.mjs';
3
- import './chunk-I2RSE63R.mjs';
4
- import './chunk-WWCB4WOQ.mjs';
1
+ import { WalletConfigStore, WalletStore, WalletRpcStore } from './chunk-BR7IWH2E.mjs';
2
+ export { ConnectLedger, DisconnectLedger, WalletConfigStore, WalletHistoryStore, WalletRpcStore, WalletStore } from './chunk-BR7IWH2E.mjs';
3
+ import './chunk-72E76L6J.mjs';
4
+ import './chunk-WMV5O3PI.mjs';
5
5
  import './chunk-2BZKMJZX.mjs';
6
- import './chunk-FWK5VZHE.mjs';
6
+ import './chunk-NKGQRF5D.mjs';
7
7
  import { ToastPlugin } from './chunk-7EL2RQI7.mjs';
8
8
  import './chunk-R66SHRQE.mjs';
9
- import { RootStore } from './chunk-SA53R6TL.mjs';
9
+ import { RootStore } from './chunk-KIS52LFU.mjs';
10
10
  import './chunk-7WJMHFRA.mjs';
11
11
  import './chunk-Z3LJE5QF.mjs';
12
12
  import './chunk-2PD23V7H.mjs';
13
- import { __spreadValues } from './chunk-VIK2VI34.mjs';
13
+ import { __spreadValues } from './chunk-6F7H4PAA.mjs';
14
14
  import { RainbowKitProvider, darkTheme, lightTheme } from '@rainbow-me/rainbowkit';
15
15
  import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
16
16
  import React2, { useEffect } from 'react';