@reown/appkit-wallet 1.0.6 → 1.1.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.
@@ -79,6 +79,7 @@ export declare const W3mFrameConstants: {
79
79
  readonly FRAME_INIT_SMART_ACCOUNT_ERROR: "@w3m-frame/INIT_SMART_ACCOUNT_ERROR";
80
80
  readonly FRAME_SET_PREFERRED_ACCOUNT_SUCCESS: "@w3m-frame/SET_PREFERRED_ACCOUNT_SUCCESS";
81
81
  readonly FRAME_SET_PREFERRED_ACCOUNT_ERROR: "@w3m-frame/SET_PREFERRED_ACCOUNT_ERROR";
82
+ readonly FRAME_READY: "@w3m-frame/READY";
82
83
  readonly RPC_RESPONSE_TYPE_ERROR: "RPC_RESPONSE_ERROR";
83
84
  readonly RPC_RESPONSE_TYPE_TX: "RPC_RESPONSE_TRANSACTION_HASH";
84
85
  readonly RPC_RESPONSE_TYPE_OBJECT: "RPC_RESPONSE_OBJECT";
@@ -338,6 +338,13 @@ export declare const FrameInitSmartAccountResponse: z.ZodObject<{
338
338
  address: string;
339
339
  isDeployed: boolean;
340
340
  }>;
341
+ export declare const FrameReadyResponse: z.ZodObject<{
342
+ version: z.ZodOptional<z.ZodString>;
343
+ }, "strip", z.ZodTypeAny, {
344
+ version?: string | undefined;
345
+ }, {
346
+ version?: string | undefined;
347
+ }>;
341
348
  export declare const FrameSetPreferredAccountResponse: z.ZodObject<{
342
349
  type: z.ZodString;
343
350
  address: z.ZodString;
@@ -2206,7 +2213,7 @@ export declare const W3mFrameSchema: {
2206
2213
  };
2207
2214
  id?: string | undefined;
2208
2215
  }>]>;
2209
- frameEvent: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2216
+ frameEvent: z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2210
2217
  id: z.ZodOptional<z.ZodString>;
2211
2218
  type: z.ZodLiteral<"@w3m-frame/SWITCH_NETWORK_ERROR">;
2212
2219
  payload: z.ZodObject<{
@@ -3134,6 +3141,28 @@ export declare const W3mFrameSchema: {
3134
3141
  message: string;
3135
3142
  };
3136
3143
  id?: string | undefined;
3144
+ }>]>, z.ZodObject<{
3145
+ id: z.ZodOptional<z.ZodString>;
3146
+ type: z.ZodLiteral<"@w3m-frame/READY">;
3147
+ payload: z.ZodObject<{
3148
+ version: z.ZodOptional<z.ZodString>;
3149
+ }, "strip", z.ZodTypeAny, {
3150
+ version?: string | undefined;
3151
+ }, {
3152
+ version?: string | undefined;
3153
+ }>;
3154
+ }, "strip", z.ZodTypeAny, {
3155
+ type: "@w3m-frame/READY";
3156
+ payload: {
3157
+ version?: string | undefined;
3158
+ };
3159
+ id?: string | undefined;
3160
+ }, {
3161
+ type: "@w3m-frame/READY";
3162
+ payload: {
3163
+ version?: string | undefined;
3164
+ };
3165
+ id?: string | undefined;
3137
3166
  }>]>;
3138
3167
  };
