Skip to content
This repository was archived by the owner on Aug 30, 2022. It is now read-only.

Commit 3fd4e17

Browse files
committed
upgrade sdk
1 parent b4c1a4d commit 3fd4e17

5 files changed

Lines changed: 37 additions & 37 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"typescript": "^4.5.5"
4545
},
4646
"dependencies": {
47-
"@thirdweb-dev/sdk": "^2.0.0-nightly.18",
47+
"@thirdweb-dev/sdk": "^2.0.0-nightly.19",
4848
"tiny-invariant": "^1.2.0",
4949
"wagmi": "^0.2.12"
5050
},

wiki/DAppMetaData.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
#### Defined in
2020

21-
[src/Provider.tsx:48](https://github.com/thirdweb-dev/react/blob/20bd0ee/src/Provider.tsx#L48)
21+
[src/Provider.tsx:48](https://github.com/thirdweb-dev/react/blob/b4c1a4d/src/Provider.tsx#L48)
2222

2323
___
2424

@@ -28,7 +28,7 @@ ___
2828

2929
#### Defined in
3030

31-
[src/Provider.tsx:51](https://github.com/thirdweb-dev/react/blob/20bd0ee/src/Provider.tsx#L51)
31+
[src/Provider.tsx:51](https://github.com/thirdweb-dev/react/blob/b4c1a4d/src/Provider.tsx#L51)
3232

3333
___
3434

@@ -38,7 +38,7 @@ ___
3838

3939
#### Defined in
4040

41-
[src/Provider.tsx:49](https://github.com/thirdweb-dev/react/blob/20bd0ee/src/Provider.tsx#L49)
41+
[src/Provider.tsx:49](https://github.com/thirdweb-dev/react/blob/b4c1a4d/src/Provider.tsx#L49)
4242

4343
___
4444

@@ -48,7 +48,7 @@ ___
4848

4949
#### Defined in
5050

51-
[src/Provider.tsx:47](https://github.com/thirdweb-dev/react/blob/20bd0ee/src/Provider.tsx#L47)
51+
[src/Provider.tsx:47](https://github.com/thirdweb-dev/react/blob/b4c1a4d/src/Provider.tsx#L47)
5252

5353
___
5454

@@ -58,4 +58,4 @@ ___
5858

5959
#### Defined in
6060

61-
[src/Provider.tsx:50](https://github.com/thirdweb-dev/react/blob/20bd0ee/src/Provider.tsx#L50)
61+
[src/Provider.tsx:50](https://github.com/thirdweb-dev/react/blob/b4c1a4d/src/Provider.tsx#L50)

wiki/Exports.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454

5555
#### Defined in
5656

57-
[src/Provider.tsx:41](https://github.com/thirdweb-dev/react/blob/20bd0ee/src/Provider.tsx#L41)
57+
[src/Provider.tsx:41](https://github.com/thirdweb-dev/react/blob/b4c1a4d/src/Provider.tsx#L41)
5858

5959
___
6060

@@ -64,7 +64,7 @@ ___
6464

6565
#### Defined in
6666

67-
[src/Provider.tsx:19](https://github.com/thirdweb-dev/react/blob/20bd0ee/src/Provider.tsx#L19)
67+
[src/Provider.tsx:19](https://github.com/thirdweb-dev/react/blob/b4c1a4d/src/Provider.tsx#L19)
6868

6969
___
7070

@@ -74,7 +74,7 @@ ___
7474

7575
#### Defined in
7676

77-
[src/Provider.tsx:24](https://github.com/thirdweb-dev/react/blob/20bd0ee/src/Provider.tsx#L24)
77+
[src/Provider.tsx:24](https://github.com/thirdweb-dev/react/blob/b4c1a4d/src/Provider.tsx#L24)
7878

7979
___
8080

@@ -84,7 +84,7 @@ ___
8484

8585
#### Defined in
8686

87-
[src/Provider.tsx:36](https://github.com/thirdweb-dev/react/blob/20bd0ee/src/Provider.tsx#L36)
87+
[src/Provider.tsx:36](https://github.com/thirdweb-dev/react/blob/b4c1a4d/src/Provider.tsx#L36)
8888

8989
___
9090

@@ -94,7 +94,7 @@ ___
9494

9595
#### Defined in
9696

97-
[src/Provider.tsx:28](https://github.com/thirdweb-dev/react/blob/20bd0ee/src/Provider.tsx#L28)
97+
[src/Provider.tsx:28](https://github.com/thirdweb-dev/react/blob/b4c1a4d/src/Provider.tsx#L28)
9898

9999
## Variables
100100

@@ -140,7 +140,7 @@ node_modules/wagmi-core/dist/declarations/src/constants/chains.d.ts:6
140140

141141
#### Defined in
142142

143-
[src/Provider.tsx:114](https://github.com/thirdweb-dev/react/blob/20bd0ee/src/Provider.tsx#L114)
143+
[src/Provider.tsx:114](https://github.com/thirdweb-dev/react/blob/b4c1a4d/src/Provider.tsx#L114)
144144

145145
___
146146

@@ -174,7 +174,7 @@ ___
174174

175175
#### Defined in
176176

177-
[src/hooks/useAddress.ts:3](https://github.com/thirdweb-dev/react/blob/20bd0ee/src/hooks/useAddress.ts#L3)
177+
[src/hooks/useAddress.ts:3](https://github.com/thirdweb-dev/react/blob/b4c1a4d/src/hooks/useAddress.ts#L3)
178178

179179
___
180180

@@ -190,7 +190,7 @@ readonly [{ `data`: { `connected`: `boolean` ; `connector`: `undefined` \| `Conn
190190

191191
#### Defined in
192192

193-
[src/hooks/useConnect.ts:6](https://github.com/thirdweb-dev/react/blob/20bd0ee/src/hooks/useConnect.ts#L6)
193+
[src/hooks/useConnect.ts:6](https://github.com/thirdweb-dev/react/blob/b4c1a4d/src/hooks/useConnect.ts#L6)
194194

195195
___
196196

@@ -210,7 +210,7 @@ ___
210210

211211
#### Defined in
212212

213-
[src/hooks/useDisconnect.ts:3](https://github.com/thirdweb-dev/react/blob/20bd0ee/src/hooks/useDisconnect.ts#L3)
213+
[src/hooks/useDisconnect.ts:3](https://github.com/thirdweb-dev/react/blob/b4c1a4d/src/hooks/useDisconnect.ts#L3)
214214

215215
___
216216

@@ -230,7 +230,7 @@ ___
230230

231231
#### Defined in
232232

233-
[src/hooks/modules/useEdition.ts:4](https://github.com/thirdweb-dev/react/blob/20bd0ee/src/hooks/modules/useEdition.ts#L4)
233+
[src/hooks/modules/useEdition.ts:4](https://github.com/thirdweb-dev/react/blob/b4c1a4d/src/hooks/modules/useEdition.ts#L4)
234234

235235
___
236236

@@ -250,7 +250,7 @@ ___
250250

251251
#### Defined in
252252

253-
[src/hooks/modules/useEditionDrop.ts:4](https://github.com/thirdweb-dev/react/blob/20bd0ee/src/hooks/modules/useEditionDrop.ts#L4)
253+
[src/hooks/modules/useEditionDrop.ts:4](https://github.com/thirdweb-dev/react/blob/b4c1a4d/src/hooks/modules/useEditionDrop.ts#L4)
254254

255255
___
256256

@@ -270,7 +270,7 @@ ___
270270

271271
#### Defined in
272272

273-
[src/hooks/modules/useMarketplace.ts:4](https://github.com/thirdweb-dev/react/blob/20bd0ee/src/hooks/modules/useMarketplace.ts#L4)
273+
[src/hooks/modules/useMarketplace.ts:4](https://github.com/thirdweb-dev/react/blob/b4c1a4d/src/hooks/modules/useMarketplace.ts#L4)
274274

275275
___
276276

@@ -290,7 +290,7 @@ ___
290290

291291
#### Defined in
292292

293-
[src/hooks/modules/useNFTCollection.ts:4](https://github.com/thirdweb-dev/react/blob/20bd0ee/src/hooks/modules/useNFTCollection.ts#L4)
293+
[src/hooks/modules/useNFTCollection.ts:4](https://github.com/thirdweb-dev/react/blob/b4c1a4d/src/hooks/modules/useNFTCollection.ts#L4)
294294

295295
___
296296

@@ -310,7 +310,7 @@ ___
310310

311311
#### Defined in
312312

313-
[src/hooks/modules/useNFTDrop.ts:4](https://github.com/thirdweb-dev/react/blob/20bd0ee/src/hooks/modules/useNFTDrop.ts#L4)
313+
[src/hooks/modules/useNFTDrop.ts:4](https://github.com/thirdweb-dev/react/blob/b4c1a4d/src/hooks/modules/useNFTDrop.ts#L4)
314314

315315
___
316316

@@ -344,7 +344,7 @@ ___
344344

345345
#### Defined in
346346

347-
[src/hooks/modules/usePack.ts:4](https://github.com/thirdweb-dev/react/blob/20bd0ee/src/hooks/modules/usePack.ts#L4)
347+
[src/hooks/modules/usePack.ts:4](https://github.com/thirdweb-dev/react/blob/b4c1a4d/src/hooks/modules/usePack.ts#L4)
348348

349349
___
350350

@@ -366,7 +366,7 @@ ___
366366

367367
#### Defined in
368368

369-
[src/hooks/useReadonlySDK.ts:4](https://github.com/thirdweb-dev/react/blob/20bd0ee/src/hooks/useReadonlySDK.ts#L4)
369+
[src/hooks/useReadonlySDK.ts:4](https://github.com/thirdweb-dev/react/blob/b4c1a4d/src/hooks/useReadonlySDK.ts#L4)
370370

371371
___
372372

@@ -380,7 +380,7 @@ ___
380380

381381
#### Defined in
382382

383-
[src/Provider.tsx:294](https://github.com/thirdweb-dev/react/blob/20bd0ee/src/Provider.tsx#L294)
383+
[src/Provider.tsx:294](https://github.com/thirdweb-dev/react/blob/b4c1a4d/src/Provider.tsx#L294)
384384

385385
___
386386

@@ -394,7 +394,7 @@ ___
394394

395395
#### Defined in
396396

397-
[src/hooks/useSigner.ts:5](https://github.com/thirdweb-dev/react/blob/20bd0ee/src/hooks/useSigner.ts#L5)
397+
[src/hooks/useSigner.ts:5](https://github.com/thirdweb-dev/react/blob/b4c1a4d/src/hooks/useSigner.ts#L5)
398398

399399
___
400400

@@ -414,7 +414,7 @@ ___
414414

415415
#### Defined in
416416

417-
[src/hooks/modules/useTokenModule.ts:4](https://github.com/thirdweb-dev/react/blob/20bd0ee/src/hooks/modules/useTokenModule.ts#L4)
417+
[src/hooks/modules/useTokenModule.ts:4](https://github.com/thirdweb-dev/react/blob/b4c1a4d/src/hooks/modules/useTokenModule.ts#L4)
418418

419419
___
420420

@@ -434,4 +434,4 @@ ___
434434

435435
#### Defined in
436436

437-
[src/hooks/modules/useVoteModule.ts:4](https://github.com/thirdweb-dev/react/blob/20bd0ee/src/hooks/modules/useVoteModule.ts#L4)
437+
[src/hooks/modules/useVoteModule.ts:4](https://github.com/thirdweb-dev/react/blob/b4c1a4d/src/hooks/modules/useVoteModule.ts#L4)

wiki/ThirdwebProviderProps.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ If not provided, will default to the rpcUrls of the chain objects for the suppor
2929

3030
#### Defined in
3131

32-
[src/Provider.tsx:76](https://github.com/thirdweb-dev/react/blob/20bd0ee/src/Provider.tsx#L76)
32+
[src/Provider.tsx:76](https://github.com/thirdweb-dev/react/blob/b4c1a4d/src/Provider.tsx#L76)
3333

3434
___
3535

@@ -42,7 +42,7 @@ Defaults to just the name being passed as `thirdweb powered dApp`.
4242

4343
#### Defined in
4444

45-
[src/Provider.tsx:81](https://github.com/thirdweb-dev/react/blob/20bd0ee/src/Provider.tsx#L81)
45+
[src/Provider.tsx:81](https://github.com/thirdweb-dev/react/blob/b4c1a4d/src/Provider.tsx#L81)
4646

4747
___
4848

@@ -56,7 +56,7 @@ When passing a chainId, it **must** be part of the `supportedChains` array.
5656

5757
#### Defined in
5858

59-
[src/Provider.tsx:87](https://github.com/thirdweb-dev/react/blob/20bd0ee/src/Provider.tsx#L87)
59+
[src/Provider.tsx:87](https://github.com/thirdweb-dev/react/blob/b4c1a4d/src/Provider.tsx#L87)
6060

6161
___
6262

@@ -81,7 +81,7 @@ comes with sensible defaults
8181

8282
#### Defined in
8383

84-
[src/Provider.tsx:61](https://github.com/thirdweb-dev/react/blob/20bd0ee/src/Provider.tsx#L61)
84+
[src/Provider.tsx:61](https://github.com/thirdweb-dev/react/blob/b4c1a4d/src/Provider.tsx#L61)
8585

8686
___
8787

@@ -93,7 +93,7 @@ The storage interface to use with the sdk.
9393

9494
#### Defined in
9595

96-
[src/Provider.tsx:94](https://github.com/thirdweb-dev/react/blob/20bd0ee/src/Provider.tsx#L94)
96+
[src/Provider.tsx:94](https://github.com/thirdweb-dev/react/blob/b4c1a4d/src/Provider.tsx#L94)
9797

9898
___
9999

@@ -106,7 +106,7 @@ If not provided, all chains supported by the SDK will be supported by default
106106

107107
#### Defined in
108108

109-
[src/Provider.tsx:66](https://github.com/thirdweb-dev/react/blob/20bd0ee/src/Provider.tsx#L66)
109+
[src/Provider.tsx:66](https://github.com/thirdweb-dev/react/blob/b4c1a4d/src/Provider.tsx#L66)
110110

111111
___
112112

@@ -119,4 +119,4 @@ If not provided, will default to metamask (injected), wallet connect and walletl
119119

120120
#### Defined in
121121

122-
[src/Provider.tsx:71](https://github.com/thirdweb-dev/react/blob/20bd0ee/src/Provider.tsx#L71)
122+
[src/Provider.tsx:71](https://github.com/thirdweb-dev/react/blob/b4c1a4d/src/Provider.tsx#L71)

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -617,10 +617,10 @@
617617
resolved "https://registry.yarnpkg.com/@thirdweb-dev/contracts/-/contracts-2.0.1-47.tgz#73d8ed9c8f403e88e4bb53df6fae7bf853a0321f"
618618
integrity sha512-4zEBN9RbCBXG39dayD9gV0MWg9HDbGmphnqHsM/8rNblm9bFvroJ6W/uG0e/7q588/Q+oByauKPPNoTb9F9NCg==
619619

620-
"@thirdweb-dev/sdk@^2.0.0-nightly.18":
621-
version "2.0.0-nightly.18"
622-
resolved "https://registry.yarnpkg.com/@thirdweb-dev/sdk/-/sdk-2.0.0-nightly.18.tgz#ca8f03d3d8c57fd9a2a16e14df62f2c34ddd01c9"
623-
integrity sha512-07bfuCIiAwt8IuonRAo2taNgnLqN7jK/+9i2ADcVOQeaodOZkOKyuydP0Wko126h+PPJjKn7OGGkXq3WwEnV8Q==
620+
"@thirdweb-dev/sdk@^2.0.0-nightly.19":
621+
version "2.0.0-nightly.19"
622+
resolved "https://registry.yarnpkg.com/@thirdweb-dev/sdk/-/sdk-2.0.0-nightly.19.tgz#5a277acc6b5582a9225133fa1e9c1314802d061e"
623+
integrity sha512-Yqnn0C4Y/mXPK9PNs8GwjRCrxDmKfaFHnRcTNkernxuEu7Rn+zl1Fib2AXr255h2IPx+zz8oEMpJZPH0EXPNwQ==
624624
dependencies:
625625
"@ethersproject/bignumber" "^5.5.0"
626626
"@ethersproject/bytes" "^5.4.0"

0 commit comments

Comments
 (0)