Skip to content

Commit

Permalink
Version packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ryangoree committed Nov 29, 2024
1 parent f470167 commit 39f4777
Show file tree
Hide file tree
Showing 11 changed files with 151 additions and 20 deletions.
13 changes: 13 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,31 +19,42 @@
"clean-apes-learn",
"eight-islands-turn",
"empty-lies-smile",
"few-otters-type",
"fifty-mayflies-leave",
"five-readers-argue",
"flat-peas-drum",
"flat-rocks-worry",
"fluffy-spiders-repeat",
"four-peas-tickle",
"giant-spoons-grab",
"gold-apples-promise",
"good-cycles-cross",
"great-pumpkins-clap",
"happy-clocks-beg",
"happy-zebras-fly",
"heavy-keys-buy",
"hot-coats-search",
"hot-cooks-rescue",
"large-ducks-whisper",
"late-dingos-guess",
"lazy-clocks-eat",
"lazy-eels-exercise",
"lemon-seas-pretend",
"light-chefs-push",
"long-ducks-call",
"many-students-roll",
"moody-carrots-drive",
"moody-tigers-fry",
"nasty-pillows-wave",
"neat-houses-drop",
"odd-spies-flash",
"old-keys-cry",
"olive-countries-love",
"orange-lemons-doubt",
"pink-moles-marry",
"quick-seals-exercise",
"quiet-cheetahs-flow",
"rare-scissors-hammer",
"shaggy-clouds-cheat",
"sharp-mangos-search",
"silly-falcons-scream",
Expand All @@ -61,7 +72,9 @@
"thin-walls-teach",
"thirty-buttons-sniff",
"three-tips-invite",
"tidy-shirts-jump",
"warm-oranges-help",
"warm-spoons-applaud",
"yellow-balloons-search"
]
}
20 changes: 20 additions & 0 deletions packages/drift-ethers-v5/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# @delvtech/drift-ethers-v5

## 0.0.1-beta.2

### Patch Changes

- e7380c6: Update deps
- Updated dependencies [01a8004]
- Updated dependencies [d5fff4e]
- Updated dependencies [01a8004]
- Updated dependencies [e7380c6]
- Updated dependencies [01a8004]
- Updated dependencies [01a8004]
- Updated dependencies [d5fff4e]
- Updated dependencies [01a8004]
- Updated dependencies [01a8004]
- Updated dependencies [01a8004]
- Updated dependencies [01a8004]
- Updated dependencies [01a8004]
- Updated dependencies [a8a4f5f]
- @delvtech/drift@0.0.1-beta.21

## 0.0.1-beta.1

### Patch Changes
Expand Down
10 changes: 6 additions & 4 deletions packages/drift-ethers-v5/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@delvtech/drift-ethers-v5",
"description": "Ethers.js v5 adapter for Drift",
"version": "0.0.1-beta.1",
"version": "0.0.1-beta.2",
"license": "Apache-2.0",
"type": "module",
"main": "dist/index.cjs",
Expand All @@ -27,11 +27,11 @@
"watch": "tsup --watch"
},
"peerDependencies": {
"@delvtech/drift": "0.0.1-beta.20",
"@delvtech/drift": "0.0.1-beta.21",
"ethers": "^5.7.2"
},
"devDependencies": {
"@delvtech/drift": "0.0.1-beta.20",
"@delvtech/drift": "0.0.1-beta.21",
"@repo/typescript-config": "*",
"abitype": "^1.0.6",
"ethers": "^5.7.2",
Expand All @@ -51,5 +51,7 @@
"publishConfig": {
"access": "public"
},
"files": ["dist"]
"files": [
"dist"
]
}
20 changes: 20 additions & 0 deletions packages/drift-ethers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# @delvtech/drift-ethers

## 0.0.0-beta.6

### Patch Changes

