h_test_1 0.0.19 → 0.0.20
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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "h_test_1",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20",
|
|
4
4
|
"homepage": "hinkal.io",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Hinkal Protocol"
|
|
@@ -36,6 +36,16 @@
|
|
|
36
36
|
"types": "./providers/prepareWagmiHinkal.d.ts",
|
|
37
37
|
"import": "./providers/prepareWagmiHinkal.mjs",
|
|
38
38
|
"default": "./providers/prepareWagmiHinkal.cjs"
|
|
39
|
+
},
|
|
40
|
+
"./providers/SolanaProviderAdapter": {
|
|
41
|
+
"types": "./providers/SolanaProviderAdapter.d.ts",
|
|
42
|
+
"import": "./providers/SolanaProviderAdapter.mjs",
|
|
43
|
+
"default": "./providers/SolanaProviderAdapter.cjs"
|
|
44
|
+
},
|
|
45
|
+
"./providers/TronProviderAdapter": {
|
|
46
|
+
"types": "./providers/TronProviderAdapter.d.ts",
|
|
47
|
+
"import": "./providers/TronProviderAdapter.mjs",
|
|
48
|
+
"default": "./providers/TronProviderAdapter.cjs"
|
|
39
49
|
}
|
|
40
50
|
},
|
|
41
51
|
"types": "./index.d.ts",
|
|
@@ -5,7 +5,7 @@ import { type Connector } from 'wagmi';
|
|
|
5
5
|
import { Call } from '../types/eip5792.types';
|
|
6
6
|
export declare class WagmiProviderAdapter implements IProviderAdapter<Connector> {
|
|
7
7
|
private connector;
|
|
8
|
-
|
|
8
|
+
chainId: number | undefined;
|
|
9
9
|
private originalProvider;
|
|
10
10
|
private fetchProviders;
|
|
11
11
|
private signer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("ethers");require("@solana/web3.js");require("circomlibjs-hinkal-fork");require("../constants/chains.constants.cjs");require("../error-handling/error-codes.constants.cjs");require("../data-structures/crypto-keys/keys.cjs");require("libsodium-wrappers");const q=require("../data-structures/Hinkal/Hinkal.cjs");require("../types/circom-data.types.cjs");require("../constants/vite.constants.cjs");require("node-forge");require("../data-structures/http/HttpClient.cjs");require("axios");require("../constants/token-data/index.cjs");require("../constants/tokens.constants.cjs");require("idb-keyval");require("../functions/utils/convertIntegrationProviderToExternalActionId.cjs");require("../types/activities.types.cjs");require("../constants/server.constants.cjs");require("../API/getServerURL.cjs");require("tronweb");require("@coral-xyz/anchor");require("@solana/spl-token");require("tweetnacl");require("bs58");require("buffer");require("lodash");require("../API/enclaveUtxoCalls.cjs");require("../constants/contracts.constants.cjs");require("../constants/kyc.constants.cjs");require("../constants/coingecko.constants.cjs");require("../constants/reorg-depths.constants.cjs");require("../constants/addresses.constants.cjs");require("../constants/token.limits.constants.cjs");require("../constants/presale.constants.cjs");require("../constants/activity.constants.cjs");require("../constants/tasks.constants.cjs");require("../constants/events.constants.cjs");require("../constants/schedule.constants.cjs");require("../functions/utils/userAgent.cjs");require("multiformats");require("async-mutex");const a=require("../crypto/preProcessing.cjs");require("./EthersProviderAdapter.cjs");require("../functions/web3/events/getInputUtxoAndBalance.cjs");require("../functions/web3/events/getApprovedBalance.cjs");require("../functions/web3/getTokenHolder.cjs");require("../constants/save-depths.cjs");require("../API/tenderly.api.cjs");const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("ethers");require("@solana/web3.js");require("circomlibjs-hinkal-fork");require("../constants/chains.constants.cjs");require("../error-handling/error-codes.constants.cjs");require("../data-structures/crypto-keys/keys.cjs");require("libsodium-wrappers");const q=require("../data-structures/Hinkal/Hinkal.cjs");require("../types/circom-data.types.cjs");require("../constants/vite.constants.cjs");require("node-forge");require("../data-structures/http/HttpClient.cjs");require("axios");require("../constants/token-data/index.cjs");require("../constants/tokens.constants.cjs");require("idb-keyval");require("../functions/utils/convertIntegrationProviderToExternalActionId.cjs");require("../types/activities.types.cjs");require("../constants/server.constants.cjs");require("../API/getServerURL.cjs");require("tronweb");require("@coral-xyz/anchor");require("@solana/spl-token");require("tweetnacl");require("bs58");require("buffer");require("lodash");require("../API/enclaveUtxoCalls.cjs");require("../constants/contracts.constants.cjs");require("../constants/kyc.constants.cjs");require("../constants/coingecko.constants.cjs");require("../constants/reorg-depths.constants.cjs");require("../constants/addresses.constants.cjs");require("../constants/token.limits.constants.cjs");require("../constants/presale.constants.cjs");require("../constants/activity.constants.cjs");require("../constants/tasks.constants.cjs");require("../constants/events.constants.cjs");require("../constants/schedule.constants.cjs");require("../functions/utils/userAgent.cjs");require("multiformats");require("async-mutex");const a=require("../crypto/preProcessing.cjs");require("./EthersProviderAdapter.cjs");require("../functions/web3/events/getInputUtxoAndBalance.cjs");require("../functions/web3/events/getApprovedBalance.cjs");require("../functions/web3/getTokenHolder.cjs");require("../constants/save-depths.cjs");require("../API/tenderly.api.cjs");const t=require("./WagmiProviderAdapter.cjs"),n=async(i,u)=>{await a.preProcessing();const e=new q.Hinkal,r=t.default();return r.initConfig?.(u),await e.initProviderAdapter(i,r),await e.initUserKeys(),await e.resetMerkle(),e};exports.prepareWagmiHinkal=n;
|
|
@@ -47,12 +47,12 @@ import "../functions/web3/events/getApprovedBalance.mjs";
|
|
|
47
47
|
import "../functions/web3/getTokenHolder.mjs";
|
|
48
48
|
import "../constants/save-depths.mjs";
|
|
49
49
|
import "../API/tenderly.api.mjs";
|
|
50
|
-
import
|
|
51
|
-
const
|
|
50
|
+
import a from "./WagmiProviderAdapter.mjs";
|
|
51
|
+
const or = async (t, o) => {
|
|
52
52
|
await m();
|
|
53
|
-
const
|
|
54
|
-
return
|
|
53
|
+
const r = new p(), i = a();
|
|
54
|
+
return i.initConfig?.(o), await r.initProviderAdapter(t, i), await r.initUserKeys(), await r.resetMerkle(), r;
|
|
55
55
|
};
|
|
56
56
|
export {
|
|
57
|
-
|
|
57
|
+
or as prepareWagmiHinkal
|
|
58
58
|
};
|