Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@metamask/snaps-utils

Package Overview
Dependencies
Maintainers
12
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metamask/snaps-utils - npm Package Compare versions

Comparing version 7.0.3 to 7.0.4

dist/chunk-6F2DZTGM.mjs

10

CHANGELOG.md

@@ -9,2 +9,9 @@ # Changelog

## [7.0.4]
### Changed
- Bump MetaMask dependencies ([#2270](https://github.com/MetaMask/snaps/pull/2270))
### Fixed
- Allow `maxRequestTime` on `endowment:rpc` ([#2291](https://github.com/MetaMask/snaps/pull/2291))
## [7.0.3]

@@ -203,3 +210,4 @@ ### Changed

[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-utils@7.0.3...HEAD
[Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-utils@7.0.4...HEAD
[7.0.4]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-utils@7.0.3...@metamask/snaps-utils@7.0.4
[7.0.3]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-utils@7.0.2...@metamask/snaps-utils@7.0.3

@@ -206,0 +214,0 @@ [7.0.2]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-utils@7.0.1...@metamask/snaps-utils@7.0.2

8

dist/index.js

@@ -26,3 +26,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-7LOABHVW.js');

var _chunkYMUOYQFUjs = require('./chunk-YMUOYQFU.js');
var _chunkOK2Q2GT7js = require('./chunk-OK2Q2GT7.js');

@@ -55,5 +55,6 @@

var _chunkENKAY3PIjs = require('./chunk-ENKAY3PI.js');
var _chunkLTWLSRSRjs = require('./chunk-LTWLSRSR.js');
var _chunkAOGVLPQZjs = require('./chunk-AOGVLPQZ.js');

@@ -379,3 +380,4 @@

exports.ACCOUNT_ADDRESS_REGEX = _chunk6LOYTBS3js.ACCOUNT_ADDRESS_REGEX; exports.ACCOUNT_ID_REGEX = _chunk6LOYTBS3js.ACCOUNT_ID_REGEX; exports.AccountAddressStruct = _chunk6LOYTBS3js.AccountAddressStruct; exports.AccountIdArrayStruct = _chunk6LOYTBS3js.AccountIdArrayStruct; exports.AccountIdStruct = _chunk6LOYTBS3js.AccountIdStruct; exports.AddressResolutionResponseStruct = _chunk3SOYDY4Wjs.AddressResolutionResponseStruct; exports.AddressResolutionStruct = _chunk3SOYDY4Wjs.AddressResolutionStruct; exports.BaseSnapIdStruct = _chunkTG4BDSYJjs.BaseSnapIdStruct; exports.Bip32EntropyStruct = _chunkENKAY3PIjs.Bip32EntropyStruct; exports.Bip32PathStruct = _chunkENKAY3PIjs.Bip32PathStruct; exports.CHAIN_ID_REGEX = _chunk6LOYTBS3js.CHAIN_ID_REGEX; exports.ChainIdStringStruct = _chunk6LOYTBS3js.ChainIdStringStruct; exports.ChainIdStruct = _chunk6LOYTBS3js.ChainIdStruct; exports.ChainIdsStruct = _chunkENKAY3PIjs.ChainIdsStruct; exports.ChainStruct = _chunk6LOYTBS3js.ChainStruct; exports.CronExpressionStruct = _chunk2LBN5T56js.CronExpressionStruct; exports.CronjobRpcRequestStruct = _chunk2LBN5T56js.CronjobRpcRequestStruct; exports.CronjobSpecificationArrayStruct = _chunk2LBN5T56js.CronjobSpecificationArrayStruct; exports.CronjobSpecificationStruct = _chunk2LBN5T56js.CronjobSpecificationStruct; exports.DEFAULT_ENDOWMENTS = _chunkN722KRZWjs.DEFAULT_ENDOWMENTS; exports.DEFAULT_REQUESTED_SNAP_VERSION = _chunkIPOE62V4js.DEFAULT_REQUESTED_SNAP_VERSION; exports.DomainResolutionResponseStruct = _chunk3SOYDY4Wjs.DomainResolutionResponseStruct; exports.DomainResolutionStruct = _chunk3SOYDY4Wjs.DomainResolutionStruct; exports.FORBIDDEN_COIN_TYPES = _chunkENKAY3PIjs.FORBIDDEN_COIN_TYPES; exports.HandlerCaveatsStruct = _chunkENKAY3PIjs.HandlerCaveatsStruct; exports.HandlerType = _chunkLEKZPKS2js.HandlerType; exports.HttpSnapIdStruct = _chunkTG4BDSYJjs.HttpSnapIdStruct; exports.InitialConnectionsStruct = _chunkENKAY3PIjs.InitialConnectionsStruct; exports.KeyringOriginsStruct = _chunkCQRPSEH3js.KeyringOriginsStruct; exports.LOCALHOST_HOSTNAMES = _chunkTG4BDSYJjs.LOCALHOST_HOSTNAMES; exports.LOCALIZABLE_FIELDS = _chunkAFQY2CNYjs.LOCALIZABLE_FIELDS; exports.LimitedString = _chunk6LOYTBS3js.LimitedString; exports.LocalSnapIdStruct = _chunkTG4BDSYJjs.LocalSnapIdStruct; exports.LocalizationFileStruct = _chunkAFQY2CNYjs.LocalizationFileStruct; exports.LookupMatchersStruct = _chunkENKAY3PIjs.LookupMatchersStruct; exports.MAXIMUM_REQUEST_TIMEOUT = _chunkENKAY3PIjs.MAXIMUM_REQUEST_TIMEOUT; exports.MINIMUM_REQUEST_TIMEOUT = _chunkENKAY3PIjs.MINIMUM_REQUEST_TIMEOUT; exports.MaxRequestTimeStruct = _chunkENKAY3PIjs.MaxRequestTimeStruct; exports.NameStruct = _chunkCMOSYNZRjs.NameStruct; exports.NamespaceIdStruct = _chunk6LOYTBS3js.NamespaceIdStruct; exports.NamespaceStruct = _chunk6LOYTBS3js.NamespaceStruct; exports.NpmSnapFileNames = _chunkCMOSYNZRjs.NpmSnapFileNames; exports.NpmSnapIdStruct = _chunkTG4BDSYJjs.NpmSnapIdStruct; exports.NpmSnapPackageJsonStruct = _chunkCMOSYNZRjs.NpmSnapPackageJsonStruct; exports.OnHomePageResponseStruct = _chunk3SOYDY4Wjs.OnHomePageResponseStruct; exports.OnHomePageResponseWithContentStruct = _chunk3SOYDY4Wjs.OnHomePageResponseWithContentStruct; exports.OnHomePageResponseWithIdStruct = _chunk3SOYDY4Wjs.OnHomePageResponseWithIdStruct; exports.OnNameLookupResponseStruct = _chunk3SOYDY4Wjs.OnNameLookupResponseStruct; exports.OnSignatureResponseStruct = _chunk3SOYDY4Wjs.OnSignatureResponseStruct; exports.OnTransactionResponseStruct = _chunk3SOYDY4Wjs.OnTransactionResponseStruct; exports.OnTransactionResponseWithContentStruct = _chunk3SOYDY4Wjs.OnTransactionResponseWithContentStruct; exports.OnTransactionResponseWithIdStruct = _chunk3SOYDY4Wjs.OnTransactionResponseWithIdStruct; exports.OnTransactionSeverityResponseStruct = _chunk3SOYDY4Wjs.OnTransactionSeverityResponseStruct; exports.PROPOSED_NAME_REGEX = _chunkTG4BDSYJjs.PROPOSED_NAME_REGEX; exports.PermissionsStruct = _chunkENKAY3PIjs.PermissionsStruct; exports.ProgrammaticallyFixableSnapError = _chunkTG4BDSYJjs.ProgrammaticallyFixableSnapError; exports.RpcOriginsStruct = _chunkCQRPSEH3js.RpcOriginsStruct; exports.SIP_6_MAGIC_VALUE = _chunkZT3KKTS2js.SIP_6_MAGIC_VALUE; exports.SNAPS_DERIVATION_PATHS = _chunk2PCPD5XYjs.SNAPS_DERIVATION_PATHS; exports.SNAP_ERROR_WRAPPER_CODE = _chunkK6BCBPXFjs.SNAP_ERROR_WRAPPER_CODE; exports.SNAP_ERROR_WRAPPER_MESSAGE = _chunkK6BCBPXFjs.SNAP_ERROR_WRAPPER_MESSAGE; exports.SNAP_EXPORTS = _chunk3SOYDY4Wjs.SNAP_EXPORTS; exports.SNAP_EXPORT_NAMES = _chunkLEKZPKS2js.SNAP_EXPORT_NAMES; exports.SNAP_STREAM_NAMES = _chunkCMOSYNZRjs.SNAP_STREAM_NAMES; exports.STATE_ENCRYPTION_MAGIC_VALUE = _chunkZT3KKTS2js.STATE_ENCRYPTION_MAGIC_VALUE; exports.SemVerRangeStruct = _chunkENKAY3PIjs.SemVerRangeStruct; exports.SnapAuxilaryFilesStruct = _chunkENKAY3PIjs.SnapAuxilaryFilesStruct; exports.SnapCaveatType = _chunkASZWZ7JTjs.SnapCaveatType; exports.SnapGetBip32EntropyPermissionsStruct = _chunkENKAY3PIjs.SnapGetBip32EntropyPermissionsStruct; exports.SnapIdPrefixes = _chunkCMOSYNZRjs.SnapIdPrefixes; exports.SnapIdStruct = _chunkTG4BDSYJjs.SnapIdStruct; exports.SnapIdsStruct = _chunkENKAY3PIjs.SnapIdsStruct; exports.SnapManifestStruct = _chunkENKAY3PIjs.SnapManifestStruct; exports.SnapStatus = _chunkTG4BDSYJjs.SnapStatus; exports.SnapStatusEvents = _chunkTG4BDSYJjs.SnapStatusEvents; exports.SnapValidationFailureReason = _chunkCMOSYNZRjs.SnapValidationFailureReason; exports.SnapsStructError = _chunkA6E325SZjs.SnapsStructError; exports.TRANSLATION_REGEX = _chunkAFQY2CNYjs.TRANSLATION_REGEX; exports.VirtualFile = _chunkHJYRGKCXjs.VirtualFile; exports.WALLET_SNAP_PERMISSION_KEY = _chunkCMOSYNZRjs.WALLET_SNAP_PERMISSION_KEY; exports.WrappedSnapError = _chunkK6BCBPXFjs.WrappedSnapError; exports.arrayToGenerator = _chunkA6E325SZjs.arrayToGenerator; exports.assertIsJsonRpcSuccess = _chunkCQRPSEH3js.assertIsJsonRpcSuccess; exports.assertIsKeyringOrigins = _chunkCQRPSEH3js.assertIsKeyringOrigins; exports.assertIsNpmSnapPackageJson = _chunkCMOSYNZRjs.assertIsNpmSnapPackageJson; exports.assertIsRpcOrigins = _chunkCQRPSEH3js.assertIsRpcOrigins; exports.assertIsSnapManifest = _chunkENKAY3PIjs.assertIsSnapManifest; exports.assertIsValidSnapId = _chunkTG4BDSYJjs.assertIsValidSnapId; exports.bip32entropy = _chunkENKAY3PIjs.bip32entropy; exports.checksum = _chunkMLOQHUOYjs.checksum; exports.checksumFiles = _chunkMLOQHUOYjs.checksumFiles; exports.createFromStruct = _chunkA6E325SZjs.createFromStruct; exports.createSnapManifest = _chunkENKAY3PIjs.createSnapManifest; exports.createUnion = _chunkA6E325SZjs.createUnion; exports.createWindow = _chunkPLBSSUVYjs.createWindow; exports.decodeBase64 = _chunkIHQPAJ2Bjs.decodeBase64; exports.deepClone = _chunkNUCLSR2Gjs.deepClone; exports.encodeAuxiliaryFile = _chunkIXBJNVHKjs.encodeAuxiliaryFile; exports.encodeBase64 = _chunkIHQPAJ2Bjs.encodeBase64; exports.getBytes = _chunk473MIETWjs.getBytes; exports.getError = _chunkA6E325SZjs.getError; exports.getLocalizationFile = _chunkAFQY2CNYjs.getLocalizationFile; exports.getLocalizedSnapManifest = _chunkAFQY2CNYjs.getLocalizedSnapManifest; exports.getSlip44ProtocolName = _chunk2PCPD5XYjs.getSlip44ProtocolName; exports.getSnapChecksum = _chunkTG4BDSYJjs.getSnapChecksum; exports.getSnapDerivationPathName = _chunk2PCPD5XYjs.getSnapDerivationPathName; exports.getSnapPrefix = _chunkTG4BDSYJjs.getSnapPrefix; exports.getStructErrorMessage = _chunkA6E325SZjs.getStructErrorMessage; exports.getStructErrorPrefix = _chunkA6E325SZjs.getStructErrorPrefix; exports.getStructFailureMessage = _chunkA6E325SZjs.getStructFailureMessage; exports.getStructFromPath = _chunkA6E325SZjs.getStructFromPath; exports.getTargetVersion = _chunkIPOE62V4js.getTargetVersion; exports.getTotalTextLength = _chunkEX4PPLNDjs.getTotalTextLength; exports.getUnionStructNames = _chunkA6E325SZjs.getUnionStructNames; exports.getValidatedLocalizationFiles = _chunkAFQY2CNYjs.getValidatedLocalizationFiles; exports.indent = _chunkIJX3CXOYjs.indent; exports.isAccountId = _chunk6LOYTBS3js.isAccountId; exports.isAccountIdArray = _chunk6LOYTBS3js.isAccountIdArray; exports.isCaipChainId = _chunkTG4BDSYJjs.isCaipChainId; exports.isChainId = _chunk6LOYTBS3js.isChainId; exports.isCronjobSpecification = _chunk2LBN5T56js.isCronjobSpecification; exports.isCronjobSpecificationArray = _chunk2LBN5T56js.isCronjobSpecificationArray; exports.isEqual = _chunkT3YY4JIJjs.isEqual; exports.isNamespace = _chunk6LOYTBS3js.isNamespace; exports.isNamespaceId = _chunk6LOYTBS3js.isNamespaceId; exports.isNpmSnapPackageJson = _chunkCMOSYNZRjs.isNpmSnapPackageJson; exports.isOriginAllowed = _chunkCQRPSEH3js.isOriginAllowed; exports.isSerializedSnapError = _chunkK6BCBPXFjs.isSerializedSnapError; exports.isSnapError = _chunkK6BCBPXFjs.isSnapError; exports.isSnapManifest = _chunkENKAY3PIjs.isSnapManifest; exports.isSnapPermitted = _chunkTG4BDSYJjs.isSnapPermitted; exports.isValidUrl = _chunkCMOSYNZRjs.isValidUrl; exports.isWrappedSnapError = _chunkK6BCBPXFjs.isWrappedSnapError; exports.logError = _chunkE3BDBG6Tjs.logError; exports.logInfo = _chunkE3BDBG6Tjs.logInfo; exports.logWarning = _chunkE3BDBG6Tjs.logWarning; exports.named = _chunkA6E325SZjs.named; exports.normalizeRelative = _chunkAOGVLPQZjs.normalizeRelative; exports.parseAccountId = _chunk6LOYTBS3js.parseAccountId; exports.parseChainId = _chunk6LOYTBS3js.parseChainId; exports.parseCronExpression = _chunk2LBN5T56js.parseCronExpression; exports.parseJson = _chunkHF7HUZ5Zjs.parseJson; exports.resolveVersionRange = _chunkIPOE62V4js.resolveVersionRange; exports.snapsLogger = _chunkE3BDBG6Tjs.snapsLogger; exports.stripSnapPrefix = _chunkTG4BDSYJjs.stripSnapPrefix; exports.translate = _chunkAFQY2CNYjs.translate; exports.unwrapError = _chunkK6BCBPXFjs.unwrapError; exports.uri = _chunkCMOSYNZRjs.uri; exports.validateComponentLinks = _chunkEX4PPLNDjs.validateComponentLinks; exports.validateFetchedSnap = _chunkYMUOYQFUjs.validateFetchedSnap; exports.validateSnapManifestLocalizations = _chunkAFQY2CNYjs.validateSnapManifestLocalizations; exports.validateSnapShasum = _chunkTG4BDSYJjs.validateSnapShasum; exports.validateTextLinks = _chunkEX4PPLNDjs.validateTextLinks; exports.validateUnion = _chunkA6E325SZjs.validateUnion; exports.verifyRequestedSnapPermissions = _chunkTG4BDSYJjs.verifyRequestedSnapPermissions;
exports.ACCOUNT_ADDRESS_REGEX = _chunk6LOYTBS3js.ACCOUNT_ADDRESS_REGEX; exports.ACCOUNT_ID_REGEX = _chunk6LOYTBS3js.ACCOUNT_ID_REGEX; exports.AccountAddressStruct = _chunk6LOYTBS3js.AccountAddressStruct; exports.AccountIdArrayStruct = _chunk6LOYTBS3js.AccountIdArrayStruct; exports.AccountIdStruct = _chunk6LOYTBS3js.AccountIdStruct; exports.AddressResolutionResponseStruct = _chunk3SOYDY4Wjs.AddressResolutionResponseStruct; exports.AddressResolutionStruct = _chunk3SOYDY4Wjs.AddressResolutionStruct; exports.BaseSnapIdStruct = _chunkTG4BDSYJjs.BaseSnapIdStruct; exports.Bip32EntropyStruct = _chunkLTWLSRSRjs.Bip32EntropyStruct; exports.Bip32PathStruct = _chunkLTWLSRSRjs.Bip32PathStruct; exports.CHAIN_ID_REGEX = _chunk6LOYTBS3js.CHAIN_ID_REGEX; exports.ChainIdStringStruct = _chunk6LOYTBS3js.ChainIdStringStruct; exports.ChainIdStruct = _chunk6LOYTBS3js.ChainIdStruct; exports.ChainIdsStruct = _chunkLTWLSRSRjs.ChainIdsStruct; exports.ChainStruct = _chunk6LOYTBS3js.ChainStruct; exports.CronExpressionStruct = _chunk2LBN5T56js.CronExpressionStruct; exports.CronjobRpcRequestStruct = _chunk2LBN5T56js.CronjobRpcRequestStruct; exports.CronjobSpecificationArrayStruct = _chunk2LBN5T56js.CronjobSpecificationArrayStruct; exports.CronjobSpecificationStruct = _chunk2LBN5T56js.CronjobSpecificationStruct; exports.DEFAULT_ENDOWMENTS = _chunkN722KRZWjs.DEFAULT_ENDOWMENTS; exports.DEFAULT_REQUESTED_SNAP_VERSION = _chunkIPOE62V4js.DEFAULT_REQUESTED_SNAP_VERSION; exports.DomainResolutionResponseStruct = _chunk3SOYDY4Wjs.DomainResolutionResponseStruct; exports.DomainResolutionStruct = _chunk3SOYDY4Wjs.DomainResolutionStruct; exports.EmptyObjectStruct = _chunkLTWLSRSRjs.EmptyObjectStruct; exports.FORBIDDEN_COIN_TYPES = _chunkLTWLSRSRjs.FORBIDDEN_COIN_TYPES; exports.HandlerCaveatsStruct = _chunkLTWLSRSRjs.HandlerCaveatsStruct; exports.HandlerType = _chunkLEKZPKS2js.HandlerType; exports.HttpSnapIdStruct = _chunkTG4BDSYJjs.HttpSnapIdStruct; exports.InitialConnectionsStruct = _chunkLTWLSRSRjs.InitialConnectionsStruct; exports.KeyringOriginsStruct = _chunkCQRPSEH3js.KeyringOriginsStruct; exports.LOCALHOST_HOSTNAMES = _chunkTG4BDSYJjs.LOCALHOST_HOSTNAMES; exports.LOCALIZABLE_FIELDS = _chunkAFQY2CNYjs.LOCALIZABLE_FIELDS; exports.LimitedString = _chunk6LOYTBS3js.LimitedString; exports.LocalSnapIdStruct = _chunkTG4BDSYJjs.LocalSnapIdStruct; exports.LocalizationFileStruct = _chunkAFQY2CNYjs.LocalizationFileStruct; exports.LookupMatchersStruct = _chunkLTWLSRSRjs.LookupMatchersStruct; exports.MAXIMUM_REQUEST_TIMEOUT = _chunkLTWLSRSRjs.MAXIMUM_REQUEST_TIMEOUT; exports.MINIMUM_REQUEST_TIMEOUT = _chunkLTWLSRSRjs.MINIMUM_REQUEST_TIMEOUT; exports.MaxRequestTimeStruct = _chunkLTWLSRSRjs.MaxRequestTimeStruct; exports.NameStruct = _chunkCMOSYNZRjs.NameStruct; exports.NamespaceIdStruct = _chunk6LOYTBS3js.NamespaceIdStruct; exports.NamespaceStruct = _chunk6LOYTBS3js.NamespaceStruct; exports.NpmSnapFileNames = _chunkCMOSYNZRjs.NpmSnapFileNames; exports.NpmSnapIdStruct = _chunkTG4BDSYJjs.NpmSnapIdStruct; exports.NpmSnapPackageJsonStruct = _chunkCMOSYNZRjs.NpmSnapPackageJsonStruct; exports.OnHomePageResponseStruct = _chunk3SOYDY4Wjs.OnHomePageResponseStruct; exports.OnHomePageResponseWithContentStruct = _chunk3SOYDY4Wjs.OnHomePageResponseWithContentStruct; exports.OnHomePageResponseWithIdStruct = _chunk3SOYDY4Wjs.OnHomePageResponseWithIdStruct; exports.OnNameLookupResponseStruct = _chunk3SOYDY4Wjs.OnNameLookupResponseStruct; exports.OnSignatureResponseStruct = _chunk3SOYDY4Wjs.OnSignatureResponseStruct; exports.OnTransactionResponseStruct = _chunk3SOYDY4Wjs.OnTransactionResponseStruct; exports.OnTransactionResponseWithContentStruct = _chunk3SOYDY4Wjs.OnTransactionResponseWithContentStruct; exports.OnTransactionResponseWithIdStruct = _chunk3SOYDY4Wjs.OnTransactionResponseWithIdStruct; exports.OnTransactionSeverityResponseStruct = _chunk3SOYDY4Wjs.OnTransactionSeverityResponseStruct; exports.PROPOSED_NAME_REGEX = _chunkTG4BDSYJjs.PROPOSED_NAME_REGEX; exports.PermissionsStruct = _chunkLTWLSRSRjs.PermissionsStruct; exports.ProgrammaticallyFixableSnapError = _chunkTG4BDSYJjs.ProgrammaticallyFixableSnapError; exports.RpcOriginsStruct = _chunkCQRPSEH3js.RpcOriginsStruct; exports.SIP_6_MAGIC_VALUE = _chunkZT3KKTS2js.SIP_6_MAGIC_VALUE; exports.SNAPS_DERIVATION_PATHS = _chunk2PCPD5XYjs.SNAPS_DERIVATION_PATHS; exports.SNAP_ERROR_WRAPPER_CODE = _chunkK6BCBPXFjs.SNAP_ERROR_WRAPPER_CODE; exports.SNAP_ERROR_WRAPPER_MESSAGE = _chunkK6BCBPXFjs.SNAP_ERROR_WRAPPER_MESSAGE; exports.SNAP_EXPORTS = _chunk3SOYDY4Wjs.SNAP_EXPORTS; exports.SNAP_EXPORT_NAMES = _chunkLEKZPKS2js.SNAP_EXPORT_NAMES; exports.SNAP_STREAM_NAMES = _chunkCMOSYNZRjs.SNAP_STREAM_NAMES; exports.STATE_ENCRYPTION_MAGIC_VALUE = _chunkZT3KKTS2js.STATE_ENCRYPTION_MAGIC_VALUE; exports.SemVerRangeStruct = _chunkLTWLSRSRjs.SemVerRangeStruct; exports.SnapAuxilaryFilesStruct = _chunkLTWLSRSRjs.SnapAuxilaryFilesStruct; exports.SnapCaveatType = _chunkASZWZ7JTjs.SnapCaveatType; exports.SnapGetBip32EntropyPermissionsStruct = _chunkLTWLSRSRjs.SnapGetBip32EntropyPermissionsStruct; exports.SnapIdPrefixes = _chunkCMOSYNZRjs.SnapIdPrefixes; exports.SnapIdStruct = _chunkTG4BDSYJjs.SnapIdStruct; exports.SnapIdsStruct = _chunkLTWLSRSRjs.SnapIdsStruct; exports.SnapManifestStruct = _chunkLTWLSRSRjs.SnapManifestStruct; exports.SnapStatus = _chunkTG4BDSYJjs.SnapStatus; exports.SnapStatusEvents = _chunkTG4BDSYJjs.SnapStatusEvents; exports.SnapValidationFailureReason = _chunkCMOSYNZRjs.SnapValidationFailureReason; exports.SnapsStructError = _chunkA6E325SZjs.SnapsStructError; exports.TRANSLATION_REGEX = _chunkAFQY2CNYjs.TRANSLATION_REGEX; exports.VirtualFile = _chunkHJYRGKCXjs.VirtualFile; exports.WALLET_SNAP_PERMISSION_KEY = _chunkCMOSYNZRjs.WALLET_SNAP_PERMISSION_KEY; exports.WrappedSnapError = _chunkK6BCBPXFjs.WrappedSnapError; exports.arrayToGenerator = _chunkA6E325SZjs.arrayToGenerator; exports.assertIsJsonRpcSuccess = _chunkCQRPSEH3js.assertIsJsonRpcSuccess; exports.assertIsKeyringOrigins = _chunkCQRPSEH3js.assertIsKeyringOrigins; exports.assertIsNpmSnapPackageJson = _chunkCMOSYNZRjs.assertIsNpmSnapPackageJson; exports.assertIsRpcOrigins = _chunkCQRPSEH3js.assertIsRpcOrigins; exports.assertIsSnapManifest = _chunkLTWLSRSRjs.assertIsSnapManifest; exports.assertIsValidSnapId = _chunkTG4BDSYJjs.assertIsValidSnapId; exports.bip32entropy = _chunkLTWLSRSRjs.bip32entropy; exports.checksum = _chunkMLOQHUOYjs.checksum; exports.checksumFiles = _chunkMLOQHUOYjs.checksumFiles; exports.createFromStruct = _chunkA6E325SZjs.createFromStruct; exports.createSnapManifest = _chunkLTWLSRSRjs.createSnapManifest; exports.createUnion = _chunkA6E325SZjs.createUnion; exports.createWindow = _chunkPLBSSUVYjs.createWindow; exports.decodeBase64 = _chunkIHQPAJ2Bjs.decodeBase64; exports.deepClone = _chunkNUCLSR2Gjs.deepClone; exports.encodeAuxiliaryFile = _chunkIXBJNVHKjs.encodeAuxiliaryFile; exports.encodeBase64 = _chunkIHQPAJ2Bjs.encodeBase64; exports.getBytes = _chunk473MIETWjs.getBytes; exports.getError = _chunkA6E325SZjs.getError; exports.getLocalizationFile = _chunkAFQY2CNYjs.getLocalizationFile; exports.getLocalizedSnapManifest = _chunkAFQY2CNYjs.getLocalizedSnapManifest; exports.getSlip44ProtocolName = _chunk2PCPD5XYjs.getSlip44ProtocolName; exports.getSnapChecksum = _chunkTG4BDSYJjs.getSnapChecksum; exports.getSnapDerivationPathName = _chunk2PCPD5XYjs.getSnapDerivationPathName; exports.getSnapPrefix = _chunkTG4BDSYJjs.getSnapPrefix; exports.getStructErrorMessage = _chunkA6E325SZjs.getStructErrorMessage; exports.getStructErrorPrefix = _chunkA6E325SZjs.getStructErrorPrefix; exports.getStructFailureMessage = _chunkA6E325SZjs.getStructFailureMessage; exports.getStructFromPath = _chunkA6E325SZjs.getStructFromPath; exports.getTargetVersion = _chunkIPOE62V4js.getTargetVersion; exports.getTotalTextLength = _chunkEX4PPLNDjs.getTotalTextLength; exports.getUnionStructNames = _chunkA6E325SZjs.getUnionStructNames; exports.getValidatedLocalizationFiles = _chunkAFQY2CNYjs.getValidatedLocalizationFiles; exports.indent = _chunkIJX3CXOYjs.indent; exports.isAccountId = _chunk6LOYTBS3js.isAccountId; exports.isAccountIdArray = _chunk6LOYTBS3js.isAccountIdArray; exports.isCaipChainId = _chunkTG4BDSYJjs.isCaipChainId; exports.isChainId = _chunk6LOYTBS3js.isChainId; exports.isCronjobSpecification = _chunk2LBN5T56js.isCronjobSpecification; exports.isCronjobSpecificationArray = _chunk2LBN5T56js.isCronjobSpecificationArray; exports.isEqual = _chunkT3YY4JIJjs.isEqual; exports.isNamespace = _chunk6LOYTBS3js.isNamespace; exports.isNamespaceId = _chunk6LOYTBS3js.isNamespaceId; exports.isNpmSnapPackageJson = _chunkCMOSYNZRjs.isNpmSnapPackageJson; exports.isOriginAllowed = _chunkCQRPSEH3js.isOriginAllowed; exports.isSerializedSnapError = _chunkK6BCBPXFjs.isSerializedSnapError; exports.isSnapError = _chunkK6BCBPXFjs.isSnapError; exports.isSnapManifest = _chunkLTWLSRSRjs.isSnapManifest; exports.isSnapPermitted = _chunkTG4BDSYJjs.isSnapPermitted; exports.isValidUrl = _chunkCMOSYNZRjs.isValidUrl; exports.isWrappedSnapError = _chunkK6BCBPXFjs.isWrappedSnapError; exports.logError = _chunkE3BDBG6Tjs.logError; exports.logInfo = _chunkE3BDBG6Tjs.logInfo; exports.logWarning = _chunkE3BDBG6Tjs.logWarning; exports.named = _chunkA6E325SZjs.named; exports.normalizeRelative = _chunkAOGVLPQZjs.normalizeRelative; exports.parseAccountId = _chunk6LOYTBS3js.parseAccountId; exports.parseChainId = _chunk6LOYTBS3js.parseChainId; exports.parseCronExpression = _chunk2LBN5T56js.parseCronExpression; exports.parseJson = _chunkHF7HUZ5Zjs.parseJson; exports.resolveVersionRange = _chunkIPOE62V4js.resolveVersionRange; exports.snapsLogger = _chunkE3BDBG6Tjs.snapsLogger; exports.stripSnapPrefix = _chunkTG4BDSYJjs.stripSnapPrefix; exports.translate = _chunkAFQY2CNYjs.translate; exports.unwrapError = _chunkK6BCBPXFjs.unwrapError; exports.uri = _chunkCMOSYNZRjs.uri; exports.validateComponentLinks = _chunkEX4PPLNDjs.validateComponentLinks; exports.validateFetchedSnap = _chunkOK2Q2GT7js.validateFetchedSnap; exports.validateSnapManifestLocalizations = _chunkAFQY2CNYjs.validateSnapManifestLocalizations; exports.validateSnapShasum = _chunkTG4BDSYJjs.validateSnapShasum; exports.validateTextLinks = _chunkEX4PPLNDjs.validateTextLinks; exports.validateUnion = _chunkA6E325SZjs.validateUnion; exports.verifyRequestedSnapPermissions = _chunkTG4BDSYJjs.verifyRequestedSnapPermissions;
//# sourceMappingURL=index.js.map

@@ -23,3 +23,4 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-4CMD46B2.js');

var _chunkENKAY3PIjs = require('../chunk-ENKAY3PI.js');
var _chunkLTWLSRSRjs = require('../chunk-LTWLSRSR.js');
require('../chunk-TG4BDSYJ.js');

@@ -59,3 +60,4 @@ require('../chunk-6LOYTBS3.js');

exports.Bip32EntropyStruct = _chunkENKAY3PIjs.Bip32EntropyStruct; exports.Bip32PathStruct = _chunkENKAY3PIjs.Bip32PathStruct; exports.ChainIdsStruct = _chunkENKAY3PIjs.ChainIdsStruct; exports.FORBIDDEN_COIN_TYPES = _chunkENKAY3PIjs.FORBIDDEN_COIN_TYPES; exports.HandlerCaveatsStruct = _chunkENKAY3PIjs.HandlerCaveatsStruct; exports.InitialConnectionsStruct = _chunkENKAY3PIjs.InitialConnectionsStruct; exports.LookupMatchersStruct = _chunkENKAY3PIjs.LookupMatchersStruct; exports.MAXIMUM_REQUEST_TIMEOUT = _chunkENKAY3PIjs.MAXIMUM_REQUEST_TIMEOUT; exports.MINIMUM_REQUEST_TIMEOUT = _chunkENKAY3PIjs.MINIMUM_REQUEST_TIMEOUT; exports.MaxRequestTimeStruct = _chunkENKAY3PIjs.MaxRequestTimeStruct; exports.PermissionsStruct = _chunkENKAY3PIjs.PermissionsStruct; exports.SemVerRangeStruct = _chunkENKAY3PIjs.SemVerRangeStruct; exports.SnapAuxilaryFilesStruct = _chunkENKAY3PIjs.SnapAuxilaryFilesStruct; exports.SnapGetBip32EntropyPermissionsStruct = _chunkENKAY3PIjs.SnapGetBip32EntropyPermissionsStruct; exports.SnapIdsStruct = _chunkENKAY3PIjs.SnapIdsStruct; exports.SnapManifestStruct = _chunkENKAY3PIjs.SnapManifestStruct; exports.assertIsSnapManifest = _chunkENKAY3PIjs.assertIsSnapManifest; exports.bip32entropy = _chunkENKAY3PIjs.bip32entropy; exports.createSnapManifest = _chunkENKAY3PIjs.createSnapManifest; exports.isSnapManifest = _chunkENKAY3PIjs.isSnapManifest;
exports.Bip32EntropyStruct = _chunkLTWLSRSRjs.Bip32EntropyStruct; exports.Bip32PathStruct = _chunkLTWLSRSRjs.Bip32PathStruct; exports.ChainIdsStruct = _chunkLTWLSRSRjs.ChainIdsStruct; exports.EmptyObjectStruct = _chunkLTWLSRSRjs.EmptyObjectStruct; exports.FORBIDDEN_COIN_TYPES = _chunkLTWLSRSRjs.FORBIDDEN_COIN_TYPES; exports.HandlerCaveatsStruct = _chunkLTWLSRSRjs.HandlerCaveatsStruct; exports.InitialConnectionsStruct = _chunkLTWLSRSRjs.InitialConnectionsStruct; exports.LookupMatchersStruct = _chunkLTWLSRSRjs.LookupMatchersStruct; exports.MAXIMUM_REQUEST_TIMEOUT = _chunkLTWLSRSRjs.MAXIMUM_REQUEST_TIMEOUT; exports.MINIMUM_REQUEST_TIMEOUT = _chunkLTWLSRSRjs.MINIMUM_REQUEST_TIMEOUT; exports.MaxRequestTimeStruct = _chunkLTWLSRSRjs.MaxRequestTimeStruct; exports.PermissionsStruct = _chunkLTWLSRSRjs.PermissionsStruct; exports.SemVerRangeStruct = _chunkLTWLSRSRjs.SemVerRangeStruct; exports.SnapAuxilaryFilesStruct = _chunkLTWLSRSRjs.SnapAuxilaryFilesStruct; exports.SnapGetBip32EntropyPermissionsStruct = _chunkLTWLSRSRjs.SnapGetBip32EntropyPermissionsStruct; exports.SnapIdsStruct = _chunkLTWLSRSRjs.SnapIdsStruct; exports.SnapManifestStruct = _chunkLTWLSRSRjs.SnapManifestStruct; exports.assertIsSnapManifest = _chunkLTWLSRSRjs.assertIsSnapManifest; exports.bip32entropy = _chunkLTWLSRSRjs.bip32entropy; exports.createSnapManifest = _chunkLTWLSRSRjs.createSnapManifest; exports.isSnapManifest = _chunkLTWLSRSRjs.isSnapManifest;
//# sourceMappingURL=index.js.map

@@ -10,4 +10,4 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true});

var _chunkAWRMYDINjs = require('../chunk-AWRMYDIN.js');
require('../chunk-ENKAY3PI.js');
var _chunkHKJDVWVOjs = require('../chunk-HKJDVWVO.js');
require('../chunk-LTWLSRSR.js');
require('../chunk-TG4BDSYJ.js');

@@ -42,3 +42,3 @@ require('../chunk-M3KAAQFK.js');

exports.checkManifest = _chunkAWRMYDINjs.checkManifest; exports.fixManifest = _chunkAWRMYDINjs.fixManifest; exports.getSnapFilePaths = _chunkAWRMYDINjs.getSnapFilePaths; exports.getSnapFiles = _chunkAWRMYDINjs.getSnapFiles; exports.getSnapIcon = _chunkAWRMYDINjs.getSnapIcon; exports.getSnapSourceCode = _chunkAWRMYDINjs.getSnapSourceCode; exports.getWritableManifest = _chunkAWRMYDINjs.getWritableManifest; exports.validateNpmSnapManifest = _chunkAWRMYDINjs.validateNpmSnapManifest;
exports.checkManifest = _chunkHKJDVWVOjs.checkManifest; exports.fixManifest = _chunkHKJDVWVOjs.fixManifest; exports.getSnapFilePaths = _chunkHKJDVWVOjs.getSnapFilePaths; exports.getSnapFiles = _chunkHKJDVWVOjs.getSnapFiles; exports.getSnapIcon = _chunkHKJDVWVOjs.getSnapIcon; exports.getSnapSourceCode = _chunkHKJDVWVOjs.getSnapSourceCode; exports.getWritableManifest = _chunkHKJDVWVOjs.getWritableManifest; exports.validateNpmSnapManifest = _chunkHKJDVWVOjs.validateNpmSnapManifest;
//# sourceMappingURL=manifest.js.map

@@ -11,3 +11,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-TFP64TMV.js');

var _chunkAWRMYDINjs = require('../chunk-AWRMYDIN.js');
var _chunkHKJDVWVOjs = require('../chunk-HKJDVWVO.js');
require('../chunk-4CMD46B2.js');

@@ -35,3 +35,4 @@

var _chunkENKAY3PIjs = require('../chunk-ENKAY3PI.js');
var _chunkLTWLSRSRjs = require('../chunk-LTWLSRSR.js');
require('../chunk-TG4BDSYJ.js');

@@ -86,3 +87,4 @@ require('../chunk-M3KAAQFK.js');

exports.Bip32EntropyStruct = _chunkENKAY3PIjs.Bip32EntropyStruct; exports.Bip32PathStruct = _chunkENKAY3PIjs.Bip32PathStruct; exports.ChainIdsStruct = _chunkENKAY3PIjs.ChainIdsStruct; exports.FORBIDDEN_COIN_TYPES = _chunkENKAY3PIjs.FORBIDDEN_COIN_TYPES; exports.HandlerCaveatsStruct = _chunkENKAY3PIjs.HandlerCaveatsStruct; exports.InitialConnectionsStruct = _chunkENKAY3PIjs.InitialConnectionsStruct; exports.LookupMatchersStruct = _chunkENKAY3PIjs.LookupMatchersStruct; exports.MAXIMUM_REQUEST_TIMEOUT = _chunkENKAY3PIjs.MAXIMUM_REQUEST_TIMEOUT; exports.MINIMUM_REQUEST_TIMEOUT = _chunkENKAY3PIjs.MINIMUM_REQUEST_TIMEOUT; exports.MaxRequestTimeStruct = _chunkENKAY3PIjs.MaxRequestTimeStruct; exports.PermissionsStruct = _chunkENKAY3PIjs.PermissionsStruct; exports.SemVerRangeStruct = _chunkENKAY3PIjs.SemVerRangeStruct; exports.SnapAuxilaryFilesStruct = _chunkENKAY3PIjs.SnapAuxilaryFilesStruct; exports.SnapGetBip32EntropyPermissionsStruct = _chunkENKAY3PIjs.SnapGetBip32EntropyPermissionsStruct; exports.SnapIdsStruct = _chunkENKAY3PIjs.SnapIdsStruct; exports.SnapManifestStruct = _chunkENKAY3PIjs.SnapManifestStruct; exports.assertIsSnapManifest = _chunkENKAY3PIjs.assertIsSnapManifest; exports.bip32entropy = _chunkENKAY3PIjs.bip32entropy; exports.checkManifest = _chunkAWRMYDINjs.checkManifest; exports.createSnapManifest = _chunkENKAY3PIjs.createSnapManifest; exports.fixManifest = _chunkAWRMYDINjs.fixManifest; exports.getSnapFilePaths = _chunkAWRMYDINjs.getSnapFilePaths; exports.getSnapFiles = _chunkAWRMYDINjs.getSnapFiles; exports.getSnapIcon = _chunkAWRMYDINjs.getSnapIcon; exports.getSnapSourceCode = _chunkAWRMYDINjs.getSnapSourceCode; exports.getWritableManifest = _chunkAWRMYDINjs.getWritableManifest; exports.isSnapManifest = _chunkENKAY3PIjs.isSnapManifest; exports.validateNpmSnapManifest = _chunkAWRMYDINjs.validateNpmSnapManifest;
exports.Bip32EntropyStruct = _chunkLTWLSRSRjs.Bip32EntropyStruct; exports.Bip32PathStruct = _chunkLTWLSRSRjs.Bip32PathStruct; exports.ChainIdsStruct = _chunkLTWLSRSRjs.ChainIdsStruct; exports.EmptyObjectStruct = _chunkLTWLSRSRjs.EmptyObjectStruct; exports.FORBIDDEN_COIN_TYPES = _chunkLTWLSRSRjs.FORBIDDEN_COIN_TYPES; exports.HandlerCaveatsStruct = _chunkLTWLSRSRjs.HandlerCaveatsStruct; exports.InitialConnectionsStruct = _chunkLTWLSRSRjs.InitialConnectionsStruct; exports.LookupMatchersStruct = _chunkLTWLSRSRjs.LookupMatchersStruct; exports.MAXIMUM_REQUEST_TIMEOUT = _chunkLTWLSRSRjs.MAXIMUM_REQUEST_TIMEOUT; exports.MINIMUM_REQUEST_TIMEOUT = _chunkLTWLSRSRjs.MINIMUM_REQUEST_TIMEOUT; exports.MaxRequestTimeStruct = _chunkLTWLSRSRjs.MaxRequestTimeStruct; exports.PermissionsStruct = _chunkLTWLSRSRjs.PermissionsStruct; exports.SemVerRangeStruct = _chunkLTWLSRSRjs.SemVerRangeStruct; exports.SnapAuxilaryFilesStruct = _chunkLTWLSRSRjs.SnapAuxilaryFilesStruct; exports.SnapGetBip32EntropyPermissionsStruct = _chunkLTWLSRSRjs.SnapGetBip32EntropyPermissionsStruct; exports.SnapIdsStruct = _chunkLTWLSRSRjs.SnapIdsStruct; exports.SnapManifestStruct = _chunkLTWLSRSRjs.SnapManifestStruct; exports.assertIsSnapManifest = _chunkLTWLSRSRjs.assertIsSnapManifest; exports.bip32entropy = _chunkLTWLSRSRjs.bip32entropy; exports.checkManifest = _chunkHKJDVWVOjs.checkManifest; exports.createSnapManifest = _chunkLTWLSRSRjs.createSnapManifest; exports.fixManifest = _chunkHKJDVWVOjs.fixManifest; exports.getSnapFilePaths = _chunkHKJDVWVOjs.getSnapFilePaths; exports.getSnapFiles = _chunkHKJDVWVOjs.getSnapFiles; exports.getSnapIcon = _chunkHKJDVWVOjs.getSnapIcon; exports.getSnapSourceCode = _chunkHKJDVWVOjs.getSnapSourceCode; exports.getWritableManifest = _chunkHKJDVWVOjs.getWritableManifest; exports.isSnapManifest = _chunkLTWLSRSRjs.isSnapManifest; exports.validateNpmSnapManifest = _chunkHKJDVWVOjs.validateNpmSnapManifest;
//# sourceMappingURL=node.js.map

@@ -22,3 +22,4 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true});

var _chunkENKAY3PIjs = require('../chunk-ENKAY3PI.js');
var _chunkLTWLSRSRjs = require('../chunk-LTWLSRSR.js');
require('../chunk-TG4BDSYJ.js');

@@ -58,3 +59,4 @@ require('../chunk-6LOYTBS3.js');

exports.Bip32EntropyStruct = _chunkENKAY3PIjs.Bip32EntropyStruct; exports.Bip32PathStruct = _chunkENKAY3PIjs.Bip32PathStruct; exports.ChainIdsStruct = _chunkENKAY3PIjs.ChainIdsStruct; exports.FORBIDDEN_COIN_TYPES = _chunkENKAY3PIjs.FORBIDDEN_COIN_TYPES; exports.HandlerCaveatsStruct = _chunkENKAY3PIjs.HandlerCaveatsStruct; exports.InitialConnectionsStruct = _chunkENKAY3PIjs.InitialConnectionsStruct; exports.LookupMatchersStruct = _chunkENKAY3PIjs.LookupMatchersStruct; exports.MAXIMUM_REQUEST_TIMEOUT = _chunkENKAY3PIjs.MAXIMUM_REQUEST_TIMEOUT; exports.MINIMUM_REQUEST_TIMEOUT = _chunkENKAY3PIjs.MINIMUM_REQUEST_TIMEOUT; exports.MaxRequestTimeStruct = _chunkENKAY3PIjs.MaxRequestTimeStruct; exports.PermissionsStruct = _chunkENKAY3PIjs.PermissionsStruct; exports.SemVerRangeStruct = _chunkENKAY3PIjs.SemVerRangeStruct; exports.SnapAuxilaryFilesStruct = _chunkENKAY3PIjs.SnapAuxilaryFilesStruct; exports.SnapGetBip32EntropyPermissionsStruct = _chunkENKAY3PIjs.SnapGetBip32EntropyPermissionsStruct; exports.SnapIdsStruct = _chunkENKAY3PIjs.SnapIdsStruct; exports.SnapManifestStruct = _chunkENKAY3PIjs.SnapManifestStruct; exports.assertIsSnapManifest = _chunkENKAY3PIjs.assertIsSnapManifest; exports.bip32entropy = _chunkENKAY3PIjs.bip32entropy; exports.createSnapManifest = _chunkENKAY3PIjs.createSnapManifest; exports.isSnapManifest = _chunkENKAY3PIjs.isSnapManifest;
exports.Bip32EntropyStruct = _chunkLTWLSRSRjs.Bip32EntropyStruct; exports.Bip32PathStruct = _chunkLTWLSRSRjs.Bip32PathStruct; exports.ChainIdsStruct = _chunkLTWLSRSRjs.ChainIdsStruct; exports.EmptyObjectStruct = _chunkLTWLSRSRjs.EmptyObjectStruct; exports.FORBIDDEN_COIN_TYPES = _chunkLTWLSRSRjs.FORBIDDEN_COIN_TYPES; exports.HandlerCaveatsStruct = _chunkLTWLSRSRjs.HandlerCaveatsStruct; exports.InitialConnectionsStruct = _chunkLTWLSRSRjs.InitialConnectionsStruct; exports.LookupMatchersStruct = _chunkLTWLSRSRjs.LookupMatchersStruct; exports.MAXIMUM_REQUEST_TIMEOUT = _chunkLTWLSRSRjs.MAXIMUM_REQUEST_TIMEOUT; exports.MINIMUM_REQUEST_TIMEOUT = _chunkLTWLSRSRjs.MINIMUM_REQUEST_TIMEOUT; exports.MaxRequestTimeStruct = _chunkLTWLSRSRjs.MaxRequestTimeStruct; exports.PermissionsStruct = _chunkLTWLSRSRjs.PermissionsStruct; exports.SemVerRangeStruct = _chunkLTWLSRSRjs.SemVerRangeStruct; exports.SnapAuxilaryFilesStruct = _chunkLTWLSRSRjs.SnapAuxilaryFilesStruct; exports.SnapGetBip32EntropyPermissionsStruct = _chunkLTWLSRSRjs.SnapGetBip32EntropyPermissionsStruct; exports.SnapIdsStruct = _chunkLTWLSRSRjs.SnapIdsStruct; exports.SnapManifestStruct = _chunkLTWLSRSRjs.SnapManifestStruct; exports.assertIsSnapManifest = _chunkLTWLSRSRjs.assertIsSnapManifest; exports.bip32entropy = _chunkLTWLSRSRjs.bip32entropy; exports.createSnapManifest = _chunkLTWLSRSRjs.createSnapManifest; exports.isSnapManifest = _chunkLTWLSRSRjs.isSnapManifest;
//# sourceMappingURL=validation.js.map

@@ -14,3 +14,3 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-TFP64TMV.js');

var _chunkAWRMYDINjs = require('./chunk-AWRMYDIN.js');
var _chunkHKJDVWVOjs = require('./chunk-HKJDVWVO.js');

@@ -45,3 +45,3 @@

var _chunkYMUOYQFUjs = require('./chunk-YMUOYQFU.js');
var _chunkOK2Q2GT7js = require('./chunk-OK2Q2GT7.js');

@@ -74,5 +74,6 @@

var _chunkENKAY3PIjs = require('./chunk-ENKAY3PI.js');
var _chunkLTWLSRSRjs = require('./chunk-LTWLSRSR.js');
var _chunkAOGVLPQZjs = require('./chunk-AOGVLPQZ.js');

@@ -450,3 +451,4 @@

exports.ACCOUNT_ADDRESS_REGEX = _chunk6LOYTBS3js.ACCOUNT_ADDRESS_REGEX; exports.ACCOUNT_ID_REGEX = _chunk6LOYTBS3js.ACCOUNT_ID_REGEX; exports.ALL_APIS = _chunk7P62OIGXjs.ALL_APIS; exports.AccountAddressStruct = _chunk6LOYTBS3js.AccountAddressStruct; exports.AccountIdArrayStruct = _chunk6LOYTBS3js.AccountIdArrayStruct; exports.AccountIdStruct = _chunk6LOYTBS3js.AccountIdStruct; exports.AddressResolutionResponseStruct = _chunk3SOYDY4Wjs.AddressResolutionResponseStruct; exports.AddressResolutionStruct = _chunk3SOYDY4Wjs.AddressResolutionStruct; exports.BaseSnapIdStruct = _chunkTG4BDSYJjs.BaseSnapIdStruct; exports.Bip32EntropyStruct = _chunkENKAY3PIjs.Bip32EntropyStruct; exports.Bip32PathStruct = _chunkENKAY3PIjs.Bip32PathStruct; exports.CHAIN_ID_REGEX = _chunk6LOYTBS3js.CHAIN_ID_REGEX; exports.ChainIdStringStruct = _chunk6LOYTBS3js.ChainIdStringStruct; exports.ChainIdStruct = _chunk6LOYTBS3js.ChainIdStruct; exports.ChainIdsStruct = _chunkENKAY3PIjs.ChainIdsStruct; exports.ChainStruct = _chunk6LOYTBS3js.ChainStruct; exports.CronExpressionStruct = _chunk2LBN5T56js.CronExpressionStruct; exports.CronjobRpcRequestStruct = _chunk2LBN5T56js.CronjobRpcRequestStruct; exports.CronjobSpecificationArrayStruct = _chunk2LBN5T56js.CronjobSpecificationArrayStruct; exports.CronjobSpecificationStruct = _chunk2LBN5T56js.CronjobSpecificationStruct; exports.DEFAULT_ENDOWMENTS = _chunkN722KRZWjs.DEFAULT_ENDOWMENTS; exports.DEFAULT_REQUESTED_SNAP_VERSION = _chunkIPOE62V4js.DEFAULT_REQUESTED_SNAP_VERSION; exports.DomainResolutionResponseStruct = _chunk3SOYDY4Wjs.DomainResolutionResponseStruct; exports.DomainResolutionStruct = _chunk3SOYDY4Wjs.DomainResolutionStruct; exports.EXPECTED_SNAP_FILES = _chunkAWRMYDINjs.EXPECTED_SNAP_FILES; exports.FORBIDDEN_COIN_TYPES = _chunkENKAY3PIjs.FORBIDDEN_COIN_TYPES; exports.HandlerCaveatsStruct = _chunkENKAY3PIjs.HandlerCaveatsStruct; exports.HandlerType = _chunkLEKZPKS2js.HandlerType; exports.HttpSnapIdStruct = _chunkTG4BDSYJjs.HttpSnapIdStruct; exports.InitialConnectionsStruct = _chunkENKAY3PIjs.InitialConnectionsStruct; exports.KeyringOriginsStruct = _chunkCQRPSEH3js.KeyringOriginsStruct; exports.LOCALHOST_HOSTNAMES = _chunkTG4BDSYJjs.LOCALHOST_HOSTNAMES; exports.LOCALIZABLE_FIELDS = _chunkAFQY2CNYjs.LOCALIZABLE_FIELDS; exports.LimitedString = _chunk6LOYTBS3js.LimitedString; exports.LocalSnapIdStruct = _chunkTG4BDSYJjs.LocalSnapIdStruct; exports.LocalizationFileStruct = _chunkAFQY2CNYjs.LocalizationFileStruct; exports.LookupMatchersStruct = _chunkENKAY3PIjs.LookupMatchersStruct; exports.MAXIMUM_REQUEST_TIMEOUT = _chunkENKAY3PIjs.MAXIMUM_REQUEST_TIMEOUT; exports.MINIMUM_REQUEST_TIMEOUT = _chunkENKAY3PIjs.MINIMUM_REQUEST_TIMEOUT; exports.MaxRequestTimeStruct = _chunkENKAY3PIjs.MaxRequestTimeStruct; exports.NameStruct = _chunkCMOSYNZRjs.NameStruct; exports.NamespaceIdStruct = _chunk6LOYTBS3js.NamespaceIdStruct; exports.NamespaceStruct = _chunk6LOYTBS3js.NamespaceStruct; exports.NpmSnapFileNames = _chunkCMOSYNZRjs.NpmSnapFileNames; exports.NpmSnapIdStruct = _chunkTG4BDSYJjs.NpmSnapIdStruct; exports.NpmSnapPackageJsonStruct = _chunkCMOSYNZRjs.NpmSnapPackageJsonStruct; exports.OnHomePageResponseStruct = _chunk3SOYDY4Wjs.OnHomePageResponseStruct; exports.OnHomePageResponseWithContentStruct = _chunk3SOYDY4Wjs.OnHomePageResponseWithContentStruct; exports.OnHomePageResponseWithIdStruct = _chunk3SOYDY4Wjs.OnHomePageResponseWithIdStruct; exports.OnNameLookupResponseStruct = _chunk3SOYDY4Wjs.OnNameLookupResponseStruct; exports.OnSignatureResponseStruct = _chunk3SOYDY4Wjs.OnSignatureResponseStruct; exports.OnTransactionResponseStruct = _chunk3SOYDY4Wjs.OnTransactionResponseStruct; exports.OnTransactionResponseWithContentStruct = _chunk3SOYDY4Wjs.OnTransactionResponseWithContentStruct; exports.OnTransactionResponseWithIdStruct = _chunk3SOYDY4Wjs.OnTransactionResponseWithIdStruct; exports.OnTransactionSeverityResponseStruct = _chunk3SOYDY4Wjs.OnTransactionSeverityResponseStruct; exports.PROPOSED_NAME_REGEX = _chunkTG4BDSYJjs.PROPOSED_NAME_REGEX; exports.PermissionsStruct = _chunkENKAY3PIjs.PermissionsStruct; exports.PostProcessWarning = _chunk44VFHYJOjs.PostProcessWarning; exports.ProgrammaticallyFixableSnapError = _chunkTG4BDSYJjs.ProgrammaticallyFixableSnapError; exports.RpcOriginsStruct = _chunkCQRPSEH3js.RpcOriginsStruct; exports.SIP_6_MAGIC_VALUE = _chunkZT3KKTS2js.SIP_6_MAGIC_VALUE; exports.SNAPS_DERIVATION_PATHS = _chunk2PCPD5XYjs.SNAPS_DERIVATION_PATHS; exports.SNAP_ERROR_WRAPPER_CODE = _chunkK6BCBPXFjs.SNAP_ERROR_WRAPPER_CODE; exports.SNAP_ERROR_WRAPPER_MESSAGE = _chunkK6BCBPXFjs.SNAP_ERROR_WRAPPER_MESSAGE; exports.SNAP_EXPORTS = _chunk3SOYDY4Wjs.SNAP_EXPORTS; exports.SNAP_EXPORT_NAMES = _chunkLEKZPKS2js.SNAP_EXPORT_NAMES; exports.SNAP_STREAM_NAMES = _chunkCMOSYNZRjs.SNAP_STREAM_NAMES; exports.STATE_ENCRYPTION_MAGIC_VALUE = _chunkZT3KKTS2js.STATE_ENCRYPTION_MAGIC_VALUE; exports.SemVerRangeStruct = _chunkENKAY3PIjs.SemVerRangeStruct; exports.SnapAuxilaryFilesStruct = _chunkENKAY3PIjs.SnapAuxilaryFilesStruct; exports.SnapCaveatType = _chunkASZWZ7JTjs.SnapCaveatType; exports.SnapEvalError = _chunkLBRWAC27js.SnapEvalError; exports.SnapFileNameFromKey = _chunkAWRMYDINjs.SnapFileNameFromKey; exports.SnapGetBip32EntropyPermissionsStruct = _chunkENKAY3PIjs.SnapGetBip32EntropyPermissionsStruct; exports.SnapIdPrefixes = _chunkCMOSYNZRjs.SnapIdPrefixes; exports.SnapIdStruct = _chunkTG4BDSYJjs.SnapIdStruct; exports.SnapIdsStruct = _chunkENKAY3PIjs.SnapIdsStruct; exports.SnapManifestStruct = _chunkENKAY3PIjs.SnapManifestStruct; exports.SnapStatus = _chunkTG4BDSYJjs.SnapStatus; exports.SnapStatusEvents = _chunkTG4BDSYJjs.SnapStatusEvents; exports.SnapValidationFailureReason = _chunkCMOSYNZRjs.SnapValidationFailureReason; exports.SnapsStructError = _chunkA6E325SZjs.SnapsStructError; exports.TRANSLATION_REGEX = _chunkAFQY2CNYjs.TRANSLATION_REGEX; exports.VirtualFile = _chunkHJYRGKCXjs.VirtualFile; exports.WALLET_SNAP_PERMISSION_KEY = _chunkCMOSYNZRjs.WALLET_SNAP_PERMISSION_KEY; exports.WrappedSnapError = _chunkK6BCBPXFjs.WrappedSnapError; exports.arrayToGenerator = _chunkA6E325SZjs.arrayToGenerator; exports.assertIsJsonRpcSuccess = _chunkCQRPSEH3js.assertIsJsonRpcSuccess; exports.assertIsKeyringOrigins = _chunkCQRPSEH3js.assertIsKeyringOrigins; exports.assertIsNpmSnapPackageJson = _chunkCMOSYNZRjs.assertIsNpmSnapPackageJson; exports.assertIsRpcOrigins = _chunkCQRPSEH3js.assertIsRpcOrigins; exports.assertIsSnapManifest = _chunkENKAY3PIjs.assertIsSnapManifest; exports.assertIsValidSnapId = _chunkTG4BDSYJjs.assertIsValidSnapId; exports.bip32entropy = _chunkENKAY3PIjs.bip32entropy; exports.checkManifest = _chunkAWRMYDINjs.checkManifest; exports.checksum = _chunkMLOQHUOYjs.checksum; exports.checksumFiles = _chunkMLOQHUOYjs.checksumFiles; exports.createFromStruct = _chunkA6E325SZjs.createFromStruct; exports.createSnapManifest = _chunkENKAY3PIjs.createSnapManifest; exports.createUnion = _chunkA6E325SZjs.createUnion; exports.createWindow = _chunkPLBSSUVYjs.createWindow; exports.decodeBase64 = _chunkIHQPAJ2Bjs.decodeBase64; exports.deepClone = _chunkNUCLSR2Gjs.deepClone; exports.encodeAuxiliaryFile = _chunkIXBJNVHKjs.encodeAuxiliaryFile; exports.encodeBase64 = _chunkIHQPAJ2Bjs.encodeBase64; exports.evalBundle = _chunkLBRWAC27js.evalBundle; exports.fixManifest = _chunkAWRMYDINjs.fixManifest; exports.generateMockEndowments = _chunk7P62OIGXjs.generateMockEndowments; exports.getBytes = _chunk473MIETWjs.getBytes; exports.getError = _chunkA6E325SZjs.getError; exports.getLocalizationFile = _chunkAFQY2CNYjs.getLocalizationFile; exports.getLocalizedSnapManifest = _chunkAFQY2CNYjs.getLocalizedSnapManifest; exports.getOutfilePath = _chunkX44Z53IGjs.getOutfilePath; exports.getSlip44ProtocolName = _chunk2PCPD5XYjs.getSlip44ProtocolName; exports.getSnapChecksum = _chunkTG4BDSYJjs.getSnapChecksum; exports.getSnapDerivationPathName = _chunk2PCPD5XYjs.getSnapDerivationPathName; exports.getSnapFilePaths = _chunkAWRMYDINjs.getSnapFilePaths; exports.getSnapFiles = _chunkAWRMYDINjs.getSnapFiles; exports.getSnapIcon = _chunkAWRMYDINjs.getSnapIcon; exports.getSnapPrefix = _chunkTG4BDSYJjs.getSnapPrefix; exports.getSnapSourceCode = _chunkAWRMYDINjs.getSnapSourceCode; exports.getStructErrorMessage = _chunkA6E325SZjs.getStructErrorMessage; exports.getStructErrorPrefix = _chunkA6E325SZjs.getStructErrorPrefix; exports.getStructFailureMessage = _chunkA6E325SZjs.getStructFailureMessage; exports.getStructFromPath = _chunkA6E325SZjs.getStructFromPath; exports.getTargetVersion = _chunkIPOE62V4js.getTargetVersion; exports.getTotalTextLength = _chunkEX4PPLNDjs.getTotalTextLength; exports.getUnionStructNames = _chunkA6E325SZjs.getUnionStructNames; exports.getValidatedLocalizationFiles = _chunkAFQY2CNYjs.getValidatedLocalizationFiles; exports.getWritableManifest = _chunkAWRMYDINjs.getWritableManifest; exports.indent = _chunkIJX3CXOYjs.indent; exports.isAccountId = _chunk6LOYTBS3js.isAccountId; exports.isAccountIdArray = _chunk6LOYTBS3js.isAccountIdArray; exports.isCaipChainId = _chunkTG4BDSYJjs.isCaipChainId; exports.isChainId = _chunk6LOYTBS3js.isChainId; exports.isConstructor = _chunk7P62OIGXjs.isConstructor; exports.isCronjobSpecification = _chunk2LBN5T56js.isCronjobSpecification; exports.isCronjobSpecificationArray = _chunk2LBN5T56js.isCronjobSpecificationArray; exports.isDirectory = _chunkX44Z53IGjs.isDirectory; exports.isEqual = _chunkT3YY4JIJjs.isEqual; exports.isFile = _chunkX44Z53IGjs.isFile; exports.isNamespace = _chunk6LOYTBS3js.isNamespace; exports.isNamespaceId = _chunk6LOYTBS3js.isNamespaceId; exports.isNpmSnapPackageJson = _chunkCMOSYNZRjs.isNpmSnapPackageJson; exports.isOriginAllowed = _chunkCQRPSEH3js.isOriginAllowed; exports.isSerializedSnapError = _chunkK6BCBPXFjs.isSerializedSnapError; exports.isSnapError = _chunkK6BCBPXFjs.isSnapError; exports.isSnapManifest = _chunkENKAY3PIjs.isSnapManifest; exports.isSnapPermitted = _chunkTG4BDSYJjs.isSnapPermitted; exports.isValidUrl = _chunkCMOSYNZRjs.isValidUrl; exports.isWrappedSnapError = _chunkK6BCBPXFjs.isWrappedSnapError; exports.logError = _chunkE3BDBG6Tjs.logError; exports.logInfo = _chunkE3BDBG6Tjs.logInfo; exports.logWarning = _chunkE3BDBG6Tjs.logWarning; exports.named = _chunkA6E325SZjs.named; exports.normalizeRelative = _chunkAOGVLPQZjs.normalizeRelative; exports.parseAccountId = _chunk6LOYTBS3js.parseAccountId; exports.parseChainId = _chunk6LOYTBS3js.parseChainId; exports.parseCronExpression = _chunk2LBN5T56js.parseCronExpression; exports.parseJson = _chunkHF7HUZ5Zjs.parseJson; exports.postProcessBundle = _chunk44VFHYJOjs.postProcessBundle; exports.readJsonFile = _chunkX44Z53IGjs.readJsonFile; exports.readVirtualFile = _chunkQSCKTRRUjs.readVirtualFile; exports.resolveVersionRange = _chunkIPOE62V4js.resolveVersionRange; exports.snapsLogger = _chunkE3BDBG6Tjs.snapsLogger; exports.stripSnapPrefix = _chunkTG4BDSYJjs.stripSnapPrefix; exports.translate = _chunkAFQY2CNYjs.translate; exports.unwrapError = _chunkK6BCBPXFjs.unwrapError; exports.uri = _chunkCMOSYNZRjs.uri; exports.useTemporaryFile = _chunkX44Z53IGjs.useTemporaryFile; exports.validateComponentLinks = _chunkEX4PPLNDjs.validateComponentLinks; exports.validateDirPath = _chunkX44Z53IGjs.validateDirPath; exports.validateFetchedSnap = _chunkYMUOYQFUjs.validateFetchedSnap; exports.validateFilePath = _chunkX44Z53IGjs.validateFilePath; exports.validateNpmSnap = _chunkAWRMYDINjs.validateNpmSnap; exports.validateNpmSnapManifest = _chunkAWRMYDINjs.validateNpmSnapManifest; exports.validateOutfileName = _chunkX44Z53IGjs.validateOutfileName; exports.validateSnapManifestLocalizations = _chunkAFQY2CNYjs.validateSnapManifestLocalizations; exports.validateSnapShasum = _chunkTG4BDSYJjs.validateSnapShasum; exports.validateTextLinks = _chunkEX4PPLNDjs.validateTextLinks; exports.validateUnion = _chunkA6E325SZjs.validateUnion; exports.verifyRequestedSnapPermissions = _chunkTG4BDSYJjs.verifyRequestedSnapPermissions; exports.writeVirtualFile = _chunkQSCKTRRUjs.writeVirtualFile;
exports.ACCOUNT_ADDRESS_REGEX = _chunk6LOYTBS3js.ACCOUNT_ADDRESS_REGEX; exports.ACCOUNT_ID_REGEX = _chunk6LOYTBS3js.ACCOUNT_ID_REGEX; exports.ALL_APIS = _chunk7P62OIGXjs.ALL_APIS; exports.AccountAddressStruct = _chunk6LOYTBS3js.AccountAddressStruct; exports.AccountIdArrayStruct = _chunk6LOYTBS3js.AccountIdArrayStruct; exports.AccountIdStruct = _chunk6LOYTBS3js.AccountIdStruct; exports.AddressResolutionResponseStruct = _chunk3SOYDY4Wjs.AddressResolutionResponseStruct; exports.AddressResolutionStruct = _chunk3SOYDY4Wjs.AddressResolutionStruct; exports.BaseSnapIdStruct = _chunkTG4BDSYJjs.BaseSnapIdStruct; exports.Bip32EntropyStruct = _chunkLTWLSRSRjs.Bip32EntropyStruct; exports.Bip32PathStruct = _chunkLTWLSRSRjs.Bip32PathStruct; exports.CHAIN_ID_REGEX = _chunk6LOYTBS3js.CHAIN_ID_REGEX; exports.ChainIdStringStruct = _chunk6LOYTBS3js.ChainIdStringStruct; exports.ChainIdStruct = _chunk6LOYTBS3js.ChainIdStruct; exports.ChainIdsStruct = _chunkLTWLSRSRjs.ChainIdsStruct; exports.ChainStruct = _chunk6LOYTBS3js.ChainStruct; exports.CronExpressionStruct = _chunk2LBN5T56js.CronExpressionStruct; exports.CronjobRpcRequestStruct = _chunk2LBN5T56js.CronjobRpcRequestStruct; exports.CronjobSpecificationArrayStruct = _chunk2LBN5T56js.CronjobSpecificationArrayStruct; exports.CronjobSpecificationStruct = _chunk2LBN5T56js.CronjobSpecificationStruct; exports.DEFAULT_ENDOWMENTS = _chunkN722KRZWjs.DEFAULT_ENDOWMENTS; exports.DEFAULT_REQUESTED_SNAP_VERSION = _chunkIPOE62V4js.DEFAULT_REQUESTED_SNAP_VERSION; exports.DomainResolutionResponseStruct = _chunk3SOYDY4Wjs.DomainResolutionResponseStruct; exports.DomainResolutionStruct = _chunk3SOYDY4Wjs.DomainResolutionStruct; exports.EXPECTED_SNAP_FILES = _chunkHKJDVWVOjs.EXPECTED_SNAP_FILES; exports.EmptyObjectStruct = _chunkLTWLSRSRjs.EmptyObjectStruct; exports.FORBIDDEN_COIN_TYPES = _chunkLTWLSRSRjs.FORBIDDEN_COIN_TYPES; exports.HandlerCaveatsStruct = _chunkLTWLSRSRjs.HandlerCaveatsStruct; exports.HandlerType = _chunkLEKZPKS2js.HandlerType; exports.HttpSnapIdStruct = _chunkTG4BDSYJjs.HttpSnapIdStruct; exports.InitialConnectionsStruct = _chunkLTWLSRSRjs.InitialConnectionsStruct; exports.KeyringOriginsStruct = _chunkCQRPSEH3js.KeyringOriginsStruct; exports.LOCALHOST_HOSTNAMES = _chunkTG4BDSYJjs.LOCALHOST_HOSTNAMES; exports.LOCALIZABLE_FIELDS = _chunkAFQY2CNYjs.LOCALIZABLE_FIELDS; exports.LimitedString = _chunk6LOYTBS3js.LimitedString; exports.LocalSnapIdStruct = _chunkTG4BDSYJjs.LocalSnapIdStruct; exports.LocalizationFileStruct = _chunkAFQY2CNYjs.LocalizationFileStruct; exports.LookupMatchersStruct = _chunkLTWLSRSRjs.LookupMatchersStruct; exports.MAXIMUM_REQUEST_TIMEOUT = _chunkLTWLSRSRjs.MAXIMUM_REQUEST_TIMEOUT; exports.MINIMUM_REQUEST_TIMEOUT = _chunkLTWLSRSRjs.MINIMUM_REQUEST_TIMEOUT; exports.MaxRequestTimeStruct = _chunkLTWLSRSRjs.MaxRequestTimeStruct; exports.NameStruct = _chunkCMOSYNZRjs.NameStruct; exports.NamespaceIdStruct = _chunk6LOYTBS3js.NamespaceIdStruct; exports.NamespaceStruct = _chunk6LOYTBS3js.NamespaceStruct; exports.NpmSnapFileNames = _chunkCMOSYNZRjs.NpmSnapFileNames; exports.NpmSnapIdStruct = _chunkTG4BDSYJjs.NpmSnapIdStruct; exports.NpmSnapPackageJsonStruct = _chunkCMOSYNZRjs.NpmSnapPackageJsonStruct; exports.OnHomePageResponseStruct = _chunk3SOYDY4Wjs.OnHomePageResponseStruct; exports.OnHomePageResponseWithContentStruct = _chunk3SOYDY4Wjs.OnHomePageResponseWithContentStruct; exports.OnHomePageResponseWithIdStruct = _chunk3SOYDY4Wjs.OnHomePageResponseWithIdStruct; exports.OnNameLookupResponseStruct = _chunk3SOYDY4Wjs.OnNameLookupResponseStruct; exports.OnSignatureResponseStruct = _chunk3SOYDY4Wjs.OnSignatureResponseStruct; exports.OnTransactionResponseStruct = _chunk3SOYDY4Wjs.OnTransactionResponseStruct; exports.OnTransactionResponseWithContentStruct = _chunk3SOYDY4Wjs.OnTransactionResponseWithContentStruct; exports.OnTransactionResponseWithIdStruct = _chunk3SOYDY4Wjs.OnTransactionResponseWithIdStruct; exports.OnTransactionSeverityResponseStruct = _chunk3SOYDY4Wjs.OnTransactionSeverityResponseStruct; exports.PROPOSED_NAME_REGEX = _chunkTG4BDSYJjs.PROPOSED_NAME_REGEX; exports.PermissionsStruct = _chunkLTWLSRSRjs.PermissionsStruct; exports.PostProcessWarning = _chunk44VFHYJOjs.PostProcessWarning; exports.ProgrammaticallyFixableSnapError = _chunkTG4BDSYJjs.ProgrammaticallyFixableSnapError; exports.RpcOriginsStruct = _chunkCQRPSEH3js.RpcOriginsStruct; exports.SIP_6_MAGIC_VALUE = _chunkZT3KKTS2js.SIP_6_MAGIC_VALUE; exports.SNAPS_DERIVATION_PATHS = _chunk2PCPD5XYjs.SNAPS_DERIVATION_PATHS; exports.SNAP_ERROR_WRAPPER_CODE = _chunkK6BCBPXFjs.SNAP_ERROR_WRAPPER_CODE; exports.SNAP_ERROR_WRAPPER_MESSAGE = _chunkK6BCBPXFjs.SNAP_ERROR_WRAPPER_MESSAGE; exports.SNAP_EXPORTS = _chunk3SOYDY4Wjs.SNAP_EXPORTS; exports.SNAP_EXPORT_NAMES = _chunkLEKZPKS2js.SNAP_EXPORT_NAMES; exports.SNAP_STREAM_NAMES = _chunkCMOSYNZRjs.SNAP_STREAM_NAMES; exports.STATE_ENCRYPTION_MAGIC_VALUE = _chunkZT3KKTS2js.STATE_ENCRYPTION_MAGIC_VALUE; exports.SemVerRangeStruct = _chunkLTWLSRSRjs.SemVerRangeStruct; exports.SnapAuxilaryFilesStruct = _chunkLTWLSRSRjs.SnapAuxilaryFilesStruct; exports.SnapCaveatType = _chunkASZWZ7JTjs.SnapCaveatType; exports.SnapEvalError = _chunkLBRWAC27js.SnapEvalError; exports.SnapFileNameFromKey = _chunkHKJDVWVOjs.SnapFileNameFromKey; exports.SnapGetBip32EntropyPermissionsStruct = _chunkLTWLSRSRjs.SnapGetBip32EntropyPermissionsStruct; exports.SnapIdPrefixes = _chunkCMOSYNZRjs.SnapIdPrefixes; exports.SnapIdStruct = _chunkTG4BDSYJjs.SnapIdStruct; exports.SnapIdsStruct = _chunkLTWLSRSRjs.SnapIdsStruct; exports.SnapManifestStruct = _chunkLTWLSRSRjs.SnapManifestStruct; exports.SnapStatus = _chunkTG4BDSYJjs.SnapStatus; exports.SnapStatusEvents = _chunkTG4BDSYJjs.SnapStatusEvents; exports.SnapValidationFailureReason = _chunkCMOSYNZRjs.SnapValidationFailureReason; exports.SnapsStructError = _chunkA6E325SZjs.SnapsStructError; exports.TRANSLATION_REGEX = _chunkAFQY2CNYjs.TRANSLATION_REGEX; exports.VirtualFile = _chunkHJYRGKCXjs.VirtualFile; exports.WALLET_SNAP_PERMISSION_KEY = _chunkCMOSYNZRjs.WALLET_SNAP_PERMISSION_KEY; exports.WrappedSnapError = _chunkK6BCBPXFjs.WrappedSnapError; exports.arrayToGenerator = _chunkA6E325SZjs.arrayToGenerator; exports.assertIsJsonRpcSuccess = _chunkCQRPSEH3js.assertIsJsonRpcSuccess; exports.assertIsKeyringOrigins = _chunkCQRPSEH3js.assertIsKeyringOrigins; exports.assertIsNpmSnapPackageJson = _chunkCMOSYNZRjs.assertIsNpmSnapPackageJson; exports.assertIsRpcOrigins = _chunkCQRPSEH3js.assertIsRpcOrigins; exports.assertIsSnapManifest = _chunkLTWLSRSRjs.assertIsSnapManifest; exports.assertIsValidSnapId = _chunkTG4BDSYJjs.assertIsValidSnapId; exports.bip32entropy = _chunkLTWLSRSRjs.bip32entropy; exports.checkManifest = _chunkHKJDVWVOjs.checkManifest; exports.checksum = _chunkMLOQHUOYjs.checksum; exports.checksumFiles = _chunkMLOQHUOYjs.checksumFiles; exports.createFromStruct = _chunkA6E325SZjs.createFromStruct; exports.createSnapManifest = _chunkLTWLSRSRjs.createSnapManifest; exports.createUnion = _chunkA6E325SZjs.createUnion; exports.createWindow = _chunkPLBSSUVYjs.createWindow; exports.decodeBase64 = _chunkIHQPAJ2Bjs.decodeBase64; exports.deepClone = _chunkNUCLSR2Gjs.deepClone; exports.encodeAuxiliaryFile = _chunkIXBJNVHKjs.encodeAuxiliaryFile; exports.encodeBase64 = _chunkIHQPAJ2Bjs.encodeBase64; exports.evalBundle = _chunkLBRWAC27js.evalBundle; exports.fixManifest = _chunkHKJDVWVOjs.fixManifest; exports.generateMockEndowments = _chunk7P62OIGXjs.generateMockEndowments; exports.getBytes = _chunk473MIETWjs.getBytes; exports.getError = _chunkA6E325SZjs.getError; exports.getLocalizationFile = _chunkAFQY2CNYjs.getLocalizationFile; exports.getLocalizedSnapManifest = _chunkAFQY2CNYjs.getLocalizedSnapManifest; exports.getOutfilePath = _chunkX44Z53IGjs.getOutfilePath; exports.getSlip44ProtocolName = _chunk2PCPD5XYjs.getSlip44ProtocolName; exports.getSnapChecksum = _chunkTG4BDSYJjs.getSnapChecksum; exports.getSnapDerivationPathName = _chunk2PCPD5XYjs.getSnapDerivationPathName; exports.getSnapFilePaths = _chunkHKJDVWVOjs.getSnapFilePaths; exports.getSnapFiles = _chunkHKJDVWVOjs.getSnapFiles; exports.getSnapIcon = _chunkHKJDVWVOjs.getSnapIcon; exports.getSnapPrefix = _chunkTG4BDSYJjs.getSnapPrefix; exports.getSnapSourceCode = _chunkHKJDVWVOjs.getSnapSourceCode; exports.getStructErrorMessage = _chunkA6E325SZjs.getStructErrorMessage; exports.getStructErrorPrefix = _chunkA6E325SZjs.getStructErrorPrefix; exports.getStructFailureMessage = _chunkA6E325SZjs.getStructFailureMessage; exports.getStructFromPath = _chunkA6E325SZjs.getStructFromPath; exports.getTargetVersion = _chunkIPOE62V4js.getTargetVersion; exports.getTotalTextLength = _chunkEX4PPLNDjs.getTotalTextLength; exports.getUnionStructNames = _chunkA6E325SZjs.getUnionStructNames; exports.getValidatedLocalizationFiles = _chunkAFQY2CNYjs.getValidatedLocalizationFiles; exports.getWritableManifest = _chunkHKJDVWVOjs.getWritableManifest; exports.indent = _chunkIJX3CXOYjs.indent; exports.isAccountId = _chunk6LOYTBS3js.isAccountId; exports.isAccountIdArray = _chunk6LOYTBS3js.isAccountIdArray; exports.isCaipChainId = _chunkTG4BDSYJjs.isCaipChainId; exports.isChainId = _chunk6LOYTBS3js.isChainId; exports.isConstructor = _chunk7P62OIGXjs.isConstructor; exports.isCronjobSpecification = _chunk2LBN5T56js.isCronjobSpecification; exports.isCronjobSpecificationArray = _chunk2LBN5T56js.isCronjobSpecificationArray; exports.isDirectory = _chunkX44Z53IGjs.isDirectory; exports.isEqual = _chunkT3YY4JIJjs.isEqual; exports.isFile = _chunkX44Z53IGjs.isFile; exports.isNamespace = _chunk6LOYTBS3js.isNamespace; exports.isNamespaceId = _chunk6LOYTBS3js.isNamespaceId; exports.isNpmSnapPackageJson = _chunkCMOSYNZRjs.isNpmSnapPackageJson; exports.isOriginAllowed = _chunkCQRPSEH3js.isOriginAllowed; exports.isSerializedSnapError = _chunkK6BCBPXFjs.isSerializedSnapError; exports.isSnapError = _chunkK6BCBPXFjs.isSnapError; exports.isSnapManifest = _chunkLTWLSRSRjs.isSnapManifest; exports.isSnapPermitted = _chunkTG4BDSYJjs.isSnapPermitted; exports.isValidUrl = _chunkCMOSYNZRjs.isValidUrl; exports.isWrappedSnapError = _chunkK6BCBPXFjs.isWrappedSnapError; exports.logError = _chunkE3BDBG6Tjs.logError; exports.logInfo = _chunkE3BDBG6Tjs.logInfo; exports.logWarning = _chunkE3BDBG6Tjs.logWarning; exports.named = _chunkA6E325SZjs.named; exports.normalizeRelative = _chunkAOGVLPQZjs.normalizeRelative; exports.parseAccountId = _chunk6LOYTBS3js.parseAccountId; exports.parseChainId = _chunk6LOYTBS3js.parseChainId; exports.parseCronExpression = _chunk2LBN5T56js.parseCronExpression; exports.parseJson = _chunkHF7HUZ5Zjs.parseJson; exports.postProcessBundle = _chunk44VFHYJOjs.postProcessBundle; exports.readJsonFile = _chunkX44Z53IGjs.readJsonFile; exports.readVirtualFile = _chunkQSCKTRRUjs.readVirtualFile; exports.resolveVersionRange = _chunkIPOE62V4js.resolveVersionRange; exports.snapsLogger = _chunkE3BDBG6Tjs.snapsLogger; exports.stripSnapPrefix = _chunkTG4BDSYJjs.stripSnapPrefix; exports.translate = _chunkAFQY2CNYjs.translate; exports.unwrapError = _chunkK6BCBPXFjs.unwrapError; exports.uri = _chunkCMOSYNZRjs.uri; exports.useTemporaryFile = _chunkX44Z53IGjs.useTemporaryFile; exports.validateComponentLinks = _chunkEX4PPLNDjs.validateComponentLinks; exports.validateDirPath = _chunkX44Z53IGjs.validateDirPath; exports.validateFetchedSnap = _chunkOK2Q2GT7js.validateFetchedSnap; exports.validateFilePath = _chunkX44Z53IGjs.validateFilePath; exports.validateNpmSnap = _chunkHKJDVWVOjs.validateNpmSnap; exports.validateNpmSnapManifest = _chunkHKJDVWVOjs.validateNpmSnapManifest; exports.validateOutfileName = _chunkX44Z53IGjs.validateOutfileName; exports.validateSnapManifestLocalizations = _chunkAFQY2CNYjs.validateSnapManifestLocalizations; exports.validateSnapShasum = _chunkTG4BDSYJjs.validateSnapShasum; exports.validateTextLinks = _chunkEX4PPLNDjs.validateTextLinks; exports.validateUnion = _chunkA6E325SZjs.validateUnion; exports.verifyRequestedSnapPermissions = _chunkTG4BDSYJjs.verifyRequestedSnapPermissions; exports.writeVirtualFile = _chunkQSCKTRRUjs.writeVirtualFile;
//# sourceMappingURL=node.js.map

@@ -5,4 +5,4 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true});

