@xyo-network/diviner-evm-call-result-to-token-uri 4.1.0 → 4.2.0

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.
@@ -1,53 +1,6 @@
1
- import { DivinerConfig, DivinerParams } from '@xyo-network/diviner-model';
2
- import { AbstractDiviner } from '@xyo-network/diviner-abstract';
3
- import { NftMetadataUri } from '@xyo-network/evm-nft-id-payload-plugin';
4
- import { Payload, Schema } from '@xyo-network/payload-model';
5
- import { AnyConfigSchema } from '@xyo-network/module-model';
6
- import { EvmCallResults } from '@xyo-network/evm-call-witness';
7
-
8
- /**
9
- * The config schema for the EVM call result to NFT token URI diviner
10
- */
11
- declare const EvmCallResultToNftTokenUriDivinerConfigSchema = "network.xyo.evm.call.results.metadata.uri.diviner.config";
12
- /**
13
- * The config schema for the EVM call result to NFT token URI diviner
14
- */
15
- type EvmCallResultToNftTokenUriDivinerConfigSchema = typeof EvmCallResultToNftTokenUriDivinerConfigSchema;
16
- /**
17
- * The config for the EVM call result to NFT token URI diviner
18
- */
19
- type EvmCallResultToNftTokenUriDivinerConfig = DivinerConfig<{
20
- schema: EvmCallResultToNftTokenUriDivinerConfigSchema;
21
- }>;
22
-
23
- /**
24
- * The params for the EVM call result to NFT token URI diviner
25
- */
26
- type EvmCallResultToNftTokenUriDivinerParams = DivinerParams<AnyConfigSchema<EvmCallResultToNftTokenUriDivinerConfig>>;
27
-
28
- declare class EvmCallResultToNftTokenUriDiviner<TParams extends EvmCallResultToNftTokenUriDivinerParams = EvmCallResultToNftTokenUriDivinerParams> extends AbstractDiviner<TParams, Payload, NftMetadataUri> {
29
- static readonly configSchemas: Schema[];
30
- static readonly defaultConfigSchema: Schema;
31
- protected divineHandler(payloads?: Payload[]): NftMetadataUri[];
32
- }
33
-
34
- type EvmTokenUriCallResults = EvmCallResults & {
35
- results: {
36
- tokenURI: {
37
- args: [string];
38
- result?: string;
39
- };
40
- };
41
- };
42
-
43
- /**
44
- * The schema for the EVM call result to NFT token URI diviner.
45
- */
46
- declare const EvmCallResultToNftTokenUriDivinerSchema = "network.xyo.evm.call.results.metadata.uri.diviner";
47
- /**
48
- * The schema for the EVM call result to NFT token URI diviner.
49
- */
50
- type EvmCallResultToNftTokenUriDivinerSchema = typeof EvmCallResultToNftTokenUriDivinerSchema;
51
-
52
- export { EvmCallResultToNftTokenUriDiviner, EvmCallResultToNftTokenUriDivinerConfigSchema, EvmCallResultToNftTokenUriDivinerSchema };
53
- export type { EvmCallResultToNftTokenUriDivinerConfig, EvmCallResultToNftTokenUriDivinerParams, EvmTokenUriCallResults };
1
+ export * from './Config.ts';
2
+ export * from './Diviner.ts';
3
+ export * from './Params.ts';
4
+ export * from './Payload.ts';
5
+ export * from './Schema.ts';
6
+ //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/diviner-evm-call-result-to-token-uri",
3
- "version": "4.1.0",
3
+ "version": "4.2.0",
4
4
  "description": "Typescript/Javascript Plugins for XYO Platform",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -29,19 +29,18 @@
29
29
  "module": "dist/neutral/index.mjs",
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "dependencies": {
32
- "@xyo-network/diviner-abstract": "^4.1.1",
33
- "@xyo-network/diviner-model": "^4.1.1",
34
- "@xyo-network/evm-call-witness": "^4.1.0",
35
- "@xyo-network/evm-nft-id-payload-plugin": "^4.1.0",
36
- "@xyo-network/module-model": "^4.1.1",
37
- "@xyo-network/payload-model": "^4.1.1"
32
+ "@xyo-network/diviner-abstract": "^4.3.0",
33
+ "@xyo-network/diviner-model": "^4.3.0",
34
+ "@xyo-network/evm-call-witness": "^4.2.0",
35
+ "@xyo-network/evm-nft-id-payload-plugin": "^4.2.0",
36
+ "@xyo-network/module-model": "^4.3.0",
37
+ "@xyo-network/payload-model": "^4.3.0"
38
38
  },
39
39
  "devDependencies": {
40
- "@xylabs/ts-scripts-yarn3": "^7.0.0-rc.24",
41
- "@xylabs/tsconfig": "^7.0.0-rc.24",
42
- "@xylabs/vitest-extended": "^4.13.15",
43
- "@xyo-network/evm-nft-id-payload-plugin": "^4.1.0",
44
- "knip": "^5.61.3",
40
+ "@xylabs/ts-scripts-yarn3": "^7.0.1",
41
+ "@xylabs/tsconfig": "^7.0.1",
42
+ "@xylabs/vitest-extended": "^4.15.1",
43
+ "@xyo-network/evm-nft-id-payload-plugin": "^4.2.0",
45
44
  "typescript": "^5.8.3",
46
45
  "vitest": "^3.2.4"
47
46
  },