Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
129 commits
Select commit Hold shift + click to select a range
cbd5ed3
[ReactCoreSDK] pass default key to the sdkprovider
Mar 1, 2023
00b63f9
Merge branch 'main' into ike/key
Jul 10, 2023
14ba813
[Storage] Pass apikey to ipfsuploader
Jul 10, 2023
d384eba
apikey
Jul 10, 2023
5588452
remove unusued api key
Jul 10, 2023
1045bf3
use apikey
Jul 10, 2023
302c87f
Merge branch 'main' into ike/key
Jul 10, 2023
3cb1141
default
Jul 11, 2023
c36cae7
key
Jul 11, 2023
8022ecb
comments
Jul 11, 2023
6417a89
pass apikey
Jul 11, 2023
c87a970
Merge branch 'main' into ike/key
jnsdls Jul 11, 2023
dadb9ff
sw api key
Jul 11, 2023
fbabc93
Merge branch 'ike/key' of github.com:thirdweb-dev/js into ike/key
Jul 11, 2023
479ad21
Remove new ThirdStorage() from ContractWrapper
MananTank Jul 11, 2023
4d4bfe3
feedback
Jul 11, 2023
8c6ebfd
Fix build
MananTank Jul 11, 2023
76b3a55
apikey -> thirdwebApiKey
Jul 11, 2023
3c9c2e0
thirdwebapikey
Jul 11, 2023
04c46ff
better way to fix user-wallet
MananTank Jul 11, 2023
dc35a96
Remove ThirdwebStorage() creation from transactions.ts
MananTank Jul 11, 2023
c03fca4
Merge branch 'ike/key' into mnn/storage-eliminate
MananTank Jul 11, 2023
bb5bb66
Fix build
MananTank Jul 11, 2023
b6d3f6d
revert useStorage change in useBalance
MananTank Jul 11, 2023
4947554
pass apikey to wallets/connectors
Jul 11, 2023
7238aea
Merge branch 'ike/key' of github.com:thirdweb-dev/js into ike/key
Jul 11, 2023
2431eb8
Merge branch 'main' into ike/key
joaquim-verges Jul 11, 2023
40c20be
fix build
joaquim-verges Jul 11, 2023
2313fc9
cleanup
joaquim-verges Jul 12, 2023
7b1a40c
redirect to /dashboard/settings
joaquim-verges Jul 12, 2023
1907783
lint
joaquim-verges Jul 12, 2023
dc07c1e
[SDK, React] mass rename thirdwebApiKey -> apiKey (#1323)
joaquim-verges Jul 12, 2023
4324340
improved warnings
MananTank Jul 12, 2023
12e89bc
Merge branch 'main' into ike/key
Jul 12, 2023
8025f6b
Merge branch 'ike/key' of github.com:thirdweb-dev/js into ike/key
Jul 12, 2023
e7d6178
use apiKey in wallets, unity bridge
MananTank Jul 12, 2023
7e7e8d9
Merge branch 'ike/key' of github.com:thirdweb-dev/js into ike/key
Jul 12, 2023
bf6f4f7
magicApiKey
MananTank Jul 12, 2023
b40ac05
Merge branch 'ike/key' of github.com:thirdweb-dev/js into ike/key
Jul 12, 2023
c1007ac
semi-change
Jul 12, 2023
75b0818
clientId / secretKey
Jul 13, 2023
f0ec47a
rename magicApiKey
Jul 13, 2023
b18ab28
clean
Jul 13, 2023
8d8c2fb
Merge branch 'main' into ike/key
Jul 13, 2023
b712899
Merge branch 'main' into ike/key
Jul 13, 2023
3b72171
Merge branch 'main' into ike/key
MananTank Jul 13, 2023
39afeef
headers correction
MananTank Jul 13, 2023
0a62630
Merge branch 'main' into ike/key
Jul 13, 2023
d7e587b
Merge branch 'ike/key' of github.com:thirdweb-dev/js into ike/key
Jul 13, 2023
ca4471e
Fix test
MananTank Jul 13, 2023
055f432
Enforce API Keys for certain commands (#1317)
Marfuen Jul 13, 2023
9532993
fix typo and update chains
Marfuen Jul 13, 2023
9bfa507
update url
Marfuen Jul 13, 2023
f2a4812
if both secret and client throw
Jul 13, 2023
8874b0a
Merge branch 'ike/key' of github.com:thirdweb-dev/js into ike/key
Jul 13, 2023
be9d9fc
fix rpc logic
joaquim-verges Jul 13, 2023
f2a1d66
Merge branch 'main' into ike/key
Jul 13, 2023
72b14a8
Merge branch 'ike/key' of github.com:thirdweb-dev/js into ike/key
Jul 13, 2023
d05eb86
only log if called login
Marfuen Jul 13, 2023
fd09536
gateway subdomains (#1321)
joaquim-verges Jul 13, 2023
6a35c52
Merge branch 'main' into ike/key
joaquim-verges Jul 13, 2023
9bd1de2
validate keys from -k
Marfuen Jul 13, 2023
f896088
update show logs
Marfuen Jul 13, 2023
4be8a81
Merge branch 'main' into ike/key
Marfuen Jul 13, 2023
535f73f
update chains
joaquim-verges Jul 13, 2023
cd9bba9
Merge branch 'ike/key' of github.com:thirdweb-dev/js into ike/key
Jul 14, 2023
a2a47c4
Merge branch 'main' into ike/key
Jul 14, 2023
b02653b
switch to staging gateway
joaquim-verges Jul 14, 2023
ff17ac1
remove 403 check
joaquim-verges Jul 14, 2023
35b6a94
implement RN storage
Jul 14, 2023
0f63f5d
Merge branch 'ike/key' of github.com:thirdweb-dev/js into ike/key
Jul 14, 2023
3485fe2
Merge branch 'main' into ike/key
Jul 14, 2023
6a40ee6
changeset
Jul 14, 2023
e9ce7db
fix RN crypto dependency from storage
Jul 14, 2023
4e79bb3
[Storage] Use new upload server for uploads (#1322)
adam-maj Jul 14, 2023
81d8779
Fix storage tests to use secretKey
Marfuen Jul 14, 2023
aad95e3
pass through api keys in smart wallet
joaquim-verges Jul 14, 2023
5d07f9d
Merge branch 'main' into ike/key
joaquim-verges Jul 14, 2023
fd9d9ba
uploader-rn
Jul 14, 2023
fffdfc6
merge
Jul 14, 2023
7751ace
fix sdk-init tests
Marfuen Jul 14, 2023
7b122a0
update cli to validate secret key using staging, CHANGE TO PROD BEFOR…
Marfuen Jul 14, 2023
b4ddcd1
fix typo in url
Marfuen Jul 14, 2023
8fde89e
updated upload server url to staging
farhanW3 Jul 14, 2023
95ae9cb
upload json
Jul 14, 2023
3e67d10
Merge branch 'main' into ike/key
Jul 14, 2023
282b3cc
Merge branch 'ike/key' of github.com:thirdweb-dev/js into ike/key
Jul 14, 2023
11d3fa6
Merge branch 'main' into ike/key
nachoiacovino Jul 14, 2023
c4a5517
update clientId
Jul 14, 2023
66721f4
Merge branch 'ike/key' of github.com:thirdweb-dev/js into ike/key
Jul 14, 2023
37e029a
Merge branch 'main' into ike/key
Jul 14, 2023
ec79eb7
Merge branch 'main' into ike/key
jnsdls Jul 15, 2023
5d28cc8
Fix too many requests error and add error handling
jnsdls Jul 15, 2023
693c377
amman file
jnsdls Jul 15, 2023
70c3437
Remove unnecessary console.warn statement
jnsdls Jul 15, 2023
8a72891
fix(urls): Throw error when using secretKey in browser context
jnsdls Jul 15, 2023
069482b
feat(chains): Add Toronet Testnet and Toronet chains
jnsdls Jul 15, 2023
a79a871
fix(storage): add isTwGatewayUrl function to check if resolvedUri is …
jnsdls Jul 15, 2023
4398a2e
skip publish e2e test for now
jnsdls Jul 15, 2023
2f50872
chore: Update package dependencies
jnsdls Jul 15, 2023
43a15d5
init prettier 3.0.0
jnsdls Jul 15, 2023
8f06932
Merge branch 'main' into ike/key
Jul 16, 2023
a741d93
Merge branch 'ike/key' of github.com:thirdweb-dev/js into ike/key
Jul 16, 2023
baa9505
[unity] pass supportedChains from C#
0xFirekeeper Jul 17, 2023
e3e5ef0
[RN] fix download, add polyfill for URL and use expo-app for bundleId
Jul 17, 2023
b2edd11
Merge branch 'main' into ike/key
Jul 17, 2023
ae59e8a
Merge branch 'ike/key' of github.com:thirdweb-dev/js into ike/key
Jul 17, 2023
205ff91
pass bundleId in bundler/paymaster/ipfs. point to prod.
Jul 17, 2023
fad061d
default to ipfscdn.io only
joaquim-verges Jul 17, 2023
c75fc57
[sdk, react-core] - Remove ThirdwebStorage creation from user-wallet …
MananTank Jul 17, 2023
b2e39c2
check if bundler/paymaster before injecting apikey
Jul 17, 2023
9d9f68c
merge
Jul 17, 2023
6131a72
pass headers to RPC
joaquim-verges Jul 17, 2023
ddc5646
safely JSON parse in getLastConnectedWalletInfo
MananTank Jul 17, 2023
9e2a4af
point to prod + add changesets
Jul 17, 2023
f2dcb79
Merge branch 'ike/key' of github.com:thirdweb-dev/js into ike/key
Jul 17, 2023
b6e6a69
fix changeset
jnsdls Jul 17, 2023
1147f72
more changeset changes
jnsdls Jul 17, 2023
aaebb6f
omit clientId/secret key from wallets, it will be fetched from the Th…
Jul 17, 2023
0dea54b
Merge branch 'ike/key' of github.com:thirdweb-dev/js into ike/key
Jul 17, 2023
3f71bae
Omit clientId type from smartWallet() options
MananTank Jul 17, 2023
1f08c15
Omit secretKey from smartWallet options too
MananTank Jul 17, 2023
eeeb62e
switch api key redirect
joaquim-verges Jul 17, 2023
20683f7
check apikey in sdk
Jul 17, 2023
edb62d2
Merge branch 'ike/key' of github.com:thirdweb-dev/js into ike/key
Jul 17, 2023
da640c3
Add option to show coinbase default modal
MananTank Jul 17, 2023
3b3f859
pass apikey error message from client vs sdk
Jul 17, 2023
0e65534
Merge branch 'ike/key' of github.com:thirdweb-dev/js into ike/key
Jul 17, 2023
b86eb14
fix(sdk): Fix condition to check if window is defined
jnsdls Jul 17, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
switch api key redirect
  • Loading branch information
joaquim-verges committed Jul 17, 2023
commit eeeb62ed991474982986770cd83d28f82a4a4fab
10 changes: 5 additions & 5 deletions packages/chains/chains/245022934.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ export default {
"symbol": "NEON",
"decimals": 18
},
"infoURL": "https://neon-labs.org",
"infoURL": "https://neonevm.org",
"shortName": "neonevm-mainnet",
"chainId": 245022934,
"networkId": 245022934,
"explorers": [
{
"name": "native",
"url": "https://mainnet.explorer.neon-labs.org",
"name": "neonscan",
"url": "https://neonscan.org",
"standard": "EIP3091"
},
{
"name": "neonscan",
"url": "https://mainnet.neonscan.org",
"name": "native",
"url": "https://neon.blockscout.com",
"standard": "EIP3091"
}
],
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/auth/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export async function createSession(cache: Cache) {
type: "text",
name: "apiSecretKey",
message: `Please enter your API secret key, you can find or create it on ${chalk.blue(
"https://thirdweb.com/dashboard/settings/api-keys",
"https://thirdweb.com/create-api-key",
)}`,
});

Expand Down
4 changes: 2 additions & 2 deletions packages/react-native/src/core/storage/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
export type IpfsDownloaderOptions = {
/**
* Optional clientId to associate with the IpfsDownloader - when used from the frontend.
* You can get a clientId here: https://thirdweb.com/dashboard/settings
* You can get a clientId here: https://thirdweb.com/create-api-key
*/
clientId?: string;
};
Expand All @@ -19,7 +19,7 @@ export type IpfsUploaderOptions = {
uploadWithGatewayUrl?: boolean;
/**
* Optional clientId to associate with the IpfsUploader.
* You can get an clientId here: https://thirdweb.com/dashboard/settings
* You can get an clientId here: https://thirdweb.com/create-api-key
*/
clientId?: string;
};
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/src/evm/common/verification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ export async function checkVerificationStatus(
* @param chainId
* @param explorerAPIUrl
* @param explorerAPIKey
* API get from https://thirdweb.com/dashboard/settings
* API get from https://thirdweb.com/create-api-key
* @param thirdwebApiKey
*/
export async function isVerifiedOnEtherscan(
Expand Down
1 change: 0 additions & 1 deletion packages/sdk/src/evm/core/classes/erc-721-claim-zora.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ export class Erc721ClaimableZora implements DetectableFeature {
);
}
const saleDetails = await this.getSaleDetails();
console.log(saleDetails);
const price = saleDetails.publicSalePrice;
const zoraFee = toWei("0.000777");
const totalPrice = BigNumber.from(price).add(zoraFee).mul(quantity);
Expand Down
2 changes: 1 addition & 1 deletion packages/storage/src/core/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import { IpfsUploader } from "./uploaders/ipfs-uploader";
* // Create a default storage class with a secret key when used in server-side applications
* const storage = new ThirdwebStorage({ secretKey: "your-secret-key" });
*
* You can get a clientId and secretKey from https://thirdweb.com/dashboard/settings/api-keys
* You can get a clientId and secretKey from https://thirdweb.com/create-api-key
*
* // Upload any file or JSON object
* const uri = await storage.upload(data);
Expand Down
4 changes: 2 additions & 2 deletions packages/storage/src/types/download.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ export interface IStorageDownloader {
export type IpfsDownloaderOptions = {
/**
* Optional secretKey to associate with the IpfsDownloader - when used from the backend.
* You can get an secretKey here: https://thirdweb.com/dashboard/settings
* You can get an secretKey here: https://thirdweb.com/create-api-key
*/
secretKey?: string;

/**
* Optional clientId to associate with the IpfsDownloader - when used from the frontend.
* You can get a clientId here: https://thirdweb.com/dashboard/settings
* You can get a clientId here: https://thirdweb.com/create-api-key
*/
clientId?: string;
};
Expand Down
4 changes: 2 additions & 2 deletions packages/storage/src/types/upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@ export type IpfsUploaderOptions = {
uploadWithGatewayUrl?: boolean;
/**
* Optional clientId to associate with the IpfsUploader.
* You can get an clientId here: https://thirdweb.com/dashboard/settings
* You can get an clientId here: https://thirdweb.com/create-api-key
*/
clientId?: string;
/**
* Optional secretKey to associate with the IpfsUploader - when used from the backend.
* You can get an secretKey here: https://thirdweb.com/dashboard/settings
* You can get an secretKey here: https://thirdweb.com/create-api-key
*/
secretKey?: string;
};
Expand Down