Skip to content

Commit 7619c60

Browse files
committed
fix: add @stacks/blockchain-api-client
1 parent fb0668e commit 7619c60

File tree

2 files changed

+43
-21
lines changed

2 files changed

+43
-21
lines changed

package.json

Lines changed: 13 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"version": "1.0.0",
1717
"author": "Hiro Systems PBC (formerly Blockstack PBC)",
1818
"dependencies": {
19-
"@emotion/cache": "^11.0.0",
2019
"@babel/core": "^7.12.10",
20+
"@emotion/cache": "^11.0.0",
2121
"@emotion/core": "^11.0.0",
2222
"@emotion/css": "^11.0.0",
2323
"@emotion/react": "^11.1.5",
@@ -31,6 +31,7 @@
3131
"@react-spectrum/utils": "^3.5.1",
3232
"@react-stately/toggle": "^3.2.1",
3333
"@stacks/auth": "^1.2.2",
34+
"@stacks/blockchain-api-client": "^0.49.0",
3435
"@stacks/connect": "^4.3.16-alpha.d514fd4.0",
3536
"@stacks/connect-ui": "^2.17.17-alpha.d514fd4.0",
3637
"@stacks/network": "^1.2.2",
@@ -94,40 +95,32 @@
9495
"devDependencies": {
9596
"@blockstack/stacks-blockchain-api-types": "^0.48.3",
9697
"@commitlint/config-conventional": "^11.0.0",
97-
"@next/bundle-analyzer": "^10.0.7",
98-
"@stacks/eslint-config": "^1.0.7",
99-
"@stacks/prettier-config": "^0.0.7",
100-
"@types/express": "^4.17.11",
101-
"@types/fontfaceobserver": "^0.0.6",
102-
"@types/next": "^9.0.0",
103-
"@types/node": "^14.14.31",
104-
"@types/react": "^17.0.2",
105-
"@types/store": "^2.0.2",
106-
"@types/styled-system__theme-get": "^5.0.1",
107-
"@typescript-eslint/eslint-plugin": "^4.15.2",
108-
"@typescript-eslint/parser": "^4.15.2",
109-
"commitlint": "^11.0.0",
110-
"eslint": "^7.20.0",
111-
"eslint-plugin-import": "^2.22.1",
112-
"eslint-plugin-prettier": "^3.3.1",
113-
"husky": "^4.3.8",
114-
"lint-staged": "^10.5.4",
115-
"package-json-cleanup-loader": "^1.0.3",
11698
"@emotion/babel-plugin": "^11.1.2",
11799
"@emotion/babel-preset-css-prop": "^11.0.0",
118100
"@next/bundle-analyzer": "^10.0.5",
119101
"@stacks/eslint-config": "^1.0.7",
120102
"@stacks/prettier-config": "^0.0.7",
103+
"@types/express": "^4.17.11",
104+
"@types/fontfaceobserver": "^0.0.6",
121105
"@types/just-debounce-it": "^1.1.0",
106+
"@types/next": "^9.0.0",
107+
"@types/node": "^14.14.31",
122108
"@types/nprogress": "^0.2.0",
123109
"@types/pluralize": "^0.0.29",
124110
"@types/prismjs": "^1.16.1",
125111
"@types/react": "^17.0.0",
112+
"@types/store": "^2.0.2",
113+
"@types/styled-system__theme-get": "^5.0.1",
114+
"@typescript-eslint/eslint-plugin": "^4.15.2",
126115
"@typescript-eslint/parser": "^4.14.0",
127116
"@welldone-software/why-did-you-render": "^6.0.5",
128117
"commitlint": "^11.0.0",
129118
"eslint": "^7.18.0",
119+
"eslint-plugin-import": "^2.22.1",
120+
"eslint-plugin-prettier": "^3.3.1",
130121
"husky": "^4.3.8",
122+
"lint-staged": "^10.5.4",
123+
"package-json-cleanup-loader": "^1.0.3",
131124
"prettier": "^2.2.1",
132125
"typescript": "^4.1.5"
133126
},

yarn.lock

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1568,6 +1568,18 @@
15681568
jsontokens "^3.0.0"
15691569
query-string "^6.13.1"
15701570

1571+
"@stacks/blockchain-api-client@^0.49.0":
1572+
version "0.49.0"
1573+
resolved "https://registry.yarnpkg.com/@stacks/blockchain-api-client/-/blockchain-api-client-0.49.0.tgz#ec3c77b2ed9452dff58662fa8cdace6f50f44816"
1574+
integrity sha512-PnuVx2XQus4zNtLMB6Z6RIQKrlwYs58sYsMPO12PHEUUZcXV6xCt93ZRhWA8QgCevqpeV5we8jxTDwdYwWee9w==
1575+
dependencies:
1576+
"@blockstack/stacks-blockchain-api-types" "^0.34.1"
1577+
"@types/ws" "^7.4.0"
1578+
cross-fetch "^3.0.6"
1579+
eventemitter3 "^4.0.4"
1580+
jsonrpc-lite "^2.2.0"
1581+
ws "^7.4.0"
1582+
15711583
"@stacks/common@^1.0.1", "@stacks/common@^1.2.2":
15721584
version "1.2.2"
15731585
resolved "https://registry.yarnpkg.com/@stacks/common/-/common-1.2.2.tgz#1365ffb0f8bd9e4cd194c63c65a1bb2c83876ba1"
@@ -2120,6 +2132,13 @@
21202132
resolved "https://registry.yarnpkg.com/@types/warning/-/warning-3.0.0.tgz#0d2501268ad8f9962b740d387c4654f5f8e23e52"
21212133
integrity sha1-DSUBJorY+ZYrdA04fEZU9fjiPlI=
21222134

2135+
"@types/ws@^7.4.0":
2136+
version "7.4.0"
2137+
resolved "https://registry.yarnpkg.com/@types/ws/-/ws-7.4.0.tgz#499690ea08736e05a8186113dac37769ab251a0e"
2138+
integrity sha512-Y29uQ3Uy+58bZrFLhX36hcI3Np37nqWE7ky5tjiDoy1GDZnIwVxS0CgF+s+1bXMzjKBFy+fqaRfb708iNzdinw==
2139+
dependencies:
2140+
"@types/node" "*"
2141+
21232142
"@typescript-eslint/eslint-plugin@^4.11.0", "@typescript-eslint/eslint-plugin@^4.15.2":
21242143
version "4.15.2"
21252144
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.15.2.tgz#981b26b4076c62a5a55873fbef3fe98f83360c61"
@@ -4649,6 +4668,11 @@ event-target-shim@^5.0.0:
46494668
resolved "https://registry.yarnpkg.com/event-target-shim/-/event-target-shim-5.0.1.tgz#5d4d3ebdf9583d63a5333ce2deb7480ab2b05789"
46504669
integrity sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==
46514670

4671+
eventemitter3@^4.0.4:
4672+
version "4.0.7"
4673+
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f"
4674+
integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==
4675+
46524676
events@^3.0.0:
46534677
version "3.2.0"
46544678
resolved "https://registry.yarnpkg.com/events/-/events-3.2.0.tgz#93b87c18f8efcd4202a461aec4dfc0556b639379"
@@ -6022,6 +6046,11 @@ jsonparse@^1.2.0:
60226046
resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280"
60236047
integrity sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=
60246048

6049+
jsonrpc-lite@^2.2.0:
6050+
version "2.2.0"
6051+
resolved "https://registry.yarnpkg.com/jsonrpc-lite/-/jsonrpc-lite-2.2.0.tgz#fb3aa9d292c8970eb7f83c6040c6554767bbc6a6"
6052+
integrity sha512-/cbbSxtZWs1O7R4tWqabrCM/t3N8qKUZMAg9IUqpPvUs6UyRvm6pCNYkskyKN/XU0UgffW+NY2ZRr8t0AknX7g==
6053+
60256054
jsontokens@^3.0.0:
60266055
version "3.0.0"
60276056
resolved "https://registry.yarnpkg.com/jsontokens/-/jsontokens-3.0.0.tgz#629984d260a4081b11541313acdba708377314d3"
@@ -9929,7 +9958,7 @@ wrappy@1:
99299958
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
99309959
integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=
99319960

9932-
ws@^7.3.1:
9961+
ws@^7.3.1, ws@^7.4.0:
99339962
version "7.4.3"
99349963
resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.3.tgz#1f9643de34a543b8edb124bdcbc457ae55a6e5cd"
99359964
integrity sha512-hr6vCR76GsossIRsr8OLR9acVVm1jyfEWvhbNjtgPOrfvAlKzvyeg/P6r8RuDjRyrcQoPQT7K0DGEPc7Ae6jzA==

0 commit comments

Comments
 (0)