@moralisweb3/common-streams-utils
Advanced tools
Comparing version 2.11.1 to 2.12.0
@@ -55,2 +55,3 @@ "use strict"; | ||
*/ | ||
// eslint-disable-next-line complexity | ||
StreamErc1155Approval.equals = function (valueA, valueB) { | ||
@@ -57,0 +58,0 @@ var _a, _b; |
@@ -55,2 +55,3 @@ "use strict"; | ||
*/ | ||
// eslint-disable-next-line complexity | ||
StreamErc721Approval.equals = function (valueA, valueB) { | ||
@@ -57,0 +58,0 @@ var _a, _b; |
@@ -60,2 +60,3 @@ "use strict"; | ||
*/ | ||
// eslint-disable-next-line complexity | ||
StreamEvmNftTransfer.equals = function (valueA, valueB) { | ||
@@ -62,0 +63,0 @@ var _a, _b; |
@@ -53,3 +53,3 @@ import Core, { MoralisDataObject } from '@moralisweb3/common-core'; | ||
get contractAddress(): StreamSelector | EvmAddress; | ||
get functionAbi(): any; | ||
get functionAbi(): unknown; | ||
get inputs(): (string | string[])[] | undefined; | ||
@@ -56,0 +56,0 @@ get topic0(): string | undefined; |
@@ -56,2 +56,3 @@ "use strict"; | ||
}; | ||
// eslint-disable-next-line complexity | ||
StreamTrigger.equals = function (valueA, valueB) { | ||
@@ -74,9 +75,7 @@ var _a, _b; | ||
} | ||
else { | ||
var triggerInputsA = streamTriggerA.inputs || []; | ||
var triggerInputsB = streamTriggerB.inputs || []; | ||
for (var i = 0; i < (triggerInputsA === null || triggerInputsA === void 0 ? void 0 : triggerInputsA.length); i++) { | ||
if (triggerInputsA[i] !== triggerInputsB[i]) { | ||
return false; | ||
} | ||
var triggerInputsA = streamTriggerA.inputs || []; | ||
var triggerInputsB = streamTriggerB.inputs || []; | ||
for (var i = 0; i < (triggerInputsA === null || triggerInputsA === void 0 ? void 0 : triggerInputsA.length); i++) { | ||
if (triggerInputsA[i] !== triggerInputsB[i]) { | ||
return false; | ||
} | ||
@@ -83,0 +82,0 @@ } |
@@ -6,3 +6,3 @@ import { EvmAddress, EvmAddressish } from '@moralisweb3/common-evm-utils'; | ||
contractAddress: StreamSelectorish | EvmAddressish; | ||
functionAbi: any; | ||
functionAbi: unknown; | ||
inputs?: (string | string[])[]; | ||
@@ -15,3 +15,3 @@ topic0?: string; | ||
contractAddress: StreamSelector | EvmAddress; | ||
functionAbi: any; | ||
functionAbi: unknown; | ||
inputs?: (string | string[])[]; | ||
@@ -18,0 +18,0 @@ topic0?: string; |
{ | ||
"name": "@moralisweb3/common-streams-utils", | ||
"author": "Moralis", | ||
"version": "2.11.1", | ||
"version": "2.12.0", | ||
"license": "MIT", | ||
@@ -30,14 +30,12 @@ "main": "./lib/index.js", | ||
"devDependencies": { | ||
"@moralisweb3/eslint-config": "^1.0.1", | ||
"eslint": "^8.29.0", | ||
"@moralisweb3/eslint-config": "^1.0.2", | ||
"jest": "29.3.1", | ||
"openapi-typescript": "^5.2.0", | ||
"typescript": "^4.9.3" | ||
"openapi-typescript": "^5.2.0" | ||
}, | ||
"dependencies": { | ||
"@ethersproject/abi": "^5.7.0", | ||
"@moralisweb3/common-core": "^2.11.1", | ||
"@moralisweb3/common-evm-utils": "^2.11.1", | ||
"@moralisweb3/common-core": "^2.12.0", | ||
"@moralisweb3/common-evm-utils": "^2.12.0", | ||
"@moralisweb3/streams-typings": "^1.0.6" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
672526
3
11251