@kimafinance/kima-transaction-widget 1.2.64-beta.1 → 1.2.66-beta.1
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/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +9 -10
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3329,7 +3329,7 @@ var TransactionWidget = function TransactionWidget(_ref) {
|
|
|
3329
3329
|
var data;
|
|
3330
3330
|
var isLP = dAppOption === exports.DAppOptions.LPAdd || dAppOption === exports.DAppOptions.LPDrain;
|
|
3331
3331
|
return Promise.resolve(fetchWrapper.post(graphqlProviderQuery, JSON.stringify({
|
|
3332
|
-
query: "query TransactionDetailsKima($txId: String) {\n " + (isLP ? 'liquidity_transaction_data' : 'transaction_data') + "(where: { tx_id: { _eq: " + txId.toString() + " } }, limit: 1) {\n failreason\n pullfailcount\n pullhash\n releasefailcount\n releasehash\n txstatus\n amount\n creator\n
|
|
3332
|
+
query: "query TransactionDetailsKima($txId: String) {\n " + (isLP ? 'liquidity_transaction_data' : 'transaction_data') + "(where: { tx_id: { _eq: " + txId.toString() + " } }, limit: 1) {\n failreason\n pullfailcount\n pullhash\n releasefailcount\n releasehash\n txstatus\n amount\n creator\n originaddress\n originchain\n originsymbol\n targetsymbol\n targetaddress\n targetchain\n tx_id\n }\n }"
|
|
3333
3333
|
}))).then(function (result) {
|
|
3334
3334
|
var _result$data, _result$data$transact;
|
|
3335
3335
|
if (!(result !== null && result !== void 0 && (_result$data = result.data) !== null && _result$data !== void 0 && (_result$data$transact = _result$data.transaction_data) !== null && _result$data$transact !== void 0 && _result$data$transact.length)) {
|
|
@@ -7938,7 +7938,7 @@ function output(out, instance) {
|
|
|
7938
7938
|
exports.output = output;
|
|
7939
7939
|
const assert = { number, bool, bytes, hash, exists, output };
|
|
7940
7940
|
exports.default = assert;
|
|
7941
|
-
|
|
7941
|
+
|
|
7942
7942
|
});
|
|
7943
7943
|
|
|
7944
7944
|
unwrapExports(_assert);
|
|
@@ -7947,7 +7947,7 @@ var crypto = createCommonjsModule(function (module, exports) {
|
|
|
7947
7947
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7948
7948
|
exports.crypto = void 0;
|
|
7949
7949
|
exports.crypto = typeof globalThis === 'object' && 'crypto' in globalThis ? globalThis.crypto : undefined;
|
|
7950
|
-
|
|
7950
|
+
|
|
7951
7951
|
});
|
|
7952
7952
|
|
|
7953
7953
|
unwrapExports(crypto);
|
|
@@ -8149,7 +8149,7 @@ function randomBytes(bytesLength = 32) {
|
|
|
8149
8149
|
throw new Error('crypto.getRandomValues must be defined');
|
|
8150
8150
|
}
|
|
8151
8151
|
exports.randomBytes = randomBytes;
|
|
8152
|
-
|
|
8152
|
+
|
|
8153
8153
|
});
|
|
8154
8154
|
|
|
8155
8155
|
unwrapExports(utils);
|
|
@@ -8271,7 +8271,7 @@ class SHA2 extends utils.Hash {
|
|
|
8271
8271
|
}
|
|
8272
8272
|
}
|
|
8273
8273
|
exports.SHA2 = SHA2;
|
|
8274
|
-
|
|
8274
|
+
|
|
8275
8275
|
});
|
|
8276
8276
|
|
|
8277
8277
|
unwrapExports(_sha2);
|
|
@@ -8404,7 +8404,7 @@ class SHA224 extends SHA256 {
|
|
|
8404
8404
|
*/
|
|
8405
8405
|
exports.sha256 = (0, utils.wrapConstructor)(() => new SHA256());
|
|
8406
8406
|
exports.sha224 = (0, utils.wrapConstructor)(() => new SHA224());
|
|
8407
|
-
|
|
8407
|
+
|
|
8408
8408
|
});
|
|
8409
8409
|
|
|
8410
8410
|
unwrapExports(sha256);
|
|
@@ -12747,14 +12747,14 @@ var polygonAmoy = {
|
|
|
12747
12747
|
name: 'Amoy',
|
|
12748
12748
|
currency: 'MATIC',
|
|
12749
12749
|
explorerUrl: 'https://www.oklink.com/amoy',
|
|
12750
|
-
rpcUrl: 'https://
|
|
12750
|
+
rpcUrl: 'https://rpc-amoy.polygon.technology'
|
|
12751
12751
|
};
|
|
12752
12752
|
var polygon = {
|
|
12753
12753
|
chainId: 137,
|
|
12754
12754
|
name: 'Polygon Mainnet',
|
|
12755
12755
|
currency: 'MATIC',
|
|
12756
12756
|
explorerUrl: 'https://polygonscan.com',
|
|
12757
|
-
rpcUrl: 'https://polygon.
|
|
12757
|
+
rpcUrl: 'https://polygon-rpc.com/'
|
|
12758
12758
|
};
|
|
12759
12759
|
var arbitrumSepolia = {
|
|
12760
12760
|
chainId: 421614,
|
|
@@ -12768,7 +12768,7 @@ var arbitrum = {
|
|
|
12768
12768
|
name: 'Arbitrum Mainnet',
|
|
12769
12769
|
currency: 'ETH',
|
|
12770
12770
|
explorerUrl: 'https://arbiscan.io',
|
|
12771
|
-
rpcUrl: 'https://arbitrum.
|
|
12771
|
+
rpcUrl: 'https://arb1.arbitrum.io/rpc'
|
|
12772
12772
|
};
|
|
12773
12773
|
var optimismSepola = {
|
|
12774
12774
|
chainId: 11155420,
|
|
@@ -12782,7 +12782,7 @@ var optimism = {
|
|
|
12782
12782
|
name: 'OP Mainnet',
|
|
12783
12783
|
currency: 'ETH',
|
|
12784
12784
|
explorerUrl: 'https://optimistic.etherscan.io',
|
|
12785
|
-
rpcUrl: 'https://optimism.
|
|
12785
|
+
rpcUrl: 'https://mainnet.optimism.io'
|
|
12786
12786
|
};
|
|
12787
12787
|
var avalancheFuji = {
|
|
12788
12788
|
chainId: 43113,
|