var _chunkAWRMYDINjs = require('./chunk-AWRMYDIN.js');
require('./chunk-ENKAY3PI.js');
var _chunkHKJDVWVOjs = require('./chunk-HKJDVWVO.js');
require('./chunk-LTWLSRSR.js');
require('./chunk-TG4BDSYJ.js');

@@ -32,3 +32,3 @@ require('./chunk-M3KAAQFK.js');

exports.EXPECTED_SNAP_FILES = _chunkAWRMYDINjs.EXPECTED_SNAP_FILES; exports.SnapFileNameFromKey = _chunkAWRMYDINjs.SnapFileNameFromKey; exports.validateNpmSnap = _chunkAWRMYDINjs.validateNpmSnap;
exports.EXPECTED_SNAP_FILES = _chunkHKJDVWVOjs.EXPECTED_SNAP_FILES; exports.SnapFileNameFromKey = _chunkHKJDVWVOjs.SnapFileNameFromKey; exports.validateNpmSnap = _chunkHKJDVWVOjs.validateNpmSnap;
//# sourceMappingURL=npm.js.map

@@ -82,74 +82,50 @@ import type { Infer } from 'superstruct';

proposedName: string;
initialPermissions: {
snap_dialog?: {} | undefined;
snap_getBip32Entropy?: {
path: string[];
curve: "ed25519" | "secp256k1";
}[] | undefined;
snap_getBip32PublicKey?: {
path: string[];
curve: "ed25519" | "secp256k1";
}[] | undefined;
snap_getBip44Entropy?: {
coinType: number;
}[] | undefined;
snap_getEntropy?: {} | undefined;
snap_getLocale?: {} | undefined;
snap_manageAccounts?: {} | undefined;
snap_manageState?: {} | undefined;
snap_notify?: {} | undefined;
wallet_snap?: Record<string, {
version?: string | undefined;
}> | undefined;
'endowment:cronjob'?: {
jobs: {
request: {
method: string;
id?: string | number | null | undefined;
jsonrpc?: "2.0" | undefined;
params?: Record<string, import("@metamask/snaps-sdk").Json> | import("@metamask/snaps-sdk").Json[] | undefined;
};
expression: string;
}[];
initialPermissions: Partial<{
'endowment:cronjob': {
jobs: import("@metamask/snaps-sdk").Cronjob[];
maxRequestTime?: number | undefined;
} | undefined;
'endowment:ethereum-provider'?: {} | undefined;
'endowment:keyring'?: {
};
'endowment:ethereum-provider': import("@metamask/snaps-sdk").EmptyObject;
'endowment:keyring': {
allowedOrigins?: string[] | undefined;
maxRequestTime?: number | undefined;
} | undefined;
};
'endowment:lifecycle-hooks'?: {
maxRequestTime?: number | undefined;
} | undefined;
'endowment:name-lookup'?: {
'endowment:name-lookup': {
chains?: `${string}:${string}`[] | undefined;
matchers?: import("@metamask/snaps-sdk").NameLookupMatchers | undefined;
maxRequestTime?: number | undefined;
matchers?: {
tlds: string[];
} | {
schemes: string[];
} | {
tlds: string[];
schemes: string[];
} | undefined;
} | undefined;
'endowment:network-access'?: {} | undefined;
};
'endowment:network-access': import("@metamask/snaps-sdk").EmptyObject;
'endowment:page-home'?: {
maxRequestTime?: number | undefined;
} | undefined;
'endowment:rpc'?: {
'endowment:rpc': {
dapps?: boolean | undefined;
snaps?: boolean | undefined;
dapps?: boolean | undefined;
allowedOrigins?: string[] | undefined;
} | undefined;
'endowment:signature-insight'?: {
maxRequestTime?: number | undefined;
};
'endowment:signature-insight': {
allowSignatureOrigin?: boolean | undefined;
} | undefined;
'endowment:transaction-insight'?: {
maxRequestTime?: number | undefined;
};
'endowment:transaction-insight': {
allowTransactionOrigin?: boolean | undefined;
} | undefined;
'endowment:webassembly'?: {} | undefined;
};
maxRequestTime?: number | undefined;
};
'endowment:webassembly': import("@metamask/snaps-sdk").EmptyObject;
snap_dialog: import("@metamask/snaps-sdk").EmptyObject;
snap_getBip32Entropy: import("@metamask/snaps-sdk").Bip32Entropy[];
snap_getBip32PublicKey: import("@metamask/snaps-sdk").Bip32Entropy[];
snap_getBip44Entropy: import("@metamask/snaps-sdk").Bip44Entropy[];
snap_getEntropy: import("@metamask/snaps-sdk").EmptyObject;
snap_getLocale: import("@metamask/snaps-sdk").EmptyObject;
snap_manageAccounts: import("@metamask/snaps-sdk").EmptyObject;
snap_manageState: import("@metamask/snaps-sdk").EmptyObject;
snap_notify: import("@metamask/snaps-sdk").EmptyObject;
wallet_snap: Record<string, import("@metamask/snaps-sdk").RequestedSnap>;
}>;
manifestVersion: "0.1";

