Skip to content

Commit da1add2

Browse files
authored
Merge pull request #89 from macalinao/igm/bug
Fix bug with useGeneratedValue
2 parents 5f3fb43 + f581ca7 commit da1add2

File tree

17 files changed

+44
-22
lines changed

17 files changed

+44
-22
lines changed

.changeset/cruel-seas-pump.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
"@macalinao/solana-batch-accounts-loader": patch
3+
"@macalinao/dataloader-es": patch
4+
"@macalinao/react-quarry": patch
5+
"@macalinao/token-utils": patch
6+
"@macalinao/gill-extra": patch
7+
"@macalinao/zod-solana": patch
8+
"@macalinao/quarry": patch
9+
"@macalinao/grill": patch
10+
---
11+
12+
Fix bun-types import

.changeset/four-lies-scream.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@macalinao/react-quarry": patch
3+
---
4+
5+
Fix bug with useGeneratedValue (not aborted)

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ jobs:
1717
- name: Setup Bun
1818
uses: oven-sh/setup-bun@v2
1919
with:
20-
bun-version: latest
20+
bun-version: 1.2.23
2121

2222
- name: Cache dependencies
2323
uses: actions/cache@v4
2424
with:
2525
path: ~/.bun/install/cache
26-
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
26+
key: ${{ runner.os }}-buncache-${{ hashFiles('**/bun.lock') }}
2727
restore-keys: |
28-
${{ runner.os }}-bun-
28+
${{ runner.os }}-buncache-
2929
3030
- name: Install dependencies
3131
run: bun install --frozen-lockfile

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ jobs:
3131
- name: Setup Bun
3232
uses: oven-sh/setup-bun@v2
3333
with:
34-
bun-version: latest
34+
bun-version: 1.2.23
3535

3636
- name: Cache dependencies
3737
uses: actions/cache@v4
3838
with:
3939
path: ~/.bun/install/cache
40-
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
40+
key: ${{ runner.os }}-buncache-${{ hashFiles('**/bun.lock') }}
4141
restore-keys: |
42-
${{ runner.os }}-bun-
42+
${{ runner.os }}-buncache-
4343
4444
- name: Install Dependencies
4545
run: bun install --frozen-lockfile

bun.lock

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@
7979
"packages/dataloader-es": {
8080
"name": "@macalinao/dataloader-es",
8181
"version": "0.2.5",
82+
"dependencies": {
83+
"tslib": "^2.8.1",
84+
},
8285
"devDependencies": {
8386
"@macalinao/eslint-config": "catalog:",
8487
"@macalinao/tsconfig": "catalog:",

devenv.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
"devenv": {
44
"locked": {
55
"dir": "src/modules",
6-
"lastModified": 1759437797,
6+
"lastModified": 1760162706,
77
"owner": "cachix",
88
"repo": "devenv",
9-
"rev": "89ce1b7ac66ca381a335a60ad6acc723ef6f42f3",
9+
"rev": "0d5ad578728fe4bce66eb4398b8b1e66deceb4e4",
1010
"type": "github"
1111
},
1212
"original": {
@@ -40,10 +40,10 @@
4040
]
4141
},
4242
"locked": {
43-
"lastModified": 1758108966,
43+
"lastModified": 1759523803,
4444
"owner": "cachix",
4545
"repo": "git-hooks.nix",
46-
"rev": "54df955a695a84cd47d4a43e08e1feaf90b1fd9b",
46+
"rev": "cfc9f7bb163ad8542029d303e599c0f7eee09835",
4747
"type": "github"
4848
},
4949
"original": {
@@ -74,10 +74,10 @@
7474
},
7575
"nixpkgs": {
7676
"locked": {
77-
"lastModified": 1759417375,
77+
"lastModified": 1760164275,
7878
"owner": "NixOS",
7979
"repo": "nixpkgs",
80-
"rev": "dc704e6102e76aad573f63b74c742cd96f8f1e6c",
80+
"rev": "362791944032cb532aabbeed7887a441496d5e6e",
8181
"type": "github"
8282
},
8383
"original": {

packages/dataloader-es/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,8 @@
5656
"eslint --fix --cache"
5757
],
5858
"*.{json,jsonc,html}": "biome format --write --no-errors-on-unmatched"
59+
},
60+
"dependencies": {
61+
"tslib": "^2.8.1"
5962
}
6063
}

packages/dataloader-es/src/dataLoader.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,6 @@ export class DataLoader<K, V, C = K> {
233233
// Cache hits are resolved, even though the batch failed.
234234
resolveCacheHits(batch);
235235
for (let i = 0; i < batch.keys.length; i++) {
236-
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
237236
this.clear(batch.keys[i]!);
238237

239238
batch.callbacks[i]?.reject(error);
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"extends": "@macalinao/tsconfig/tsconfig.dom.json",
33
"compilerOptions": {
4-
"types": ["bun-types"]
4+
"types": ["bun"]
55
}
66
}

packages/gill-extra/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"extends": "@macalinao/tsconfig/tsconfig.base.json",
33
"compilerOptions": {
44
"isolatedDeclarations": false,
5-
"types": ["bun-types"]
5+
"types": ["bun"]
66
}
77
}

0 commit comments

Comments
 (0)