@lukso/transaction-view-headless 0.4.0 → 0.4.1-dev.3b54e9f
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/.turbo/turbo-build.log +16 -16
- package/.turbo/turbo-typecheck.log +4 -0
- package/CHANGELOG.md +14 -0
- package/dist/composables/index.cjs +5 -5
- package/dist/composables/index.cjs.map +1 -1
- package/dist/composables/index.js +5 -5
- package/dist/composables/index.js.map +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +4 -3
- package/src/composables/use-transaction-playback.ts +3 -3
- package/src/composables/use-transaction-view.ts +1 -1
- package/src/config/lukso-config.ts +4 -1
- package/src/examples/context-aware-views.ts +0 -1
- package/src/examples/opt-in-context-examples.ts +0 -1
- package/src/hooks/useAddressResolution.ts +0 -4
- package/src/utils/context-matcher.ts +1 -1
|
@@ -7,12 +7,9 @@
|
|
|
7
7
|
import type {
|
|
8
8
|
AssetData,
|
|
9
9
|
EnhancedInfo,
|
|
10
|
-
ImageData,
|
|
11
|
-
LinkData,
|
|
12
10
|
ProfileData,
|
|
13
11
|
TokenData,
|
|
14
12
|
} from '@lukso/transaction-decoder'
|
|
15
|
-
import type { Chain } from 'viem'
|
|
16
13
|
import {
|
|
17
14
|
cacheAddress,
|
|
18
15
|
currentChainSignal,
|
|
@@ -99,7 +96,6 @@ async function processBatch(chainId: number): Promise<void> {
|
|
|
99
96
|
|
|
100
97
|
try {
|
|
101
98
|
// Use decoder package's GraphQL resolver
|
|
102
|
-
// @ts-ignore - Declaration files may not be ready during development
|
|
103
99
|
const { fetchMultipleAddresses, getGraphQLEndpoint } = await import(
|
|
104
100
|
'@lukso/transaction-decoder'
|
|
105
101
|
)
|
|
@@ -112,7 +112,7 @@ export function areContextRequirementsCompatible(
|
|
|
112
112
|
* Example usage in actual matching function
|
|
113
113
|
*/
|
|
114
114
|
export function calculateContextAwareScore(
|
|
115
|
-
|
|
115
|
+
_transaction: DecoderResult,
|
|
116
116
|
view: any, // Extended ViewDefinition with context
|
|
117
117
|
options: ContextAwareMatchOptions
|
|
118
118
|
): { score: number; matchedCriteria: string[] } {
|