@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.
- package/dist/{PromiseState-DVdsif1j.d.ts → PromiseState-e64b3707.d.ts} +1 -1
- package/dist/{StorageState-qapaHguM.d.ts → StorageState-cfd942cb.d.ts} +1 -1
- package/dist/aiem.d.mts +3 -3
- package/dist/aiem.mjs +2 -2
- package/dist/{chunk-BQSQ4L7R.mjs → chunk-5BTB7HRK.mjs} +2 -2
- package/dist/chunk-6F7H4PAA.mjs +35 -0
- package/dist/{chunk-I2RSE63R.mjs → chunk-72E76L6J.mjs} +2 -2
- package/dist/{chunk-2L5EKCYR.mjs → chunk-AVG4JG4V.mjs} +4 -4
- package/dist/chunk-BR7IWH2E.mjs +1284 -0
- package/dist/chunk-BR7IWH2E.mjs.map +1 -0
- package/dist/{chunk-SA53R6TL.mjs → chunk-KIS52LFU.mjs} +7 -7
- package/dist/{chunk-SA53R6TL.mjs.map → chunk-KIS52LFU.mjs.map} +1 -1
- package/dist/{chunk-FWK5VZHE.mjs → chunk-NKGQRF5D.mjs} +3 -3
- package/dist/{chunk-BAXWSAXB.mjs → chunk-SPFKGNUY.mjs} +364 -388
- package/dist/chunk-SPFKGNUY.mjs.map +1 -0
- package/dist/{chunk-WWCB4WOQ.mjs → chunk-WMV5O3PI.mjs} +4 -4
- package/dist/chunk-WMV5O3PI.mjs.map +1 -0
- package/dist/dev.d.mts +1 -1
- package/dist/dev.mjs +2 -2
- package/dist/experimental.d.mts +5 -5
- package/dist/experimental.mjs +3 -3
- package/dist/form.d.mts +14 -14
- package/dist/form.mjs +3 -3
- package/dist/form.mjs.map +1 -1
- package/dist/{index-CUKoRIdy.d.ts → index-38be834f.d.ts} +1 -1
- package/dist/index.d.mts +5 -5
- package/dist/index.mjs +6 -6
- package/dist/inspector.d.mts +1 -1
- package/dist/inspector.mjs +1 -1
- package/dist/jsoncomponent.d.mts +1 -1
- package/dist/jsoncomponent.mjs +1 -1
- package/dist/jsontable.d.mts +2 -2
- package/dist/jsontable.mjs +4 -4
- package/dist/metrics.d.mts +1 -1
- package/dist/metrics.mjs +4 -4
- package/dist/plugins.d.mts +8 -8
- package/dist/plugins.mjs +5 -5
- package/dist/{root-BPMUmS6H.d.ts → root-218afa4f.d.ts} +1 -1
- package/dist/ui.mjs +3 -3
- package/dist/utils.d.mts +19 -100
- package/dist/utils.mjs +1 -1
- package/dist/wallet.d.mts +4 -4
- package/dist/wallet.mjs +7 -7
- package/package.json +175 -174
- package/dist/chunk-4KRVA5CB.mjs +0 -23690
- package/dist/chunk-4KRVA5CB.mjs.map +0 -1
- package/dist/chunk-BAXWSAXB.mjs.map +0 -1
- package/dist/chunk-VIK2VI34.mjs +0 -69
- package/dist/chunk-WWCB4WOQ.mjs.map +0 -1
- /package/dist/{PaginationState-Bmrrw0ky.d.ts → PaginationState-c19e621a.d.ts} +0 -0
- /package/dist/{chunk-BQSQ4L7R.mjs.map → chunk-5BTB7HRK.mjs.map} +0 -0
- /package/dist/{chunk-VIK2VI34.mjs.map → chunk-6F7H4PAA.mjs.map} +0 -0
- /package/dist/{chunk-I2RSE63R.mjs.map → chunk-72E76L6J.mjs.map} +0 -0
- /package/dist/{chunk-2L5EKCYR.mjs.map → chunk-AVG4JG4V.mjs.map} +0 -0
- /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-
|
|
2
|
-
export { B as BaseState, c as BooleanState, N as NumberState, a as StoreClass, b as StringState, V as ValueState } from './root-
|
|
3
|
-
export { P as PromiseState } from './PromiseState-
|
|
4
|
-
export { P as PromiseHook, S as StorageState } from './StorageState-
|
|
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-
|
|
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-
|
|
2
|
-
export { BooleanState, NumberState, PromiseState, Store, StringState, ValueState } from './chunk-
|
|
3
|
-
import './chunk-
|
|
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-
|
|
5
|
+
import './chunk-NKGQRF5D.mjs';
|
|
6
6
|
import './chunk-7EL2RQI7.mjs';
|
|
7
7
|
import './chunk-R66SHRQE.mjs';
|
|
8
|
-
export { RootStore, rootStore, useStore } from './chunk-
|
|
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-
|
|
12
|
+
import './chunk-6F7H4PAA.mjs';
|
|
13
13
|
//# sourceMappingURL=out.js.map
|
|
14
14
|
//# sourceMappingURL=index.mjs.map
|
package/dist/inspector.d.mts
CHANGED
package/dist/inspector.mjs
CHANGED
package/dist/jsoncomponent.d.mts
CHANGED
|
@@ -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,
|
|
22
|
+
export { JSONComponent, JSONComponentProps, JSONDataType };
|
package/dist/jsoncomponent.mjs
CHANGED
package/dist/jsontable.d.mts
CHANGED
|
@@ -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-
|
|
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 {
|
|
126
|
+
export { CardOptions, CollapsedTableConfig, ColumnOptions, HeaderKeys, JSONTable, LoadingOptions, SortingUIOptions };
|
package/dist/jsontable.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { JSONTable } from './chunk-
|
|
1
|
+
export { JSONTable } from './chunk-AVG4JG4V.mjs';
|
|
2
2
|
import './chunk-Z3LJE5QF.mjs';
|
|
3
|
-
import './chunk-
|
|
3
|
+
import './chunk-5BTB7HRK.mjs';
|
|
4
4
|
import './chunk-2PD23V7H.mjs';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
5
|
+
import './chunk-SPFKGNUY.mjs';
|
|
6
|
+
import './chunk-6F7H4PAA.mjs';
|
|
7
7
|
//# sourceMappingURL=out.js.map
|
|
8
8
|
//# sourceMappingURL=jsontable.mjs.map
|
package/dist/metrics.d.mts
CHANGED
package/dist/metrics.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { JSONTable } from './chunk-
|
|
1
|
+
import { JSONTable } from './chunk-AVG4JG4V.mjs';
|
|
2
2
|
import './chunk-Z3LJE5QF.mjs';
|
|
3
|
-
import { SkeletonBox } from './chunk-
|
|
3
|
+
import { SkeletonBox } from './chunk-5BTB7HRK.mjs';
|
|
4
4
|
import './chunk-2PD23V7H.mjs';
|
|
5
|
-
import { cn } from './chunk-
|
|
6
|
-
import { __spreadValues } from './chunk-
|
|
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';
|
package/dist/plugins.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { S as Store } from './root-
|
|
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-
|
|
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-
|
|
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
|
|
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
|
|
42
|
-
error
|
|
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-
|
|
2
|
-
export { DialogStore } from './chunk-
|
|
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-
|
|
6
|
+
import { useStore, RootStore } from './chunk-KIS52LFU.mjs';
|
|
7
7
|
import './chunk-2PD23V7H.mjs';
|
|
8
|
-
import { cn } from './chunk-
|
|
9
|
-
import { __spreadProps, __spreadValues } from './chunk-
|
|
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 {
|
|
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-
|
|
2
|
-
import { cn } from './chunk-
|
|
3
|
-
import './chunk-
|
|
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
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
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-
|
|
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-
|
|
4
|
-
import { S as Store } from './root-
|
|
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 {
|
|
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-
|
|
2
|
-
export { ConnectLedger, DisconnectLedger, WalletConfigStore, WalletHistoryStore, WalletRpcStore, WalletStore } from './chunk-
|
|
3
|
-
import './chunk-
|
|
4
|
-
import './chunk-
|
|
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-
|
|
6
|
+
import './chunk-NKGQRF5D.mjs';
|
|
7
7
|
import { ToastPlugin } from './chunk-7EL2RQI7.mjs';
|
|
8
8
|
import './chunk-R66SHRQE.mjs';
|
|
9
|
-
import { RootStore } from './chunk-
|
|
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-
|
|
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';
|