Socket
Socket
Sign inDemoInstall

@xyo-network/crypto-nft-score-model

Package Overview
Dependencies
Maintainers
0
Versions
236
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xyo-network/crypto-nft-score-model - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

14

package.json

@@ -10,11 +10,11 @@ {

"email": "support@xyo.network",
"url": "https://github.com/XYOracleNetwork/plugins/issues"
"url": "git+https://github.com/XYOracleNetwork/plugins/issues"
},
"dependencies": {
"@xylabs/object": "^4.0.1",
"@xyo-network/payload-model": "^3.0.2"
"@xylabs/object": "^4.0.2",
"@xyo-network/payload-model": "^3.0.3"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^4.0.0-rc.15",
"@xylabs/tsconfig": "^4.0.0-rc.15",
"@xylabs/ts-scripts-yarn3": "^4.0.0-rc.20",
"@xylabs/tsconfig": "^4.0.0-rc.20",
"typescript": "^5.5.4"

@@ -39,7 +39,7 @@ },

"type": "git",
"url": "https://github.com/XYOracleNetwork/plugins.git"
"url": "git+https://github.com/XYOracleNetwork/plugins.git"
},
"sideEffects": false,
"version": "3.0.2",
"version": "3.0.3",
"type": "module"
}

@@ -1,2 +0,2 @@

import { ScaledScore } from './score.ts'
import type { ScaledScore } from './score.ts'

@@ -3,0 +3,0 @@ export const incrementTotal = (score: ScaledScore, by = 1): ScaledScore => {

@@ -1,2 +0,3 @@

import { Score, SKIP } from './score.ts'
import type { Score } from './score.ts'
import { SKIP } from './score.ts'

@@ -3,0 +4,0 @@ export const normalize = (score: Score, maxScore: number): Score => {

@@ -1,4 +0,4 @@

import { AnyObject, EmptyObject } from '@xylabs/object'
import type { AnyObject, EmptyObject } from '@xylabs/object'
import { PassFailScore, Score } from './score.ts'
import type { PassFailScore, Score } from './score.ts'

@@ -5,0 +5,0 @@ export type PassFailScoringFunction<T extends EmptyObject = AnyObject> = (payload: T) => PassFailScore | Promise<PassFailScore>

@@ -1,5 +0,5 @@

import { AnyObject } from '@xylabs/object'
import { Payload } from '@xyo-network/payload-model'
import type { AnyObject } from '@xylabs/object'
import type { Payload } from '@xyo-network/payload-model'
import { ScoringFunction } from './scoringFunction.ts'
import type { ScoringFunction } from './scoringFunction.ts'

@@ -6,0 +6,0 @@ export interface WeightedScoringCriteria<T extends Payload = Payload<AnyObject>> {

@@ -1,2 +0,2 @@

import { XyTsupConfig } from '@xylabs/ts-scripts-yarn3'
import type { XyTsupConfig } from '@xylabs/ts-scripts-yarn3'
const config: XyTsupConfig = {

@@ -3,0 +3,0 @@ compile: {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc