@xyo-network/crypto-nft-diviner-score-plugin 3.4.1 → 3.4.2
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/browser/index.d.ts +6 -41
- package/dist/neutral/index.d.ts +6 -41
- package/dist/node/index.d.ts +6 -41
- package/package.json +13 -13
package/dist/browser/index.d.ts
CHANGED
|
@@ -4,13 +4,11 @@ import { AbstractDiviner } from '@xyo-network/diviner-abstract';
|
|
|
4
4
|
import { DivinerParams } from '@xyo-network/diviner-model';
|
|
5
5
|
import * as _xyo_network_module_model from '@xyo-network/module-model';
|
|
6
6
|
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
7
|
-
import * as _xyo_network_payload_model from '@xyo-network/payload-model';
|
|
8
7
|
import { Schema, Payload } from '@xyo-network/payload-model';
|
|
9
8
|
import * as _xyo_network_crypto_nft_score_model from '@xyo-network/crypto-nft-score-model';
|
|
10
9
|
import { Score } from '@xyo-network/crypto-nft-score-model';
|
|
11
10
|
import * as _xyo_network_payloadset_plugin from '@xyo-network/payloadset-plugin';
|
|
12
|
-
import * as
|
|
13
|
-
import * as _store__xyo_network_account_model_virtual_3a3814c98f_package from '.store/@xyo-network-account-model-virtual-3a3814c98f/package';
|
|
11
|
+
import * as _store__xyo_network_account_model_virtual_8ffda77307_package from '.store/@xyo-network-account-model-virtual-8ffda77307/package';
|
|
14
12
|
import * as _xylabs_object from '@xylabs/object';
|
|
15
13
|
|
|
16
14
|
type NftScoreDivinerParams = DivinerParams<AnyConfigSchema<NftScoreDivinerConfig>>;
|
|
@@ -83,48 +81,15 @@ type NftAnalysis = {
|
|
|
83
81
|
declare const analyzeNft: (nft: NftInfoFields) => Promise<NftAnalysis>;
|
|
84
82
|
|
|
85
83
|
declare const NftScoreDivinerPlugin: () => _xyo_network_payloadset_plugin.PayloadSetDivinerPlugin<NftScoreDiviner<_xylabs_object.BaseParamsFields & {
|
|
86
|
-
account?:
|
|
84
|
+
account?: _store__xyo_network_account_model_virtual_8ffda77307_package.AccountInstance | "random";
|
|
87
85
|
addToResolvers?: boolean;
|
|
88
|
-
additionalSigners?:
|
|
86
|
+
additionalSigners?: _store__xyo_network_account_model_virtual_8ffda77307_package.AccountInstance[];
|
|
89
87
|
allowNameResolution?: boolean;
|
|
90
|
-
config:
|
|
91
|
-
schema: _xyo_network_payload_model.Schema;
|
|
92
|
-
readonly archiving?: {
|
|
93
|
-
readonly archivists?: string[] | undefined;
|
|
94
|
-
readonly queries?: string[] | undefined;
|
|
95
|
-
} | undefined;
|
|
96
|
-
readonly allowedQueries?: string[] | undefined;
|
|
97
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
98
|
-
readonly consoleLogger?: _store__xylabs_logger_npm_4_5_1_a411051254_package.LogLevel | undefined;
|
|
99
|
-
readonly labels?: {
|
|
100
|
-
[x: string]: string | undefined;
|
|
101
|
-
} | undefined;
|
|
102
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
103
|
-
readonly paging?: {
|
|
104
|
-
[x: string]: {
|
|
105
|
-
size?: number | undefined;
|
|
106
|
-
};
|
|
107
|
-
} | undefined;
|
|
108
|
-
readonly retry?: {
|
|
109
|
-
backoff?: number | undefined;
|
|
110
|
-
interval?: number | undefined;
|
|
111
|
-
retries?: number | undefined;
|
|
112
|
-
} | undefined;
|
|
113
|
-
readonly security?: {
|
|
114
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
115
|
-
readonly allowed?: {
|
|
116
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
117
|
-
} | undefined;
|
|
118
|
-
readonly disallowed?: {
|
|
119
|
-
[x: string]: Lowercase<string>[];
|
|
120
|
-
} | undefined;
|
|
121
|
-
} | undefined;
|
|
122
|
-
readonly sign?: boolean | undefined;
|
|
123
|
-
readonly storeQueries?: boolean | undefined;
|
|
124
|
-
readonly timestamp?: boolean | undefined;
|
|
125
|
-
}>;
|
|
88
|
+
config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_crypto_nft_payload_plugin.NftScoreDivinerConfig>;
|
|
126
89
|
ephemeralQueryAccountEnabled?: boolean;
|
|
127
90
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
91
|
+
privateChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
92
|
+
publicChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
128
93
|
}>>;
|
|
129
94
|
|
|
130
95
|
export { type NftAnalysis, NftScoreDiviner, type NftScoreDivinerParams, NftScoreDivinerPlugin, type ScoringCriteriaKey, analyzeNft, NftScoreDivinerPlugin as default, isNftScore, scoringCriteria };
|
package/dist/neutral/index.d.ts
CHANGED
|
@@ -4,13 +4,11 @@ import { AbstractDiviner } from '@xyo-network/diviner-abstract';
|
|
|
4
4
|
import { DivinerParams } from '@xyo-network/diviner-model';
|
|
5
5
|
import * as _xyo_network_module_model from '@xyo-network/module-model';
|
|
6
6
|
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
7
|
-
import * as _xyo_network_payload_model from '@xyo-network/payload-model';
|
|
8
7
|
import { Schema, Payload } from '@xyo-network/payload-model';
|
|
9
8
|
import * as _xyo_network_crypto_nft_score_model from '@xyo-network/crypto-nft-score-model';
|
|
10
9
|
import { Score } from '@xyo-network/crypto-nft-score-model';
|
|
11
10
|
import * as _xyo_network_payloadset_plugin from '@xyo-network/payloadset-plugin';
|
|
12
|
-
import * as
|
|
13
|
-
import * as _store__xyo_network_account_model_virtual_3a3814c98f_package from '.store/@xyo-network-account-model-virtual-3a3814c98f/package';
|
|
11
|
+
import * as _store__xyo_network_account_model_virtual_8ffda77307_package from '.store/@xyo-network-account-model-virtual-8ffda77307/package';
|
|
14
12
|
import * as _xylabs_object from '@xylabs/object';
|
|
15
13
|
|
|
16
14
|
type NftScoreDivinerParams = DivinerParams<AnyConfigSchema<NftScoreDivinerConfig>>;
|
|
@@ -83,48 +81,15 @@ type NftAnalysis = {
|
|
|
83
81
|
declare const analyzeNft: (nft: NftInfoFields) => Promise<NftAnalysis>;
|
|
84
82
|
|
|
85
83
|
declare const NftScoreDivinerPlugin: () => _xyo_network_payloadset_plugin.PayloadSetDivinerPlugin<NftScoreDiviner<_xylabs_object.BaseParamsFields & {
|
|
86
|
-
account?:
|
|
84
|
+
account?: _store__xyo_network_account_model_virtual_8ffda77307_package.AccountInstance | "random";
|
|
87
85
|
addToResolvers?: boolean;
|
|
88
|
-
additionalSigners?:
|
|
86
|
+
additionalSigners?: _store__xyo_network_account_model_virtual_8ffda77307_package.AccountInstance[];
|
|
89
87
|
allowNameResolution?: boolean;
|
|
90
|
-
config:
|
|
91
|
-
schema: _xyo_network_payload_model.Schema;
|
|
92
|
-
readonly archiving?: {
|
|
93
|
-
readonly archivists?: string[] | undefined;
|
|
94
|
-
readonly queries?: string[] | undefined;
|
|
95
|
-
} | undefined;
|
|
96
|
-
readonly allowedQueries?: string[] | undefined;
|
|
97
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
98
|
-
readonly consoleLogger?: _store__xylabs_logger_npm_4_5_1_a411051254_package.LogLevel | undefined;
|
|
99
|
-
readonly labels?: {
|
|
100
|
-
[x: string]: string | undefined;
|
|
101
|
-
} | undefined;
|
|
102
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
103
|
-
readonly paging?: {
|
|
104
|
-
[x: string]: {
|
|
105
|
-
size?: number | undefined;
|
|
106
|
-
};
|
|
107
|
-
} | undefined;
|
|
108
|
-
readonly retry?: {
|
|
109
|
-
backoff?: number | undefined;
|
|
110
|
-
interval?: number | undefined;
|
|
111
|
-
retries?: number | undefined;
|
|
112
|
-
} | undefined;
|
|
113
|
-
readonly security?: {
|
|
114
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
115
|
-
readonly allowed?: {
|
|
116
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
117
|
-
} | undefined;
|
|
118
|
-
readonly disallowed?: {
|
|
119
|
-
[x: string]: Lowercase<string>[];
|
|
120
|
-
} | undefined;
|
|
121
|
-
} | undefined;
|
|
122
|
-
readonly sign?: boolean | undefined;
|
|
123
|
-
readonly storeQueries?: boolean | undefined;
|
|
124
|
-
readonly timestamp?: boolean | undefined;
|
|
125
|
-
}>;
|
|
88
|
+
config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_crypto_nft_payload_plugin.NftScoreDivinerConfig>;
|
|
126
89
|
ephemeralQueryAccountEnabled?: boolean;
|
|
127
90
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
91
|
+
privateChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
92
|
+
publicChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
128
93
|
}>>;
|
|
129
94
|
|
|
130
95
|
export { type NftAnalysis, NftScoreDiviner, type NftScoreDivinerParams, NftScoreDivinerPlugin, type ScoringCriteriaKey, analyzeNft, NftScoreDivinerPlugin as default, isNftScore, scoringCriteria };
|
package/dist/node/index.d.ts
CHANGED
|
@@ -4,13 +4,11 @@ import { AbstractDiviner } from '@xyo-network/diviner-abstract';
|
|
|
4
4
|
import { DivinerParams } from '@xyo-network/diviner-model';
|
|
5
5
|
import * as _xyo_network_module_model from '@xyo-network/module-model';
|
|
6
6
|
import { AnyConfigSchema } from '@xyo-network/module-model';
|
|
7
|
-
import * as _xyo_network_payload_model from '@xyo-network/payload-model';
|
|
8
7
|
import { Schema, Payload } from '@xyo-network/payload-model';
|
|
9
8
|
import * as _xyo_network_crypto_nft_score_model from '@xyo-network/crypto-nft-score-model';
|
|
10
9
|
import { Score } from '@xyo-network/crypto-nft-score-model';
|
|
11
10
|
import * as _xyo_network_payloadset_plugin from '@xyo-network/payloadset-plugin';
|
|
12
|
-
import * as
|
|
13
|
-
import * as _store__xyo_network_account_model_virtual_3a3814c98f_package from '.store/@xyo-network-account-model-virtual-3a3814c98f/package';
|
|
11
|
+
import * as _store__xyo_network_account_model_virtual_8ffda77307_package from '.store/@xyo-network-account-model-virtual-8ffda77307/package';
|
|
14
12
|
import * as _xylabs_object from '@xylabs/object';
|
|
15
13
|
|
|
16
14
|
type NftScoreDivinerParams = DivinerParams<AnyConfigSchema<NftScoreDivinerConfig>>;
|
|
@@ -83,48 +81,15 @@ type NftAnalysis = {
|
|
|
83
81
|
declare const analyzeNft: (nft: NftInfoFields) => Promise<NftAnalysis>;
|
|
84
82
|
|
|
85
83
|
declare const NftScoreDivinerPlugin: () => _xyo_network_payloadset_plugin.PayloadSetDivinerPlugin<NftScoreDiviner<_xylabs_object.BaseParamsFields & {
|
|
86
|
-
account?:
|
|
84
|
+
account?: _store__xyo_network_account_model_virtual_8ffda77307_package.AccountInstance | "random";
|
|
87
85
|
addToResolvers?: boolean;
|
|
88
|
-
additionalSigners?:
|
|
86
|
+
additionalSigners?: _store__xyo_network_account_model_virtual_8ffda77307_package.AccountInstance[];
|
|
89
87
|
allowNameResolution?: boolean;
|
|
90
|
-
config:
|
|
91
|
-
schema: _xyo_network_payload_model.Schema;
|
|
92
|
-
readonly archiving?: {
|
|
93
|
-
readonly archivists?: string[] | undefined;
|
|
94
|
-
readonly queries?: string[] | undefined;
|
|
95
|
-
} | undefined;
|
|
96
|
-
readonly allowedQueries?: string[] | undefined;
|
|
97
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
98
|
-
readonly consoleLogger?: _store__xylabs_logger_npm_4_5_1_a411051254_package.LogLevel | undefined;
|
|
99
|
-
readonly labels?: {
|
|
100
|
-
[x: string]: string | undefined;
|
|
101
|
-
} | undefined;
|
|
102
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
103
|
-
readonly paging?: {
|
|
104
|
-
[x: string]: {
|
|
105
|
-
size?: number | undefined;
|
|
106
|
-
};
|
|
107
|
-
} | undefined;
|
|
108
|
-
readonly retry?: {
|
|
109
|
-
backoff?: number | undefined;
|
|
110
|
-
interval?: number | undefined;
|
|
111
|
-
retries?: number | undefined;
|
|
112
|
-
} | undefined;
|
|
113
|
-
readonly security?: {
|
|
114
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
115
|
-
readonly allowed?: {
|
|
116
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
117
|
-
} | undefined;
|
|
118
|
-
readonly disallowed?: {
|
|
119
|
-
[x: string]: Lowercase<string>[];
|
|
120
|
-
} | undefined;
|
|
121
|
-
} | undefined;
|
|
122
|
-
readonly sign?: boolean | undefined;
|
|
123
|
-
readonly storeQueries?: boolean | undefined;
|
|
124
|
-
readonly timestamp?: boolean | undefined;
|
|
125
|
-
}>;
|
|
88
|
+
config: _xyo_network_module_model.AnyConfigSchema<_xyo_network_crypto_nft_payload_plugin.NftScoreDivinerConfig>;
|
|
126
89
|
ephemeralQueryAccountEnabled?: boolean;
|
|
127
90
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
91
|
+
privateChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
92
|
+
publicChildren?: _xyo_network_module_model.ModuleInstance[];
|
|
128
93
|
}>>;
|
|
129
94
|
|
|
130
95
|
export { type NftAnalysis, NftScoreDiviner, type NftScoreDivinerParams, NftScoreDivinerPlugin, type ScoringCriteriaKey, analyzeNft, NftScoreDivinerPlugin as default, isNftScore, scoringCriteria };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/crypto-nft-diviner-score-plugin",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.2",
|
|
4
4
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -29,25 +29,25 @@
|
|
|
29
29
|
"module": "dist/neutral/index.mjs",
|
|
30
30
|
"types": "dist/neutral/index.d.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@xyo-network/crypto-nft-payload-plugin": "^3.4.
|
|
33
|
-
"@xyo-network/crypto-nft-score-model": "^3.4.
|
|
34
|
-
"@xyo-network/diviner-abstract": "^3.
|
|
35
|
-
"@xyo-network/diviner-model": "^3.
|
|
36
|
-
"@xyo-network/module-model": "^3.
|
|
37
|
-
"@xyo-network/payload-builder": "^3.
|
|
38
|
-
"@xyo-network/payload-model": "^3.
|
|
39
|
-
"@xyo-network/payloadset-plugin": "^3.
|
|
32
|
+
"@xyo-network/crypto-nft-payload-plugin": "^3.4.2",
|
|
33
|
+
"@xyo-network/crypto-nft-score-model": "^3.4.2",
|
|
34
|
+
"@xyo-network/diviner-abstract": "^3.9.16",
|
|
35
|
+
"@xyo-network/diviner-model": "^3.9.16",
|
|
36
|
+
"@xyo-network/module-model": "^3.9.16",
|
|
37
|
+
"@xyo-network/payload-builder": "^3.9.16",
|
|
38
|
+
"@xyo-network/payload-model": "^3.9.16",
|
|
39
|
+
"@xyo-network/payloadset-plugin": "^3.9.16",
|
|
40
40
|
"ethers": "^6.13.5",
|
|
41
41
|
"svg-parser": "^2.0.4"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/svg-parser": "^2.0.6",
|
|
45
|
-
"@xylabs/ts-scripts-yarn3": "^5.0.
|
|
46
|
-
"@xylabs/tsconfig": "^5.0.
|
|
45
|
+
"@xylabs/ts-scripts-yarn3": "^5.0.24",
|
|
46
|
+
"@xylabs/tsconfig": "^5.0.24",
|
|
47
47
|
"@xylabs/vitest-extended": "^4.5.1",
|
|
48
|
-
"@xyo-network/payload-wrapper": "^3.
|
|
48
|
+
"@xyo-network/payload-wrapper": "^3.9.16",
|
|
49
49
|
"typescript": "^5.7.3",
|
|
50
|
-
"vitest": "^3.0.
|
|
50
|
+
"vitest": "^3.0.6"
|
|
51
51
|
},
|
|
52
52
|
"publishConfig": {
|
|
53
53
|
"access": "public"
|