Files
hub-monorepo/packages/hub-nodejs/package.json
Aditi Srinivasan e48efa354a chore: pull in latest snapchain protos and release new versions (#2656)
## Why is this change needed?
Pull in latest snapchain protos for storage lending backfill. 

## Merge Checklist

_Choose all relevant options below by adding an `x` now or at any time
before submitting for review_

- [x] PR title adheres to the [conventional
commits](https://www.conventionalcommits.org/en/v1.0.0/) standard
- [x] PR has a
[changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets)
- [x] PR has been tagged with a change label(s) (i.e. documentation,
feature, bugfix, or chore)
- [ ] PR includes
[documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs)
if necessary.

<!-- start pr-codex -->

---

## PR-Codex overview
This PR primarily updates the versioning of several packages, introduces
a new request interface for on-chain events migration, and enhances the
`ShardInfo` structure by adding a `numOnchainEvents` field. It also
updates dependencies across various packages.

### Detailed summary
- Updated `@farcaster/core` version to `0.18.9` and other package
versions accordingly.
- Added `numOnchainEvents` field to `ShardInfo` in multiple generated
files.
- Introduced `RunOnchainEventsMigrationRequest` interface in
`admin_rpc.ts`.
- Added RPC methods for `getAllLendStorageMessagesByFid` and
`runOnchainEventsMigration`.
- Updated changelogs for `core`, `hub-web`, `hub-nodejs`, and `shuttle`
packages.

>  Ask PR-Codex anything about this PR by commenting with `/codex {your
question}`

<!-- end pr-codex -->
2025-10-13 11:58:37 -04:00

47 lines
1.3 KiB
JSON

{
"name": "@farcaster/hub-nodejs",
"version": "0.15.9",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/farcasterxyz/hub-monorepo/blob/main/packages/hub-nodejs"
},
"dependencies": {
"@farcaster/core": "0.18.9",
"@grpc/grpc-js": "~1.11.1",
"@noble/hashes": "^1.3.0",
"neverthrow": "^6.0.0"
},
"scripts": {
"build": "tsup --config tsup.config.ts",
"clean": "rimraf ./dist",
"protoc": "LIBRARY=hub-nodejs ../../generate-protos.sh",
"lint": "biome format src/ examples/ --write && biome check src/ examples --apply",
"lint:ci": "biome ci src/ examples/",
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
"test:ci": "ENVIRONMENT=test NODE_OPTIONS=--experimental-vm-modules jest --ci --forceExit --coverage",
"prepublishOnly": "yarn run build"
},
"devDependencies": {
"@faker-js/faker": "^7.6.0",
"biome-config-custom": "*",
"ts-proto": "^1.146.0"
},
"publishConfig": {
"access": "public"
}
}