@net-protocol/score 0.1.1 → 0.1.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/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { S as ScoreClientOptions, G as GetUpvotesOptions, a as GetUpvotesForItemsOptions, b as GetStrategyKeyScoresOptions, c as GetAppKeyScoresOptions, D as DecodedStrategyMetadata, P as PoolKey, d as PoolDiscoveryResult } from './scoreKeyUtils-Dn43l8hQ.mjs';
2
- export { o as DecodedUpvoteBlob, F as FeedMessage, n as PoolStrategyMetadata, m as PureAlphaMetadata, l as ScoreItem, q as UseTokenUpvotesOptions, p as UseUpvotesBatchOptions, U as UseUpvotesOptions, j as extractTokenAddressFromScoreKey, f as getFeedContentKey, h as getScoreKey, e as getStorageScoreKey, k as getStorageUpvoteContext, g as getTokenScoreKey, i as isTokenScoreKey } from './scoreKeyUtils-Dn43l8hQ.mjs';
1
+ import { S as ScoreClientOptions, G as GetUpvotesOptions, a as GetUpvotesForItemsOptions, b as GetStrategyKeyScoresOptions, c as GetAppKeyScoresOptions, D as DecodedStrategyMetadata, P as PoolKey, d as PoolDiscoveryResult } from './scoreKeyUtils-DgHOtf44.mjs';
2
+ export { e as DecodedUpvoteBlob, F as FeedMessage, f as PoolStrategyMetadata, g as PureAlphaMetadata, h as ScoreItem, U as UseTokenUpvotesOptions, i as UseUpvotesBatchOptions, j as UseUpvotesOptions, k as extractTokenAddressFromScoreKey, l as getFeedContentKey, m as getScoreKey, n as getStorageScoreKey, o as getStorageUpvoteContext, p as getTokenScoreKey, q as isTokenScoreKey } from './scoreKeyUtils-DgHOtf44.mjs';
3
3
  import { Address, PublicClient, Abi } from 'viem';
4
4
 
5
5
  /**
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { S as ScoreClientOptions, G as GetUpvotesOptions, a as GetUpvotesForItemsOptions, b as GetStrategyKeyScoresOptions, c as GetAppKeyScoresOptions, D as DecodedStrategyMetadata, P as PoolKey, d as PoolDiscoveryResult } from './scoreKeyUtils-Dn43l8hQ.js';
2
- export { o as DecodedUpvoteBlob, F as FeedMessage, n as PoolStrategyMetadata, m as PureAlphaMetadata, l as ScoreItem, q as UseTokenUpvotesOptions, p as UseUpvotesBatchOptions, U as UseUpvotesOptions, j as extractTokenAddressFromScoreKey, f as getFeedContentKey, h as getScoreKey, e as getStorageScoreKey, k as getStorageUpvoteContext, g as getTokenScoreKey, i as isTokenScoreKey } from './scoreKeyUtils-Dn43l8hQ.js';
1
+ import { S as ScoreClientOptions, G as GetUpvotesOptions, a as GetUpvotesForItemsOptions, b as GetStrategyKeyScoresOptions, c as GetAppKeyScoresOptions, D as DecodedStrategyMetadata, P as PoolKey, d as PoolDiscoveryResult } from './scoreKeyUtils-DgHOtf44.js';
2
+ export { e as DecodedUpvoteBlob, F as FeedMessage, f as PoolStrategyMetadata, g as PureAlphaMetadata, h as ScoreItem, U as UseTokenUpvotesOptions, i as UseUpvotesBatchOptions, j as UseUpvotesOptions, k as extractTokenAddressFromScoreKey, l as getFeedContentKey, m as getScoreKey, n as getStorageScoreKey, o as getStorageUpvoteContext, p as getTokenScoreKey, q as isTokenScoreKey } from './scoreKeyUtils-DgHOtf44.js';
3
3
  import { Address, PublicClient, Abi } from 'viem';
4
4
 
5
5
  /**
package/dist/react.d.mts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as _tanstack_query_core from '@tanstack/query-core';
2
2
  import * as viem from 'viem';
3
- import { U as UseUpvotesOptions, p as UseUpvotesBatchOptions, q as UseTokenUpvotesOptions } from './scoreKeyUtils-Dn43l8hQ.mjs';
4
- export { F as FeedMessage, l as ScoreItem, h as getScoreKey, e as getStorageScoreKey, g as getTokenScoreKey } from './scoreKeyUtils-Dn43l8hQ.mjs';
3
+ import { j as UseUpvotesOptions, i as UseUpvotesBatchOptions, U as UseTokenUpvotesOptions } from './scoreKeyUtils-DgHOtf44.mjs';
4
+ export { F as FeedMessage, h as ScoreItem, m as getScoreKey, n as getStorageScoreKey, p as getTokenScoreKey } from './scoreKeyUtils-DgHOtf44.mjs';
5
5
 
6
6
  /**
7
7
  * React hook for fetching the upvote count for a single score key.
package/dist/react.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as _tanstack_query_core from '@tanstack/query-core';
2
2
  import * as viem from 'viem';
3
- import { U as UseUpvotesOptions, p as UseUpvotesBatchOptions, q as UseTokenUpvotesOptions } from './scoreKeyUtils-Dn43l8hQ.js';
4
- export { F as FeedMessage, l as ScoreItem, h as getScoreKey, e as getStorageScoreKey, g as getTokenScoreKey } from './scoreKeyUtils-Dn43l8hQ.js';
3
+ import { j as UseUpvotesOptions, i as UseUpvotesBatchOptions, U as UseTokenUpvotesOptions } from './scoreKeyUtils-DgHOtf44.js';
4
+ export { F as FeedMessage, h as ScoreItem, m as getScoreKey, n as getStorageScoreKey, p as getTokenScoreKey } from './scoreKeyUtils-DgHOtf44.js';
5
5
 
6
6
  /**
7
7
  * React hook for fetching the upvote count for a single score key.
@@ -145,4 +145,4 @@ declare const extractTokenAddressFromScoreKey: (scoreKey: string) => string | nu
145
145
  */
146
146
  declare const getStorageUpvoteContext: (operatorAddress: string, storageKey: string) => `0x${string}`;
147
147
 
148
- export { type DecodedStrategyMetadata as D, type FeedMessage as F, type GetUpvotesOptions as G, type PoolKey as P, type ScoreClientOptions as S, type UseUpvotesOptions as U, type GetUpvotesForItemsOptions as a, type GetStrategyKeyScoresOptions as b, type GetAppKeyScoresOptions as c, type PoolDiscoveryResult as d, getStorageScoreKey as e, getFeedContentKey as f, getTokenScoreKey as g, getScoreKey as h, isTokenScoreKey as i, extractTokenAddressFromScoreKey as j, getStorageUpvoteContext as k, type ScoreItem as l, type PureAlphaMetadata as m, type PoolStrategyMetadata as n, type DecodedUpvoteBlob as o, type UseUpvotesBatchOptions as p, type UseTokenUpvotesOptions as q };
148
+ export { type DecodedStrategyMetadata as D, type FeedMessage as F, type GetUpvotesOptions as G, type PoolKey as P, type ScoreClientOptions as S, type UseTokenUpvotesOptions as U, type GetUpvotesForItemsOptions as a, type GetStrategyKeyScoresOptions as b, type GetAppKeyScoresOptions as c, type PoolDiscoveryResult as d, type DecodedUpvoteBlob as e, type PoolStrategyMetadata as f, type PureAlphaMetadata as g, type ScoreItem as h, type UseUpvotesBatchOptions as i, type UseUpvotesOptions as j, extractTokenAddressFromScoreKey as k, getFeedContentKey as l, getScoreKey as m, getStorageScoreKey as n, getStorageUpvoteContext as o, getTokenScoreKey as p, isTokenScoreKey as q };
@@ -145,4 +145,4 @@ declare const extractTokenAddressFromScoreKey: (scoreKey: string) => string | nu
145
145
  */
146
146
  declare const getStorageUpvoteContext: (operatorAddress: string, storageKey: string) => `0x${string}`;
147
147
 
148
- export { type DecodedStrategyMetadata as D, type FeedMessage as F, type GetUpvotesOptions as G, type PoolKey as P, type ScoreClientOptions as S, type UseUpvotesOptions as U, type GetUpvotesForItemsOptions as a, type GetStrategyKeyScoresOptions as b, type GetAppKeyScoresOptions as c, type PoolDiscoveryResult as d, getStorageScoreKey as e, getFeedContentKey as f, getTokenScoreKey as g, getScoreKey as h, isTokenScoreKey as i, extractTokenAddressFromScoreKey as j, getStorageUpvoteContext as k, type ScoreItem as l, type PureAlphaMetadata as m, type PoolStrategyMetadata as n, type DecodedUpvoteBlob as o, type UseUpvotesBatchOptions as p, type UseTokenUpvotesOptions as q };
148
+ export { type DecodedStrategyMetadata as D, type FeedMessage as F, type GetUpvotesOptions as G, type PoolKey as P, type ScoreClientOptions as S, type UseTokenUpvotesOptions as U, type GetUpvotesForItemsOptions as a, type GetStrategyKeyScoresOptions as b, type GetAppKeyScoresOptions as c, type PoolDiscoveryResult as d, type DecodedUpvoteBlob as e, type PoolStrategyMetadata as f, type PureAlphaMetadata as g, type ScoreItem as h, type UseUpvotesBatchOptions as i, type UseUpvotesOptions as j, extractTokenAddressFromScoreKey as k, getFeedContentKey as l, getScoreKey as m, getStorageScoreKey as n, getStorageUpvoteContext as o, getTokenScoreKey as p, isTokenScoreKey as q };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@net-protocol/score",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Score/upvoting functionality for Net Protocol - on-chain scoring system",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -42,9 +42,9 @@
42
42
  "test:ui": "vitest --ui"
43
43
  },
44
44
  "dependencies": {
45
- "@net-protocol/core": "^0.1.8",
46
- "@net-protocol/storage": "^0.1.12",
47
- "viem": "^2.31.4"
45
+ "@net-protocol/core": "^0.1.9",
46
+ "@net-protocol/storage": "^0.1.13",
47
+ "viem": "^2.45.0"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@tanstack/react-query": "^5.0.0",