{"version":3,"file":"caveats.cjs","sourceRoot":"","sources":["../src/caveats.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAiEX;AAjED,WAAY,cAAc;IACxB;;OAEG;IACH,uEAAqD,CAAA;IAErD;;OAEG;IACH,2DAAyC,CAAA;IAEzC;;OAEG;IACH,6CAA2B,CAAA;IAE3B;;OAEG;IACH,yDAAuC,CAAA;IAEvC;;OAEG;IACH,qDAAmC,CAAA;IAEnC;;OAEG;IACH,yCAAuB,CAAA;IAEvB;;OAEG;IACH,iDAA+B,CAAA;IAE/B;;OAEG;IACH,6DAA2C,CAAA;IAE3C;;OAEG;IACH,qCAAmB,CAAA;IAEnB;;OAEG;IACH,uCAAqB,CAAA;IAErB;;OAEG;IACH,mDAAiC,CAAA;IAEjC;;OAEG;IACH,mDAAiC,CAAA;IAEjC;;OAEG;IACH,2DAAyC,CAAA;AAC3C,CAAC,EAjEW,cAAc,8BAAd,cAAc,QAiEzB","sourcesContent":["export enum SnapCaveatType {\n  /**\n   * Permitted derivation paths, used by `snap_getBip32Entropy`.\n   */\n  PermittedDerivationPaths = 'permittedDerivationPaths',\n\n  /**\n   * Permitted coin types, used by `snap_getBip44Entropy`.\n   */\n  PermittedCoinTypes = 'permittedCoinTypes',\n\n  /**\n   * Caveat specifying a snap cronjob.\n   */\n  SnapCronjob = 'snapCronjob',\n\n  /**\n   * Caveat specifying access to the transaction origin, used by `endowment:transaction-insight`.\n   */\n  TransactionOrigin = 'transactionOrigin',\n\n  /**\n   * Caveat specifying access to the signature origin, used by `endowment:signature-insight`.\n   */\n  SignatureOrigin = 'signatureOrigin',\n\n  /**\n   * The origins that a Snap can receive JSON-RPC messages from.\n   */\n  RpcOrigin = 'rpcOrigin',\n\n  /**\n   * The origins that a Snap can receive keyring messages from.\n   */\n  KeyringOrigin = 'keyringOrigin',\n\n  /**\n   * Caveat specifying the capabilities supported by a keyring Snap, used by `endowment:keyring`.\n   */\n  KeyringCapabilities = 'keyringCapabilities',\n\n  /**\n   * Caveat specifying the snap IDs that can be interacted with.\n   */\n  SnapIds = 'snapIds',\n\n  /**\n   * Caveat specifying the CAIP-2 chain IDs that a snap can service, currently limited to `endowment:name-lookup`.\n   */\n  ChainIds = 'chainIds',\n\n  /**\n   * Caveat specifying the input that a name lookup snap can service, currently limited to `endowment:name-lookup`.\n   */\n  LookupMatchers = 'lookupMatchers',\n\n  /**\n   * Caveat specifying the max request time for a handler endowment.\n   */\n  MaxRequestTime = 'maxRequestTime',\n\n  /**\n   * Caveat specifying a list of scopes serviced by an endowment.\n   */\n  ProtocolSnapScopes = 'protocolSnapScopes',\n}\n"]}