@dappworks/kit 0.5.32 → 0.5.34
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/aiem.d.mts +1 -0
- package/dist/aiem.mjs +1 -1
- package/dist/{chunk-JAINYJVQ.mjs → chunk-4KRVA5CB.mjs} +9 -5
- package/dist/chunk-4KRVA5CB.mjs.map +1 -0
- package/dist/{chunk-SQ7DRKMK.mjs → chunk-WWCB4WOQ.mjs} +8 -4
- package/dist/chunk-WWCB4WOQ.mjs.map +1 -0
- package/dist/index.mjs +2 -2
- package/dist/wallet.mjs +11 -4
- package/dist/wallet.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-JAINYJVQ.mjs.map +0 -1
- package/dist/chunk-SQ7DRKMK.mjs.map +0 -1
package/dist/aiem.d.mts
CHANGED
|
@@ -22,6 +22,7 @@ declare class Cache {
|
|
|
22
22
|
type GetOptions = {
|
|
23
23
|
multicall?: boolean;
|
|
24
24
|
rpcUrls?: Chain["rpcUrls"];
|
|
25
|
+
pollingInterval?: number;
|
|
25
26
|
};
|
|
26
27
|
declare class AIem<Contracts extends Record<string, Abi>, Chains extends Record<string, Chain>, Addrs extends {
|
|
27
28
|
[K in keyof Contracts]?: {
|
package/dist/aiem.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AIem } from './chunk-
|
|
1
|
+
import { AIem } from './chunk-WWCB4WOQ.mjs';
|
|
2
2
|
import { DialogStore } from './chunk-FWK5VZHE.mjs';
|
|
3
3
|
import { ToastPlugin } from './chunk-7EL2RQI7.mjs';
|
|
4
4
|
import { RootStore, rootStore } from './chunk-SA53R6TL.mjs';
|
|
@@ -23275,11 +23275,15 @@ var WalletStore = class _WalletStore {
|
|
|
23275
23275
|
get publicClient() {
|
|
23276
23276
|
if (this.chain && this.supportedChains.some((i) => i.id === this.chain.id)) {
|
|
23277
23277
|
if (this.chain.id == 4689) {
|
|
23278
|
-
return AIem.PubClient("4689", {
|
|
23278
|
+
return AIem.PubClient("4689", {
|
|
23279
|
+
rpcUrls: { default: { http: [RootStore.Get(WalletRpcStore).curRpc.value] } },
|
|
23280
|
+
multicall: true,
|
|
23281
|
+
pollingInterval: 2500
|
|
23282
|
+
});
|
|
23279
23283
|
}
|
|
23280
|
-
return AIem.PubClient(this.chain.id.toString());
|
|
23284
|
+
return AIem.PubClient(this.chain.id.toString(), { pollingInterval: 2500 });
|
|
23281
23285
|
} else {
|
|
23282
|
-
return AIem.PubClient("4689");
|
|
23286
|
+
return AIem.PubClient("4689", { pollingInterval: 2500 });
|
|
23283
23287
|
}
|
|
23284
23288
|
}
|
|
23285
23289
|
set(args) {
|
|
@@ -23683,4 +23687,4 @@ js-sha3/src/sha3.js:
|
|
|
23683
23687
|
|
|
23684
23688
|
export { AppProvider, AutoMan, BigNumberInputState, BigNumberState, ConnectLedger, DisconnectLedger, ObjectPool, PromiseHook, StorageListState, StorageState, WalletConfigStore, WalletHistoryStore, WalletRpcStore, WalletStore };
|
|
23685
23689
|
//# sourceMappingURL=out.js.map
|
|
23686
|
-
//# sourceMappingURL=chunk-
|
|
23690
|
+
//# sourceMappingURL=chunk-4KRVA5CB.mjs.map
|