@reown/appkit-core 1.6.6-basic-test.1.0 → 1.6.6-basic-test.3.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.
- package/dist/esm/src/controllers/ConnectionController.js +0 -1
- package/dist/esm/src/controllers/ConnectionController.js.map +1 -1
- package/dist/esm/src/controllers/ConnectorController.js +6 -1
- package/dist/esm/src/controllers/ConnectorController.js.map +1 -1
- package/dist/esm/src/controllers/EventsController.js +3 -1
- package/dist/esm/src/controllers/EventsController.js.map +1 -1
- package/dist/esm/src/controllers/OnRampController.js +2 -2
- package/dist/esm/src/controllers/OnRampController.js.map +1 -1
- package/dist/esm/src/controllers/OptionsController.js +1 -5
- package/dist/esm/src/controllers/OptionsController.js.map +1 -1
- package/dist/esm/src/controllers/SendController.js +1 -1
- package/dist/esm/src/controllers/SendController.js.map +1 -1
- package/dist/esm/src/controllers/SwapController.js +1 -1
- package/dist/esm/src/controllers/SwapController.js.map +1 -1
- package/dist/esm/src/controllers/TransactionsController.js +1 -1
- package/dist/esm/src/controllers/TransactionsController.js.map +1 -1
- package/dist/esm/src/utils/ConstantsUtil.js +8 -0
- package/dist/esm/src/utils/ConstantsUtil.js.map +1 -1
- package/dist/esm/src/utils/CoreHelperUtil.js +4 -4
- package/dist/esm/src/utils/CoreHelperUtil.js.map +1 -1
- package/dist/esm/src/utils/SIWXUtil.js +1 -1
- package/dist/esm/src/utils/SIWXUtil.js.map +1 -1
- package/dist/esm/tsconfig.tsbuildinfo +1 -1
- package/dist/types/src/controllers/BlockchainApiController.d.ts +3 -20
- package/dist/types/src/controllers/ConnectionController.d.ts +1 -1
- package/dist/types/src/controllers/ConnectorController.d.ts +1 -0
- package/dist/types/src/controllers/OptionsController.d.ts +0 -6
- package/dist/types/src/utils/ConstantsUtil.d.ts +8 -0
- package/dist/types/src/utils/CoreHelperUtil.d.ts +2 -2
- package/dist/types/src/utils/TypeUtil.d.ts +56 -3
- package/package.json +4 -4
|
@@ -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 } 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, PaymentCurrency, PurchaseCurrency } from '../utils/TypeUtil.js';
|
|
4
4
|
export interface BlockchainApiControllerState {
|
|
5
5
|
clientId: string | null;
|
|
6
6
|
api: FetchUtil;
|
|
@@ -44,25 +44,8 @@ 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
|
-
|
|
48
|
-
|
|
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
|
-
}[];
|
|
47
|
+
paymentCurrencies: PaymentCurrency[];
|
|
48
|
+
purchaseCurrencies: PurchaseCurrency[];
|
|
66
49
|
}>;
|
|
67
50
|
getOnrampQuote({ purchaseCurrency, paymentCurrency, amount, network }: GetQuoteArgs): Promise<OnrampQuote | null>;
|
|
68
51
|
getSmartSessions(caipAddress: CaipAddress): Promise<unknown>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type CaipNetwork, type ChainNamespace } from '@reown/appkit-common';
|
|
2
|
-
import {
|
|
2
|
+
import type { W3mFrameTypes } from '@reown/appkit-wallet';
|
|
3
3
|
import type { Connector, EstimateGasTransactionArgs, SendTransactionArgs, WcWallet, WriteContractArgs } from '../utils/TypeUtil.js';
|
|
4
4
|
export interface ConnectExternalOptions {
|
|
5
5
|
id: Connector['id'];
|
|
@@ -10,6 +10,7 @@ export interface ConnectorControllerState {
|
|
|
10
10
|
}
|
|
11
11
|
export declare const ConnectorController: {
|
|
12
12
|
state: ConnectorControllerState;
|
|
13
|
+
subscribe(callback: (value: ConnectorControllerState) => void): () => void;
|
|
13
14
|
subscribeKey<K extends keyof ConnectorControllerState>(key: K, callback: (value: ConnectorControllerState[K]) => void): () => void;
|
|
14
15
|
setActiveConnector(connector: ConnectorControllerState['activeConnector']): void;
|
|
15
16
|
setConnectors(connectors: ConnectorControllerState['connectors']): void;
|
|
@@ -130,10 +130,6 @@ export interface OptionsControllerStatePublic {
|
|
|
130
130
|
* @default "{ bip122: 'payment', eip155: 'smartAccount', polkadot: 'eoa', solana: 'eoa' }"
|
|
131
131
|
*/
|
|
132
132
|
defaultAccountTypes: DefaultAccountTypes;
|
|
133
|
-
/**
|
|
134
|
-
* Define if using basic version or full version. Full version will include modal and other scaffolded components
|
|
135
|
-
*/
|
|
136
|
-
basic?: boolean;
|
|
137
133
|
}
|
|
138
134
|
export interface OptionsControllerStateInternal {
|
|
139
135
|
sdkType: 'appkit';
|
|
@@ -149,7 +145,6 @@ export declare const OptionsController: {
|
|
|
149
145
|
state: OptionsControllerStatePublic & OptionsControllerStateInternal;
|
|
150
146
|
subscribeKey<K extends StateKey>(key: K, callback: (value: OptionsControllerState[K]) => void): () => void;
|
|
151
147
|
setOptions(options: OptionsControllerState): void;
|
|
152
|
-
setBasic(basic: boolean): void;
|
|
153
148
|
setFeatures(features: OptionsControllerState['features'] | undefined): void;
|
|
154
149
|
setProjectId(projectId: OptionsControllerState['projectId']): void;
|
|
155
150
|
setAllWallets(allWallets: OptionsControllerState['allWallets']): void;
|
|
@@ -282,7 +277,6 @@ export declare const OptionsController: {
|
|
|
282
277
|
readonly bip122: "payment" | "ordinal" | "stx";
|
|
283
278
|
readonly polkadot: "eoa";
|
|
284
279
|
};
|
|
285
|
-
readonly basic?: boolean | undefined;
|
|
286
280
|
readonly sdkType: 'appkit';
|
|
287
281
|
readonly sdkVersion: SdkVersion;
|
|
288
282
|
readonly isSiweEnabled?: boolean | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Balance, ChainNamespace, SdkVersion } from '@reown/appkit-common';
|
|
2
2
|
import type { CaipAddress, CaipNetwork } from '@reown/appkit-common';
|
|
3
3
|
import type { AccountTypeMap, ChainAdapter, LinkingRecord, NamespaceTypeMap } from './TypeUtil.js';
|
|
4
4
|
type SDKFramework = 'html' | 'react' | 'vue';
|
|
@@ -46,7 +46,7 @@ export declare const CoreHelperUtil: {
|
|
|
46
46
|
};
|
|
47
47
|
isAddress(address: string, chain?: ChainNamespace): boolean;
|
|
48
48
|
uniqueBy<T>(arr: T[], key: keyof T): T[];
|
|
49
|
-
generateSdkVersion(adapters: ChainAdapter[], platform: SDKFramework, version: string):
|
|
49
|
+
generateSdkVersion(adapters: ChainAdapter[], platform: SDKFramework, version: string): SdkVersion;
|
|
50
50
|
createAccount<N extends ChainNamespace>(namespace: N, address: string, type: NamespaceTypeMap[N], publicKey?: string, path?: string): AccountTypeMap[N];
|
|
51
51
|
isCaipAddress(address?: unknown): address is `eip155:${string}:${string}` | `eip155:${number}:${string}` | `solana:${string}:${string}` | `solana:${number}:${string}` | `polkadot:${string}:${string}` | `polkadot:${number}:${string}` | `bip122:${string}:${string}` | `bip122:${number}:${string}`;
|
|
52
52
|
};
|
|
@@ -306,10 +306,8 @@ export type Tokens = Record<CaipNetworkId, Token>;
|
|
|
306
306
|
export type CustomWallet = Pick<WcWallet, 'id' | 'name' | 'homepage' | 'image_url' | 'mobile_link' | 'desktop_link' | 'webapp_link' | 'app_store' | 'play_store'>;
|
|
307
307
|
export type Event = {
|
|
308
308
|
type: 'track';
|
|
309
|
+
address?: string;
|
|
309
310
|
event: 'MODAL_CREATED';
|
|
310
|
-
} | {
|
|
311
|
-
type: 'track';
|
|
312
|
-
event: 'MODAL_LOADED';
|
|
313
311
|
} | {
|
|
314
312
|
type: 'track';
|
|
315
313
|
event: 'MODAL_OPEN';
|
|
@@ -318,15 +316,18 @@ export type Event = {
|
|
|
318
316
|
};
|
|
319
317
|
} | {
|
|
320
318
|
type: 'track';
|
|
319
|
+
address?: string;
|
|
321
320
|
event: 'MODAL_CLOSE';
|
|
322
321
|
properties: {
|
|
323
322
|
connected: boolean;
|
|
324
323
|
};
|
|
325
324
|
} | {
|
|
326
325
|
type: 'track';
|
|
326
|
+
address?: string;
|
|
327
327
|
event: 'CLICK_ALL_WALLETS';
|
|
328
328
|
} | {
|
|
329
329
|
type: 'track';
|
|
330
|
+
address?: string;
|
|
330
331
|
event: 'SELECT_WALLET';
|
|
331
332
|
properties: {
|
|
332
333
|
name: string;
|
|
@@ -334,6 +335,7 @@ export type Event = {
|
|
|
334
335
|
};
|
|
335
336
|
} | {
|
|
336
337
|
type: 'track';
|
|
338
|
+
address?: string;
|
|
337
339
|
event: 'CONNECT_SUCCESS';
|
|
338
340
|
properties: {
|
|
339
341
|
method: 'qrcode' | 'mobile' | 'browser' | 'email';
|
|
@@ -341,36 +343,44 @@ export type Event = {
|
|
|
341
343
|
};
|
|
342
344
|
} | {
|
|
343
345
|
type: 'track';
|
|
346
|
+
address?: string;
|
|
344
347
|
event: 'CONNECT_ERROR';
|
|
345
348
|
properties: {
|
|
346
349
|
message: string;
|
|
347
350
|
};
|
|
348
351
|
} | {
|
|
349
352
|
type: 'track';
|
|
353
|
+
address?: string;
|
|
350
354
|
event: 'DISCONNECT_SUCCESS';
|
|
351
355
|
} | {
|
|
352
356
|
type: 'track';
|
|
357
|
+
address?: string;
|
|
353
358
|
event: 'DISCONNECT_ERROR';
|
|
354
359
|
properties?: {
|
|
355
360
|
message: string;
|
|
356
361
|
};
|
|
357
362
|
} | {
|
|
358
363
|
type: 'track';
|
|
364
|
+
address?: string;
|
|
359
365
|
event: 'CLICK_WALLET_HELP';
|
|
360
366
|
} | {
|
|
361
367
|
type: 'track';
|
|
368
|
+
address?: string;
|
|
362
369
|
event: 'CLICK_NETWORK_HELP';
|
|
363
370
|
} | {
|
|
364
371
|
type: 'track';
|
|
372
|
+
address?: string;
|
|
365
373
|
event: 'CLICK_GET_WALLET';
|
|
366
374
|
} | {
|
|
367
375
|
type: 'track';
|
|
376
|
+
address?: string;
|
|
368
377
|
event: 'CLICK_TRANSACTIONS';
|
|
369
378
|
properties: {
|
|
370
379
|
isSmartAccount: boolean;
|
|
371
380
|
};
|
|
372
381
|
} | {
|
|
373
382
|
type: 'track';
|
|
383
|
+
address?: string;
|
|
374
384
|
event: 'ERROR_FETCH_TRANSACTIONS';
|
|
375
385
|
properties: {
|
|
376
386
|
address: string;
|
|
@@ -380,6 +390,7 @@ export type Event = {
|
|
|
380
390
|
};
|
|
381
391
|
} | {
|
|
382
392
|
type: 'track';
|
|
393
|
+
address?: string;
|
|
383
394
|
event: 'LOAD_MORE_TRANSACTIONS';
|
|
384
395
|
properties: {
|
|
385
396
|
address: string | undefined;
|
|
@@ -389,6 +400,7 @@ export type Event = {
|
|
|
389
400
|
};
|
|
390
401
|
} | {
|
|
391
402
|
type: 'track';
|
|
403
|
+
address?: string;
|
|
392
404
|
event: 'CLICK_SIGN_SIWX_MESSAGE';
|
|
393
405
|
properties: {
|
|
394
406
|
network: string;
|
|
@@ -396,6 +408,7 @@ export type Event = {
|
|
|
396
408
|
};
|
|
397
409
|
} | {
|
|
398
410
|
type: 'track';
|
|
411
|
+
address?: string;
|
|
399
412
|
event: 'CLICK_CANCEL_SIWX';
|
|
400
413
|
properties: {
|
|
401
414
|
network: string;
|
|
@@ -403,9 +416,11 @@ export type Event = {
|
|
|
403
416
|
};
|
|
404
417
|
} | {
|
|
405
418
|
type: 'track';
|
|
419
|
+
address?: string;
|
|
406
420
|
event: 'CLICK_NETWORKS';
|
|
407
421
|
} | {
|
|
408
422
|
type: 'track';
|
|
423
|
+
address?: string;
|
|
409
424
|
event: 'SIWX_AUTH_SUCCESS';
|
|
410
425
|
properties: {
|
|
411
426
|
network: string;
|
|
@@ -413,6 +428,7 @@ export type Event = {
|
|
|
413
428
|
};
|
|
414
429
|
} | {
|
|
415
430
|
type: 'track';
|
|
431
|
+
address?: string;
|
|
416
432
|
event: 'SIWX_AUTH_ERROR';
|
|
417
433
|
properties: {
|
|
418
434
|
network: string;
|
|
@@ -420,54 +436,68 @@ export type Event = {
|
|
|
420
436
|
};
|
|
421
437
|
} | {
|
|
422
438
|
type: 'track';
|
|
439
|
+
address?: string;
|
|
423
440
|
event: 'EMAIL_LOGIN_SELECTED';
|
|
424
441
|
} | {
|
|
425
442
|
type: 'track';
|
|
443
|
+
address?: string;
|
|
426
444
|
event: 'EMAIL_SUBMITTED';
|
|
427
445
|
} | {
|
|
428
446
|
type: 'track';
|
|
447
|
+
address?: string;
|
|
429
448
|
event: 'DEVICE_REGISTERED_FOR_EMAIL';
|
|
430
449
|
} | {
|
|
431
450
|
type: 'track';
|
|
451
|
+
address?: string;
|
|
432
452
|
event: 'EMAIL_VERIFICATION_CODE_SENT';
|
|
433
453
|
} | {
|
|
434
454
|
type: 'track';
|
|
455
|
+
address?: string;
|
|
435
456
|
event: 'EMAIL_VERIFICATION_CODE_PASS';
|
|
436
457
|
} | {
|
|
437
458
|
type: 'track';
|
|
459
|
+
address?: string;
|
|
438
460
|
event: 'EMAIL_VERIFICATION_CODE_FAIL';
|
|
439
461
|
properties: {
|
|
440
462
|
message: string;
|
|
441
463
|
};
|
|
442
464
|
} | {
|
|
443
465
|
type: 'track';
|
|
466
|
+
address?: string;
|
|
444
467
|
event: 'EMAIL_EDIT';
|
|
445
468
|
} | {
|
|
446
469
|
type: 'track';
|
|
470
|
+
address?: string;
|
|
447
471
|
event: 'EMAIL_UPGRADE_FROM_MODAL';
|
|
448
472
|
} | {
|
|
449
473
|
type: 'track';
|
|
474
|
+
address?: string;
|
|
450
475
|
event: 'SWITCH_NETWORK';
|
|
451
476
|
properties: {
|
|
452
477
|
network: string;
|
|
453
478
|
};
|
|
454
479
|
} | {
|
|
455
480
|
type: 'track';
|
|
481
|
+
address?: string;
|
|
456
482
|
event: 'CLICK_CONVERT';
|
|
457
483
|
} | {
|
|
458
484
|
type: 'track';
|
|
485
|
+
address?: string;
|
|
459
486
|
event: 'CLICK_SELECT_TOKEN_TO_SWAP';
|
|
460
487
|
} | {
|
|
461
488
|
type: 'track';
|
|
489
|
+
address?: string;
|
|
462
490
|
event: 'CLICK_SELECT_NETWORK_TO_SWAP';
|
|
463
491
|
} | {
|
|
464
492
|
type: 'track';
|
|
493
|
+
address?: string;
|
|
465
494
|
event: 'SELECT_BUY_CRYPTO';
|
|
466
495
|
properties: {
|
|
467
496
|
isSmartAccount: boolean;
|
|
468
497
|
};
|
|
469
498
|
} | {
|
|
470
499
|
type: 'track';
|
|
500
|
+
address?: string;
|
|
471
501
|
event: 'SELECT_BUY_PROVIDER';
|
|
472
502
|
properties: {
|
|
473
503
|
provider: OnRampProviderOption;
|
|
@@ -475,12 +505,14 @@ export type Event = {
|
|
|
475
505
|
};
|
|
476
506
|
} | {
|
|
477
507
|
type: 'track';
|
|
508
|
+
address?: string;
|
|
478
509
|
event: 'SELECT_WHAT_IS_A_BUY';
|
|
479
510
|
properties: {
|
|
480
511
|
isSmartAccount: boolean;
|
|
481
512
|
};
|
|
482
513
|
} | {
|
|
483
514
|
type: 'track';
|
|
515
|
+
address?: string;
|
|
484
516
|
event: 'SET_PREFERRED_ACCOUNT_TYPE';
|
|
485
517
|
properties: {
|
|
486
518
|
accountType: W3mFrameTypes.AccountType;
|
|
@@ -488,6 +520,7 @@ export type Event = {
|
|
|
488
520
|
};
|
|
489
521
|
} | {
|
|
490
522
|
type: 'track';
|
|
523
|
+
address?: string;
|
|
491
524
|
event: 'OPEN_SWAP';
|
|
492
525
|
properties: {
|
|
493
526
|
isSmartAccount: boolean;
|
|
@@ -495,6 +528,7 @@ export type Event = {
|
|
|
495
528
|
};
|
|
496
529
|
} | {
|
|
497
530
|
type: 'track';
|
|
531
|
+
address?: string;
|
|
498
532
|
event: 'INITIATE_SWAP';
|
|
499
533
|
properties: {
|
|
500
534
|
isSmartAccount: boolean;
|
|
@@ -506,6 +540,7 @@ export type Event = {
|
|
|
506
540
|
};
|
|
507
541
|
} | {
|
|
508
542
|
type: 'track';
|
|
543
|
+
address?: string;
|
|
509
544
|
event: 'SWAP_SUCCESS';
|
|
510
545
|
properties: {
|
|
511
546
|
isSmartAccount: boolean;
|
|
@@ -517,6 +552,7 @@ export type Event = {
|
|
|
517
552
|
};
|
|
518
553
|
} | {
|
|
519
554
|
type: 'track';
|
|
555
|
+
address?: string;
|
|
520
556
|
event: 'SWAP_ERROR';
|
|
521
557
|
properties: {
|
|
522
558
|
isSmartAccount: boolean;
|
|
@@ -529,6 +565,7 @@ export type Event = {
|
|
|
529
565
|
};
|
|
530
566
|
} | {
|
|
531
567
|
type: 'track';
|
|
568
|
+
address?: string;
|
|
532
569
|
event: 'SWAP_APPROVAL_ERROR';
|
|
533
570
|
properties: {
|
|
534
571
|
isSmartAccount: boolean;
|
|
@@ -541,42 +578,49 @@ export type Event = {
|
|
|
541
578
|
};
|
|
542
579
|
} | {
|
|
543
580
|
type: 'track';
|
|
581
|
+
address?: string;
|
|
544
582
|
event: 'SOCIAL_LOGIN_STARTED';
|
|
545
583
|
properties: {
|
|
546
584
|
provider: SocialProvider;
|
|
547
585
|
};
|
|
548
586
|
} | {
|
|
549
587
|
type: 'track';
|
|
588
|
+
address?: string;
|
|
550
589
|
event: 'SOCIAL_LOGIN_SUCCESS';
|
|
551
590
|
properties: {
|
|
552
591
|
provider: SocialProvider;
|
|
553
592
|
};
|
|
554
593
|
} | {
|
|
555
594
|
type: 'track';
|
|
595
|
+
address?: string;
|
|
556
596
|
event: 'SOCIAL_LOGIN_ERROR';
|
|
557
597
|
properties: {
|
|
558
598
|
provider: SocialProvider;
|
|
559
599
|
};
|
|
560
600
|
} | {
|
|
561
601
|
type: 'track';
|
|
602
|
+
address?: string;
|
|
562
603
|
event: 'SOCIAL_LOGIN_REQUEST_USER_DATA';
|
|
563
604
|
properties: {
|
|
564
605
|
provider: SocialProvider;
|
|
565
606
|
};
|
|
566
607
|
} | {
|
|
567
608
|
type: 'track';
|
|
609
|
+
address?: string;
|
|
568
610
|
event: 'SOCIAL_LOGIN_CANCELED';
|
|
569
611
|
properties: {
|
|
570
612
|
provider: SocialProvider;
|
|
571
613
|
};
|
|
572
614
|
} | {
|
|
573
615
|
type: 'track';
|
|
616
|
+
address?: string;
|
|
574
617
|
event: 'OPEN_ENS_FLOW';
|
|
575
618
|
properties: {
|
|
576
619
|
isSmartAccount: boolean;
|
|
577
620
|
};
|
|
578
621
|
} | {
|
|
579
622
|
type: 'track';
|
|
623
|
+
address?: string;
|
|
580
624
|
event: 'REGISTER_NAME_INITIATED';
|
|
581
625
|
properties: {
|
|
582
626
|
isSmartAccount: boolean;
|
|
@@ -584,6 +628,7 @@ export type Event = {
|
|
|
584
628
|
};
|
|
585
629
|
} | {
|
|
586
630
|
type: 'track';
|
|
631
|
+
address?: string;
|
|
587
632
|
event: 'REGISTER_NAME_SUCCESS';
|
|
588
633
|
properties: {
|
|
589
634
|
isSmartAccount: boolean;
|
|
@@ -591,6 +636,7 @@ export type Event = {
|
|
|
591
636
|
};
|
|
592
637
|
} | {
|
|
593
638
|
type: 'track';
|
|
639
|
+
address?: string;
|
|
594
640
|
event: 'REGISTER_NAME_ERROR';
|
|
595
641
|
properties: {
|
|
596
642
|
isSmartAccount: boolean;
|
|
@@ -599,6 +645,7 @@ export type Event = {
|
|
|
599
645
|
};
|
|
600
646
|
} | {
|
|
601
647
|
type: 'track';
|
|
648
|
+
address?: string;
|
|
602
649
|
event: 'OPEN_SEND';
|
|
603
650
|
properties: {
|
|
604
651
|
isSmartAccount: boolean;
|
|
@@ -606,6 +653,7 @@ export type Event = {
|
|
|
606
653
|
};
|
|
607
654
|
} | {
|
|
608
655
|
type: 'track';
|
|
656
|
+
address?: string;
|
|
609
657
|
event: 'SEND_INITIATED';
|
|
610
658
|
properties: {
|
|
611
659
|
isSmartAccount: boolean;
|
|
@@ -615,6 +663,7 @@ export type Event = {
|
|
|
615
663
|
};
|
|
616
664
|
} | {
|
|
617
665
|
type: 'track';
|
|
666
|
+
address?: string;
|
|
618
667
|
event: 'SEND_SUCCESS';
|
|
619
668
|
properties: {
|
|
620
669
|
isSmartAccount: boolean;
|
|
@@ -624,6 +673,7 @@ export type Event = {
|
|
|
624
673
|
};
|
|
625
674
|
} | {
|
|
626
675
|
type: 'track';
|
|
676
|
+
address?: string;
|
|
627
677
|
event: 'SEND_ERROR';
|
|
628
678
|
properties: {
|
|
629
679
|
isSmartAccount: boolean;
|
|
@@ -633,6 +683,7 @@ export type Event = {
|
|
|
633
683
|
};
|
|
634
684
|
} | {
|
|
635
685
|
type: 'track';
|
|
686
|
+
address?: string;
|
|
636
687
|
event: 'CONNECT_PROXY_ERROR';
|
|
637
688
|
properties: {
|
|
638
689
|
message: string;
|
|
@@ -642,6 +693,7 @@ export type Event = {
|
|
|
642
693
|
};
|
|
643
694
|
} | {
|
|
644
695
|
type: 'track';
|
|
696
|
+
address?: string;
|
|
645
697
|
event: 'SEARCH_WALLET';
|
|
646
698
|
properties: {
|
|
647
699
|
badge: string;
|
|
@@ -649,6 +701,7 @@ export type Event = {
|
|
|
649
701
|
};
|
|
650
702
|
} | {
|
|
651
703
|
type: 'track';
|
|
704
|
+
address?: string;
|
|
652
705
|
event: 'INITIALIZE';
|
|
653
706
|
properties: InitializeAppKitConfigs;
|
|
654
707
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reown/appkit-core",
|
|
3
|
-
"version": "1.6.6-basic-test.
|
|
3
|
+
"version": "1.6.6-basic-test.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/esm/exports/index.js",
|
|
6
6
|
"types": "./dist/types/exports/index.d.ts",
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@walletconnect/universal-provider": "2.
|
|
39
|
+
"@walletconnect/universal-provider": "2.18.0",
|
|
40
40
|
"valtio": "1.11.2",
|
|
41
41
|
"viem": "2.x",
|
|
42
|
-
"@reown/appkit-common": "1.6.6-basic-test.
|
|
43
|
-
"@reown/appkit-wallet": "1.6.6-basic-test.
|
|
42
|
+
"@reown/appkit-common": "1.6.6-basic-test.3.0",
|
|
43
|
+
"@reown/appkit-wallet": "1.6.6-basic-test.3.0"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {},
|
|
46
46
|
"devDependencies": {
|