3139
3168
  export {};
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { W3mFrameSchema, AppConnectEmailRequest, AppConnectOtpRequest, AppSwitchNetworkRequest, FrameConnectEmailResponse, FrameGetChainIdResponse, FrameGetUserResponse, FrameIsConnectedResponse, RpcPersonalSignRequest, RpcResponse, RpcEthSendTransactionRequest, RpcEthSignTypedDataV4, RpcEthAccountsRequest, RpcEthEstimateGas, RpcEthGasPrice, RpcEthBlockNumber, RpcEthGetTransactionByHash, RpcEthGetBlockByNumber, RpcEthCall, RpcEthFeeHistory, RpcEthGetAccount, RpcEthGetBalance, RpcEthGetBlockyByHash, RpcUnistallFilter, RpcEthSyncing, RpcEthSendRawTransaction, RpcEthNewPendingTransactionFilter, RpcEthNewFilter, RpcEthNewBlockFilter, RpcEthMaxPriorityFeePerGas, RpcEthGetUncleCountByBlockNumber, RpcEthGetUncleCountByBlockHash, RpcEthGetTransactionReceipt, RpcEthGetTransactionCount, RpcEthGetTransactionByBlockNumberAndIndex, RpcEthGetTransactionByBlockHashAndIndex, RpcEthGetStorageAt, RpcEthGetProof, RpcEthGetLogs, RpcEthGetFilterLogs, RpcEthGetFilter, RpcEthGetCode, RcpEthGetBlockTransactionCountByNumber, RcpEthGetBlockTransactionCountByHash, RpcEthGetBlockReceipts, WalletSendCallsRequest, WalletGetCallsReceiptRequest, FrameSession, AppGetUserRequest, AppUpdateEmailRequest, FrameUpdateEmailSecondaryOtpResponse, AppUpdateEmailPrimaryOtpRequest, AppUpdateEmailSecondaryOtpRequest, AppSyncThemeRequest, RpcEthChainId, FrameSwitchNetworkResponse, AppSyncDappDataRequest, FrameGetSmartAccountEnabledNetworksResponse, FrameUpdateEmailResponse, AppGetSocialRedirectUriRequest, FrameGetSocialRedirectUriResponse, FrameConnectSocialResponse, FrameConnectFarcasterResponse, FrameGetFarcasterUriResponse, AppConnectSocialRequest, AppSetPreferredAccountRequest, FrameSetPreferredAccountResponse, WalletGetCapabilitiesRequest, WalletGrantPermissionsRequest, RpcSolanaSignMessageRequest, RpcSolanaSignTransactionRequest, RpcSolanaSignAndSendTransactionRequest, RpcSolanaSignAllTransactionsRequest } from './W3mFrameSchema.js';
2
+ import { W3mFrameSchema, AppConnectEmailRequest, AppConnectOtpRequest, AppSwitchNetworkRequest, FrameConnectEmailResponse, FrameGetChainIdResponse, FrameGetUserResponse, FrameIsConnectedResponse, RpcPersonalSignRequest, RpcResponse, RpcEthSendTransactionRequest, RpcEthSignTypedDataV4, RpcEthAccountsRequest, RpcEthEstimateGas, RpcEthGasPrice, RpcEthBlockNumber, RpcEthGetTransactionByHash, RpcEthGetBlockByNumber, RpcEthCall, RpcEthFeeHistory, RpcEthGetAccount, RpcEthGetBalance, RpcEthGetBlockyByHash, RpcUnistallFilter, RpcEthSyncing, RpcEthSendRawTransaction, RpcEthNewPendingTransactionFilter, RpcEthNewFilter, RpcEthNewBlockFilter, RpcEthMaxPriorityFeePerGas, RpcEthGetUncleCountByBlockNumber, RpcEthGetUncleCountByBlockHash, RpcEthGetTransactionReceipt, RpcEthGetTransactionCount, RpcEthGetTransactionByBlockNumberAndIndex, RpcEthGetTransactionByBlockHashAndIndex, RpcEthGetStorageAt, RpcEthGetProof, RpcEthGetLogs, RpcEthGetFilterLogs, RpcEthGetFilter, RpcEthGetCode, RcpEthGetBlockTransactionCountByNumber, RcpEthGetBlockTransactionCountByHash, RpcEthGetBlockReceipts, WalletSendCallsRequest, WalletGetCallsReceiptRequest, FrameSession, AppGetUserRequest, AppUpdateEmailRequest, FrameUpdateEmailSecondaryOtpResponse, AppUpdateEmailPrimaryOtpRequest, AppUpdateEmailSecondaryOtpRequest, AppSyncThemeRequest, RpcEthChainId, FrameSwitchNetworkResponse, AppSyncDappDataRequest, FrameGetSmartAccountEnabledNetworksResponse, FrameUpdateEmailResponse, AppGetSocialRedirectUriRequest, FrameGetSocialRedirectUriResponse, FrameConnectSocialResponse, FrameConnectFarcasterResponse, FrameGetFarcasterUriResponse, AppConnectSocialRequest, AppSetPreferredAccountRequest, FrameSetPreferredAccountResponse, WalletGetCapabilitiesRequest, WalletGrantPermissionsRequest, RpcSolanaSignMessageRequest, RpcSolanaSignTransactionRequest, RpcSolanaSignAndSendTransactionRequest, RpcSolanaSignAllTransactionsRequest, FrameReadyResponse } from './W3mFrameSchema.js';
3
3
  import type { W3mFrameRpcConstants } from './W3mFrameConstants.js';
4
4
  import type { CaipNetworkId } from '@reown/appkit-common';
5
5
  export declare namespace W3mFrameTypes {
@@ -48,6 +48,7 @@ export declare namespace W3mFrameTypes {
48
48
  FrameSetPreferredAccountResponse: z.infer<typeof FrameSetPreferredAccountResponse>;
49
49
  FrameSignOutResponse: undefined;
50
50
  FrameRpcResponse: RPCResponse;
51
+ FrameReadyResponse: z.infer<typeof FrameReadyResponse>;
51
52
  }
52
53
  interface Network {
53
54
  rpcUrl: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reown/appkit-wallet",
3
- "version": "1.0.6",
3
+ "version": "1.1.0",
4
4
  "type": "module",
5
5
  "main": "./dist/esm/index.js",
6
6
  "types": "./dist/types/index.d.ts",
@@ -11,18 +11,18 @@
11
11
  "dependencies": {
12
12
  "@walletconnect/logger": "2.1.2",
13
13
  "zod": "3.22.4",
14
- "@reown/appkit-common": "1.0.6",
15
- "@reown/appkit-polyfills": "1.0.6"
14
+ "@reown/appkit-common": "1.1.0",
15
+ "@reown/appkit-polyfills": "1.1.0"
16
16
  },
17
17
  "author": "Reown <support@reown.com> (https://reown.com)",
18
18
  "license": "Apache-2.0",
19
- "homepage": "https://github.com/WalletConnect/web3modal",
19
+ "homepage": "https://github.com/reown-com/appkit",
20
20
  "repository": {
21
21
  "type": "git",
22
- "url": "git+https://github.com/WalletConnect/web3modal.git"
22
+ "url": "git+https://github.com/reown-com/appkit.git"
23
23
  },
24
24
  "bugs": {
25
- "url": "https://github.com/WalletConnect/web3modal/issues"
25
+ "url": "https://github.com/reown-com/appkit/issues"
26
26
  },
27
27
  "devDependencies": {
28
28
  "jsdom": "24.1.0",