Skip to content

Commit 1fb1b86

Browse files
committed
Bump urql to 3.1.0
1 parent 87f5274 commit 1fb1b86

File tree

4 files changed

+36
-40
lines changed

4 files changed

+36
-40
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,3 +107,6 @@ dist
107107

108108
# IDE directories
109109
.idea
110+
111+
# Vscode directories
112+
.vscode

packages/common-ts/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"dependencies": {
1919
"@graphprotocol/contracts": "5.3.3",
2020
"@graphprotocol/pino-sentry-simple": "0.7.1",
21-
"@urql/core": "2.4.4",
22-
"@urql/exchange-execute": "1.2.2",
21+
"@urql/core": "3.1.0",
22+
"@urql/exchange-execute": "2.1.0",
2323
"body-parser": "1.20.2",
2424
"bs58": "5.0.0",
2525
"cors": "2.8.5",

packages/common-ts/src/subgraph/networkSubgraphClient.test.ts

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,15 @@ describe('Network Subgraph Client', () => {
1212

1313
expect(
1414
client
15-
.query(gql`
16-
{
17-
ok
18-
}
19-
`)
15+
.query(
16+
gql`
17+
{
18+
ok
19+
}
20+
`,
21+
[],
22+
[],
23+
)
2024
.toPromise(),
2125
).resolves.toMatchObject({
2226
data: { ok: true },

yarn.lock

Lines changed: 22 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# yarn lockfile v1
33

44

5-
"@0no-co/graphql.web@^1.0.1":
6-
version "1.0.4"
7-
resolved "https://registry.npmjs.org/@0no-co/graphql.web/-/graphql.web-1.0.4.tgz#9606eb651955499525d068ce0ad8bea596286ce2"
8-
integrity sha512-W3ezhHGfO0MS1PtGloaTpg0PbaT8aZSmmaerL7idtU5F7oCI+uu25k+MsMS31BVFlp4aMkHSrNRxiD72IlK8TA==
5+
"@0no-co/graphql.web@^1.0.5":
6+
version "1.0.8"
7+
resolved "https://registry.yarnpkg.com/@0no-co/graphql.web/-/graphql.web-1.0.8.tgz#20682c7839b0b5b7728ad944a8602ca46d983e75"
8+
integrity sha512-8BG6woLtDMvXB9Ajb/uE+Zr/U7y4qJ3upXi0JQHZmsKUJa7HjF/gFvmL2f3/mSmfZoQGRr9VoY97LCX2uaFMzA==
99

1010
"@aashutoshrathi/word-wrap@^1.2.3":
1111
version "1.2.6"
@@ -985,11 +985,6 @@
985985
split2 "^3.1.1"
986986
through2 "^3.0.1"
987987

988-
"@graphql-typed-document-node/core@^3.1.1":
989-
version "3.2.0"
990-
resolved "https://registry.npmjs.org/@graphql-typed-document-node/core/-/core-3.2.0.tgz#5f3d96ec6b2354ad6d8a28bf216a1d97b5426861"
991-
integrity sha512-mB9oAsNCm9aM3/SOv4YtBMqZbYj10R7dkq8byBqxGY/ncFwhf2oQzMV+LCRlWoDSEBJ3COiR1yeDvMtsoOsuFQ==
992-
993988
"@humanwhocodes/config-array@^0.11.11":
994989
version "0.11.11"
995990
resolved "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.11.tgz#88a04c570dbbc7dd943e4712429c3df09bc32844"
@@ -2655,29 +2650,28 @@
26552650
"@typescript-eslint/types" "6.7.0"
26562651
eslint-visitor-keys "^3.4.1"
26572652

2658-
"@urql/core@2.4.4":
2659-
version "2.4.4"
2660-
resolved "https://registry.npmjs.org/@urql/core/-/core-2.4.4.tgz#29f1d03cc439134259761e70a78ae20302c3d7fe"
2661-
integrity sha512-TD+OS7jG1Ts6QkpU0TZ85i/vu40r71GF0QQFDhnWFtgkHcNwnpkIwWBMa72AR3j2imBTPpk61e/xb39uM/t37A==
2653+
"@urql/core@3.1.0":
2654+
version "3.1.0"
2655+
resolved "https://registry.yarnpkg.com/@urql/core/-/core-3.1.0.tgz#b77c6e444da35507b234645caed383cbb04d8ac9"
2656+
integrity sha512-6pYB4/WGZmuCxCc+h8AX9h+g1o75cPgMrcan+G/pYEDGAd6+PXoEuDumhEXpwu4vnkqCvVnFELEYcqkaM8ddPg==
26622657
dependencies:
2663-
"@graphql-typed-document-node/core" "^3.1.1"
2664-
wonka "^4.0.14"
2658+
wonka "^6.1.2"
26652659

2666-
"@urql/core@>=2.3.6":
2667-
version "4.1.2"
2668-
resolved "https://registry.npmjs.org/@urql/core/-/core-4.1.2.tgz#0080796f07f34a6878a29eb0ef319ceb2083b65b"
2669-
integrity sha512-K+JA5dxEjY7Jkt1hV8G2ShkuOscKS/r+8QnXDDxTkyMzZzviYqz5f/zxgSElObT/QSW17xCC1LFl+kwiyX5opg==
2660+
"@urql/core@>=3.1.0":
2661+
version "5.0.6"
2662+
resolved "https://registry.yarnpkg.com/@urql/core/-/core-5.0.6.tgz#0d6624e30084f9137f78dc6c5bb8a599cba7f9dc"
2663+
integrity sha512-38rgSDqVNihFDauw1Pm9V7XLWIKuK8V9CKgrUF7/xEKinze8ENKP1ZeBhkG+dxWzJan7CHK+SLl46kAdvZwIlA==
26702664
dependencies:
2671-
"@0no-co/graphql.web" "^1.0.1"
2665+
"@0no-co/graphql.web" "^1.0.5"
26722666
wonka "^6.3.2"
26732667

2674-
"@urql/exchange-execute@1.2.2":
2675-
version "1.2.2"
2676-
resolved "https://registry.npmjs.org/@urql/exchange-execute/-/exchange-execute-1.2.2.tgz#41a68500c44d12c4c1e6a80dfc77cefccde15687"
2677-
integrity sha512-KebdnKWMKI1NkRtIxp8YIouynOaFnhcdaMNCcJEtp+kmY4vGZUgdxT/SIzTPXXYJvk5G2aiQ/JMr97I+wM/EHA==
2668+
"@urql/exchange-execute@2.1.0":
2669+
version "2.1.0"
2670+
resolved "https://registry.yarnpkg.com/@urql/exchange-execute/-/exchange-execute-2.1.0.tgz#70058969248e204494526decf2bb75c11c965ad1"
2671+
integrity sha512-b84hq5EPgbERmg+98SqmMZqD5W3YrFkFii/6ZWVm5zsVdb+c0ZhRpUrpOCSemh5Jl5X291PG0WUUy2hdMtjraQ==
26782672
dependencies:
2679-
"@urql/core" ">=2.3.6"
2680-
wonka "^4.0.14"
2673+
"@urql/core" ">=3.1.0"
2674+
wonka "^6.0.0"
26812675

26822676
JSONStream@^1.0.4:
26832677
version "1.3.5"
@@ -8775,14 +8769,9 @@ wkx@^0.5.0:
87758769
dependencies:
87768770
"@types/node" "*"
87778771

8778-
wonka@^4.0.14:
8779-
version "4.0.15"
8780-
resolved "https://registry.npmjs.org/wonka/-/wonka-4.0.15.tgz#9aa42046efa424565ab8f8f451fcca955bf80b89"
8781-
integrity sha512-U0IUQHKXXn6PFo9nqsHphVCE5m3IntqZNB9Jjn7EB1lrR7YTDY3YWgFvEvwniTzXSvOH/XMzAZaIfJF/LvHYXg==
8782-
8783-
wonka@^6.3.2:
8772+
wonka@^6.0.0, wonka@^6.1.2, wonka@^6.3.2:
87848773
version "6.3.4"
8785-
resolved "https://registry.npmjs.org/wonka/-/wonka-6.3.4.tgz#76eb9316e3d67d7febf4945202b5bdb2db534594"
8774+
resolved "https://registry.yarnpkg.com/wonka/-/wonka-6.3.4.tgz#76eb9316e3d67d7febf4945202b5bdb2db534594"
87868775
integrity sha512-CjpbqNtBGNAeyNS/9W6q3kSkKE52+FjIj7AkFlLr11s/VWGUu6a2CdYSdGxocIhIVjaW/zchesBQUKPVU69Cqg==
87878776

87888777
wordwrap@^1.0.0:

0 commit comments

Comments
 (0)