@@ -156,0 +132,0 @@ repository?: {

@@ -1,3 +0,3 @@

import type { InitialPermissions } from '@metamask/snaps-sdk';
import type { Infer, Struct } from 'superstruct';
import type { EmptyObject, InitialPermissions } from '@metamask/snaps-sdk';
import type { Describe, Infer, Struct } from 'superstruct';
import type { InferMatching } from '../structs';

@@ -57,227 +57,4 @@ export declare const FORBIDDEN_COIN_TYPES: number[];

export declare type HandlerCaveats = Infer<typeof HandlerCaveatsStruct>;
export declare const PermissionsStruct: Struct<{
snap_dialog?: {} | undefined;
snap_getBip32Entropy?: {
path: string[];
curve: "ed25519" | "secp256k1";
}[] | undefined;
snap_getBip32PublicKey?: {
path: string[];
curve: "ed25519" | "secp256k1";
}[] | undefined;
snap_getBip44Entropy?: {
coinType: number;
}[] | undefined;
snap_getEntropy?: {} | undefined;
snap_getLocale?: {} | undefined;
snap_manageAccounts?: {} | undefined;
snap_manageState?: {} | undefined;
snap_notify?: {} | undefined;
wallet_snap?: Record<string, {
version?: string | undefined;
}> | undefined;
'endowment:cronjob'?: {
jobs: {
request: {
method: string;
id?: string | number | null | undefined;
jsonrpc?: "2.0" | undefined;
params?: Record<string, import("@metamask/snaps-sdk").Json> | import("@metamask/snaps-sdk").Json[] | undefined;
};
expression: string;
}[];
maxRequestTime?: number | undefined;
} | undefined;
'endowment:ethereum-provider'?: {} | undefined;
'endowment:keyring'?: {
allowedOrigins?: string[] | undefined;
maxRequestTime?: number | undefined;
} | undefined;
'endowment:lifecycle-hooks'?: {
maxRequestTime?: number | undefined;
} | undefined;
'endowment:name-lookup'?: {
chains?: `${string}:${string}`[] | undefined;
maxRequestTime?: number | undefined;
matchers?: {
tlds: string[];
} | {
schemes: string[];
} | {
tlds: string[];
schemes: string[];
} | undefined;
} | undefined;
'endowment:network-access'?: {} | undefined;
'endowment:page-home'?: {
maxRequestTime?: number | undefined;
} | undefined;
'endowment:rpc'?: {
snaps?: boolean | undefined;
dapps?: boolean | undefined;
allowedOrigins?: string[] | undefined;
} | undefined;
'endowment:signature-insight'?: {
maxRequestTime?: number | undefined;
allowSignatureOrigin?: boolean | undefined;
} | undefined;
'endowment:transaction-insight'?: {
maxRequestTime?: number | undefined;
allowTransactionOrigin?: boolean | undefined;
} | undefined;
'endowment:webassembly'?: {} | undefined;
}, {
'endowment:cronjob': Struct<{
jobs: {
request: {
method: string;
id?: string | number | null | undefined;
jsonrpc?: "2.0" | undefined;
params?: Record<string, import("@metamask/snaps-sdk").Json> | import("@metamask/snaps-sdk").Json[] | undefined;
};
expression: string;
}[];
maxRequestTime?: number | undefined;
} | undefined, {
jobs: Struct<{
request: {
method: string;
id?: string | number | null | undefined;
jsonrpc?: "2.0" | undefined;
params?: Record<string, import("@metamask/snaps-sdk").Json> | import("@metamask/snaps-sdk").Json[] | undefined;
};
expression: string;
}[], Struct<{
request: {
method: string;
id?: string | number | null | undefined;
jsonrpc?: "2.0" | undefined;
params?: Record<string, import("@metamask/snaps-sdk").Json> | import("@metamask/snaps-sdk").Json[] | undefined;
};
expression: string;
}, {
expression: Struct<string, null>;
request: Struct<{
method: string;
id?: string | number | null | undefined;
jsonrpc?: "2.0" | undefined;
params?: Record<string, import("@metamask/snaps-sdk").Json> | import("@metamask/snaps-sdk").Json[] | undefined;
}, {
jsonrpc: Struct<"2.0" | undefined, "2.0">;
id: Struct<string | number | null | undefined, null>;
method: Struct<string, null>;
params: Struct<Record<string, import("@metamask/snaps-sdk").Json> | import("@metamask/snaps-sdk").Json[] | undefined, null>;
}>;
}>>;
maxRequestTime: Struct<number | undefined, null>;
}>;
'endowment:ethereum-provider': Struct<{} | undefined, {}>;
'endowment:keyring': Struct<{
allowedOrigins?: string[] | undefined;
maxRequestTime?: number | undefined;
} | undefined, {
allowedOrigins: Struct<string[] | undefined, Struct<string, null>>;
maxRequestTime: Struct<number | undefined, null>;
}>;
'endowment:lifecycle-hooks': Struct<{
maxRequestTime?: number | undefined;
} | undefined, {
maxRequestTime: Struct<number | undefined, null>;
}>;
'endowment:name-lookup': Struct<{
chains?: `${string}:${string}`[] | undefined;
maxRequestTime?: number | undefined;
matchers?: {
tlds: string[];
} | {
schemes: string[];
} | {
tlds: string[];
schemes: string[];
} | undefined;
} | undefined, {
chains: Struct<`${string}:${string}`[] | undefined, Struct<`${string}:${string}`, null>>;
matchers: Struct<{
tlds: string[];
} | {
schemes: string[];
} | {
tlds: string[];
schemes: string[];
} | undefined, null>;
maxRequestTime: Struct<number | undefined, null>;
}>;
'endowment:network-access': Struct<{} | undefined, {}>;
'endowment:page-home': Struct<{
maxRequestTime?: number | undefined;
} | undefined, {
maxRequestTime: Struct<number | undefined, null>;
}>;
'endowment:rpc': Struct<{
snaps?: boolean | undefined;
dapps?: boolean | undefined;
allowedOrigins?: string[] | undefined;
} | undefined, {
dapps: Struct<boolean | undefined, null>;
snaps: Struct<boolean | undefined, null>;
allowedOrigins: Struct<string[] | undefined, Struct<string, null>>;
}>;
'endowment:signature-insight': Struct<{
maxRequestTime?: number | undefined;
allowSignatureOrigin?: boolean | undefined;
} | undefined, {
allowSignatureOrigin: Struct<boolean | undefined, null>;
maxRequestTime: Struct<number | undefined, null>;
}>;
'endowment:transaction-insight': Struct<{
maxRequestTime?: number | undefined;
allowTransactionOrigin?: boolean | undefined;
} | undefined, {
allowTransactionOrigin: Struct<boolean | undefined, null>;
maxRequestTime: Struct<number | undefined, null>;
}>;
'endowment:webassembly': Struct<{} | undefined, {}>;
snap_dialog: Struct<{} | undefined, {}>;
snap_manageState: Struct<{} | undefined, {}>;
snap_manageAccounts: Struct<{} | undefined, {}>;
snap_notify: Struct<{} | undefined, {}>;
snap_getBip32Entropy: Struct<{
path: string[];
curve: "ed25519" | "secp256k1";
}[] | undefined, Struct<{
path: string[];
curve: "ed25519" | "secp256k1";
}, {
path: Struct<string[], Struct<string, null>>;
curve: Struct<"ed25519" | "secp256k1", {
ed25519: "ed25519";
secp256k1: "secp256k1";
}>;
}>>;
snap_getBip32PublicKey: Struct<{
path: string[];
curve: "ed25519" | "secp256k1";
}[] | undefined, Struct<{
path: string[];
curve: "ed25519" | "secp256k1";
}, {
path: Struct<string[], Struct<string, null>>;
curve: Struct<"ed25519" | "secp256k1", {
ed25519: "ed25519";
secp256k1: "secp256k1";
}>;
}>>;
snap_getBip44Entropy: Struct<{
coinType: number;
}[] | undefined, Struct<{
coinType: number;
}, {
coinType: Struct<number, null>;
}>>;
snap_getEntropy: Struct<{} | undefined, {}>;
snap_getLocale: Struct<{} | undefined, {}>;
wallet_snap: Struct<Record<string, {
version?: string | undefined;
}> | undefined, null>;
}>;
export declare const EmptyObjectStruct: Struct<EmptyObject, null>;
export declare const PermissionsStruct: Describe<InitialPermissions>;
export declare type SnapPermissions = InferMatching<typeof PermissionsStruct, InitialPermissions>;

@@ -304,74 +81,50 @@ export declare const SnapAuxilaryFilesStruct: Struct<string[], Struct<string, null>>;

proposedName: string;
initialPermissions: {
snap_dialog?: {} | undefined;
snap_getBip32Entropy?: {
path: string[];
curve: "ed25519" | "secp256k1";
}[] | undefined;
snap_getBip32PublicKey?: {
path: string[];
curve: "ed25519" | "secp256k1";
}[] | undefined;
snap_getBip44Entropy?: {
coinType: number;
}[] | undefined;
snap_getEntropy?: {} | undefined;
snap_getLocale?: {} | undefined;
snap_manageAccounts?: {} | undefined;
snap_manageState?: {} | undefined;
snap_notify?: {} | undefined;
wallet_snap?: Record<string, {
version?: string | undefined;
}> | undefined;
'endowment:cronjob'?: {
jobs: {
request: {
method: string;
id?: string | number | null | undefined;
jsonrpc?: "2.0" | undefined;
params?: Record<string, import("@metamask/snaps-sdk").Json> | import("@metamask/snaps-sdk").Json[] | undefined;
};
expression: string;
}[];
initialPermissions: Partial<{
'endowment:cronjob': {
jobs: import("@metamask/snaps-sdk").Cronjob[];
maxRequestTime?: number | undefined;
} | undefined;
'endowment:ethereum-provider'?: {} | undefined;
'endowment:keyring'?: {
};
'endowment:ethereum-provider': EmptyObject;
'endowment:keyring': {
allowedOrigins?: string[] | undefined;
maxRequestTime?: number | undefined;
} | undefined;
};
'endowment:lifecycle-hooks'?: {
maxRequestTime?: number | undefined;
} | undefined;
'endowment:name-lookup'?: {
'endowment:name-lookup': {
chains?: `${string}:${string}`[] | undefined;
matchers?: import("@metamask/snaps-sdk").NameLookupMatchers | undefined;
maxRequestTime?: number | undefined;
matchers?: {
tlds: string[];
} | {
schemes: string[];
} | {
tlds: string[];
schemes: string[];
} | undefined;
} | undefined;
'endowment:network-access'?: {} | undefined;
};
'endowment:network-access': EmptyObject;
'endowment:page-home'?: {
maxRequestTime?: number | undefined;
} | undefined;
'endowment:rpc'?: {
'endowment:rpc': {
dapps?: boolean | undefined;
snaps?: boolean | undefined;
dapps?: boolean | undefined;
allowedOrigins?: string[] | undefined;
} | undefined;
'endowment:signature-insight'?: {
maxRequestTime?: number | undefined;
};
'endowment:signature-insight': {
allowSignatureOrigin?: boolean | undefined;
} | undefined;
'endowment:transaction-insight'?: {
maxRequestTime?: number | undefined;
};
'endowment:transaction-insight': {
allowTransactionOrigin?: boolean | undefined;
} | undefined;
'endowment:webassembly'?: {} | undefined;
};
maxRequestTime?: number | undefined;
};
'endowment:webassembly': EmptyObject;
snap_dialog: EmptyObject;
snap_getBip32Entropy: import("@metamask/snaps-sdk").Bip32Entropy[];
snap_getBip32PublicKey: import("@metamask/snaps-sdk").Bip32Entropy[];
snap_getBip44Entropy: import("@metamask/snaps-sdk").Bip44Entropy[];
snap_getEntropy: EmptyObject;
snap_getLocale: EmptyObject;
snap_manageAccounts: EmptyObject;
snap_manageState: EmptyObject;
snap_notify: EmptyObject;
wallet_snap: Record<string, import("@metamask/snaps-sdk").RequestedSnap>;
}>;
manifestVersion: "0.1";

@@ -433,227 +186,50 @@ repository?: {

initialConnections: Struct<Record<string & URL, {}> | undefined, null>;
initialPermissions: Struct<{
snap_dialog?: {} | undefined;
snap_getBip32Entropy?: {
path: string[];
curve: "ed25519" | "secp256k1";
}[] | undefined;
snap_getBip32PublicKey?: {
path: string[];
curve: "ed25519" | "secp256k1";
}[] | undefined;
snap_getBip44Entropy?: {
coinType: number;
}[] | undefined;
snap_getEntropy?: {} | undefined;
snap_getLocale?: {} | undefined;
snap_manageAccounts?: {} | undefined;
snap_manageState?: {} | undefined;
snap_notify?: {} | undefined;
wallet_snap?: Record<string, {
version?: string | undefined;
}> | undefined;
'endowment:cronjob'?: {
jobs: {
request: {
method: string;
id?: string | number | null | undefined;
jsonrpc?: "2.0" | undefined;
params?: Record<string, import("@metamask/snaps-sdk").Json> | import("@metamask/snaps-sdk").Json[] | undefined;
};
expression: string;
}[];
initialPermissions: Describe<Partial<{
'endowment:cronjob': {
jobs: import("@metamask/snaps-sdk").Cronjob[];
maxRequestTime?: number | undefined;
} | undefined;
'endowment:ethereum-provider'?: {} | undefined;
'endowment:keyring'?: {
};
'endowment:ethereum-provider': EmptyObject;
'endowment:keyring': {
allowedOrigins?: string[] | undefined;
maxRequestTime?: number | undefined;
} | undefined;
};
'endowment:lifecycle-hooks'?: {
maxRequestTime?: number | undefined;
} | undefined;
'endowment:name-lookup'?: {
'endowment:name-lookup': {
chains?: `${string}:${string}`[] | undefined;
matchers?: import("@metamask/snaps-sdk").NameLookupMatchers | undefined;
maxRequestTime?: number | undefined;
matchers?: {
tlds: string[];
} | {
schemes: string[];
} | {
tlds: string[];
schemes: string[];
} | undefined;
} | undefined;
'endowment:network-access'?: {} | undefined;
};
'endowment:network-access': EmptyObject;
'endowment:page-home'?: {
maxRequestTime?: number | undefined;
} | undefined;
'endowment:rpc'?: {
'endowment:rpc': {
dapps?: boolean | undefined;
snaps?: boolean | undefined;
dapps?: boolean | undefined;
allowedOrigins?: string[] | undefined;
} | undefined;
'endowment:signature-insight'?: {
maxRequestTime?: number | undefined;
};
'endowment:signature-insight': {
allowSignatureOrigin?: boolean | undefined;
} | undefined;
'endowment:transaction-insight'?: {
maxRequestTime?: number | undefined;
};
'endowment:transaction-insight': {
allowTransactionOrigin?: boolean | undefined;
} | undefined;
'endowment:webassembly'?: {} | undefined;
}, {
'endowment:cronjob': Struct<{
jobs: {
request: {
method: string;
id?: string | number | null | undefined;
jsonrpc?: "2.0" | undefined;
params?: Record<string, import("@metamask/snaps-sdk").Json> | import("@metamask/snaps-sdk").Json[] | undefined;
};
expression: string;
}[];
maxRequestTime?: number | undefined;
} | undefined, {
jobs: Struct<{
request: {
method: string;
id?: string | number | null | undefined;
jsonrpc?: "2.0" | undefined;
params?: Record<string, import("@metamask/snaps-sdk").Json> | import("@metamask/snaps-sdk").Json[] | undefined;
};
expression: string;
}[], Struct<{
request: {
method: string;
id?: string | number | null | undefined;
jsonrpc?: "2.0" | undefined;
params?: Record<string, import("@metamask/snaps-sdk").Json> | import("@metamask/snaps-sdk").Json[] | undefined;
};
expression: string;
}, {
expression: Struct<string, null>;
request: Struct<{
method: string;
id?: string | number | null | undefined;
jsonrpc?: "2.0" | undefined;
params?: Record<string, import("@metamask/snaps-sdk").Json> | import("@metamask/snaps-sdk").Json[] | undefined;
}, {
jsonrpc: Struct<"2.0" | undefined, "2.0">;
id: Struct<string | number | null | undefined, null>;
method: Struct<string, null>;
params: Struct<Record<string, import("@metamask/snaps-sdk").Json> | import("@metamask/snaps-sdk").Json[] | undefined, null>;
}>;
}>>;
maxRequestTime: Struct<number | undefined, null>;
}>;
'endowment:ethereum-provider': Struct<{} | undefined, {}>;
'endowment:keyring': Struct<{
allowedOrigins?: string[] | undefined;
maxRequestTime?: number | undefined;
} | undefined, {
allowedOrigins: Struct<string[] | undefined, Struct<string, null>>;
maxRequestTime: Struct<number | undefined, null>;
}>;
'endowment:lifecycle-hooks': Struct<{
maxRequestTime?: number | undefined;
} | undefined, {
maxRequestTime: Struct<number | undefined, null>;
}>;
'endowment:name-lookup': Struct<{
chains?: `${string}:${string}`[] | undefined;
maxRequestTime?: number | undefined;
matchers?: {
tlds: string[];
} | {
schemes: string[];
} | {
tlds: string[];
schemes: string[];
} | undefined;
} | undefined, {
chains: Struct<`${string}:${string}`[] | undefined, Struct<`${string}:${string}`, null>>;
matchers: Struct<{
tlds: string[];
} | {
schemes: string[];
} | {
tlds: string[];
schemes: string[];
} | undefined, null>;
maxRequestTime: Struct<number | undefined, null>;
}>;
'endowment:network-access': Struct<{} | undefined, {}>;
'endowment:page-home': Struct<{
maxRequestTime?: number | undefined;
} | undefined, {
maxRequestTime: Struct<number | undefined, null>;
}>;
'endowment:rpc': Struct<{
snaps?: boolean | undefined;
dapps?: boolean | undefined;
allowedOrigins?: string[] | undefined;
} | undefined, {
dapps: Struct<boolean | undefined, null>;
snaps: Struct<boolean | undefined, null>;
allowedOrigins: Struct<string[] | undefined, Struct<string, null>>;
}>;
'endowment:signature-insight': Struct<{
maxRequestTime?: number | undefined;
allowSignatureOrigin?: boolean | undefined;
} | undefined, {
allowSignatureOrigin: Struct<boolean | undefined, null>;
maxRequestTime: Struct<number | undefined, null>;
}>;
'endowment:transaction-insight': Struct<{
maxRequestTime?: number | undefined;
allowTransactionOrigin?: boolean | undefined;
} | undefined, {
allowTransactionOrigin: Struct<boolean | undefined, null>;
maxRequestTime: Struct<number | undefined, null>;
}>;
'endowment:webassembly': Struct<{} | undefined, {}>;
snap_dialog: Struct<{} | undefined, {}>;
snap_manageState: Struct<{} | undefined, {}>;
snap_manageAccounts: Struct<{} | undefined, {}>;
snap_notify: Struct<{} | undefined, {}>;
snap_getBip32Entropy: Struct<{
path: string[];
curve: "ed25519" | "secp256k1";
}[] | undefined, Struct<{
path: string[];
curve: "ed25519" | "secp256k1";
}, {
path: Struct<string[], Struct<string, null>>;
curve: Struct<"ed25519" | "secp256k1", {
ed25519: "ed25519";
secp256k1: "secp256k1";
}>;
}>>;
snap_getBip32PublicKey: Struct<{
path: string[];
curve: "ed25519" | "secp256k1";
}[] | undefined, Struct<{
path: string[];
curve: "ed25519" | "secp256k1";
}, {
path: Struct<string[], Struct<string, null>>;
curve: Struct<"ed25519" | "secp256k1", {
ed25519: "ed25519";
secp256k1: "secp256k1";
}>;
}>>;
snap_getBip44Entropy: Struct<{
coinType: number;
}[] | undefined, Struct<{
coinType: number;
}, {
coinType: Struct<number, null>;
}>>;
snap_getEntropy: Struct<{} | undefined, {}>;
snap_getLocale: Struct<{} | undefined, {}>;
wallet_snap: Struct<Record<string, {
version?: string | undefined;
}> | undefined, null>;
}>;
};
'endowment:webassembly': EmptyObject;
snap_dialog: EmptyObject;
snap_getBip32Entropy: import("@metamask/snaps-sdk").Bip32Entropy[];
snap_getBip32PublicKey: import("@metamask/snaps-sdk").Bip32Entropy[];
snap_getBip44Entropy: import("@metamask/snaps-sdk").Bip44Entropy[];
snap_getEntropy: EmptyObject;
snap_getLocale: EmptyObject;
snap_manageAccounts: EmptyObject;
snap_manageState: EmptyObject;
snap_notify: EmptyObject;
wallet_snap: Record<string, import("@metamask/snaps-sdk").RequestedSnap>;
}>>;
manifestVersion: Struct<"0.1", "0.1">;

@@ -660,0 +236,0 @@ $schema: Struct<string | undefined, null>;

"use strict";Object.defineProperty(exports, "__esModule", {value: true});
var _chunkYMUOYQFUjs = require('./chunk-YMUOYQFU.js');
require('./chunk-ENKAY3PI.js');
var _chunkOK2Q2GT7js = require('./chunk-OK2Q2GT7.js');
require('./chunk-LTWLSRSR.js');
require('./chunk-TG4BDSYJ.js');

@@ -23,3 +23,3 @@ require('./chunk-M3KAAQFK.js');

exports.validateFetchedSnap = _chunkYMUOYQFUjs.validateFetchedSnap;
exports.validateFetchedSnap = _chunkOK2Q2GT7js.validateFetchedSnap;
//# sourceMappingURL=validation.js.map
{
"name": "@metamask/snaps-utils",
"version": "7.0.3",
"version": "7.0.4",
"repository": {

@@ -55,9 +55,9 @@ "type": "git",

"@babel/types": "^7.23.0",
"@metamask/base-controller": "^4.1.0",
"@metamask/base-controller": "^5.0.1",
"@metamask/key-tree": "^9.0.0",
"@metamask/permission-controller": "^8.0.1",
"@metamask/permission-controller": "^9.0.2",
"@metamask/rpc-errors": "^6.2.1",
"@metamask/slip44": "^3.1.0",
"@metamask/snaps-registry": "^3.0.1",
"@metamask/snaps-sdk": "^3.1.1",
"@metamask/snaps-sdk": "^3.2.0",
"@metamask/utils": "^8.3.0",

@@ -64,0 +64,0 @@ "@noble/hashes": "^1.3.1",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc