@rss3/js-sdk
Advanced tools
Comparing version 0.6.38 to 0.6.39
@@ -1,2 +0,2 @@ | ||
import { Network, Tag } from '../data/client'; | ||
import { Network, Tag } from '../data/client.js'; | ||
export declare function getIcon(name: Tag | Network | string): string; |
@@ -13,1 +13,2 @@ export { client as dataClient, Activity, Profile, Cursor, TotalPage } from './data/client.js'; | ||
export { getIcon } from './assets/icon.js'; | ||
export { formatTime, formatFromNow, formatFullTime } from './readable/time/index.js'; |
@@ -13,1 +13,2 @@ export { client as dataClient } from './data/client.js'; | ||
export { getIcon } from './assets/icon.js'; | ||
export { formatTime, formatFromNow, formatFullTime } from './readable/time/index.js'; |
@@ -928,72 +928,2 @@ export declare const metadataDoc: { | ||
}; | ||
"social-follow": { | ||
ref: { | ||
from?: { | ||
action?: "create" | "update" | "renew" | "unwrap" | "wrap" | undefined; | ||
address?: string | undefined; | ||
bio?: string | undefined; | ||
expiry?: string | null | undefined; | ||
handle?: string | undefined; | ||
image_uri?: string | undefined; | ||
key?: string | undefined; | ||
name?: string | undefined; | ||
profile_id?: string | undefined; | ||
value?: string | undefined; | ||
} | undefined; | ||
to?: { | ||
action?: "create" | "update" | "renew" | "unwrap" | "wrap" | undefined; | ||
address?: string | undefined; | ||
bio?: string | undefined; | ||
expiry?: string | null | undefined; | ||
handle?: string | undefined; | ||
image_uri?: string | undefined; | ||
key?: string | undefined; | ||
name?: string | undefined; | ||
profile_id?: string | undefined; | ||
value?: string | undefined; | ||
} | undefined; | ||
}; | ||
tag: string; | ||
type: string; | ||
platforms: string[]; | ||
examples: { | ||
id: string; | ||
comment: string; | ||
}[]; | ||
}; | ||
"social-unfollow": { | ||
ref: { | ||
from?: { | ||
action?: "create" | "update" | "renew" | "unwrap" | "wrap" | undefined; | ||
address?: string | undefined; | ||
bio?: string | undefined; | ||
expiry?: string | null | undefined; | ||
handle?: string | undefined; | ||
image_uri?: string | undefined; | ||
key?: string | undefined; | ||
name?: string | undefined; | ||
profile_id?: string | undefined; | ||
value?: string | undefined; | ||
} | undefined; | ||
to?: { | ||
action?: "create" | "update" | "renew" | "unwrap" | "wrap" | undefined; | ||
address?: string | undefined; | ||
bio?: string | undefined; | ||
expiry?: string | null | undefined; | ||
handle?: string | undefined; | ||
image_uri?: string | undefined; | ||
key?: string | undefined; | ||
name?: string | undefined; | ||
profile_id?: string | undefined; | ||
value?: string | undefined; | ||
} | undefined; | ||
}; | ||
tag: string; | ||
type: string; | ||
platforms: string[]; | ||
examples: { | ||
id: string; | ||
comment: string; | ||
}[]; | ||
}; | ||
"social-profile": { | ||
@@ -1000,0 +930,0 @@ ref: { |
@@ -470,32 +470,2 @@ export const metadataDoc = { | ||
}, | ||
"social-follow": { | ||
'ref': {}, | ||
"tag": "social", | ||
"type": "follow", | ||
"platforms": [ | ||
"Crossbell", | ||
"Lens" | ||
], | ||
"examples": [ | ||
{ | ||
"id": "0x6f7f8ee07638f3ff69e901fb4ee348a5f7e37fda99b720d53be0f7b4e1f9e8a4", | ||
"comment": "Followed 0xxx…xx on xxxx" | ||
} | ||
] | ||
}, | ||
"social-unfollow": { | ||
'ref': {}, | ||
"tag": "social", | ||
"type": "unfollow", | ||
"platforms": [ | ||
"Crossbell", | ||
"Lens" | ||
], | ||
"examples": [ | ||
{ | ||
"id": "0x27f4849213868ce96c7969c4f652c512ddb659ba5798793ae14c3b24fb55affd", | ||
"comment": "Unfollowed 0xxx…xx on xxxx" | ||
} | ||
] | ||
}, | ||
"social-profile": { | ||
@@ -502,0 +472,0 @@ 'ref': {}, |
@@ -352,27 +352,2 @@ import { components } from '../../types/data.js'; | ||
} | { | ||
from?: { | ||
action?: "create" | "update" | "renew" | "unwrap" | "wrap" | undefined; | ||
address?: string | undefined; | ||
bio?: string | undefined; | ||
expiry?: string | null | undefined; | ||
handle?: string | undefined; | ||
image_uri?: string | undefined; | ||
key?: string | undefined; | ||
name?: string | undefined; | ||
profile_id?: string | undefined; | ||
value?: string | undefined; | ||
} | undefined; | ||
to?: { | ||
action?: "create" | "update" | "renew" | "unwrap" | "wrap" | undefined; | ||
address?: string | undefined; | ||
bio?: string | undefined; | ||
expiry?: string | null | undefined; | ||
handle?: string | undefined; | ||
image_uri?: string | undefined; | ||
key?: string | undefined; | ||
name?: string | undefined; | ||
profile_id?: string | undefined; | ||
value?: string | undefined; | ||
} | undefined; | ||
} | { | ||
author_url?: string | undefined; | ||
@@ -561,5 +536,5 @@ body?: string | undefined; | ||
to: string; | ||
type: "unknown" | "approval" | "auction" | "bridge" | "burn" | "claim" | "comment" | "delete" | "deploy" | "donate" | "follow" | "liquidity" | "loan" | "mint" | "multisig" | "post" | "profile" | "propose" | "proxy" | "revise" | "reward" | "share" | "staking" | "swap" | "trade" | "transfer" | "unfollow" | "vote"; | ||
type: "unknown" | "approval" | "auction" | "bridge" | "burn" | "claim" | "comment" | "delete" | "deploy" | "donate" | "liquidity" | "loan" | "mint" | "multisig" | "post" | "profile" | "propose" | "proxy" | "revise" | "reward" | "share" | "staking" | "swap" | "trade" | "transfer" | "vote"; | ||
}[]; | ||
direction?: "in" | "out" | undefined; | ||
direction?: "in" | "out" | null | undefined; | ||
feeToken?: string | null | undefined; | ||
@@ -571,3 +546,3 @@ feeValue?: string | null | undefined; | ||
owner?: string | undefined; | ||
platform?: "1inch" | "AAVE" | "Aavegotchi" | "Arbitrum" | "Base" | "BendDAO" | "Blur" | "Carv" | "Cow" | "Crossbell" | "Curve" | "ENS" | "Farcaster" | "Foundation" | "Gitcoin" | "Gnosis" | "IQ.Wiki" | "KyberSwap" | "Lens" | "Lido" | "Linea" | "LooksRare" | "Mars4" | "Matters" | "MetaMask" | "Mira" | "Mirror" | "Nouns" | "OpenSea" | "Optimism" | "POAP" | "ParaSwap" | "PlanetIX" | "Polygon" | "RARA" | "RSS3" | "Rainbow" | "Safe" | "Stargate" | "Synapse" | "Uniswap" | "Zerion" | "Zora" | "friend.tech" | "zkSync Era" | "zkSync Lite" | "zkSync" | null | undefined; | ||
platform?: "1inch" | "AAVE" | "Aavegotchi" | "Arbitrum" | "Base" | "BendDAO" | "Blur" | "Carv" | "Cow" | "Crossbell" | "Curve" | "ENS" | "Farcaster" | "Foundation" | "Gitcoin" | "Gnosis" | "IQ.Wiki" | "KyberSwap" | "Lens" | "Lido" | "Linea" | "LooksRare" | "Mars4" | "Matters" | "MetaMask" | "Mira" | "Mirror" | "Nouns" | "OpenSea" | "Optimism" | "POAP" | "ParaSwap" | "Paragraph" | "PlanetIX" | "Polygon" | "RARA" | "RSS3" | "Rainbow" | "Safe" | "Stargate" | "Synapse" | "Uniswap" | "Zerion" | "Zora" | "friend.tech" | "zkSync Era" | "zkSync Lite" | "zkSync" | null | undefined; | ||
status: "failed" | "successful"; | ||
@@ -577,3 +552,3 @@ tag: "collectible" | "donation" | "exchange" | "governance" | "metaverse" | "social" | "transaction" | "unknown"; | ||
to: string; | ||
type: "unknown" | "approval" | "auction" | "bridge" | "burn" | "claim" | "comment" | "delete" | "deploy" | "donate" | "follow" | "liquidity" | "loan" | "mint" | "multisig" | "post" | "profile" | "propose" | "proxy" | "revise" | "reward" | "share" | "staking" | "swap" | "trade" | "transfer" | "unfollow" | "vote"; | ||
type: "unknown" | "approval" | "auction" | "bridge" | "burn" | "claim" | "comment" | "delete" | "deploy" | "donate" | "liquidity" | "loan" | "mint" | "multisig" | "post" | "profile" | "propose" | "proxy" | "revise" | "reward" | "share" | "staking" | "swap" | "trade" | "transfer" | "vote"; | ||
}[]; |
import { getSummaryActions } from '../../utils.js'; | ||
import { handleMetadata } from '../../metadata/index.js'; | ||
import { themePlain } from './theme.js'; | ||
import { tokenSeparator, tokenText, tokenValue, join, tokenPlatform, tokenPost, tokenAddr, tokenName, tokenImage, tokenNetwork, tokenSocialProfile, tokenTime, tokenSpace, token, } from './token.js'; | ||
import { tokenSeparator, tokenText, tokenValue, join, tokenPlatform, tokenPost, tokenAddr, tokenName, tokenImage, tokenNetwork, tokenTime, tokenSpace, token, } from './token.js'; | ||
export function formatPlain(activity) { | ||
@@ -70,3 +70,2 @@ const list = format(activity, themePlain).filter((s) => s !== ''); | ||
export function tokenizeAction(activity, action) { | ||
const owner = activity.owner; | ||
const direction = activity.direction; | ||
@@ -76,24 +75,13 @@ let res = [tokenText('Carried out an activity')]; | ||
'transaction-transfer': (m) => { | ||
if (owner === action.from) { | ||
res = join([tokenAddr(action.from), tokenText('sent'), ...tokenValue(m), tokenText('to'), tokenAddr(action.to)]); | ||
if (direction === 'in') { | ||
res = join([ | ||
tokenAddr(action.to), | ||
tokenText('received'), | ||
...tokenValue(m), | ||
tokenText('from'), | ||
tokenAddr(action.from), | ||
]); | ||
} | ||
else { | ||
if (direction === 'in') { | ||
res = join([ | ||
tokenAddr(action.to), | ||
tokenText('received'), | ||
...tokenValue(m), | ||
tokenText('from'), | ||
tokenAddr(action.from), | ||
]); | ||
} | ||
else { | ||
res = join([ | ||
tokenAddr(action.to), | ||
tokenText('claimed'), | ||
...tokenValue(m), | ||
tokenText('from'), | ||
tokenAddr(action.from), | ||
]); | ||
} | ||
res = join([tokenAddr(action.from), tokenText('sent'), ...tokenValue(m), tokenText('to'), tokenAddr(action.to)]); | ||
} | ||
@@ -216,3 +204,3 @@ }, | ||
res = join([ | ||
tokenAddr(owner), | ||
tokenAddr(action.from), | ||
tokenText('approved'), | ||
@@ -227,3 +215,3 @@ tokenImage(m.image_url), | ||
res = join([ | ||
tokenAddr(owner), | ||
tokenAddr(action.from), | ||
tokenText('revoked the approval of'), | ||
@@ -238,24 +226,14 @@ tokenImage(m.image_url), | ||
'collectible-mint': (m) => { | ||
if (direction === 'out') { | ||
res = join([ | ||
tokenAddr(owner), | ||
tokenText('minted'), | ||
tokenImage(m.image_url), | ||
tokenName(m.title || m.name || 'an asset'), | ||
]); | ||
} | ||
else { | ||
res = join([ | ||
tokenAddr(action.to), | ||
tokenText('minted'), | ||
tokenImage(m.image_url), | ||
tokenName(m.title || m.name || 'an asset'), | ||
tokenText('from'), | ||
tokenAddr(action.from), | ||
]); | ||
} | ||
res = join([ | ||
tokenAddr(action.from), | ||
tokenText('minted'), | ||
tokenImage(m.image_url), | ||
tokenName(m.title || m.name || 'an asset'), | ||
tokenText('to'), | ||
tokenAddr(action.to), | ||
]); | ||
}, | ||
'collectible-burn': (m) => { | ||
res = join([ | ||
tokenAddr(owner), | ||
tokenAddr(action.from), | ||
tokenText('burned'), | ||
@@ -293,3 +271,3 @@ tokenImage(m.image_url), | ||
res = join([ | ||
tokenAddr(owner), | ||
tokenAddr(action.from), | ||
tokenText('created an auction for'), | ||
@@ -303,3 +281,3 @@ tokenImage(m.image_url), | ||
res = join([ | ||
tokenAddr(owner), | ||
tokenAddr(action.from), | ||
tokenText('made a bid for'), | ||
@@ -313,3 +291,3 @@ tokenImage(m.image_url), | ||
res = join([ | ||
tokenAddr(owner), | ||
tokenAddr(action.from), | ||
tokenText('canceled an auction for'), | ||
@@ -323,3 +301,3 @@ tokenImage(m.image_url), | ||
res = join([ | ||
tokenAddr(owner), | ||
tokenAddr(action.from), | ||
tokenText('updated an auction for'), | ||
@@ -333,3 +311,3 @@ tokenImage(m.image_url), | ||
res = join([ | ||
tokenAddr(owner), | ||
tokenAddr(action.from), | ||
tokenText('won an auction for'), | ||
@@ -343,3 +321,3 @@ tokenImage(m.image_url), | ||
res = join([ | ||
tokenAddr(owner), | ||
tokenAddr(action.from), | ||
tokenText('invalidated an auction for'), | ||
@@ -354,3 +332,3 @@ tokenImage(m.image_url), | ||
res = join([ | ||
tokenAddr(owner), | ||
tokenAddr(action.from), | ||
tokenText('swapped'), | ||
@@ -408,4 +386,6 @@ ...tokenValue(m.from), | ||
res = join([ | ||
tokenAddr(owner), | ||
tokenAddr(action.from), | ||
tokenText('donated'), | ||
...tokenValue(m.token), | ||
tokenText('to'), | ||
tokenImage(m.logo), | ||
@@ -417,7 +397,12 @@ tokenName(m.title || ''), | ||
'governance-propose': (m) => { | ||
res = join([tokenAddr(owner), tokenText('proposed for'), tokenName(m.title || ''), ...tokenPlatform(action)]); | ||
res = join([ | ||
tokenAddr(action.from), | ||
tokenText('proposed for'), | ||
tokenName(m.title || ''), | ||
...tokenPlatform(action), | ||
]); | ||
}, | ||
'governance-vote': (m) => { | ||
res = join([ | ||
tokenAddr(owner), | ||
tokenAddr(action.from), | ||
tokenText('voted for'), | ||
@@ -430,3 +415,3 @@ tokenName(m.proposal?.options?.join(',') || ''), | ||
res = join([ | ||
tokenAddr(m.handle || owner), | ||
tokenAddr(m.handle || action.from), | ||
tokenText('published a post'), | ||
@@ -439,3 +424,3 @@ tokenPost(action), | ||
res = join([ | ||
tokenAddr(m.handle || owner), | ||
tokenAddr(m.handle || action.from), | ||
tokenText('made a comment'), | ||
@@ -448,3 +433,3 @@ tokenPost(action), | ||
res = join([ | ||
tokenAddr(m.handle || owner), | ||
tokenAddr(m.handle || action.from), | ||
tokenText('shared a post'), | ||
@@ -457,3 +442,3 @@ tokenPost(action), | ||
res = join([ | ||
tokenAddr(m.handle || owner), | ||
tokenAddr(m.handle || action.from), | ||
tokenText('minted a post'), | ||
@@ -466,3 +451,3 @@ tokenPost(action), | ||
res = join([ | ||
tokenAddr(m.handle || owner), | ||
tokenAddr(m.handle || action.from), | ||
tokenText('revised a post'), | ||
@@ -473,22 +458,6 @@ tokenPost(action), | ||
}, | ||
'social-follow': (m) => { | ||
res = join([ | ||
tokenSocialProfile(m.from, action.from), | ||
tokenText('followed'), | ||
tokenSocialProfile(m.to, action.to), | ||
...tokenPlatform(action), | ||
]); | ||
}, | ||
'social-unfollow': (m) => { | ||
res = join([ | ||
tokenSocialProfile(m.from, action.from), | ||
tokenText('unfollowed'), | ||
tokenSocialProfile(m.to, action.to), | ||
...tokenPlatform(action), | ||
]); | ||
}, | ||
'social-profile': (m) => { | ||
if (m.action === 'create') { | ||
res = join([ | ||
tokenAddr(m.handle || owner), | ||
tokenAddr(m.handle || action.from), | ||
tokenText('created a profile'), | ||
@@ -502,3 +471,3 @@ tokenImage(m.image_uri), | ||
res = join([ | ||
tokenAddr(m.handle || owner), | ||
tokenAddr(m.handle || action.from), | ||
tokenText('updated a profile'), | ||
@@ -512,3 +481,3 @@ tokenImage(m.image_uri), | ||
res = join([ | ||
tokenAddr(m.handle || owner), | ||
tokenAddr(m.handle || action.from), | ||
tokenText('renewed a profile'), | ||
@@ -522,3 +491,3 @@ tokenImage(m.image_uri), | ||
res = join([ | ||
tokenAddr(m.handle || owner), | ||
tokenAddr(m.handle || action.from), | ||
tokenText('wrapped a profile'), | ||
@@ -532,3 +501,3 @@ tokenImage(m.image_uri), | ||
res = join([ | ||
tokenAddr(m.handle || owner), | ||
tokenAddr(m.handle || action.from), | ||
tokenText('unwrapped a profile'), | ||
@@ -541,13 +510,5 @@ tokenImage(m.image_uri), | ||
}, | ||
'social-proxy': (m) => { | ||
if (m.action === 'appoint') { | ||
res = join([tokenAddr(owner), tokenText('approved a proxy'), ...tokenPlatform(action)]); | ||
} | ||
else { | ||
res = join([tokenAddr(owner), tokenText('removed a proxy'), ...tokenPlatform(action)]); | ||
} | ||
}, | ||
'social-delete': (m) => { | ||
res = join([ | ||
tokenAddr(m.handle || owner), | ||
tokenAddr(m.handle || action.from), | ||
tokenText('deleted a post'), | ||
@@ -558,5 +519,13 @@ tokenPost(action), | ||
}, | ||
'social-proxy': (m) => { | ||
if (m.action === 'appoint') { | ||
res = join([tokenAddr(action.from), tokenText('approved a proxy'), ...tokenPlatform(action)]); | ||
} | ||
else { | ||
res = join([tokenAddr(action.from), tokenText('removed a proxy'), ...tokenPlatform(action)]); | ||
} | ||
}, | ||
'metaverse-transfer': (m) => { | ||
res = join([ | ||
tokenAddr(owner), | ||
tokenAddr(action.from), | ||
tokenText('transferred'), | ||
@@ -571,3 +540,3 @@ tokenImage(m.image_url), | ||
res = join([ | ||
tokenAddr(owner), | ||
tokenAddr(action.from), | ||
tokenText('minted'), | ||
@@ -581,3 +550,3 @@ tokenImage(m.image_url), | ||
res = join([ | ||
tokenAddr(owner), | ||
tokenAddr(action.from), | ||
tokenText('burned'), | ||
@@ -592,3 +561,3 @@ tokenImage(m.image_url), | ||
res = join([ | ||
tokenAddr(owner), | ||
tokenAddr(action.from), | ||
tokenText('bought'), | ||
@@ -604,3 +573,3 @@ tokenImage(m.image_url), | ||
res = join([ | ||
tokenAddr(owner), | ||
tokenAddr(action.from), | ||
tokenText('sold'), | ||
@@ -616,3 +585,3 @@ tokenImage(m.image_url), | ||
res = join([ | ||
tokenAddr(owner), | ||
tokenAddr(action.from), | ||
tokenText('listed'), | ||
@@ -619,0 +588,0 @@ tokenImage(m.image_url), |
@@ -17,3 +17,2 @@ import { Activity } from '../../data/client.js'; | ||
export declare function tokenTime(t: number): Token; | ||
export declare function tokenSocialProfile(p?: components['schemas']['SocialProfile'], address?: string): Token; | ||
export declare function tokenAddr(t: string | null | undefined): Token; | ||
@@ -20,0 +19,0 @@ export declare function tokenValue(t: components['schemas']['TokenMetadata'] | null | undefined): Token[]; |
@@ -1,2 +0,2 @@ | ||
import { EMPTY_ADDRESS, INFINITY_VALUE } from '../../constants.js'; | ||
import { INFINITY_VALUE } from '../../constants.js'; | ||
import { formatTokenValue } from '../number/index.js'; | ||
@@ -26,13 +26,2 @@ export function token(type, content = '') { | ||
} | ||
export function tokenSocialProfile(p, address) { | ||
if (!p) | ||
return token('unknown', ''); | ||
if (!p.handle && !p.address && p.name) | ||
[tokenName(p.name)]; | ||
if (p.handle) | ||
return tokenAddr(p.handle); | ||
if (p.address === EMPTY_ADDRESS) | ||
return tokenAddr(address); | ||
return tokenAddr(p.address); | ||
} | ||
export function tokenAddr(t) { | ||
@@ -39,0 +28,0 @@ return token('address', t || ''); |
@@ -72,2 +72,3 @@ import { EMPTY_ADDRESS } from '../../constants.js'; | ||
export function extractPrimaryProfile(profiles, handle) { | ||
profiles = profiles?.sort((a) => (a?.platform === 'ENS Registrar' ? -1 : 1)); | ||
const profile = handle | ||
@@ -74,0 +75,0 @@ ? profiles?.find((profile) => profile?.handle?.toLowerCase() === handle.toLowerCase()) |
@@ -97,3 +97,3 @@ /** | ||
actions: components["schemas"]["Action"][]; | ||
direction?: components["schemas"]["Direction"]; | ||
direction?: components["schemas"]["Direction"] | null; | ||
feeToken?: string | null; | ||
@@ -414,3 +414,3 @@ feeValue?: components["schemas"]["Decimal"] | null; | ||
*/ | ||
Metadata: components["schemas"]["CollectibleApproval"] | components["schemas"]["CollectibleAuction"] | components["schemas"]["CollectibleTrade"] | components["schemas"]["CollectibleTransfer"] | components["schemas"]["Donation"] | components["schemas"]["ExchangeLiquidity"] | components["schemas"]["ExchangeLoan"] | components["schemas"]["ExchangeSwap"] | components["schemas"]["GovernanceProposal"] | components["schemas"]["GovernanceVote"] | components["schemas"]["MetaverseTrade"] | components["schemas"]["MetaverseTransfer"] | components["schemas"]["SocialFollow"] | components["schemas"]["SocialPost"] | components["schemas"]["SocialProfile"] | components["schemas"]["SocialProxy"] | components["schemas"]["TransactionApproval"] | components["schemas"]["TransactionBridge"] | components["schemas"]["TransactionDeploy"] | components["schemas"]["TransactionMultisig"] | components["schemas"]["TransactionTransfer"]; | ||
Metadata: components["schemas"]["CollectibleApproval"] | components["schemas"]["CollectibleAuction"] | components["schemas"]["CollectibleTrade"] | components["schemas"]["CollectibleTransfer"] | components["schemas"]["Donation"] | components["schemas"]["ExchangeLiquidity"] | components["schemas"]["ExchangeLoan"] | components["schemas"]["ExchangeSwap"] | components["schemas"]["GovernanceProposal"] | components["schemas"]["GovernanceVote"] | components["schemas"]["MetaverseTrade"] | components["schemas"]["MetaverseTransfer"] | components["schemas"]["SocialPost"] | components["schemas"]["SocialProfile"] | components["schemas"]["SocialProxy"] | components["schemas"]["TransactionApproval"] | components["schemas"]["TransactionBridge"] | components["schemas"]["TransactionDeploy"] | components["schemas"]["TransactionMultisig"] | components["schemas"]["TransactionTransfer"]; | ||
/** | ||
@@ -481,3 +481,3 @@ * MetaverseTrade | ||
*/ | ||
Network: "arbitrum_nova" | "arbitrum_one" | "arweave" | "avalanche" | "base" | "binance_smart_chain" | "crossbell" | "erc1577" | "ethereum" | "farcaster" | "gnosis" | "optimism" | "polygon" | "zksync_era" | "zksync_lite"; | ||
Network: "arbitrum_nova" | "arbitrum_one" | "arweave" | "avalanche" | "base" | "binance_smart_chain" | "crossbell" | "erc1577" | "ethereum" | "farcaster" | "gnosis" | "optimism" | "polygon" | "scroll" | "zksync_era" | "zksync_lite"; | ||
/** | ||
@@ -494,3 +494,3 @@ * Network | ||
*/ | ||
Platform: "1inch" | "AAVE" | "Aavegotchi" | "Arbitrum" | "Base" | "BendDAO" | "Blur" | "Carv" | "Cow" | "Crossbell" | "Curve" | "ENS" | "Farcaster" | "Foundation" | "Gitcoin" | "Gnosis" | "IQ.Wiki" | "KyberSwap" | "Lens" | "Lido" | "Linea" | "LooksRare" | "Mars4" | "Matters" | "MetaMask" | "Mira" | "Mirror" | "Nouns" | "OpenSea" | "Optimism" | "POAP" | "ParaSwap" | "PlanetIX" | "Polygon" | "RARA" | "RSS3" | "Rainbow" | "Safe" | "Stargate" | "Synapse" | "Uniswap" | "Zerion" | "Zora" | "friend.tech" | "zkSync Era" | "zkSync Lite" | "zkSync"; | ||
Platform: "1inch" | "AAVE" | "Aavegotchi" | "Arbitrum" | "Base" | "BendDAO" | "Blur" | "Carv" | "Cow" | "Crossbell" | "Curve" | "ENS" | "Farcaster" | "Foundation" | "Gitcoin" | "Gnosis" | "IQ.Wiki" | "KyberSwap" | "Lens" | "Lido" | "Linea" | "LooksRare" | "Mars4" | "Matters" | "MetaMask" | "Mira" | "Mirror" | "Nouns" | "OpenSea" | "Optimism" | "POAP" | "ParaSwap" | "Paragraph" | "PlanetIX" | "Polygon" | "RARA" | "RSS3" | "Rainbow" | "Safe" | "Stargate" | "Synapse" | "Uniswap" | "Zerion" | "Zora" | "friend.tech" | "zkSync Era" | "zkSync Lite" | "zkSync"; | ||
/** | ||
@@ -525,10 +525,2 @@ * Profile | ||
/** | ||
* SocialFollow | ||
* @description github.com/naturalselectionlabs/sakuin/common/schema/metadata.SocialFollow | ||
*/ | ||
SocialFollow: { | ||
from?: components["schemas"]["SocialProfile"]; | ||
to?: components["schemas"]["SocialProfile"]; | ||
}; | ||
/** | ||
* SocialPost | ||
@@ -608,3 +600,3 @@ * @description github.com/naturalselectionlabs/sakuin/common/schema/metadata.SocialPost | ||
*/ | ||
SocialType: "comment" | "delete" | "follow" | "mint" | "post" | "profile" | "proxy" | "revise" | "reward" | "share" | "unfollow"; | ||
SocialType: "comment" | "delete" | "mint" | "post" | "profile" | "proxy" | "revise" | "reward" | "share"; | ||
/** | ||
@@ -769,3 +761,3 @@ * Standard | ||
*/ | ||
Type: "approval" | "auction" | "bridge" | "burn" | "claim" | "comment" | "delete" | "deploy" | "donate" | "follow" | "liquidity" | "loan" | "mint" | "multisig" | "post" | "profile" | "propose" | "proxy" | "revise" | "reward" | "share" | "staking" | "swap" | "trade" | "transfer" | "unfollow" | "unknown" | "vote"; | ||
Type: "approval" | "auction" | "bridge" | "burn" | "claim" | "comment" | "delete" | "deploy" | "donate" | "liquidity" | "loan" | "mint" | "multisig" | "post" | "profile" | "propose" | "proxy" | "revise" | "reward" | "share" | "staking" | "swap" | "trade" | "transfer" | "unknown" | "vote"; | ||
/** | ||
@@ -772,0 +764,0 @@ * Type |
{ | ||
"name": "@rss3/js-sdk", | ||
"description": "RSS3 JavaScript SDK, the Turbocharger🌪️ for Your Next Open Web Development.", | ||
"version": "0.6.38", | ||
"version": "0.6.39", | ||
"author": "Natural Selection Labs and RSS3 Contributors", | ||
@@ -44,2 +44,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"dayjs": "^1.11.10", | ||
"debug": "^4.3.4", | ||
@@ -46,0 +47,0 @@ "openapi-fetch": "^0.7.10", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
49
344598
4
8953
+ Addeddayjs@^1.11.10
+ Addeddayjs@1.11.13(transitive)