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

Commit 341cd66

Browse files
committed
upgrade deps
1 parent dd6e498 commit 341cd66

File tree

5 files changed

+293
-250
lines changed

5 files changed

+293
-250
lines changed

package.json

Lines changed: 2 additions & 2 deletions
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.8",
47+
"@thirdweb-dev/sdk": "^2.0.0-nightly.17",
4848
"tiny-invariant": "^1.2.0",
4949
"wagmi": "^0.2.12"
5050
},
@@ -61,6 +61,6 @@
6161
"clean": true
6262
},
6363
"resolutions": {
64-
"ansi-regex": "^5.0.1"
64+
"ansi-regex": "^6.0.1"
6565
}
6666
}

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/ebcd6e6/src/Provider.tsx#L48)
21+
[src/Provider.tsx:48](https://github.com/thirdweb-dev/react/blob/dd6e498/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/ebcd6e6/src/Provider.tsx#L51)
31+
[src/Provider.tsx:51](https://github.com/thirdweb-dev/react/blob/dd6e498/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/ebcd6e6/src/Provider.tsx#L49)
41+
[src/Provider.tsx:49](https://github.com/thirdweb-dev/react/blob/dd6e498/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/ebcd6e6/src/Provider.tsx#L47)
51+
[src/Provider.tsx:47](https://github.com/thirdweb-dev/react/blob/dd6e498/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/ebcd6e6/src/Provider.tsx#L50)
61+
[src/Provider.tsx:50](https://github.com/thirdweb-dev/react/blob/dd6e498/src/Provider.tsx#L50)

wiki/Exports.md

Lines changed: 27 additions & 27 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/ebcd6e6/src/Provider.tsx#L41)
57+
[src/Provider.tsx:41](https://github.com/thirdweb-dev/react/blob/dd6e498/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/ebcd6e6/src/Provider.tsx#L19)
67+
[src/Provider.tsx:19](https://github.com/thirdweb-dev/react/blob/dd6e498/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/ebcd6e6/src/Provider.tsx#L24)
77+
[src/Provider.tsx:24](https://github.com/thirdweb-dev/react/blob/dd6e498/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/ebcd6e6/src/Provider.tsx#L36)
87+
[src/Provider.tsx:36](https://github.com/thirdweb-dev/react/blob/dd6e498/src/Provider.tsx#L36)
8888

8989
___
9090

@@ -94,33 +94,33 @@ ___
9494

9595
#### Defined in
9696

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

9999
## Variables
100100

101101
### defaultChains
102102

103-
**defaultChains**: `Chain`[]
103+
`Const` **defaultChains**: `Chain`[]
104104

105105
#### Defined in
106106

107-
node_modules/wagmi-private/dist/declarations/src/constants/chains.d.ts:5
107+
node_modules/wagmi-core/dist/declarations/src/constants/chains.d.ts:5
108108

109109
___
110110

111111
### defaultL2Chains
112112

113-
**defaultL2Chains**: `Chain`[]
113+
`Const` **defaultL2Chains**: `Chain`[]
114114

115115
#### Defined in
116116

117-
node_modules/wagmi-private/dist/declarations/src/constants/chains.d.ts:6
117+
node_modules/wagmi-core/dist/declarations/src/constants/chains.d.ts:6
118118

119119
## Functions
120120

121121
### ThirdwebProvider
122122

123-
`Const` **ThirdwebProvider**<`TSupportedChain`\>(`__namedParameters`): `Element`
123+
**ThirdwebProvider**<`TSupportedChain`\>(`__namedParameters`): `Element`
124124

125125
#### Type parameters
126126

@@ -140,13 +140,13 @@ node_modules/wagmi-private/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/ebcd6e6/src/Provider.tsx#L114)
143+
[src/Provider.tsx:114](https://github.com/thirdweb-dev/react/blob/dd6e498/src/Provider.tsx#L114)
144144

145145
___
146146

147147
### useAccount
148148

149-
`Const` **useAccount**(`__namedParameters?`): readonly [{ `data`: `undefined` \| { `address`: `string` ; `connector`: `undefined` \| `Connector`<`any`, `any`\> ; `ens`: `undefined` \| { `avatar`: `undefined` \| ``null`` \| `string` ; `name`: `string` } } ; `error`: `undefined` \| `Error` ; `loading`: `boolean` }, () => `void`]
149+
**useAccount**(`__namedParameters?`): readonly [{ `data`: `undefined` \| { `address`: `string` ; `connector`: `undefined` \| `Connector`<`any`, `any`\> ; `ens`: `undefined` \| { `avatar`: `undefined` \| ``null`` \| `string` ; `name`: `string` } } ; `error`: `undefined` \| `Error` ; `loading`: `boolean` }, () => `void`]
150150

151151
#### Parameters
152152

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

175175
#### Defined in
176176

177-
[src/hooks/useAddress.ts:3](https://github.com/thirdweb-dev/react/blob/ebcd6e6/src/hooks/useAddress.ts#L3)
177+
[src/hooks/useAddress.ts:3](https://github.com/thirdweb-dev/react/blob/dd6e498/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/ebcd6e6/src/hooks/useConnect.ts#L6)
193+
[src/hooks/useConnect.ts:6](https://github.com/thirdweb-dev/react/blob/dd6e498/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/ebcd6e6/src/hooks/useDisconnect.ts#L3)
213+
[src/hooks/useDisconnect.ts:3](https://github.com/thirdweb-dev/react/blob/dd6e498/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/ebcd6e6/src/hooks/modules/useEdition.ts#L4)
233+
[src/hooks/modules/useEdition.ts:4](https://github.com/thirdweb-dev/react/blob/dd6e498/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/ebcd6e6/src/hooks/modules/useEditionDrop.ts#L4)
253+
[src/hooks/modules/useEditionDrop.ts:4](https://github.com/thirdweb-dev/react/blob/dd6e498/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/ebcd6e6/src/hooks/modules/useMarketplace.ts#L4)
273+
[src/hooks/modules/useMarketplace.ts:4](https://github.com/thirdweb-dev/react/blob/dd6e498/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/ebcd6e6/src/hooks/modules/useNFTCollection.ts#L4)
293+
[src/hooks/modules/useNFTCollection.ts:4](https://github.com/thirdweb-dev/react/blob/dd6e498/src/hooks/modules/useNFTCollection.ts#L4)
294294

295295
___
296296

@@ -310,13 +310,13 @@ ___
310310

311311
#### Defined in
312312

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

315315
___
316316

317317
### useNetwork
318318

319-
`Const` **useNetwork**(): readonly [{ `data`: { `chain`: `undefined` \| { `blockExplorers?`: { `name`: `string` ; `url`: `string` }[] ; `id`: `number` ; `name?`: `string` ; `nativeCurrency?`: { `decimals`: ``18`` ; `name`: `string` ; `symbol`: `string` } ; `rpcUrls?`: `string`[] ; `testnet?`: `boolean` ; `unsupported`: `undefined` \| `boolean` } ; `chains`: `Chain`[] } ; `error`: `undefined` \| `Error` ; `loading`: `undefined` \| `boolean` }, `undefined` \| (`chainId`: `number`) => `Promise`<{ `data`: `undefined` ; `error`: `SwitchChainError` } \| { `data`: `undefined` \| `Chain` ; `error`: `undefined` }\>]
319+
**useNetwork**(): readonly [{ `data`: { `chain`: `undefined` \| { `blockExplorers?`: { `name`: `string` ; `url`: `string` }[] ; `id`: `number` ; `name?`: `string` ; `nativeCurrency?`: { `decimals`: ``18`` ; `name`: `string` ; `symbol`: `string` } ; `rpcUrls?`: `string`[] ; `testnet?`: `boolean` ; `unsupported`: `undefined` \| `boolean` } ; `chains`: `Chain`[] } ; `error`: `undefined` \| `Error` ; `loading`: `undefined` \| `boolean` }, `undefined` \| (`chainId`: `number`) => `Promise`<{ `data`: `undefined` ; `error`: `SwitchChainError` } \| { `data`: `undefined` \| `Chain` ; `error`: `undefined` }\>]
320320

321321
#### Returns
322322

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

345345
#### Defined in
346346

347-
[src/hooks/modules/usePack.ts:4](https://github.com/thirdweb-dev/react/blob/ebcd6e6/src/hooks/modules/usePack.ts#L4)
347+
[src/hooks/modules/usePack.ts:4](https://github.com/thirdweb-dev/react/blob/dd6e498/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/ebcd6e6/src/hooks/useReadonlySDK.ts#L4)
369+
[src/hooks/useReadonlySDK.ts:4](https://github.com/thirdweb-dev/react/blob/dd6e498/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/ebcd6e6/src/Provider.tsx#L294)
383+
[src/Provider.tsx:294](https://github.com/thirdweb-dev/react/blob/dd6e498/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/ebcd6e6/src/hooks/useSigner.ts#L5)
397+
[src/hooks/useSigner.ts:5](https://github.com/thirdweb-dev/react/blob/dd6e498/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/ebcd6e6/src/hooks/modules/useTokenModule.ts#L4)
417+
[src/hooks/modules/useTokenModule.ts:4](https://github.com/thirdweb-dev/react/blob/dd6e498/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/ebcd6e6/src/hooks/modules/useVoteModule.ts#L4)
437+
[src/hooks/modules/useVoteModule.ts:4](https://github.com/thirdweb-dev/react/blob/dd6e498/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/ebcd6e6/src/Provider.tsx#L76)
32+
[src/Provider.tsx:76](https://github.com/thirdweb-dev/react/blob/dd6e498/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/ebcd6e6/src/Provider.tsx#L81)
45+
[src/Provider.tsx:81](https://github.com/thirdweb-dev/react/blob/dd6e498/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/ebcd6e6/src/Provider.tsx#L87)
59+
[src/Provider.tsx:87](https://github.com/thirdweb-dev/react/blob/dd6e498/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/ebcd6e6/src/Provider.tsx#L61)
84+
[src/Provider.tsx:61](https://github.com/thirdweb-dev/react/blob/dd6e498/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/ebcd6e6/src/Provider.tsx#L94)
96+
[src/Provider.tsx:94](https://github.com/thirdweb-dev/react/blob/dd6e498/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/ebcd6e6/src/Provider.tsx#L66)
109+
[src/Provider.tsx:66](https://github.com/thirdweb-dev/react/blob/dd6e498/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/ebcd6e6/src/Provider.tsx#L71)
122+
[src/Provider.tsx:71](https://github.com/thirdweb-dev/react/blob/dd6e498/src/Provider.tsx#L71)

0 commit comments

Comments
 (0)