- e7380c6: Update deps
- Updated dependencies [01a8004]
- Updated dependencies [d5fff4e]
- Updated dependencies [01a8004]
- Updated dependencies [e7380c6]
- Updated dependencies [01a8004]
- Updated dependencies [01a8004]
- Updated dependencies [d5fff4e]
- Updated dependencies [01a8004]
- Updated dependencies [01a8004]
- Updated dependencies [01a8004]
- Updated dependencies [01a8004]
- Updated dependencies [01a8004]
- Updated dependencies [a8a4f5f]
- @delvtech/drift@0.0.1-beta.21

## 0.0.0-beta.5

### Patch Changes
Expand Down
10 changes: 6 additions & 4 deletions packages/drift-ethers/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@delvtech/drift-ethers",
"description": "Ethers.js adapter for Drift",
"version": "0.0.0-beta.5",
"version": "0.0.0-beta.6",
"license": "Apache-2.0",
"type": "module",
"main": "dist/index.cjs",
Expand All @@ -27,11 +27,11 @@
"watch": "tsup --watch"
},
"peerDependencies": {
"@delvtech/drift": "0.0.1-beta.20",
"@delvtech/drift": "0.0.1-beta.21",
"ethers": "^6.13.4"
},
"devDependencies": {
"@delvtech/drift": "0.0.1-beta.20",
"@delvtech/drift": "0.0.1-beta.21",
"@repo/typescript-config": "*",
"abitype": "^1.0.6",
"ethers": "^6.13.4",
Expand All @@ -51,5 +51,7 @@
"publishConfig": {
"access": "public"
},
"files": ["dist"]
"files": [
"dist"
]
}
20 changes: 20 additions & 0 deletions packages/drift-viem/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# @delvtech/drift-viem

## 0.0.1-beta.24

### Patch Changes

- e7380c6: Update deps
- Updated dependencies [01a8004]
- Updated dependencies [d5fff4e]
- Updated dependencies [01a8004]
- Updated dependencies [e7380c6]
- Updated dependencies [01a8004]
- Updated dependencies [01a8004]
- Updated dependencies [d5fff4e]
- Updated dependencies [01a8004]
- Updated dependencies [01a8004]
- Updated dependencies [01a8004]
- Updated dependencies [01a8004]
- Updated dependencies [01a8004]
- Updated dependencies [a8a4f5f]
- @delvtech/drift@0.0.1-beta.21

## 0.0.1-beta.23

### Patch Changes
Expand Down
10 changes: 6 additions & 4 deletions packages/drift-viem/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@delvtech/drift-viem",
"description": "Viem adapter for Drift",
"version": "0.0.1-beta.23",
"version": "0.0.1-beta.24",
"license": "Apache-2.0",
"type": "module",
"main": "dist/index.cjs",
Expand All @@ -27,11 +27,11 @@
"watch": "tsup --watch"
},
"peerDependencies": {
"@delvtech/drift": "0.0.1-beta.20",
"@delvtech/drift": "0.0.1-beta.21",
"viem": "^2.21.52"
},
"devDependencies": {
"@delvtech/drift": "0.0.1-beta.20",
"@delvtech/drift": "0.0.1-beta.21",
"@repo/typescript-config": "*",
"tsconfig-paths": "^4.2.0",
"tsup": "^8.3.5",
Expand All @@ -50,5 +50,7 @@
"publishConfig": {
"access": "public"
},
"files": ["dist"]
"files": [
"dist"
]
}
20 changes: 20 additions & 0 deletions packages/drift-web3/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# @delvtech/drift-web3

## 0.0.0-beta.10

### Patch Changes

- e7380c6: Update deps
- Updated dependencies [01a8004]
- Updated dependencies [d5fff4e]
- Updated dependencies [01a8004]
- Updated dependencies [e7380c6]
- Updated dependencies [01a8004]
- Updated dependencies [01a8004]
- Updated dependencies [d5fff4e]
- Updated dependencies [01a8004]
- Updated dependencies [01a8004]
- Updated dependencies [01a8004]
- Updated dependencies [01a8004]
- Updated dependencies [01a8004]
- Updated dependencies [a8a4f5f]
- @delvtech/drift@0.0.1-beta.21

