@reown/appkit-core 1.6.6-basic-test.4.0 → 1.6.6-basic-test.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import type { CaipAddress, CaipNetworkId } from '@reown/appkit-common';
2
2
  import { FetchUtil } from '../utils/FetchUtil.js';
3
- import type { BlockchainApiBalanceResponse, BlockchainApiGasPriceRequest, BlockchainApiGasPriceResponse, BlockchainApiGenerateApproveCalldataRequest, BlockchainApiGenerateApproveCalldataResponse, BlockchainApiGenerateSwapCalldataRequest, BlockchainApiGenerateSwapCalldataResponse, BlockchainApiIdentityRequest, BlockchainApiIdentityResponse, BlockchainApiLookupEnsName, BlockchainApiRegisterNameParams, BlockchainApiSuggestionResponse, BlockchainApiSwapAllowanceRequest, BlockchainApiSwapQuoteRequest, BlockchainApiSwapQuoteResponse, BlockchainApiSwapTokensRequest, BlockchainApiSwapTokensResponse, BlockchainApiTokenPriceRequest, BlockchainApiTokenPriceResponse, BlockchainApiTransactionsRequest, BlockchainApiTransactionsResponse, GenerateOnRampUrlArgs, GetQuoteArgs, OnrampQuote, PaymentCurrency, PurchaseCurrency } from '../utils/TypeUtil.js';
3
+ import type { BlockchainApiBalanceResponse, BlockchainApiGasPriceRequest, BlockchainApiGasPriceResponse, BlockchainApiGenerateApproveCalldataRequest, BlockchainApiGenerateApproveCalldataResponse, BlockchainApiGenerateSwapCalldataRequest, BlockchainApiGenerateSwapCalldataResponse, BlockchainApiIdentityRequest, BlockchainApiIdentityResponse, BlockchainApiLookupEnsName, BlockchainApiRegisterNameParams, BlockchainApiSuggestionResponse, BlockchainApiSwapAllowanceRequest, BlockchainApiSwapQuoteRequest, BlockchainApiSwapQuoteResponse, BlockchainApiSwapTokensRequest, BlockchainApiSwapTokensResponse, BlockchainApiTokenPriceRequest, BlockchainApiTokenPriceResponse, BlockchainApiTransactionsRequest, BlockchainApiTransactionsResponse, GenerateOnRampUrlArgs, GetQuoteArgs, OnrampQuote } from '../utils/TypeUtil.js';
4
4
  export interface BlockchainApiControllerState {
5
5
  clientId: string | null;
6
6
  api: FetchUtil;
@@ -44,8 +44,25 @@ export declare const BlockchainApiController: {
44
44
  registerEnsName({ coinType, address, message, signature }: BlockchainApiRegisterNameParams): Promise<unknown>;
45
45
  generateOnRampURL({ destinationWallets, partnerUserId, defaultNetwork, purchaseAmount, paymentAmount }: GenerateOnRampUrlArgs): Promise<string>;
46
46
  getOnrampOptions(): Promise<{
47
- paymentCurrencies: PaymentCurrency[];
48
- purchaseCurrencies: PurchaseCurrency[];
47
+ purchaseCurrencies: {
48
+ id: string;
49
+ name: string;
50
+ symbol: string;
51
+ networks: {
52
+ name: string;
53
+ display_name: string;
54
+ chain_id: string;
55
+ contract_address: string;
56
+ }[];
57
+ }[];
58
+ paymentCurrencies: {
59
+ id: string;
60
+ payment_method_limits: {
61
+ id: string;
62
+ min: string;
63
+ max: string;
64
+ }[];
65
+ }[];
49
66
  }>;
50
67
  getOnrampQuote({ purchaseCurrency, paymentCurrency, amount, network }: GetQuoteArgs): Promise<OnrampQuote | null>;
51
68
  getSmartSessions(caipAddress: CaipAddress): Promise<unknown>;
@@ -217,8 +217,8 @@ export declare const OptionsController: {
217
217
  };
218
218
  } | undefined;
219
219
  readonly customWallets?: readonly {
220
- readonly id: string;
221
220
  readonly name: string;
221
+ readonly id: string;
222
222
  readonly homepage?: string | undefined;
223
223
  readonly image_url?: string | undefined;
224
224
  readonly mobile_link?: string | null | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reown/appkit-core",
3
- "version": "1.6.6-basic-test.4.0",
3
+ "version": "1.6.6-basic-test.5.0",
4
4
  "type": "module",
5
5
  "main": "./dist/esm/exports/index.js",
6
6
  "types": "./dist/types/exports/index.d.ts",
@@ -8,7 +8,6 @@
8
8
  "dist",
9
9
  "!tsconfig.tsbuildinfo"
10
10
  ],
11
- "sideEffects": false,
12
11
  "exports": {
13
12
  ".": {
14
13
  "types": "./dist/types/exports/index.d.ts",
@@ -40,8 +39,8 @@
40
39
  "@walletconnect/universal-provider": "2.18.0",
41
40
  "valtio": "1.11.2",
42
41
  "viem": "2.x",
43
- "@reown/appkit-common": "1.6.6-basic-test.4.0",
44
- "@reown/appkit-wallet": "1.6.6-basic-test.4.0"
42
+ "@reown/appkit-common": "1.6.6-basic-test.5.0",
43
+ "@reown/appkit-wallet": "1.6.6-basic-test.5.0"
45
44
  },
46
45
  "peerDependencies": {},
47
46
  "devDependencies": {