@reown/appkit-cdn 1.6.6-rc.2.0 → 1.6.6
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/{appkit-C1cUGn2-.js → appkit-CaFYBD29.js} +27 -18
- package/dist/{appkit-C1cUGn2-.js.map → appkit-CaFYBD29.js.map} +1 -1
- package/dist/appkit.js +1 -1
- package/dist/{browser-BZRtEQer.js → browser-BDia6sxB.js} +2 -2
- package/dist/{browser-BZRtEQer.js.map → browser-BDia6sxB.js.map} +1 -1
- package/dist/{ccip-48Yy9T3z.js → ccip-DSdlNwZF.js} +2 -2
- package/dist/{ccip-48Yy9T3z.js.map → ccip-DSdlNwZF.js.map} +1 -1
- package/dist/{index-CV11zWUR.js → index-B5ZZGK9F.js} +3 -3
- package/dist/{index-CV11zWUR.js.map → index-B5ZZGK9F.js.map} +1 -1
- package/dist/{index-B4EiVug1.js → index-B7h5RvPW.js} +3 -3
- package/dist/{index-B4EiVug1.js.map → index-B7h5RvPW.js.map} +1 -1
- package/dist/{index-wp3kW27f.js → index-BGEDDK2b.js} +3 -3
- package/dist/{index-wp3kW27f.js.map → index-BGEDDK2b.js.map} +1 -1
- package/dist/{index-BWqvsYuf.js → index-BHSnQEbV.js} +3 -3
- package/dist/{index-BWqvsYuf.js.map → index-BHSnQEbV.js.map} +1 -1
- package/dist/{index-BnHPe5ln.js → index-BUbtJm9g.js} +3 -3
- package/dist/{index-BnHPe5ln.js.map → index-BUbtJm9g.js.map} +1 -1
- package/dist/{index-BOhMaTph.js → index-BYcglFaP.js} +2 -2
- package/dist/{index-BOhMaTph.js.map → index-BYcglFaP.js.map} +1 -1
- package/dist/{index-DoLsF58z.js → index-C7h3Whae.js} +3 -3
- package/dist/{index-DoLsF58z.js.map → index-C7h3Whae.js.map} +1 -1
- package/dist/{index-Cz8EA-z1.js → index-CFIMtFcl.js} +2 -2
- package/dist/{index-Cz8EA-z1.js.map → index-CFIMtFcl.js.map} +1 -1
- package/dist/{index-Bm-dttm-.js → index-CM2SDseq.js} +5 -5
- package/dist/{index-Bm-dttm-.js.map → index-CM2SDseq.js.map} +1 -1
- package/dist/{index.es-Ctm9x94H.js → index.es-dsJTCgQf.js} +3 -3
- package/dist/{index.es-Ctm9x94H.js.map → index.es-dsJTCgQf.js.map} +1 -1
- package/dist/{metamask-sdk-Y4Q885EF.js → metamask-sdk-G8BsuP8X.js} +3 -3
- package/dist/{metamask-sdk-Y4Q885EF.js.map → metamask-sdk-G8BsuP8X.js.map} +1 -1
- package/dist/{native-CVrH86Lm.js → native-Drvz6QBg.js} +2 -2
- package/dist/{native-CVrH86Lm.js.map → native-Drvz6QBg.js.map} +1 -1
- package/dist/{secp256k1-CfecTEk6.js → secp256k1-BBR6USf5.js} +2 -2
- package/dist/{secp256k1-CfecTEk6.js.map → secp256k1-BBR6USf5.js.map} +1 -1
- package/dist/{w3m-modal-Dhn3Z94t.js → w3m-modal-B_ZT2Mh1.js} +2 -2
- package/dist/{w3m-modal-Dhn3Z94t.js.map → w3m-modal-B_ZT2Mh1.js.map} +1 -1
- package/package.json +7 -7
|
@@ -5225,7 +5225,8 @@ const W3mFrameRpcConstants = {
|
|
|
5225
5225
|
"eth_getUserOperationReceipt",
|
|
5226
5226
|
"eth_estimateUserOperationGas",
|
|
5227
5227
|
"eth_getUserOperationByHash",
|
|
5228
|
-
"eth_supportedEntryPoints"
|
|
5228
|
+
"eth_supportedEntryPoints",
|
|
5229
|
+
"wallet_getAssets"
|
|
5229
5230
|
],
|
|
5230
5231
|
NOT_SAFE_RPC_METHODS: [
|
|
5231
5232
|
"personal_sign",
|
|
@@ -9364,6 +9365,10 @@ const WalletRevokePermissionsRequest = z$6.object({
|
|
|
9364
9365
|
method: z$6.literal("wallet_revokePermissions"),
|
|
9365
9366
|
params: z$6.any()
|
|
9366
9367
|
});
|
|
9368
|
+
const WalletGetAssetsRequest = z$6.object({
|
|
9369
|
+
method: z$6.literal("wallet_getAssets"),
|
|
9370
|
+
params: z$6.array(z$6.any())
|
|
9371
|
+
});
|
|
9367
9372
|
const FrameSession = z$6.object({
|
|
9368
9373
|
token: z$6.string()
|
|
9369
9374
|
});
|
|
@@ -9394,7 +9399,7 @@ const W3mFrameSchema = {
|
|
|
9394
9399
|
payload: AppSetPreferredAccountRequest
|
|
9395
9400
|
})).or(EventSchema.extend({
|
|
9396
9401
|
type: zType("APP_RPC_REQUEST"),
|
|
9397
|
-
payload: RpcPersonalSignRequest.or(
|
|
9402
|
+
payload: RpcPersonalSignRequest.or(WalletGetAssetsRequest).or(RpcEthAccountsRequest).or(RpcEthBlockNumber).or(RpcEthCall).or(RpcEthChainId).or(RpcEthEstimateGas).or(RpcEthFeeHistory).or(RpcEthGasPrice).or(RpcEthGetAccount).or(RpcEthGetBalance).or(RpcEthGetBlockyByHash).or(RpcEthGetBlockByNumber).or(RpcEthGetBlockReceipts).or(RcpEthGetBlockTransactionCountByHash).or(RcpEthGetBlockTransactionCountByNumber).or(RpcEthGetCode).or(RpcEthGetFilter).or(RpcEthGetFilterLogs).or(RpcEthGetLogs).or(RpcEthGetProof).or(RpcEthGetStorageAt).or(RpcEthGetTransactionByBlockHashAndIndex).or(RpcEthGetTransactionByBlockNumberAndIndex).or(RpcEthGetTransactionByHash).or(RpcEthGetTransactionCount).or(RpcEthGetTransactionReceipt).or(RpcEthGetUncleCountByBlockHash).or(RpcEthGetUncleCountByBlockNumber).or(RpcEthMaxPriorityFeePerGas).or(RpcEthNewBlockFilter).or(RpcEthNewFilter).or(RpcEthNewPendingTransactionFilter).or(RpcEthSendRawTransaction).or(RpcEthSyncing).or(RpcUnistallFilter).or(RpcPersonalSignRequest).or(RpcEthSignTypedDataV4).or(RpcEthSendTransactionRequest).or(RpcSolanaSignMessageRequest).or(RpcSolanaSignTransactionRequest).or(RpcSolanaSignAllTransactionsRequest).or(RpcSolanaSignAndSendTransactionRequest).or(WalletGetCallsReceiptRequest).or(WalletSendCallsRequest).or(WalletGetCapabilitiesRequest).or(WalletGrantPermissionsRequest).or(WalletRevokePermissionsRequest)
|
|
9398
9403
|
})).or(EventSchema.extend({ type: zType("APP_UPDATE_EMAIL"), payload: AppUpdateEmailRequest })).or(EventSchema.extend({
|
|
9399
9404
|
type: zType("APP_UPDATE_EMAIL_PRIMARY_OTP"),
|
|
9400
9405
|
payload: AppUpdateEmailPrimaryOtpRequest
|
|
@@ -70240,7 +70245,7 @@ function publicKeyToAddress$1(publicKey2) {
|
|
|
70240
70245
|
}
|
|
70241
70246
|
async function recoverPublicKey$1({ hash: hash3, signature: signature2 }) {
|
|
70242
70247
|
const hashHex = isHex$1(hash3) ? hash3 : toHex$1(hash3);
|
|
70243
|
-
const { secp256k1: secp256k12 } = await import("./secp256k1-
|
|
70248
|
+
const { secp256k1: secp256k12 } = await import("./secp256k1-BBR6USf5.js");
|
|
70244
70249
|
const signature_ = (() => {
|
|
70245
70250
|
if (typeof signature2 === "object" && "r" in signature2 && "s" in signature2) {
|
|
70246
70251
|
const { r: r4, s: s2, v: v6, yParity } = signature2;
|
|
@@ -72266,7 +72271,7 @@ async function call$2(client, args) {
|
|
|
72266
72271
|
return { data: response };
|
|
72267
72272
|
} catch (err) {
|
|
72268
72273
|
const data3 = getRevertErrorData$1(err);
|
|
72269
|
-
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-
|
|
72274
|
+
const { offchainLookup: offchainLookup2, offchainLookupSignature: offchainLookupSignature2 } = await import("./ccip-DSdlNwZF.js");
|
|
72270
72275
|
if (client.ccipRead !== false && (data3 == null ? void 0 : data3.slice(0, 10)) === offchainLookupSignature2 && to2)
|
|
72271
72276
|
return { data: await offchainLookup2(client, { data: data3, to: to2 }) };
|
|
72272
72277
|
if (deploylessCall && (data3 == null ? void 0 : data3.slice(0, 10)) === "0x101bb98d")
|
|
@@ -85416,7 +85421,9 @@ const WcHelpersUtil = {
|
|
|
85416
85421
|
"wallet_getCallsStatus",
|
|
85417
85422
|
"wallet_grantPermissions",
|
|
85418
85423
|
"wallet_revokePermissions",
|
|
85419
|
-
"wallet_switchEthereumChain"
|
|
85424
|
+
"wallet_switchEthereumChain",
|
|
85425
|
+
//EIP-7811
|
|
85426
|
+
"wallet_getAssets"
|
|
85420
85427
|
];
|
|
85421
85428
|
case "bip122":
|
|
85422
85429
|
return ["sendTransfer", "signMessage", "signPsbt", "getAccountAddresses"];
|
|
@@ -85535,7 +85542,9 @@ const OPTIONAL_METHODS = [
|
|
|
85535
85542
|
"wallet_getCapabilities",
|
|
85536
85543
|
// EIP-7715
|
|
85537
85544
|
"wallet_grantPermissions",
|
|
85538
|
-
"wallet_revokePermissions"
|
|
85545
|
+
"wallet_revokePermissions",
|
|
85546
|
+
//EIP-7811
|
|
85547
|
+
"wallet_getAssets"
|
|
85539
85548
|
];
|
|
85540
85549
|
class AdapterBlueprint {
|
|
85541
85550
|
/**
|
|
@@ -87358,8 +87367,8 @@ class AppKit {
|
|
|
87358
87367
|
isInitialized = true;
|
|
87359
87368
|
this.initPromise = new Promise(async (resolve) => {
|
|
87360
87369
|
await Promise.all([
|
|
87361
|
-
import("./index-
|
|
87362
|
-
import("./w3m-modal-
|
|
87370
|
+
import("./index-BGEDDK2b.js"),
|
|
87371
|
+
import("./w3m-modal-B_ZT2Mh1.js")
|
|
87363
87372
|
]);
|
|
87364
87373
|
const modal = document.createElement("w3m-modal");
|
|
87365
87374
|
if (!OptionsController.state.disableAppend && !OptionsController.state.enableEmbedded) {
|
|
@@ -87371,7 +87380,7 @@ class AppKit {
|
|
|
87371
87380
|
return this.initPromise;
|
|
87372
87381
|
}
|
|
87373
87382
|
}
|
|
87374
|
-
const PACKAGE_VERSION = "1.6.6
|
|
87383
|
+
const PACKAGE_VERSION = "1.6.6";
|
|
87375
87384
|
var __decorate$1J = function(decorators, target, key2, desc) {
|
|
87376
87385
|
var c2 = arguments.length, r4 = c2 < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key2) : desc, d4;
|
|
87377
87386
|
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r4 = Reflect.decorate(decorators, target, key2, desc);
|
|
@@ -119167,7 +119176,7 @@ class WagmiAdapter extends AdapterBlueprint {
|
|
|
119167
119176
|
const thirdPartyConnectors = [];
|
|
119168
119177
|
if (options.enableCoinbase !== false) {
|
|
119169
119178
|
try {
|
|
119170
|
-
const { coinbaseWallet: coinbaseWallet2 } = await import("./index-
|
|
119179
|
+
const { coinbaseWallet: coinbaseWallet2 } = await import("./index-CM2SDseq.js");
|
|
119171
119180
|
if (coinbaseWallet2) {
|
|
119172
119181
|
thirdPartyConnectors.push(coinbaseWallet2({
|
|
119173
119182
|
version: "4",
|
|
@@ -128692,7 +128701,7 @@ async function getWebSocketRpcClient(url, options = {}) {
|
|
|
128692
128701
|
const { keepAlive, reconnect: reconnect2 } = options;
|
|
128693
128702
|
return getSocketRpcClient({
|
|
128694
128703
|
async getSocket({ onClose, onError, onOpen, onResponse }) {
|
|
128695
|
-
const WebSocket2 = await import("./native-
|
|
128704
|
+
const WebSocket2 = await import("./native-Drvz6QBg.js").then((module) => module.WebSocket);
|
|
128696
128705
|
const socket = new WebSocket2(url);
|
|
128697
128706
|
function onClose_() {
|
|
128698
128707
|
onClose();
|
|
@@ -135317,7 +135326,7 @@ function version4(parameters) {
|
|
|
135317
135326
|
options: ((_a3 = parameters.preference) == null ? void 0 : _a3.options) ?? "all"
|
|
135318
135327
|
};
|
|
135319
135328
|
})();
|
|
135320
|
-
const { createCoinbaseWalletSDK } = await import("./index-
|
|
135329
|
+
const { createCoinbaseWalletSDK } = await import("./index-BYcglFaP.js");
|
|
135321
135330
|
const sdk = createCoinbaseWalletSDK({
|
|
135322
135331
|
...parameters,
|
|
135323
135332
|
appChainIds: config2.chains.map((x3) => x3.id),
|
|
@@ -135489,7 +135498,7 @@ function version3(parameters) {
|
|
|
135489
135498
|
var _a3;
|
|
135490
135499
|
if (!walletProvider) {
|
|
135491
135500
|
const CoinbaseWalletSDK = await (async () => {
|
|
135492
|
-
const { default: SDK } = await import("./index-
|
|
135501
|
+
const { default: SDK } = await import("./index-B7h5RvPW.js").then((n6) => n6.i);
|
|
135493
135502
|
if (typeof SDK !== "function" && typeof SDK.default === "function")
|
|
135494
135503
|
return SDK.default;
|
|
135495
135504
|
return SDK;
|
|
@@ -135726,7 +135735,7 @@ function metaMask(parameters = {}) {
|
|
|
135726
135735
|
async function initProvider() {
|
|
135727
135736
|
var _a3, _b2, _c2, _d, _e3;
|
|
135728
135737
|
const MetaMaskSDK = await (async () => {
|
|
135729
|
-
const { default: SDK } = await import("./metamask-sdk-
|
|
135738
|
+
const { default: SDK } = await import("./metamask-sdk-G8BsuP8X.js");
|
|
135730
135739
|
if (typeof SDK !== "function" && typeof SDK.default === "function")
|
|
135731
135740
|
return SDK.default;
|
|
135732
135741
|
return SDK;
|
|
@@ -135986,7 +135995,7 @@ function safe(parameters = {}) {
|
|
|
135986
135995
|
if (!isIframe)
|
|
135987
135996
|
return;
|
|
135988
135997
|
if (!provider_) {
|
|
135989
|
-
const { default: SDK } = await import("./index-
|
|
135998
|
+
const { default: SDK } = await import("./index-BHSnQEbV.js");
|
|
135990
135999
|
const sdk = new SDK(parameters);
|
|
135991
136000
|
const safe2 = await withTimeout(() => sdk.safe.getInfo(), {
|
|
135992
136001
|
timeout: parameters.unstable_getInfoTimeout ?? 10
|
|
@@ -135994,7 +136003,7 @@ function safe(parameters = {}) {
|
|
|
135994
136003
|
if (!safe2)
|
|
135995
136004
|
throw new Error("Could not load Safe information");
|
|
135996
136005
|
const SafeAppProvider = await (async () => {
|
|
135997
|
-
const Provider = await import("./index-
|
|
136006
|
+
const Provider = await import("./index-C7h3Whae.js").then((n6) => n6.i);
|
|
135998
136007
|
if (typeof Provider.SafeAppProvider !== "function" && typeof Provider.default.SafeAppProvider === "function")
|
|
135999
136008
|
return Provider.default.SafeAppProvider;
|
|
136000
136009
|
return Provider.SafeAppProvider;
|
|
@@ -136167,7 +136176,7 @@ function walletConnect(parameters) {
|
|
|
136167
136176
|
const optionalChains = config2.chains.map((x3) => x3.id);
|
|
136168
136177
|
if (!optionalChains.length)
|
|
136169
136178
|
return;
|
|
136170
|
-
const { EthereumProvider } = await import("./index.es-
|
|
136179
|
+
const { EthereumProvider } = await import("./index.es-dsJTCgQf.js");
|
|
136171
136180
|
return await EthereumProvider.init({
|
|
136172
136181
|
...parameters,
|
|
136173
136182
|
disableProviderPing: true,
|
|
@@ -136585,4 +136594,4 @@ export {
|
|
|
136585
136594
|
WuiChip as y,
|
|
136586
136595
|
WuiConnectButton as z
|
|
136587
136596
|
};
|
|
136588
|
-
//# sourceMappingURL=appkit-
|
|
136597
|
+
//# sourceMappingURL=appkit-CaFYBD29.js.map
|