Skip to content

Commit

Permalink
release(minor): upgrade dependencies (#677)
Browse files Browse the repository at this point in the history
  • Loading branch information
zfy0701 authored Jan 27, 2024
1 parent c5b20f0 commit 6000eeb
Show file tree
Hide file tree
Showing 20 changed files with 2,219 additions and 4,035 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
# - main
executor:
name: node/default # use the default executor defined within the orb
tag: '18.18'
tag: '20.11'
steps:
- checkout
- restore_cache:
Expand All @@ -25,7 +25,7 @@ jobs:
name: Install pnpm package manager
command: |
sudo corepack enable
sudo corepack prepare pnpm@8.9.2 --activate
sudo corepack prepare pnpm@8 --activate
- run:
name: Install Dependencies
command: |
Expand Down
1 change: 0 additions & 1 deletion .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"matchPackageNames": [
"node",
"superstruct_solana",
"semantic-release",
"mkdirp",
"prettier2"
],
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: latest
version: 8
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: 'pnpm'
- name: Install
run: pnpm install
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
ref: ${{ github.event.inputs.commit }}
- uses: pnpm/action-setup@v2
with:
version: 8.9.2
version: 8
- uses: actions/setup-node@v4
with:
node-version: 18.18
node-version: 20
cache: 'pnpm'
registry-url: 'https://registry.npmjs.org'
- name: Set NPM variables
Expand All @@ -41,7 +41,7 @@ jobs:
run: pnpm --filter "./packages/*..." build
- name: SDK Semantic Release
id: semantic
uses: cycjimmy/semantic-release-action@v3
uses: cycjimmy/semantic-release-action@v4
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
- name: SDK Release Summary
Expand Down
3 changes: 2 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"semi": false,
"singleQuote": true,
"trailingComma": "none"
"trailingComma": "none",
"plugins": ["prettier-plugin-sh"]
}
2 changes: 1 addition & 1 deletion examples/auto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@sentio/sdk": "workspace:*",
"ethers": "^6.4.0"
"ethers": "*"
},
"devDependencies": {
"@sentio/cli": "workspace:*"
Expand Down
15 changes: 9 additions & 6 deletions examples/sui/src/processor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@ import { SuiNetwork, SuiObjectProcessor, BUILTIN_TYPES } from '@sentio/sdk/sui'
import RequestAddStakePayload = sui_system.RequestAddStakePayload
import { single_collateral } from './types/sui/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.js'

validator.bind({ network: SuiNetwork.TEST_NET }).onEventStakingRequestEvent((evt, ctx) => {
const amount_original = BigInt((evt.parsedJson as any).amount)
const amount = evt.data_decoded.amount
// expect(amount_original).eq(amount)
ctx.meter.Counter('amount').add(amount, { pool: evt.data_decoded.pool_id })
})
validator.bind({ network: SuiNetwork.TEST_NET }).onEventStakingRequestEvent(
(evt, ctx) => {
const amount_original = BigInt((evt.parsedJson as any).amount)
const amount = evt.data_decoded.amount
// expect(amount_original).eq(amount)
ctx.meter.Counter('amount').add(amount, { pool: evt.data_decoded.pool_id })
},
{ allEvents: true }
)

sui_system.bind({ network: SuiNetwork.TEST_NET }).onEntryRequestAddStake((call: RequestAddStakePayload, ctx) => {
ctx.meter.Gauge('tmp').record(1, { coin: call.arguments_decoded[2] || '' })
Expand Down
2 changes: 1 addition & 1 deletion examples/x2y2-complex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"dependencies": {
"@sentio/sdk": "workspace:*",
"ethers": "^6.4.0"
"ethers": "*"
},
"devDependencies": {
"@sentio/cli": "workspace:*"
Expand Down
2 changes: 1 addition & 1 deletion examples/x2y2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"dependencies": {
"@sentio/sdk": "workspace:*",
"ethers": "^6.4.0"
"ethers": "*"
},
"devDependencies": {
"@sentio/cli": "workspace:*"
Expand Down
38 changes: 19 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,40 +8,40 @@
"lint": "ls-lint && eslint ."
},
"resolutions": {
"@grpc/grpc-js": "^1.8.21",
"@grpc/grpc-js": "^1.9.14",
"ethers": "npm:@sentio/[email protected]",
"superstruct": "^1.0.3"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@jest/types": "^29.6.3",
"@ls-lint/ls-lint": "^2.1.0",
"@types/chai": "^4.3.6",
"@types/jest": "^29.5.5",
"@types/node": "^18.18.0",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"chai": "^4.3.8",
"@ls-lint/ls-lint": "^2.2.2",
"@types/chai": "^4.3.11",
"@types/jest": "^29.5.11",
"@types/node": "^20.11.7",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"chai": "^4.4.1",
"conventional-changelog-conventionalcommits": "^7.0.2",
"eslint": "^8.50.0",
"eslint-config-prettier": "^9.0.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-deprecation": "^2.0.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-unused-imports": "^3.0.0",
"jest": "^29.7.0",
"json": "^11.0.0",
"lint-staged": "^15.0.2",
"prettier": "^3.0.3",
"lint-staged": "^15.2.0",
"prettier": "^3.2.4",
"prettier-package-json": "^2.8.0",
"prettier-plugin-sh": "^0.13.1",
"semantic-release": "^19.0.5",
"semantic-release-monorepo": "^7.0.5",
"ts-jest": "^29.1.1",
"prettier-plugin-sh": "^0.14.0",
"semantic-release": "^23.0.0",
"semantic-release-monorepo": "^8.0.1",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"typescript": "^5.2.2"
"typescript": "^5.3.3"
},
"engines": {
"node": ">=16"
"node": ">=18"
}
}
10 changes: 5 additions & 5 deletions packages/cli-alias/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "sentio-cli",
"version": "2.0.0-development",
"dependencies": {
"@sentio/cli": "workspace:*"
},
"types": "module",
"bin": {
"sentio": "./index.js"
},
"types": "module",
"dependencies": {
"@sentio/cli": "workspace:*"
},
"engines": {
"node": ">=16"
"node": ">=18"
}
}
40 changes: 20 additions & 20 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,37 +22,37 @@
},
"types": "module",
"dependencies": {
"@aptos-labs/ts-sdk": "~1.4.0",
"@jest/globals": "^29.5.0",
"@jest/types": "^29.5.0",
"@mysten/sui.js": "~0.49.0",
"@sentio/chain": "^1.0.6",
"@types/jest": "^29.5.0",
"@types/node": "^18.11.18",
"chalk": "^5.2.0",
"@aptos-labs/ts-sdk": "~1.5.1",
"@jest/globals": "^29.7.0",
"@jest/types": "^29.6.3",
"@mysten/sui.js": "~0.49.1",
"@sentio/chain": "^1.0.7",
"@types/jest": "^29.5.11",
"@types/node": "^20.11.7",
"chalk": "^5.3.0",
"command-line-args": "^5.2.1",
"command-line-usage": "^7.0.1",
"express": "^4.18.2",
"form-data": "^4.0.0",
"fs-extra": "^11.0.0",
"jest": "^29.5.0",
"fs-extra": "^11.2.0",
"jest": "^29.7.0",
"jszip": "^3.10.1",
"latest-version": "^7.0.0",
"node-fetch": "^3.3.0",
"open": "^9.0.0",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"latest-version": "^8.0.0",
"node-fetch": "^3.3.2",
"open": "^9.1.0",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"tsup": "npm:@sentio/tsup@^6.7.2",
"yaml": "^2.2.1"
"yaml": "^2.3.4"
},
"peerDependencies": {
"@sentio/sdk": "workspace:^"
},
"devDependencies": {
"@types/command-line-args": "^5.2.0",
"@types/command-line-usage": "^5.0.2",
"@types/express": "^4.17.14",
"@types/fs-extra": "^11.0.1"
"@types/command-line-args": "^5.2.3",
"@types/command-line-usage": "^5.0.4",
"@types/express": "^4.17.21",
"@types/fs-extra": "^11.0.4"
},
"engines": {
"node": ">=16"
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/templates/aptos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
},
"devDependencies": {
"@sentio/cli": "workspace:*",
"typescript": "^5.2.2"
"typescript": "^5.3.3"
}
}
2 changes: 1 addition & 1 deletion packages/cli/templates/eth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
},
"devDependencies": {
"@sentio/cli": "workspace:*",
"typescript": "^5.2.2"
"typescript": "^5.3.3"
}
}
2 changes: 1 addition & 1 deletion packages/cli/templates/raw/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
},
"devDependencies": {
"@sentio/cli": "workspace:*",
"typescript": "^5.2.2"
"typescript": "^5.3.3"
}
}
2 changes: 1 addition & 1 deletion packages/cli/templates/solana/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
},
"devDependencies": {
"@sentio/cli": "workspace:*",
"typescript": "^5.2.2"
"typescript": "^5.3.3"
}
}
4 changes: 2 additions & 2 deletions packages/protos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
"dependencies": {
"google-protobuf": "^3.21.2",
"long": "^5.2.3",
"nice-grpc": "^2.1.5",
"nice-grpc": "^2.1.7",
"nice-grpc-common": "^2.0.2",
"protobufjs": "^7.2.5"
"protobufjs": "^7.2.6"
},
"engines": {
"node": ">=16"
Expand Down
30 changes: 15 additions & 15 deletions packages/runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,33 +25,33 @@
"test": "NODE_OPTIONS=--experimental-vm-modules pnpm jest"
},
"dependencies": {
"@grpc/grpc-js": "^1.8.14",
"@grpc/grpc-js": "^1.9.14",
"@sentio/protos": "workspace:*",
"command-line-args": "^5.2.1",
"command-line-usage": "^7.0.1",
"fs-extra": "^11.0.0",
"fs-extra": "^11.2.0",
"google-protobuf": "^3.21.2",
"long": "^5.2.3",
"nice-grpc": "^2.1.5",
"nice-grpc-client-middleware-retry": "^3.1.4",
"nice-grpc": "^2.1.7",
"nice-grpc-client-middleware-retry": "^3.1.6",
"nice-grpc-common": "^2.0.2",
"nice-grpc-error-details": "^0.2.0",
"nice-grpc-prometheus": "^0.2.0",
"nice-grpc-error-details": "^0.2.4",
"nice-grpc-prometheus": "^0.2.2",
"prom-client": "^14.2.0",
"protobufjs": "^7.2.5",
"utility-types": "^3.10.0",
"winston": "^3.10.0"
"protobufjs": "^7.2.6",
"utility-types": "^3.11.0",
"winston": "^3.11.0"
},
"peerDependencies": {
"@sentio/sdk": "workspace:^"
},
"devDependencies": {
"@types/command-line-args": "^5.2.0",
"@types/command-line-usage": "^5.0.2",
"@types/fs-extra": "^11.0.1",
"@types/google-protobuf": "^3.15.6",
"jest": "^29.5.0",
"tslib": "^2.6.1"
"@types/command-line-args": "^5.2.3",
"@types/command-line-usage": "^5.0.4",
"@types/fs-extra": "^11.0.4",
"@types/google-protobuf": "^3.15.12",
"jest": "^29.7.0",
"tslib": "^2.6.2"
},
"engines": {
"node": ">=16"
Expand Down
Loading

0 comments on commit 6000eeb

Please sign in to comment.