@metamask/snaps-rpc-methods 7.0.0 → 7.0.2
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/CHANGELOG.md +12 -1
- package/dist/{chunk-RWLBQVYX.mjs → chunk-23XDKQW2.mjs} +1 -1
- package/dist/{chunk-ABFJRV6Q.js → chunk-2KTJCF3C.js} +1 -1
- package/dist/{chunk-2A5M65V3.js → chunk-3DHVA2FY.js} +1 -1
- package/dist/{chunk-ZLLV3F4G.js → chunk-3LPBU737.js} +1 -1
- package/dist/{chunk-3DWRS3YG.mjs → chunk-3S7DJI4I.mjs} +11 -11
- package/dist/{chunk-2IL6T3EX.js → chunk-3UAWEHMF.js} +1 -1
- package/dist/{chunk-2QEA2YZM.mjs → chunk-4D2B2UQ6.mjs} +1 -1
- package/dist/{chunk-H45CGE4Z.js → chunk-4LSOS7SM.js} +1 -1
- package/dist/{chunk-YK6IFDRN.mjs → chunk-4SQWLI2S.mjs} +1 -1
- package/dist/{chunk-7O63CIBT.js → chunk-4W7U4OH6.js} +1 -1
- package/dist/{chunk-ZP3L7LAQ.mjs → chunk-62URQ5VS.mjs} +1 -1
- package/dist/{chunk-2TYDIMR6.js → chunk-6TKD32TS.js} +6 -6
- package/dist/{chunk-PEMZWIHQ.js → chunk-6UY23OOZ.js} +5 -5
- package/dist/{chunk-PSAM7MJM.mjs → chunk-6WUIFFMQ.mjs} +2 -2
- package/dist/{chunk-HIYXSQ6K.mjs → chunk-7NBRKDKJ.mjs} +2 -2
- package/dist/{chunk-BZIPLSKM.mjs → chunk-7OMVZR5X.mjs} +3 -3
- package/dist/chunk-7TVJV425.js +1 -0
- package/dist/{chunk-VFI5FR5U.mjs → chunk-ADXH5C3U.mjs} +2 -2
- package/dist/{chunk-JEEKFTAL.mjs → chunk-AKRFLGOS.mjs} +5 -5
- package/dist/{chunk-NUKEBOOL.js → chunk-AOWUGDER.js} +3 -3
- package/dist/{chunk-Y6EL5DBH.mjs → chunk-AWQ6HTAL.mjs} +2 -2
- package/dist/chunk-AYJK7MSH.js +43 -0
- package/dist/{chunk-VZBSLVVA.js → chunk-B3NIHNXW.js} +1 -1
- package/dist/{chunk-2WCLK3LN.mjs → chunk-C6E6DI4I.mjs} +13 -13
- package/dist/{chunk-HLF4WCE4.mjs → chunk-CD4OUHO5.mjs} +1 -1
- package/dist/{chunk-RKCEAMYH.mjs → chunk-CH5O2YCX.mjs} +1 -1
- package/dist/{chunk-TZRCALSV.mjs → chunk-CVK2TYJX.mjs} +1 -1
- package/dist/chunk-D6MUXDVI.js +51 -0
- package/dist/{chunk-EKB7QNFO.mjs → chunk-E6WUMFQT.mjs} +1 -1
- package/dist/{chunk-LX37AMSK.mjs → chunk-EEVEVBK6.mjs} +2 -2
- package/dist/{chunk-HOXOD5RL.mjs → chunk-EKXDFYIX.mjs} +1 -1
- package/dist/{chunk-KE74K2JM.js → chunk-FBOZCV3C.js} +12 -12
- package/dist/{chunk-LITIVHN4.js → chunk-FCVWU5XH.js} +6 -6
- package/dist/{chunk-UYSXSKML.js → chunk-FFHVA6PP.js} +4 -4
- package/dist/{chunk-RHGOSBUT.js → chunk-FMDV3RFT.js} +1 -1
- package/dist/{chunk-DDGDVWAW.js → chunk-GP5KW5FU.js} +1 -1
- package/dist/{chunk-3FKD2O7M.js → chunk-GYZV5UBD.js} +1 -1
- package/dist/{chunk-Y5ENHOIY.mjs → chunk-I6FU5MGE.mjs} +1 -1
- package/dist/{chunk-NE2GDZGZ.mjs → chunk-IBV23QOX.mjs} +2 -2
- package/dist/{chunk-CIIMO4C2.js → chunk-IDZGMGIB.js} +1 -1
- package/dist/{chunk-E2G25QVG.js → chunk-IEUCBULU.js} +6 -6
- package/dist/{chunk-NTDD6M3B.mjs → chunk-IZYMBIBD.mjs} +1 -1
- package/dist/{chunk-YJ3ZFIA7.mjs → chunk-JQ456NCC.mjs} +11 -11
- package/dist/chunk-JRSPKOFG.js +115 -0
- package/dist/{chunk-EPNGNDRH.mjs → chunk-JWDQUKKU.mjs} +1 -1
- package/dist/{chunk-XAQ2P3BY.js → chunk-KO4MKRYZ.js} +7 -7
- package/dist/{chunk-UJZ3HNXS.mjs → chunk-KSTF5JYB.mjs} +1 -1
- package/dist/{chunk-UXVJ7HYO.js → chunk-LGUJMQC7.js} +5 -5
- package/dist/{chunk-WHWFVRFH.js → chunk-LIWV3FMY.js} +6 -6
- package/dist/{chunk-EB6OXVFN.mjs → chunk-LR7UR4YU.mjs} +1 -1
- package/dist/chunk-LVTN25J2.js +49 -0
- package/dist/{chunk-MVPKNRLA.mjs → chunk-MVG4B2HM.mjs} +1 -1
- package/dist/{chunk-MDJZ4K3U.mjs → chunk-MXCJWR45.mjs} +1 -1
- package/dist/{chunk-2N2PZJDJ.mjs → chunk-MXPVC2XP.mjs} +2 -2
- package/dist/{chunk-F5BEVZOB.js → chunk-NP3KGMVC.js} +3 -3
- package/dist/chunk-NU4NAAFG.js +1 -0
- package/dist/{chunk-SXSNJEE7.js → chunk-NWT2EXFD.js} +1 -1
- package/dist/{chunk-72V4CPGO.mjs → chunk-O66NZFSD.mjs} +1 -1
- package/dist/{chunk-KDLWQGV3.js → chunk-OQOTJFFV.js} +4 -4
- package/dist/{chunk-TRB2LS4N.js → chunk-P74WXDY4.js} +1 -1
- package/dist/{chunk-WI23VKOX.mjs → chunk-PCB6QOHL.mjs} +1 -1
- package/dist/{chunk-4ALFLY5D.js → chunk-PS6OEQXL.js} +16 -16
- package/dist/{chunk-IDRDPYAN.js → chunk-PWUEAR4H.js} +5 -5
- package/dist/{chunk-RZDRHJXI.js → chunk-Q27K2I6Z.js} +1 -1
- package/dist/{chunk-6PXDUIXN.js → chunk-Q5W3YGEB.js} +3 -3
- package/dist/{chunk-I5H5ZZRC.js → chunk-QDZAWH6F.js} +1 -1
- package/dist/{chunk-RC7LBS3H.js → chunk-QMULJEYN.js} +3 -3
- package/dist/{chunk-FMUQOZIO.js → chunk-S7AR3ROH.js} +5 -5
- package/dist/{chunk-DR63Z4PV.mjs → chunk-SGQXD5K7.mjs} +1 -1
- package/dist/{chunk-TNIGT6KN.js → chunk-SYUGPLEP.js} +1 -1
- package/dist/{chunk-HODDBRLQ.js → chunk-TEXEQGNZ.js} +6 -6
- package/dist/chunk-TG63GBK3.mjs +1 -0
- package/dist/{chunk-VSVVWO3W.mjs → chunk-TJYMYQAB.mjs} +1 -1
- package/dist/{chunk-VRDGSBXX.mjs → chunk-TKXU7ZXP.mjs} +2 -2
- package/dist/chunk-TNENASGX.mjs +1 -0
- package/dist/{chunk-5HIIIAIS.mjs → chunk-TNRH2LRU.mjs} +2 -2
- package/dist/{chunk-JURJUHQB.mjs → chunk-TOYWHUAS.mjs} +2 -2
- package/dist/{chunk-SMWKMPHG.mjs → chunk-TT4DP2YW.mjs} +1 -1
- package/dist/{chunk-MYMH4S2N.mjs → chunk-UB3733UY.mjs} +1 -1
- package/dist/{chunk-OUD66G6O.mjs → chunk-UBPHGXCO.mjs} +1 -1
- package/dist/{chunk-YN3OMGA5.mjs → chunk-VCGZNL35.mjs} +2 -2
- package/dist/{chunk-EAL6AH74.js → chunk-VHY3NATP.js} +1 -1
- package/dist/{chunk-JV26U22G.js → chunk-VUA6ICJO.js} +3 -3
- package/dist/{chunk-6DUTJBD2.mjs → chunk-VVBTXSID.mjs} +1 -1
- package/dist/{chunk-4Z4X6EJP.mjs → chunk-WFAY5FPP.mjs} +1 -1
- package/dist/{chunk-L7MGGL7Q.mjs → chunk-WLDEPJGG.mjs} +1 -1
- package/dist/{chunk-3CSLIOIY.mjs → chunk-Y4LNTDZ2.mjs} +8 -8
- package/dist/{chunk-632BZ6JY.js → chunk-YG7W4CDT.js} +1 -1
- package/dist/{chunk-K73RKHXA.js → chunk-YGKFOOWI.js} +1 -1
- package/dist/{chunk-DBYI25UR.js → chunk-YOHE52XB.js} +1 -1
- package/dist/{chunk-OU3QPU6E.mjs → chunk-YS6TYXCP.mjs} +1 -1
- package/dist/{chunk-W2VJ5TWL.js → chunk-ZPK4THX4.js} +1 -1
- package/dist/endowments/caveats/generic.js +2 -2
- package/dist/endowments/caveats/generic.mjs +1 -1
- package/dist/endowments/caveats/index.js +4 -4
- package/dist/endowments/caveats/index.mjs +3 -3
- package/dist/endowments/caveats/requestTime.js +2 -2
- package/dist/endowments/caveats/requestTime.mjs +1 -1
- package/dist/endowments/cronjob.js +3 -3
- package/dist/endowments/cronjob.mjs +2 -2
- package/dist/endowments/enum.js +2 -2
- package/dist/endowments/enum.mjs +1 -1
- package/dist/endowments/ethereum-provider.js +3 -3
- package/dist/endowments/ethereum-provider.mjs +2 -2
- package/dist/endowments/home-page.js +3 -3
- package/dist/endowments/home-page.mjs +2 -2
- package/dist/endowments/index.js +17 -17
- package/dist/endowments/index.mjs +16 -16
- package/dist/endowments/keyring.js +6 -6
- package/dist/endowments/keyring.mjs +5 -5
- package/dist/endowments/lifecycle-hooks.js +3 -3
- package/dist/endowments/lifecycle-hooks.mjs +2 -2
- package/dist/endowments/name-lookup.js +6 -6
- package/dist/endowments/name-lookup.mjs +5 -5
- package/dist/endowments/network-access.js +3 -3
- package/dist/endowments/network-access.mjs +2 -2
- package/dist/endowments/rpc.js +6 -6
- package/dist/endowments/rpc.mjs +5 -5
- package/dist/endowments/signature-insight.js +6 -6
- package/dist/endowments/signature-insight.mjs +5 -5
- package/dist/endowments/transaction-insight.js +6 -6
- package/dist/endowments/transaction-insight.mjs +5 -5
- package/dist/endowments/web-assembly.js +3 -3
- package/dist/endowments/web-assembly.mjs +2 -2
- package/dist/index.js +47 -47
- package/dist/index.mjs +46 -46
- package/dist/permissions.js +34 -34
- package/dist/permissions.mjs +33 -33
- package/dist/permitted/createInterface.js +2 -2
- package/dist/permitted/createInterface.mjs +1 -1
- package/dist/permitted/getAllSnaps.js +2 -2
- package/dist/permitted/getAllSnaps.mjs +1 -1
- package/dist/permitted/getClientStatus.js +2 -2
- package/dist/permitted/getClientStatus.mjs +1 -1
- package/dist/permitted/getFile.js +2 -2
- package/dist/permitted/getFile.mjs +1 -1
- package/dist/permitted/getInterfaceState.js +2 -2
- package/dist/permitted/getInterfaceState.mjs +1 -1
- package/dist/permitted/getSnaps.js +2 -2
- package/dist/permitted/getSnaps.mjs +1 -1
- package/dist/permitted/handlers.js +13 -13
- package/dist/permitted/handlers.mjs +12 -12
- package/dist/permitted/index.js +16 -16
- package/dist/permitted/index.mjs +15 -15
- package/dist/permitted/invokeKeyring.js +3 -3
- package/dist/permitted/invokeKeyring.mjs +2 -2
- package/dist/permitted/invokeSnapSugar.js +2 -2
- package/dist/permitted/invokeSnapSugar.mjs +1 -1
- package/dist/permitted/middleware.js +15 -15
- package/dist/permitted/middleware.mjs +14 -14
- package/dist/permitted/requestSnaps.js +3 -3
- package/dist/permitted/requestSnaps.mjs +2 -2
- package/dist/permitted/updateInterface.js +2 -2
- package/dist/permitted/updateInterface.mjs +1 -1
- package/dist/restricted/caveats/index.js +10 -10
- package/dist/restricted/caveats/index.mjs +9 -9
- package/dist/restricted/caveats/permittedCoinTypes.js +2 -2
- package/dist/restricted/caveats/permittedCoinTypes.mjs +1 -1
- package/dist/restricted/caveats/permittedDerivationPaths.js +2 -2
- package/dist/restricted/caveats/permittedDerivationPaths.mjs +1 -1
- package/dist/restricted/caveats/snapIds.js +2 -2
- package/dist/restricted/caveats/snapIds.mjs +1 -1
- package/dist/restricted/dialog.js +2 -2
- package/dist/restricted/dialog.mjs +1 -1
- package/dist/restricted/getBip32Entropy.js +3 -3
- package/dist/restricted/getBip32Entropy.mjs +2 -2
- package/dist/restricted/getBip32PublicKey.js +3 -3
- package/dist/restricted/getBip32PublicKey.mjs +2 -2
- package/dist/restricted/getBip44Entropy.js +2 -2
- package/dist/restricted/getBip44Entropy.mjs +1 -1
- package/dist/restricted/getEntropy.js +3 -3
- package/dist/restricted/getEntropy.mjs +2 -2
- package/dist/restricted/getLocale.js +2 -2
- package/dist/restricted/getLocale.mjs +1 -1
- package/dist/restricted/index.js +17 -17
- package/dist/restricted/index.mjs +16 -16
- package/dist/restricted/invokeSnap.js +2 -2
- package/dist/restricted/invokeSnap.mjs +1 -1
- package/dist/restricted/manageAccounts.js +2 -2
- package/dist/restricted/manageAccounts.mjs +1 -1
- package/dist/restricted/manageState.js +3 -3
- package/dist/restricted/manageState.mjs +2 -2
- package/dist/restricted/notify.js +2 -2
- package/dist/restricted/notify.mjs +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/permitted/createInterface.d.ts +8 -4
- package/dist/types/permitted/updateInterface.d.ts +8 -4
- package/dist/types/restricted/dialog.d.ts +48 -24
- package/dist/utils.js +2 -2
- package/dist/utils.mjs +1 -1
- package/package.json +6 -6
- package/dist/chunk-E4HGQWSS.js +0 -43
- package/dist/chunk-JPUJWFBS.js +0 -115
- package/dist/chunk-KVHYDTGR.js +0 -1
- package/dist/chunk-LU3J2EYE.js +0 -51
- package/dist/chunk-LYOKCYHO.mjs +0 -1
- package/dist/chunk-OMP4SFLK.js +0 -1
- package/dist/chunk-SCXW3FQO.js +0 -49
- package/dist/chunk-Y7DF3ZHO.mjs +0 -1
- /package/dist/{chunk-RWLBQVYX.mjs.map → chunk-23XDKQW2.mjs.map} +0 -0
- /package/dist/{chunk-ABFJRV6Q.js.map → chunk-2KTJCF3C.js.map} +0 -0
- /package/dist/{chunk-2A5M65V3.js.map → chunk-3DHVA2FY.js.map} +0 -0
- /package/dist/{chunk-ZLLV3F4G.js.map → chunk-3LPBU737.js.map} +0 -0
- /package/dist/{chunk-3DWRS3YG.mjs.map → chunk-3S7DJI4I.mjs.map} +0 -0
- /package/dist/{chunk-2IL6T3EX.js.map → chunk-3UAWEHMF.js.map} +0 -0
- /package/dist/{chunk-2QEA2YZM.mjs.map → chunk-4D2B2UQ6.mjs.map} +0 -0
- /package/dist/{chunk-H45CGE4Z.js.map → chunk-4LSOS7SM.js.map} +0 -0
- /package/dist/{chunk-YK6IFDRN.mjs.map → chunk-4SQWLI2S.mjs.map} +0 -0
- /package/dist/{chunk-7O63CIBT.js.map → chunk-4W7U4OH6.js.map} +0 -0
- /package/dist/{chunk-ZP3L7LAQ.mjs.map → chunk-62URQ5VS.mjs.map} +0 -0
- /package/dist/{chunk-2TYDIMR6.js.map → chunk-6TKD32TS.js.map} +0 -0
- /package/dist/{chunk-PEMZWIHQ.js.map → chunk-6UY23OOZ.js.map} +0 -0
- /package/dist/{chunk-PSAM7MJM.mjs.map → chunk-6WUIFFMQ.mjs.map} +0 -0
- /package/dist/{chunk-HIYXSQ6K.mjs.map → chunk-7NBRKDKJ.mjs.map} +0 -0
- /package/dist/{chunk-BZIPLSKM.mjs.map → chunk-7OMVZR5X.mjs.map} +0 -0
- /package/dist/{chunk-KVHYDTGR.js.map → chunk-7TVJV425.js.map} +0 -0
- /package/dist/{chunk-VFI5FR5U.mjs.map → chunk-ADXH5C3U.mjs.map} +0 -0
- /package/dist/{chunk-JEEKFTAL.mjs.map → chunk-AKRFLGOS.mjs.map} +0 -0
- /package/dist/{chunk-NUKEBOOL.js.map → chunk-AOWUGDER.js.map} +0 -0
- /package/dist/{chunk-Y6EL5DBH.mjs.map → chunk-AWQ6HTAL.mjs.map} +0 -0
- /package/dist/{chunk-E4HGQWSS.js.map → chunk-AYJK7MSH.js.map} +0 -0
- /package/dist/{chunk-VZBSLVVA.js.map → chunk-B3NIHNXW.js.map} +0 -0
- /package/dist/{chunk-2WCLK3LN.mjs.map → chunk-C6E6DI4I.mjs.map} +0 -0
- /package/dist/{chunk-HLF4WCE4.mjs.map → chunk-CD4OUHO5.mjs.map} +0 -0
- /package/dist/{chunk-RKCEAMYH.mjs.map → chunk-CH5O2YCX.mjs.map} +0 -0
- /package/dist/{chunk-TZRCALSV.mjs.map → chunk-CVK2TYJX.mjs.map} +0 -0
- /package/dist/{chunk-LU3J2EYE.js.map → chunk-D6MUXDVI.js.map} +0 -0
- /package/dist/{chunk-EKB7QNFO.mjs.map → chunk-E6WUMFQT.mjs.map} +0 -0
- /package/dist/{chunk-LX37AMSK.mjs.map → chunk-EEVEVBK6.mjs.map} +0 -0
- /package/dist/{chunk-HOXOD5RL.mjs.map → chunk-EKXDFYIX.mjs.map} +0 -0
- /package/dist/{chunk-KE74K2JM.js.map → chunk-FBOZCV3C.js.map} +0 -0
- /package/dist/{chunk-LITIVHN4.js.map → chunk-FCVWU5XH.js.map} +0 -0
- /package/dist/{chunk-UYSXSKML.js.map → chunk-FFHVA6PP.js.map} +0 -0
- /package/dist/{chunk-RHGOSBUT.js.map → chunk-FMDV3RFT.js.map} +0 -0
- /package/dist/{chunk-DDGDVWAW.js.map → chunk-GP5KW5FU.js.map} +0 -0
- /package/dist/{chunk-3FKD2O7M.js.map → chunk-GYZV5UBD.js.map} +0 -0
- /package/dist/{chunk-Y5ENHOIY.mjs.map → chunk-I6FU5MGE.mjs.map} +0 -0
- /package/dist/{chunk-NE2GDZGZ.mjs.map → chunk-IBV23QOX.mjs.map} +0 -0
- /package/dist/{chunk-CIIMO4C2.js.map → chunk-IDZGMGIB.js.map} +0 -0
- /package/dist/{chunk-E2G25QVG.js.map → chunk-IEUCBULU.js.map} +0 -0
- /package/dist/{chunk-NTDD6M3B.mjs.map → chunk-IZYMBIBD.mjs.map} +0 -0
- /package/dist/{chunk-YJ3ZFIA7.mjs.map → chunk-JQ456NCC.mjs.map} +0 -0
- /package/dist/{chunk-JPUJWFBS.js.map → chunk-JRSPKOFG.js.map} +0 -0
- /package/dist/{chunk-EPNGNDRH.mjs.map → chunk-JWDQUKKU.mjs.map} +0 -0
- /package/dist/{chunk-XAQ2P3BY.js.map → chunk-KO4MKRYZ.js.map} +0 -0
- /package/dist/{chunk-UJZ3HNXS.mjs.map → chunk-KSTF5JYB.mjs.map} +0 -0
- /package/dist/{chunk-UXVJ7HYO.js.map → chunk-LGUJMQC7.js.map} +0 -0
- /package/dist/{chunk-WHWFVRFH.js.map → chunk-LIWV3FMY.js.map} +0 -0
- /package/dist/{chunk-EB6OXVFN.mjs.map → chunk-LR7UR4YU.mjs.map} +0 -0
- /package/dist/{chunk-SCXW3FQO.js.map → chunk-LVTN25J2.js.map} +0 -0
- /package/dist/{chunk-MVPKNRLA.mjs.map → chunk-MVG4B2HM.mjs.map} +0 -0
- /package/dist/{chunk-MDJZ4K3U.mjs.map → chunk-MXCJWR45.mjs.map} +0 -0
- /package/dist/{chunk-2N2PZJDJ.mjs.map → chunk-MXPVC2XP.mjs.map} +0 -0
- /package/dist/{chunk-F5BEVZOB.js.map → chunk-NP3KGMVC.js.map} +0 -0
- /package/dist/{chunk-OMP4SFLK.js.map → chunk-NU4NAAFG.js.map} +0 -0
- /package/dist/{chunk-SXSNJEE7.js.map → chunk-NWT2EXFD.js.map} +0 -0
- /package/dist/{chunk-72V4CPGO.mjs.map → chunk-O66NZFSD.mjs.map} +0 -0
- /package/dist/{chunk-KDLWQGV3.js.map → chunk-OQOTJFFV.js.map} +0 -0
- /package/dist/{chunk-TRB2LS4N.js.map → chunk-P74WXDY4.js.map} +0 -0
- /package/dist/{chunk-WI23VKOX.mjs.map → chunk-PCB6QOHL.mjs.map} +0 -0
- /package/dist/{chunk-4ALFLY5D.js.map → chunk-PS6OEQXL.js.map} +0 -0
- /package/dist/{chunk-IDRDPYAN.js.map → chunk-PWUEAR4H.js.map} +0 -0
- /package/dist/{chunk-RZDRHJXI.js.map → chunk-Q27K2I6Z.js.map} +0 -0
- /package/dist/{chunk-6PXDUIXN.js.map → chunk-Q5W3YGEB.js.map} +0 -0
- /package/dist/{chunk-I5H5ZZRC.js.map → chunk-QDZAWH6F.js.map} +0 -0
- /package/dist/{chunk-RC7LBS3H.js.map → chunk-QMULJEYN.js.map} +0 -0
- /package/dist/{chunk-FMUQOZIO.js.map → chunk-S7AR3ROH.js.map} +0 -0
- /package/dist/{chunk-DR63Z4PV.mjs.map → chunk-SGQXD5K7.mjs.map} +0 -0
- /package/dist/{chunk-TNIGT6KN.js.map → chunk-SYUGPLEP.js.map} +0 -0
- /package/dist/{chunk-HODDBRLQ.js.map → chunk-TEXEQGNZ.js.map} +0 -0
- /package/dist/{chunk-LYOKCYHO.mjs.map → chunk-TG63GBK3.mjs.map} +0 -0
- /package/dist/{chunk-VSVVWO3W.mjs.map → chunk-TJYMYQAB.mjs.map} +0 -0
- /package/dist/{chunk-VRDGSBXX.mjs.map → chunk-TKXU7ZXP.mjs.map} +0 -0
- /package/dist/{chunk-Y7DF3ZHO.mjs.map → chunk-TNENASGX.mjs.map} +0 -0
- /package/dist/{chunk-5HIIIAIS.mjs.map → chunk-TNRH2LRU.mjs.map} +0 -0
- /package/dist/{chunk-JURJUHQB.mjs.map → chunk-TOYWHUAS.mjs.map} +0 -0
- /package/dist/{chunk-SMWKMPHG.mjs.map → chunk-TT4DP2YW.mjs.map} +0 -0
- /package/dist/{chunk-MYMH4S2N.mjs.map → chunk-UB3733UY.mjs.map} +0 -0
- /package/dist/{chunk-OUD66G6O.mjs.map → chunk-UBPHGXCO.mjs.map} +0 -0
- /package/dist/{chunk-YN3OMGA5.mjs.map → chunk-VCGZNL35.mjs.map} +0 -0
- /package/dist/{chunk-EAL6AH74.js.map → chunk-VHY3NATP.js.map} +0 -0
- /package/dist/{chunk-JV26U22G.js.map → chunk-VUA6ICJO.js.map} +0 -0
- /package/dist/{chunk-6DUTJBD2.mjs.map → chunk-VVBTXSID.mjs.map} +0 -0
- /package/dist/{chunk-4Z4X6EJP.mjs.map → chunk-WFAY5FPP.mjs.map} +0 -0
- /package/dist/{chunk-L7MGGL7Q.mjs.map → chunk-WLDEPJGG.mjs.map} +0 -0
- /package/dist/{chunk-3CSLIOIY.mjs.map → chunk-Y4LNTDZ2.mjs.map} +0 -0
- /package/dist/{chunk-632BZ6JY.js.map → chunk-YG7W4CDT.js.map} +0 -0
- /package/dist/{chunk-K73RKHXA.js.map → chunk-YGKFOOWI.js.map} +0 -0
- /package/dist/{chunk-DBYI25UR.js.map → chunk-YOHE52XB.js.map} +0 -0
- /package/dist/{chunk-OU3QPU6E.mjs.map → chunk-YS6TYXCP.mjs.map} +0 -0
- /package/dist/{chunk-W2VJ5TWL.js.map → chunk-ZPK4THX4.js.map} +0 -0
|
@@ -29,7 +29,7 @@ declare const CreateInterfaceParametersStruct: import("superstruct").Struct<{
|
|
|
29
29
|
type: import("@metamask/snaps-sdk").NodeType.Text;
|
|
30
30
|
markdown?: boolean | undefined;
|
|
31
31
|
} | {
|
|
32
|
-
value: string
|
|
32
|
+
value: `0x${string}`;
|
|
33
33
|
type: import("@metamask/snaps-sdk").NodeType.Address;
|
|
34
34
|
} | {
|
|
35
35
|
value: {
|
|
@@ -40,7 +40,7 @@ declare const CreateInterfaceParametersStruct: import("superstruct").Struct<{
|
|
|
40
40
|
type: import("@metamask/snaps-sdk").NodeType.Text;
|
|
41
41
|
markdown?: boolean | undefined;
|
|
42
42
|
} | {
|
|
43
|
-
value: string
|
|
43
|
+
value: `0x${string}`;
|
|
44
44
|
type: import("@metamask/snaps-sdk").NodeType.Address;
|
|
45
45
|
};
|
|
46
46
|
type: import("@metamask/snaps-sdk").NodeType.Row;
|
|
@@ -50,6 +50,7 @@ declare const CreateInterfaceParametersStruct: import("superstruct").Struct<{
|
|
|
50
50
|
type: import("@metamask/snaps-sdk").NodeType.Input;
|
|
51
51
|
name: string;
|
|
52
52
|
value?: string | undefined;
|
|
53
|
+
error?: string | undefined;
|
|
53
54
|
label?: string | undefined;
|
|
54
55
|
inputType?: "number" | "text" | "password" | undefined;
|
|
55
56
|
placeholder?: string | undefined;
|
|
@@ -66,6 +67,7 @@ declare const CreateInterfaceParametersStruct: import("superstruct").Struct<{
|
|
|
66
67
|
type: import("@metamask/snaps-sdk").NodeType.Input;
|
|
67
68
|
name: string;
|
|
68
69
|
value?: string | undefined;
|
|
70
|
+
error?: string | undefined;
|
|
69
71
|
label?: string | undefined;
|
|
70
72
|
inputType?: "number" | "text" | "password" | undefined;
|
|
71
73
|
placeholder?: string | undefined;
|
|
@@ -97,7 +99,7 @@ declare const CreateInterfaceParametersStruct: import("superstruct").Struct<{
|
|
|
97
99
|
type: import("@metamask/snaps-sdk").NodeType.Text;
|
|
98
100
|
markdown?: boolean | undefined;
|
|
99
101
|
} | {
|
|
100
|
-
value: string
|
|
102
|
+
value: `0x${string}`;
|
|
101
103
|
type: import("@metamask/snaps-sdk").NodeType.Address;
|
|
102
104
|
} | {
|
|
103
105
|
value: {
|
|
@@ -108,7 +110,7 @@ declare const CreateInterfaceParametersStruct: import("superstruct").Struct<{
|
|
|
108
110
|
type: import("@metamask/snaps-sdk").NodeType.Text;
|
|
109
111
|
markdown?: boolean | undefined;
|
|
110
112
|
} | {
|
|
111
|
-
value: string
|
|
113
|
+
value: `0x${string}`;
|
|
112
114
|
type: import("@metamask/snaps-sdk").NodeType.Address;
|
|
113
115
|
};
|
|
114
116
|
type: import("@metamask/snaps-sdk").NodeType.Row;
|
|
@@ -118,6 +120,7 @@ declare const CreateInterfaceParametersStruct: import("superstruct").Struct<{
|
|
|
118
120
|
type: import("@metamask/snaps-sdk").NodeType.Input;
|
|
119
121
|
name: string;
|
|
120
122
|
value?: string | undefined;
|
|
123
|
+
error?: string | undefined;
|
|
121
124
|
label?: string | undefined;
|
|
122
125
|
inputType?: "number" | "text" | "password" | undefined;
|
|
123
126
|
placeholder?: string | undefined;
|
|
@@ -134,6 +137,7 @@ declare const CreateInterfaceParametersStruct: import("superstruct").Struct<{
|
|
|
134
137
|
type: import("@metamask/snaps-sdk").NodeType.Input;
|
|
135
138
|
name: string;
|
|
136
139
|
value?: string | undefined;
|
|
140
|
+
error?: string | undefined;
|
|
137
141
|
label?: string | undefined;
|
|
138
142
|
inputType?: "number" | "text" | "password" | undefined;
|
|
139
143
|
placeholder?: string | undefined;
|
|
@@ -30,7 +30,7 @@ declare const UpdateInterfaceParametersStruct: import("superstruct").Struct<{
|
|
|
30
30
|
type: import("@metamask/snaps-sdk").NodeType.Text;
|
|
31
31
|
markdown?: boolean | undefined;
|
|
32
32
|
} | {
|
|
33
|
-
value: string
|
|
33
|
+
value: `0x${string}`;
|
|
34
34
|
type: import("@metamask/snaps-sdk").NodeType.Address;
|
|
35
35
|
} | {
|
|
36
36
|
value: {
|
|
@@ -41,7 +41,7 @@ declare const UpdateInterfaceParametersStruct: import("superstruct").Struct<{
|
|
|
41
41
|
type: import("@metamask/snaps-sdk").NodeType.Text;
|
|
42
42
|
markdown?: boolean | undefined;
|
|
43
43
|
} | {
|
|
44
|
-
value: string
|
|
44
|
+
value: `0x${string}`;
|
|
45
45
|
type: import("@metamask/snaps-sdk").NodeType.Address;
|
|
46
46
|
};
|
|
47
47
|
type: import("@metamask/snaps-sdk").NodeType.Row;
|
|
@@ -51,6 +51,7 @@ declare const UpdateInterfaceParametersStruct: import("superstruct").Struct<{
|
|
|
51
51
|
type: import("@metamask/snaps-sdk").NodeType.Input;
|
|
52
52
|
name: string;
|
|
53
53
|
value?: string | undefined;
|
|
54
|
+
error?: string | undefined;
|
|
54
55
|
label?: string | undefined;
|
|
55
56
|
inputType?: "number" | "text" | "password" | undefined;
|
|
56
57
|
placeholder?: string | undefined;
|
|
@@ -67,6 +68,7 @@ declare const UpdateInterfaceParametersStruct: import("superstruct").Struct<{
|
|
|
67
68
|
type: import("@metamask/snaps-sdk").NodeType.Input;
|
|
68
69
|
name: string;
|
|
69
70
|
value?: string | undefined;
|
|
71
|
+
error?: string | undefined;
|
|
70
72
|
label?: string | undefined;
|
|
71
73
|
inputType?: "number" | "text" | "password" | undefined;
|
|
72
74
|
placeholder?: string | undefined;
|
|
@@ -99,7 +101,7 @@ declare const UpdateInterfaceParametersStruct: import("superstruct").Struct<{
|
|
|
99
101
|
type: import("@metamask/snaps-sdk").NodeType.Text;
|
|
100
102
|
markdown?: boolean | undefined;
|
|
101
103
|
} | {
|
|
102
|
-
value: string
|
|
104
|
+
value: `0x${string}`;
|
|
103
105
|
type: import("@metamask/snaps-sdk").NodeType.Address;
|
|
104
106
|
} | {
|
|
105
107
|
value: {
|
|
@@ -110,7 +112,7 @@ declare const UpdateInterfaceParametersStruct: import("superstruct").Struct<{
|
|
|
110
112
|
type: import("@metamask/snaps-sdk").NodeType.Text;
|
|
111
113
|
markdown?: boolean | undefined;
|
|
112
114
|
} | {
|
|
113
|
-
value: string
|
|
115
|
+
value: `0x${string}`;
|
|
114
116
|
type: import("@metamask/snaps-sdk").NodeType.Address;
|
|
115
117
|
};
|
|
116
118
|
type: import("@metamask/snaps-sdk").NodeType.Row;
|
|
@@ -120,6 +122,7 @@ declare const UpdateInterfaceParametersStruct: import("superstruct").Struct<{
|
|
|
120
122
|
type: import("@metamask/snaps-sdk").NodeType.Input;
|
|
121
123
|
name: string;
|
|
122
124
|
value?: string | undefined;
|
|
125
|
+
error?: string | undefined;
|
|
123
126
|
label?: string | undefined;
|
|
124
127
|
inputType?: "number" | "text" | "password" | undefined;
|
|
125
128
|
placeholder?: string | undefined;
|
|
@@ -136,6 +139,7 @@ declare const UpdateInterfaceParametersStruct: import("superstruct").Struct<{
|
|
|
136
139
|
type: import("@metamask/snaps-sdk").NodeType.Input;
|
|
137
140
|
name: string;
|
|
138
141
|
value?: string | undefined;
|
|
142
|
+
error?: string | undefined;
|
|
139
143
|
label?: string | undefined;
|
|
140
144
|
inputType?: "number" | "text" | "password" | undefined;
|
|
141
145
|
placeholder?: string | undefined;
|
|
@@ -70,7 +70,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
70
70
|
type: import("@metamask/snaps-sdk").NodeType.Text;
|
|
71
71
|
markdown?: boolean | undefined;
|
|
72
72
|
} | {
|
|
73
|
-
value: string
|
|
73
|
+
value: `0x${string}`;
|
|
74
74
|
type: import("@metamask/snaps-sdk").NodeType.Address;
|
|
75
75
|
} | {
|
|
76
76
|
value: {
|
|
@@ -81,7 +81,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
81
81
|
type: import("@metamask/snaps-sdk").NodeType.Text;
|
|
82
82
|
markdown?: boolean | undefined;
|
|
83
83
|
} | {
|
|
84
|
-
value: string
|
|
84
|
+
value: `0x${string}`;
|
|
85
85
|
type: import("@metamask/snaps-sdk").NodeType.Address;
|
|
86
86
|
};
|
|
87
87
|
type: import("@metamask/snaps-sdk").NodeType.Row;
|
|
@@ -91,6 +91,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
91
91
|
type: import("@metamask/snaps-sdk").NodeType.Input;
|
|
92
92
|
name: string;
|
|
93
93
|
value?: string | undefined;
|
|
94
|
+
error?: string | undefined;
|
|
94
95
|
label?: string | undefined;
|
|
95
96
|
inputType?: "number" | "text" | "password" | undefined;
|
|
96
97
|
placeholder?: string | undefined;
|
|
@@ -107,6 +108,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
107
108
|
type: import("@metamask/snaps-sdk").NodeType.Input;
|
|
108
109
|
name: string;
|
|
109
110
|
value?: string | undefined;
|
|
111
|
+
error?: string | undefined;
|
|
110
112
|
label?: string | undefined;
|
|
111
113
|
inputType?: "number" | "text" | "password" | undefined;
|
|
112
114
|
placeholder?: string | undefined;
|
|
@@ -142,7 +144,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
142
144
|
type: import("@metamask/snaps-sdk").NodeType.Text;
|
|
143
145
|
markdown?: boolean | undefined;
|
|
144
146
|
} | {
|
|
145
|
-
value: string
|
|
147
|
+
value: `0x${string}`;
|
|
146
148
|
type: import("@metamask/snaps-sdk").NodeType.Address;
|
|
147
149
|
} | {
|
|
148
150
|
value: {
|
|
@@ -153,7 +155,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
153
155
|
type: import("@metamask/snaps-sdk").NodeType.Text;
|
|
154
156
|
markdown?: boolean | undefined;
|
|
155
157
|
} | {
|
|
156
|
-
value: string
|
|
158
|
+
value: `0x${string}`;
|
|
157
159
|
type: import("@metamask/snaps-sdk").NodeType.Address;
|
|
158
160
|
};
|
|
159
161
|
type: import("@metamask/snaps-sdk").NodeType.Row;
|
|
@@ -163,6 +165,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
163
165
|
type: import("@metamask/snaps-sdk").NodeType.Input;
|
|
164
166
|
name: string;
|
|
165
167
|
value?: string | undefined;
|
|
168
|
+
error?: string | undefined;
|
|
166
169
|
label?: string | undefined;
|
|
167
170
|
inputType?: "number" | "text" | "password" | undefined;
|
|
168
171
|
placeholder?: string | undefined;
|
|
@@ -179,6 +182,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
179
182
|
type: import("@metamask/snaps-sdk").NodeType.Input;
|
|
180
183
|
name: string;
|
|
181
184
|
value?: string | undefined;
|
|
185
|
+
error?: string | undefined;
|
|
182
186
|
label?: string | undefined;
|
|
183
187
|
inputType?: "number" | "text" | "password" | undefined;
|
|
184
188
|
placeholder?: string | undefined;
|
|
@@ -214,7 +218,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
214
218
|
type: import("@metamask/snaps-sdk").NodeType.Text;
|
|
215
219
|
markdown?: boolean | undefined;
|
|
216
220
|
} | {
|
|
217
|
-
value: string
|
|
221
|
+
value: `0x${string}`;
|
|
218
222
|
type: import("@metamask/snaps-sdk").NodeType.Address;
|
|
219
223
|
} | {
|
|
220
224
|
value: {
|
|
@@ -225,7 +229,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
225
229
|
type: import("@metamask/snaps-sdk").NodeType.Text;
|
|
226
230
|
markdown?: boolean | undefined;
|
|
227
231
|
} | {
|
|
228
|
-
value: string
|
|
232
|
+
value: `0x${string}`;
|
|
229
233
|
type: import("@metamask/snaps-sdk").NodeType.Address;
|
|
230
234
|
};
|
|
231
235
|
type: import("@metamask/snaps-sdk").NodeType.Row;
|
|
@@ -235,6 +239,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
235
239
|
type: import("@metamask/snaps-sdk").NodeType.Input;
|
|
236
240
|
name: string;
|
|
237
241
|
value?: string | undefined;
|
|
242
|
+
error?: string | undefined;
|
|
238
243
|
label?: string | undefined;
|
|
239
244
|
inputType?: "number" | "text" | "password" | undefined;
|
|
240
245
|
placeholder?: string | undefined;
|
|
@@ -251,6 +256,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
251
256
|
type: import("@metamask/snaps-sdk").NodeType.Input;
|
|
252
257
|
name: string;
|
|
253
258
|
value?: string | undefined;
|
|
259
|
+
error?: string | undefined;
|
|
254
260
|
label?: string | undefined;
|
|
255
261
|
inputType?: "number" | "text" | "password" | undefined;
|
|
256
262
|
placeholder?: string | undefined;
|
|
@@ -288,7 +294,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
288
294
|
type: import("@metamask/snaps-sdk").NodeType.Text;
|
|
289
295
|
markdown?: boolean | undefined;
|
|
290
296
|
} | {
|
|
291
|
-
value: string
|
|
297
|
+
value: `0x${string}`;
|
|
292
298
|
type: import("@metamask/snaps-sdk").NodeType.Address;
|
|
293
299
|
} | {
|
|
294
300
|
value: {
|
|
@@ -299,7 +305,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
299
305
|
type: import("@metamask/snaps-sdk").NodeType.Text;
|
|
300
306
|
markdown?: boolean | undefined;
|
|
301
307
|
} | {
|
|
302
|
-
value: string
|
|
308
|
+
value: `0x${string}`;
|
|
303
309
|
type: import("@metamask/snaps-sdk").NodeType.Address;
|
|
304
310
|
};
|
|
305
311
|
type: import("@metamask/snaps-sdk").NodeType.Row;
|
|
@@ -309,6 +315,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
309
315
|
type: import("@metamask/snaps-sdk").NodeType.Input;
|
|
310
316
|
name: string;
|
|
311
317
|
value?: string | undefined;
|
|
318
|
+
error?: string | undefined;
|
|
312
319
|
label?: string | undefined;
|
|
313
320
|
inputType?: "number" | "text" | "password" | undefined;
|
|
314
321
|
placeholder?: string | undefined;
|
|
@@ -325,6 +332,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
325
332
|
type: import("@metamask/snaps-sdk").NodeType.Input;
|
|
326
333
|
name: string;
|
|
327
334
|
value?: string | undefined;
|
|
335
|
+
error?: string | undefined;
|
|
328
336
|
label?: string | undefined;
|
|
329
337
|
inputType?: "number" | "text" | "password" | undefined;
|
|
330
338
|
placeholder?: string | undefined;
|
|
@@ -360,7 +368,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
360
368
|
type: import("@metamask/snaps-sdk").NodeType.Text;
|
|
361
369
|
markdown?: boolean | undefined;
|
|
362
370
|
} | {
|
|
363
|
-
value: string
|
|
371
|
+
value: `0x${string}`;
|
|
364
372
|
type: import("@metamask/snaps-sdk").NodeType.Address;
|
|
365
373
|
} | {
|
|
366
374
|
value: {
|
|
@@ -371,7 +379,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
371
379
|
type: import("@metamask/snaps-sdk").NodeType.Text;
|
|
372
380
|
markdown?: boolean | undefined;
|
|
373
381
|
} | {
|
|
374
|
-
value: string
|
|
382
|
+
value: `0x${string}`;
|
|
375
383
|
type: import("@metamask/snaps-sdk").NodeType.Address;
|
|
376
384
|
};
|
|
377
385
|
type: import("@metamask/snaps-sdk").NodeType.Row;
|
|
@@ -381,6 +389,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
381
389
|
type: import("@metamask/snaps-sdk").NodeType.Input;
|
|
382
390
|
name: string;
|
|
383
391
|
value?: string | undefined;
|
|
392
|
+
error?: string | undefined;
|
|
384
393
|
label?: string | undefined;
|
|
385
394
|
inputType?: "number" | "text" | "password" | undefined;
|
|
386
395
|
placeholder?: string | undefined;
|
|
@@ -397,6 +406,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
397
406
|
type: import("@metamask/snaps-sdk").NodeType.Input;
|
|
398
407
|
name: string;
|
|
399
408
|
value?: string | undefined;
|
|
409
|
+
error?: string | undefined;
|
|
400
410
|
label?: string | undefined;
|
|
401
411
|
inputType?: "number" | "text" | "password" | undefined;
|
|
402
412
|
placeholder?: string | undefined;
|
|
@@ -429,7 +439,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
429
439
|
type: import("@metamask/snaps-sdk").NodeType.Text;
|
|
430
440
|
markdown?: boolean | undefined;
|
|
431
441
|
} | {
|
|
432
|
-
value: string
|
|
442
|
+
value: `0x${string}`;
|
|
433
443
|
type: import("@metamask/snaps-sdk").NodeType.Address;
|
|
434
444
|
} | {
|
|
435
445
|
value: {
|
|
@@ -440,7 +450,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
440
450
|
type: import("@metamask/snaps-sdk").NodeType.Text;
|
|
441
451
|
markdown?: boolean | undefined;
|
|
442
452
|
} | {
|
|
443
|
-
value: string
|
|
453
|
+
value: `0x${string}`;
|
|
444
454
|
type: import("@metamask/snaps-sdk").NodeType.Address;
|
|
445
455
|
};
|
|
446
456
|
type: import("@metamask/snaps-sdk").NodeType.Row;
|
|
@@ -450,6 +460,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
450
460
|
type: import("@metamask/snaps-sdk").NodeType.Input;
|
|
451
461
|
name: string;
|
|
452
462
|
value?: string | undefined;
|
|
463
|
+
error?: string | undefined;
|
|
453
464
|
label?: string | undefined;
|
|
454
465
|
inputType?: "number" | "text" | "password" | undefined;
|
|
455
466
|
placeholder?: string | undefined;
|
|
@@ -466,6 +477,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
466
477
|
type: import("@metamask/snaps-sdk").NodeType.Input;
|
|
467
478
|
name: string;
|
|
468
479
|
value?: string | undefined;
|
|
480
|
+
error?: string | undefined;
|
|
469
481
|
label?: string | undefined;
|
|
470
482
|
inputType?: "number" | "text" | "password" | undefined;
|
|
471
483
|
placeholder?: string | undefined;
|
|
@@ -504,7 +516,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
504
516
|
type: import("@metamask/snaps-sdk").NodeType.Text;
|
|
505
517
|
markdown?: boolean | undefined;
|
|
506
518
|
} | {
|
|
507
|
-
value: string
|
|
519
|
+
value: `0x${string}`;
|
|
508
520
|
type: import("@metamask/snaps-sdk").NodeType.Address;
|
|
509
521
|
} | {
|
|
510
522
|
value: {
|
|
@@ -515,7 +527,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
515
527
|
type: import("@metamask/snaps-sdk").NodeType.Text;
|
|
516
528
|
markdown?: boolean | undefined;
|
|
517
529
|
} | {
|
|
518
|
-
value: string
|
|
530
|
+
value: `0x${string}`;
|
|
519
531
|
type: import("@metamask/snaps-sdk").NodeType.Address;
|
|
520
532
|
};
|
|
521
533
|
type: import("@metamask/snaps-sdk").NodeType.Row;
|
|
@@ -525,6 +537,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
525
537
|
type: import("@metamask/snaps-sdk").NodeType.Input;
|
|
526
538
|
name: string;
|
|
527
539
|
value?: string | undefined;
|
|
540
|
+
error?: string | undefined;
|
|
528
541
|
label?: string | undefined;
|
|
529
542
|
inputType?: "number" | "text" | "password" | undefined;
|
|
530
543
|
placeholder?: string | undefined;
|
|
@@ -541,6 +554,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
541
554
|
type: import("@metamask/snaps-sdk").NodeType.Input;
|
|
542
555
|
name: string;
|
|
543
556
|
value?: string | undefined;
|
|
557
|
+
error?: string | undefined;
|
|
544
558
|
label?: string | undefined;
|
|
545
559
|
inputType?: "number" | "text" | "password" | undefined;
|
|
546
560
|
placeholder?: string | undefined;
|
|
@@ -576,7 +590,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
576
590
|
type: import("@metamask/snaps-sdk").NodeType.Text;
|
|
577
591
|
markdown?: boolean | undefined;
|
|
578
592
|
} | {
|
|
579
|
-
value: string
|
|
593
|
+
value: `0x${string}`;
|
|
580
594
|
type: import("@metamask/snaps-sdk").NodeType.Address;
|
|
581
595
|
} | {
|
|
582
596
|
value: {
|
|
@@ -587,7 +601,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
587
601
|
type: import("@metamask/snaps-sdk").NodeType.Text;
|
|
588
602
|
markdown?: boolean | undefined;
|
|
589
603
|
} | {
|
|
590
|
-
value: string
|
|
604
|
+
value: `0x${string}`;
|
|
591
605
|
type: import("@metamask/snaps-sdk").NodeType.Address;
|
|
592
606
|
};
|
|
593
607
|
type: import("@metamask/snaps-sdk").NodeType.Row;
|
|
@@ -597,6 +611,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
597
611
|
type: import("@metamask/snaps-sdk").NodeType.Input;
|
|
598
612
|
name: string;
|
|
599
613
|
value?: string | undefined;
|
|
614
|
+
error?: string | undefined;
|
|
600
615
|
label?: string | undefined;
|
|
601
616
|
inputType?: "number" | "text" | "password" | undefined;
|
|
602
617
|
placeholder?: string | undefined;
|
|
@@ -613,6 +628,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
613
628
|
type: import("@metamask/snaps-sdk").NodeType.Input;
|
|
614
629
|
name: string;
|
|
615
630
|
value?: string | undefined;
|
|
631
|
+
error?: string | undefined;
|
|
616
632
|
label?: string | undefined;
|
|
617
633
|
inputType?: "number" | "text" | "password" | undefined;
|
|
618
634
|
placeholder?: string | undefined;
|
|
@@ -645,7 +661,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
645
661
|
type: import("@metamask/snaps-sdk").NodeType.Text;
|
|
646
662
|
markdown?: boolean | undefined;
|
|
647
663
|
} | {
|
|
648
|
-
value: string
|
|
664
|
+
value: `0x${string}`;
|
|
649
665
|
type: import("@metamask/snaps-sdk").NodeType.Address;
|
|
650
666
|
} | {
|
|
651
667
|
value: {
|
|
@@ -656,7 +672,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
656
672
|
type: import("@metamask/snaps-sdk").NodeType.Text;
|
|
657
673
|
markdown?: boolean | undefined;
|
|
658
674
|
} | {
|
|
659
|
-
value: string
|
|
675
|
+
value: `0x${string}`;
|
|
660
676
|
type: import("@metamask/snaps-sdk").NodeType.Address;
|
|
661
677
|
};
|
|
662
678
|
type: import("@metamask/snaps-sdk").NodeType.Row;
|
|
@@ -666,6 +682,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
666
682
|
type: import("@metamask/snaps-sdk").NodeType.Input;
|
|
667
683
|
name: string;
|
|
668
684
|
value?: string | undefined;
|
|
685
|
+
error?: string | undefined;
|
|
669
686
|
label?: string | undefined;
|
|
670
687
|
inputType?: "number" | "text" | "password" | undefined;
|
|
671
688
|
placeholder?: string | undefined;
|
|
@@ -682,6 +699,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
682
699
|
type: import("@metamask/snaps-sdk").NodeType.Input;
|
|
683
700
|
name: string;
|
|
684
701
|
value?: string | undefined;
|
|
702
|
+
error?: string | undefined;
|
|
685
703
|
label?: string | undefined;
|
|
686
704
|
inputType?: "number" | "text" | "password" | undefined;
|
|
687
705
|
placeholder?: string | undefined;
|
|
@@ -720,7 +738,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
720
738
|
type: import("@metamask/snaps-sdk").NodeType.Text;
|
|
721
739
|
markdown?: boolean | undefined;
|
|
722
740
|
} | {
|
|
723
|
-
value: string
|
|
741
|
+
value: `0x${string}`;
|
|
724
742
|
type: import("@metamask/snaps-sdk").NodeType.Address;
|
|
725
743
|
} | {
|
|
726
744
|
value: {
|
|
@@ -731,7 +749,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
731
749
|
type: import("@metamask/snaps-sdk").NodeType.Text;
|
|
732
750
|
markdown?: boolean | undefined;
|
|
733
751
|
} | {
|
|
734
|
-
value: string
|
|
752
|
+
value: `0x${string}`;
|
|
735
753
|
type: import("@metamask/snaps-sdk").NodeType.Address;
|
|
736
754
|
};
|
|
737
755
|
type: import("@metamask/snaps-sdk").NodeType.Row;
|
|
@@ -741,6 +759,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
741
759
|
type: import("@metamask/snaps-sdk").NodeType.Input;
|
|
742
760
|
name: string;
|
|
743
761
|
value?: string | undefined;
|
|
762
|
+
error?: string | undefined;
|
|
744
763
|
label?: string | undefined;
|
|
745
764
|
inputType?: "number" | "text" | "password" | undefined;
|
|
746
765
|
placeholder?: string | undefined;
|
|
@@ -757,6 +776,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
757
776
|
type: import("@metamask/snaps-sdk").NodeType.Input;
|
|
758
777
|
name: string;
|
|
759
778
|
value?: string | undefined;
|
|
779
|
+
error?: string | undefined;
|
|
760
780
|
label?: string | undefined;
|
|
761
781
|
inputType?: "number" | "text" | "password" | undefined;
|
|
762
782
|
placeholder?: string | undefined;
|
|
@@ -794,7 +814,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
794
814
|
type: import("@metamask/snaps-sdk").NodeType.Text;
|
|
795
815
|
markdown?: boolean | undefined;
|
|
796
816
|
} | {
|
|
797
|
-
value: string
|
|
817
|
+
value: `0x${string}`;
|
|
798
818
|
type: import("@metamask/snaps-sdk").NodeType.Address;
|
|
799
819
|
} | {
|
|
800
820
|
value: {
|
|
@@ -805,7 +825,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
805
825
|
type: import("@metamask/snaps-sdk").NodeType.Text;
|
|
806
826
|
markdown?: boolean | undefined;
|
|
807
827
|
} | {
|
|
808
|
-
value: string
|
|
828
|
+
value: `0x${string}`;
|
|
809
829
|
type: import("@metamask/snaps-sdk").NodeType.Address;
|
|
810
830
|
};
|
|
811
831
|
type: import("@metamask/snaps-sdk").NodeType.Row;
|
|
@@ -815,6 +835,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
815
835
|
type: import("@metamask/snaps-sdk").NodeType.Input;
|
|
816
836
|
name: string;
|
|
817
837
|
value?: string | undefined;
|
|
838
|
+
error?: string | undefined;
|
|
818
839
|
label?: string | undefined;
|
|
819
840
|
inputType?: "number" | "text" | "password" | undefined;
|
|
820
841
|
placeholder?: string | undefined;
|
|
@@ -831,6 +852,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
831
852
|
type: import("@metamask/snaps-sdk").NodeType.Input;
|
|
832
853
|
name: string;
|
|
833
854
|
value?: string | undefined;
|
|
855
|
+
error?: string | undefined;
|
|
834
856
|
label?: string | undefined;
|
|
835
857
|
inputType?: "number" | "text" | "password" | undefined;
|
|
836
858
|
placeholder?: string | undefined;
|
|
@@ -864,7 +886,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
864
886
|
type: import("@metamask/snaps-sdk").NodeType.Text;
|
|
865
887
|
markdown?: boolean | undefined;
|
|
866
888
|
} | {
|
|
867
|
-
value: string
|
|
889
|
+
value: `0x${string}`;
|
|
868
890
|
type: import("@metamask/snaps-sdk").NodeType.Address;
|
|
869
891
|
} | {
|
|
870
892
|
value: {
|
|
@@ -875,7 +897,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
875
897
|
type: import("@metamask/snaps-sdk").NodeType.Text;
|
|
876
898
|
markdown?: boolean | undefined;
|
|
877
899
|
} | {
|
|
878
|
-
value: string
|
|
900
|
+
value: `0x${string}`;
|
|
879
901
|
type: import("@metamask/snaps-sdk").NodeType.Address;
|
|
880
902
|
};
|
|
881
903
|
type: import("@metamask/snaps-sdk").NodeType.Row;
|
|
@@ -885,6 +907,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
885
907
|
type: import("@metamask/snaps-sdk").NodeType.Input;
|
|
886
908
|
name: string;
|
|
887
909
|
value?: string | undefined;
|
|
910
|
+
error?: string | undefined;
|
|
888
911
|
label?: string | undefined;
|
|
889
912
|
inputType?: "number" | "text" | "password" | undefined;
|
|
890
913
|
placeholder?: string | undefined;
|
|
@@ -901,6 +924,7 @@ declare const DialogParametersStruct: Struct<{
|
|
|
901
924
|
type: import("@metamask/snaps-sdk").NodeType.Input;
|
|
902
925
|
name: string;
|
|
903
926
|
value?: string | undefined;
|
|
927
|
+
error?: string | undefined;
|
|
904
928
|
label?: string | undefined;
|
|
905
929
|
inputType?: "number" | "text" | "password" | undefined;
|
|
906
930
|
placeholder?: string | undefined;
|
package/dist/utils.js
CHANGED
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkYG7W4CDTjs = require('./chunk-YG7W4CDT.js');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.deriveEntropy =
|
|
12
|
+
exports.deriveEntropy = _chunkYG7W4CDTjs.deriveEntropy; exports.getNode = _chunkYG7W4CDTjs.getNode; exports.getPathPrefix = _chunkYG7W4CDTjs.getPathPrefix; exports.selectHooks = _chunkYG7W4CDTjs.selectHooks;
|
|
13
13
|
//# sourceMappingURL=utils.js.map
|
package/dist/utils.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@metamask/snaps-rpc-methods",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.2",
|
|
4
4
|
"description": "MetaMask Snaps JSON-RPC method implementations.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -40,23 +40,23 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@metamask/key-tree": "^9.0.0",
|
|
43
|
-
"@metamask/permission-controller": "^
|
|
43
|
+
"@metamask/permission-controller": "^9.0.2",
|
|
44
44
|
"@metamask/rpc-errors": "^6.2.1",
|
|
45
|
-
"@metamask/snaps-sdk": "^3.
|
|
46
|
-
"@metamask/snaps-utils": "^7.0.
|
|
45
|
+
"@metamask/snaps-sdk": "^3.2.0",
|
|
46
|
+
"@metamask/snaps-utils": "^7.0.4",
|
|
47
47
|
"@metamask/utils": "^8.3.0",
|
|
48
48
|
"@noble/hashes": "^1.3.1",
|
|
49
49
|
"superstruct": "^1.0.3"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@lavamoat/allow-scripts": "^3.0.
|
|
52
|
+
"@lavamoat/allow-scripts": "^3.0.3",
|
|
53
53
|
"@metamask/auto-changelog": "^3.4.4",
|
|
54
54
|
"@metamask/browser-passworder": "^4.3.0",
|
|
55
55
|
"@metamask/eslint-config": "^12.1.0",
|
|
56
56
|
"@metamask/eslint-config-jest": "^12.1.0",
|
|
57
57
|
"@metamask/eslint-config-nodejs": "^12.1.0",
|
|
58
58
|
"@metamask/eslint-config-typescript": "^12.1.0",
|
|
59
|
-
"@metamask/json-rpc-engine": "^
|
|
59
|
+
"@metamask/json-rpc-engine": "^8.0.1",
|
|
60
60
|
"@swc/core": "1.3.78",
|
|
61
61
|
"@swc/jest": "^0.2.26",
|
|
62
62
|
"@types/node": "18.14.2",
|
package/dist/chunk-E4HGQWSS.js
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var _chunkABFJRV6Qjs = require('./chunk-ABFJRV6Q.js');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
var _chunkEAL6AH74js = require('./chunk-EAL6AH74.js');
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
var _chunkW2VJ5TWLjs = require('./chunk-W2VJ5TWL.js');
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
var _chunkJV26U22Gjs = require('./chunk-JV26U22G.js');
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
var _chunkFMUQOZIOjs = require('./chunk-FMUQOZIO.js');
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
var _chunkUXVJ7HYOjs = require('./chunk-UXVJ7HYO.js');
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
var _chunkUYSXSKMLjs = require('./chunk-UYSXSKML.js');
|
|
25
|
-
|
|
26
|
-
// src/restricted/caveats/index.ts
|
|
27
|
-
var caveatSpecifications = {
|
|
28
|
-
..._chunkEAL6AH74js.PermittedDerivationPathsCaveatSpecification,
|
|
29
|
-
..._chunkABFJRV6Qjs.PermittedCoinTypesCaveatSpecification,
|
|
30
|
-
..._chunkW2VJ5TWLjs.SnapIdsCaveatSpecification
|
|
31
|
-
};
|
|
32
|
-
var caveatMappers = {
|
|
33
|
-
[_chunkFMUQOZIOjs.getBip32EntropyBuilder.targetName]: _chunkEAL6AH74js.permittedDerivationPathsCaveatMapper,
|
|
34
|
-
[_chunkUXVJ7HYOjs.getBip32PublicKeyBuilder.targetName]: _chunkEAL6AH74js.permittedDerivationPathsCaveatMapper,
|
|
35
|
-
[_chunkJV26U22Gjs.getBip44EntropyBuilder.targetName]: _chunkABFJRV6Qjs.permittedCoinTypesCaveatMapper,
|
|
36
|
-
[_chunkUYSXSKMLjs.invokeSnapBuilder.targetName]: _chunkW2VJ5TWLjs.snapIdsCaveatMapper
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
exports.caveatSpecifications = caveatSpecifications; exports.caveatMappers = caveatMappers;
|
|
43
|
-
//# sourceMappingURL=chunk-E4HGQWSS.js.map
|