Skip to content

Commit 4a5769b

Browse files
authored
Merge branch 'main' into seo-improvements
2 parents 15836f9 + 66b9bf3 commit 4a5769b

File tree

17 files changed

+95
-233
lines changed

17 files changed

+95
-233
lines changed

.changeset/brown-ends-strive.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/four-trams-fetch.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/great-flowers-boil.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/api/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# @thirdweb-dev/api
2+
3+
## 0.0.2
4+
5+
### Patch Changes
6+
7+
- [#7684](https://github.com/thirdweb-dev/js/pull/7684) [`b9154cc`](https://github.com/thirdweb-dev/js/commit/b9154cc9e78fab63a3b02aa3946901b24caa1b06) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Init api wrapper

packages/api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@thirdweb-dev/api",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/thirdweb-dev/js.git#main"

packages/nebula/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# @thirdweb-dev/nebula
22

3+
## 0.2.20
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`cf22c23`](https://github.com/thirdweb-dev/js/commit/cf22c23b45e86adbe50a2b7b40e7a283f5222941)]:
8+
9+
10+
## 0.2.19
11+
12+
### Patch Changes
13+
14+
- Updated dependencies [[`08955f1`](https://github.com/thirdweb-dev/js/commit/08955f1588c749104c12db51d974c7eebc258efd), [`7562952`](https://github.com/thirdweb-dev/js/commit/756295241a7168d4c62bdc146ffb3352859e58cf)]:
15+
16+
317
## 0.2.18
418

519
### Patch Changes

packages/nebula/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,5 @@
5757
"type": "module",
5858
"types": "./dist/types/exports/thirdweb.d.ts",
5959
"typings": "./dist/types/exports/thirdweb.d.ts",
60-
"version": "0.2.18"
60+
"version": "0.2.20"
6161
}

packages/thirdweb/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# thirdweb
22

3+
## 5.105.20
4+
5+
### Patch Changes
6+
7+
- [#7693](https://github.com/thirdweb-dev/js/pull/7693) [`cf22c23`](https://github.com/thirdweb-dev/js/commit/cf22c23b45e86adbe50a2b7b40e7a283f5222941) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Optimize 4337 signature performance
8+
9+
## 5.105.19
10+
11+
### Patch Changes
12+
13+
- [#7683](https://github.com/thirdweb-dev/js/pull/7683) [`08955f1`](https://github.com/thirdweb-dev/js/commit/08955f1588c749104c12db51d974c7eebc258efd) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Expose getAuthToken from inapp and ecosystem wallets
14+
15+
- [#7681](https://github.com/thirdweb-dev/js/pull/7681) [`7562952`](https://github.com/thirdweb-dev/js/commit/756295241a7168d4c62bdc146ffb3352859e58cf) Thanks [@gregfromstl](https://github.com/gregfromstl)! - Bridge.status: Adds optional transactionId parameter
16+
317
## 5.105.18
418

519
### Patch Changes

packages/thirdweb/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,5 +404,5 @@
404404
}
405405
},
406406
"typings": "./dist/types/exports/thirdweb.d.ts",
407-
"version": "5.105.18"
407+
"version": "5.105.20"
408408
}

packages/thirdweb/src/pay/buyWithCrypto/getQuote.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -300,14 +300,14 @@ export async function getBuyWithCryptoQuote(
300300
Number(
301301
Value.format(quote.originAmount, firstStep.originToken.decimals),
302302
) *
303-
(firstStep.originToken.prices["USD"] || 0) *
303+
(firstStep.originToken.prices.USD || 0) *
304304
100,
305305
amountWei: quote.originAmount.toString(),
306306
token: {
307307
chainId: firstStep.originToken.chainId,
308308
decimals: firstStep.originToken.decimals,
309309
name: firstStep.originToken.name,
310-
priceUSDCents: (firstStep.originToken.prices["USD"] || 0) * 100,
310+
priceUSDCents: (firstStep.originToken.prices.USD || 0) * 100,
311311
symbol: firstStep.originToken.symbol,
312312
tokenAddress: firstStep.originToken.address,
313313
},
@@ -323,7 +323,7 @@ export async function getBuyWithCryptoQuote(
323323
chainId: firstStep.originToken.chainId,
324324
decimals: firstStep.originToken.decimals,
325325
name: firstStep.originToken.name,
326-
priceUSDCents: (firstStep.originToken.prices["USD"] || 0) * 100,
326+
priceUSDCents: (firstStep.originToken.prices.USD || 0) * 100,
327327
symbol: firstStep.originToken.symbol,
328328
tokenAddress: firstStep.originToken.address,
329329
},
@@ -337,7 +337,7 @@ export async function getBuyWithCryptoQuote(
337337
Number(
338338
Value.format(quote.originAmount, firstStep.originToken.decimals),
339339
) *
340-
(firstStep.originToken.prices["USD"] || 0) *
340+
(firstStep.originToken.prices.USD || 0) *
341341
100,
342342
gasCostUSDCents: 0,
343343
slippageBPS: 0,
@@ -348,7 +348,7 @@ export async function getBuyWithCryptoQuote(
348348
firstStep.destinationToken.decimals,
349349
),
350350
) *
351-
(firstStep.destinationToken.prices["USD"] || 0) *
351+
(firstStep.destinationToken.prices.USD || 0) *
352352
100,
353353
toAmountUSDCents:
354354
Number(
@@ -357,7 +357,7 @@ export async function getBuyWithCryptoQuote(
357357
firstStep.destinationToken.decimals,
358358
),
359359
) *
360-
(firstStep.destinationToken.prices["USD"] || 0) *
360+
(firstStep.destinationToken.prices.USD || 0) *
361361
100,
362362
},
363363
fromAddress: quote.intent.sender,
@@ -372,7 +372,7 @@ export async function getBuyWithCryptoQuote(
372372
chainId: firstStep.originToken.chainId,
373373
decimals: firstStep.originToken.decimals,
374374
name: firstStep.originToken.name,
375-
priceUSDCents: (firstStep.originToken.prices["USD"] || 0) * 100,
375+
priceUSDCents: (firstStep.originToken.prices.USD || 0) * 100,
376376
symbol: firstStep.originToken.symbol,
377377
tokenAddress: firstStep.originToken.address,
378378
},
@@ -395,7 +395,7 @@ export async function getBuyWithCryptoQuote(
395395
chainId: firstStep.destinationToken.chainId,
396396
decimals: firstStep.destinationToken.decimals,
397397
name: firstStep.destinationToken.name,
398-
priceUSDCents: (firstStep.destinationToken.prices["USD"] || 0) * 100,
398+
priceUSDCents: (firstStep.destinationToken.prices.USD || 0) * 100,
399399
symbol: firstStep.destinationToken.symbol,
400400
tokenAddress: firstStep.destinationToken.address,
401401
},

0 commit comments

Comments
 (0)