## 0.0.0-beta.9

### Patch Changes
Expand Down
10 changes: 6 additions & 4 deletions packages/drift-web3/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@delvtech/drift-web3",
"description": "Web3.js adapter for Drift",
"version": "0.0.0-beta.9",
"version": "0.0.0-beta.10",
"license": "Apache-2.0",
"type": "module",
"main": "dist/index.cjs",
Expand All @@ -27,11 +27,11 @@
"watch": "tsup --watch"
},
"peerDependencies": {
"@delvtech/drift": "0.0.1-beta.20",
"@delvtech/drift": "0.0.1-beta.21",
"web3": "^4.15.0"
},
"devDependencies": {
"@delvtech/drift": "0.0.1-beta.20",
"@delvtech/drift": "0.0.1-beta.21",
"@repo/typescript-config": "*",
"abitype": "^1.0.6",
"tsconfig-paths": "^4.2.0",
Expand All @@ -51,5 +51,7 @@
"publishConfig": {
"access": "public"
},
"files": ["dist"]
"files": [
"dist"
]
}
24 changes: 24 additions & 0 deletions packages/drift/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# @delvtech/drift

## 0.0.1-beta.21

### Patch Changes

- a8a4f5f: Patched a bug with the built-in `OxAdapter` in which `onMined` was never called after write operations.
- 01a8004: Added a `BaseClient` class which contains most of the functionality that used to live in the `Drift` class and centralized logic for cache operations and namespace resolution, using the chain id as a default. This also removes a circular dependency between `Drift` and `Contract`.
- 01a8004: Added a `MockClient` class which mimics `BaseClient`.
- 01a8004: Refactored `Drift` and `MockDrift` to extend `BaseClient` and `MockClient`.
- 01a8004: Refactored `Contract` to go through a `BaseClient` instead of repeating cache and adapter logic.
- 01a8004: Removed `isReadWriteAdapter` util which simply checked if the `write` property was a function.
- 01a8004: Removed `Adapter` and `Network` prefix from param types, e.g. `AdapterReadParams` to just `ReadParams`, `NetworkGetBlockParams` to just `GetBlockParams`. Removed redundant types.
- 01a8004: Renamed constructor `Param` types to `Config`.
- 01a8004: Renamed `ContractEvent` to `EventLog` to be more consistent with other adapter types like `FunctionArgs`.
- 01a8004: Replaced the `createLruSimpleCache` function with a `LruSimpleCache` class.
- d5fff4e: Replaced the `createClientCache` function with a `ClientCache` class which requires a namespace or namespace resolver. All methods are async to allow for dynamic namespace resolution and external cache implementations.
- d5fff4e: Added new testing utils:
- `getRandomInt`
- `getRandomHex`
- `getRandomAddress`
- `createStubBlock`
- `createStubTransaction`
- `createStubTransactionReceipt`
- e7380c6: Update deps

## 0.0.1-beta.20

### Patch Changes
Expand Down
14 changes: 10 additions & 4 deletions packages/drift/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@delvtech/drift",
"description": "Effortless ethereum development across Web3 libraries",
"version": "0.0.1-beta.20",
"version": "0.0.1-beta.21",
"license": "Apache-2.0",
"type": "module",
"main": "dist/index.cjs",
Expand Down Expand Up @@ -31,8 +31,12 @@
},
"typesVersions": {
"*": {
".": ["./dist/index.d.ts"],
"testing": ["./dist/testing.d.ts"]
".": [
"./dist/index.d.ts"
],
"testing": [
"./dist/testing.d.ts"
]
}
},
"scripts": {
Expand Down Expand Up @@ -79,5 +83,7 @@
"publishConfig": {
"access": "public"
},
"files": ["dist"]
"files": [
"dist"
]
}

0 comments on commit 39f4777

Please sign in to comment.