@hinkal/common 0.0.208 → 0.0.210
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/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("ethers");require("circomlibjs");require("../data-structures/crypto-keys/keys.cjs");require("../data-structures/crypto-keys/encryptDecryptUtxo.cjs");const t=require("../data-structures/Hinkal/Hinkal.cjs");require("../constants/chains.constants.cjs");require("../types/circom-data.types.cjs");require("../types/transactions.types.cjs");require("../types/curve.types.cjs");require("../data-structures/custom-token-registry/CustomTokenRegistry.cjs");require("../constants/vite.constants.cjs");require("axios");require("../constants/coingecko.constants.cjs");const u=require("../crypto/preProcessing.cjs");require("../constants/reorg-depths.constants.cjs");require("../functions/utils/external-action.utils.cjs");require("../functions/web3/events/getShieldedBalance.cjs");require("../data-structures/volatile-helper/VolatileHelper.cjs");require("../constants/contracts.constants.cjs");const r=require("./EthersProviderAdapter.cjs"),a=async i=>{await u.preProcessing();const e=new t.Hinkal;return r.ethersProvierAdapter.initSigner?.(i),await e.initProviderAdapter(void 0,r.ethersProvierAdapter),await e.initUserKeys(),await e.resetMerkle(),e};exports.prepareEthersHinkal=a;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import "ethers";
|
|
2
|
+
import "circomlibjs";
|
|
3
|
+
import "../data-structures/crypto-keys/keys.mjs";
|
|
4
|
+
import "../data-structures/crypto-keys/encryptDecryptUtxo.mjs";
|
|
5
|
+
import { Hinkal as o } from "../data-structures/Hinkal/Hinkal.mjs";
|
|
6
|
+
import "../constants/chains.constants.mjs";
|
|
7
|
+
import "../types/circom-data.types.mjs";
|
|
8
|
+
import "../types/transactions.types.mjs";
|
|
9
|
+
import "../types/curve.types.mjs";
|
|
10
|
+
import "../data-structures/custom-token-registry/CustomTokenRegistry.mjs";
|
|
11
|
+
import "../constants/vite.constants.mjs";
|
|
12
|
+
import "axios";
|
|
13
|
+
import "../constants/coingecko.constants.mjs";
|
|
14
|
+
import { preProcessing as p } from "../crypto/preProcessing.mjs";
|
|
15
|
+
import "../constants/reorg-depths.constants.mjs";
|
|
16
|
+
import "../functions/utils/external-action.utils.mjs";
|
|
17
|
+
import "../functions/web3/events/getShieldedBalance.mjs";
|
|
18
|
+
import "../data-structures/volatile-helper/VolatileHelper.mjs";
|
|
19
|
+
import "../constants/contracts.constants.mjs";
|
|
20
|
+
import { ethersProvierAdapter as i } from "./EthersProviderAdapter.mjs";
|
|
21
|
+
const E = async (t) => {
|
|
22
|
+
await p();
|
|
23
|
+
const r = new o();
|
|
24
|
+
return i.initSigner?.(t), await r.initProviderAdapter(void 0, i), await r.initUserKeys(), await r.resetMerkle(), r;
|
|
25
|
+
};
|
|
26
|
+
export {
|
|
27
|
+
E as prepareEthersHinkal
|
|
28
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("ethers");require("circomlibjs");require("../data-structures/crypto-keys/keys.cjs");require("../data-structures/crypto-keys/encryptDecryptUtxo.cjs");const i=require("../data-structures/Hinkal/Hinkal.cjs");require("../constants/chains.constants.cjs");require("../types/circom-data.types.cjs");require("../types/transactions.types.cjs");require("../types/curve.types.cjs");require("../data-structures/custom-token-registry/CustomTokenRegistry.cjs");require("../constants/vite.constants.cjs");require("axios");require("../constants/coingecko.constants.cjs");const a=require("../crypto/preProcessing.cjs");require("../constants/reorg-depths.constants.cjs");require("../functions/utils/external-action.utils.cjs");require("../functions/web3/events/getShieldedBalance.cjs");require("../data-structures/volatile-helper/VolatileHelper.cjs");require("../constants/contracts.constants.cjs");const t=require("./Wagmiv1ProviderAdapter.cjs"),u=async r=>{await a.preProcessing();const e=new i.Hinkal;return await e.initProviderAdapter(r,t.wagmiv1ProvierAdapter),await e.initUserKeys(),await e.resetMerkle(),e};exports.prepareWagmiv1EthersHinkal=u;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import "ethers";
|
|
2
|
+
import "circomlibjs";
|
|
3
|
+
import "../data-structures/crypto-keys/keys.mjs";
|
|
4
|
+
import "../data-structures/crypto-keys/encryptDecryptUtxo.mjs";
|
|
5
|
+
import { Hinkal as t } from "../data-structures/Hinkal/Hinkal.mjs";
|
|
6
|
+
import "../constants/chains.constants.mjs";
|
|
7
|
+
import "../types/circom-data.types.mjs";
|
|
8
|
+
import "../types/transactions.types.mjs";
|
|
9
|
+
import "../types/curve.types.mjs";
|
|
10
|
+
import "../data-structures/custom-token-registry/CustomTokenRegistry.mjs";
|
|
11
|
+
import "../constants/vite.constants.mjs";
|
|
12
|
+
import "axios";
|
|
13
|
+
import "../constants/coingecko.constants.mjs";
|
|
14
|
+
import { preProcessing as o } from "../crypto/preProcessing.mjs";
|
|
15
|
+
import "../constants/reorg-depths.constants.mjs";
|
|
16
|
+
import "../functions/utils/external-action.utils.mjs";
|
|
17
|
+
import "../functions/web3/events/getShieldedBalance.mjs";
|
|
18
|
+
import "../data-structures/volatile-helper/VolatileHelper.mjs";
|
|
19
|
+
import "../constants/contracts.constants.mjs";
|
|
20
|
+
import { wagmiv1ProvierAdapter as p } from "./Wagmiv1ProviderAdapter.mjs";
|
|
21
|
+
const E = async (i) => {
|
|
22
|
+
await o();
|
|
23
|
+
const r = new t();
|
|
24
|
+
return await r.initProviderAdapter(i, p), await r.initUserKeys(), await r.resetMerkle(), r;
|
|
25
|
+
};
|
|
26
|
+
export {
|
|
27
|
+
E as prepareWagmiv1EthersHinkal
|
|
28
|
+
};
|