
Security News
Suno Breached via Shai-Hulud Worm, Leaked Code Exposes AI Music Scraping
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.
@cuser/core
Advanced tools
Creates pubsub to listen changes on cuser network
+ new ClientCorePubSub(node: IPFSAPI | Promise<IPFSAPI>, opts: CuserClientPubSubOptions): ClientCorePubSub
Defined in pubsub.js:72
| Name | Type |
|---|---|
node | IPFSAPI | Promise<IPFSAPI> |
opts | CuserClientPubSubOptions |
Returns: ClientCorePubSub
▸ broadcast(payload: any): void
Defined in pubsub.js:101
| Name | Type | Description |
|---|---|---|
payload | any |
Returns: void
▸ subscribe(subscriber: (payload: Object) => void): (Anonymous function)
Defined in pubsub.js:107
| Name | Type | Description |
|---|---|---|
subscriber | (payload: Object) => void |
Returns: (Anonymous function)
Core logic to manage the dag tree and specify the dag format, this will wraps ipfs.dag in order to normalize the mainly used methods and allows future replacements.
+ new CuserCore(node: IPFSAPI | Promise<IPFSAPI>, opts: CuserCoreOptions): CuserCore
Defined in core.js:28
| Name | Type |
|---|---|
node | IPFSAPI | Promise<IPFSAPI> |
opts | CuserCoreOptions |
Returns: CuserCore
▸ get(cid: string, opts: AbortOptions): Promise<any>
Defined in core.js:91
| Name | Type |
|---|---|
cid | string |
opts | AbortOptions |
Returns: Promise<any>
▸ peerId(): Promise<string>
Defined in core.js:119
Gets the node peerId
Returns: Promise<string>
▸ publish(cid: string, opts: AbortOptions): Promise<PublishResult>
Defined in core.js:56
Publish using ipns to link the current cid to a fixed entry
| Name | Type |
|---|---|
cid | string |
opts | AbortOptions |
Returns: Promise<PublishResult>
▸ pubsub(opts: CuserClientPubSubOptions): ClientCorePubSub
Defined in core.js:128
| Name | Type |
|---|---|
opts | CuserClientPubSubOptions |
Returns: ClientCorePubSub
▸ put(value: any, opts: AbortOptions & PutOptions): Promise<string>
Defined in core.js:75
| Name | Type |
|---|---|
value | any |
opts | AbortOptions & PutOptions |
Returns: Promise<string>
▸ resolve(cid: string | Promise<string>): Promise<string>
Defined in core.js:106
Resolve the linked dag cid
| Name | Type |
|---|---|
cid | string | Promise<string> |
Returns: Promise<string>
FAQs
Core ipfs wrapper
The npm package @cuser/core receives a total of 2 weekly downloads. As such, @cuser/core popularity was classified as not popular.
We found that @cuser/core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A Shai-Hulud infection exposed Suno's source code, which shows the AI music startup stream-ripped tracks to train its models.

Security News
Vercel is formalizing a monthly release program for Next.js. The change follows React2Shell and a sharp rise in AI-assisted vulnerability discovery.

Research
/Security News
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.