Files
hub-monorepo/packages/core/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

52 lines
1.4 KiB
JSON

{
"name": "@farcaster/core",
"version": "0.18.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/core"
},
"dependencies": {
"@noble/curves": "^1.0.0",
"@noble/hashes": "^1.3.0",
"bs58": "^5.0.0",
"neverthrow": "^6.0.0",
"@faker-js/faker": "^7.6.0",
"viem": "^2.17.4"
},
"scripts": {
"build": "tsup --config tsup.config.ts",
"clean": "rimraf ./dist",
"protoc": "LIBRARY=core ../../generate-protos.sh",
"lint": "biome format src/ --write && biome check src/ --apply",
"lint:ci": "biome ci src/",
"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": {
"@ethersproject/abstract-signer": "^5.7.0",
"@farcaster/fishery": "2.2.3",
"@noble/ed25519": "^1.7.3",
"biome-config-custom": "*",
"ethers": "^6.6.1",
"ethers5": "npm:ethers@^5.7.0",
"node-gyp": "^9.4.0",
"prettier-config-custom": "*",
"ts-proto": "^1.146.0"
}
}