@ledgerhq/context-module 1.14.1 → 1.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -0
- package/lib/cjs/package.json +2 -2
- package/lib/cjs/src/ContextModule.js +1 -1
- package/lib/cjs/src/ContextModule.js.map +1 -1
- package/lib/cjs/src/ContextModuleBuilder.js +1 -1
- package/lib/cjs/src/ContextModuleBuilder.js.map +3 -3
- package/lib/cjs/src/ContextModuleBuilder.test.js +1 -1
- package/lib/cjs/src/ContextModuleBuilder.test.js.map +3 -3
- package/lib/cjs/src/DefaultContextModule.js +1 -1
- package/lib/cjs/src/DefaultContextModule.js.map +3 -3
- package/lib/cjs/src/DefaultContextModule.test.js +1 -1
- package/lib/cjs/src/DefaultContextModule.test.js.map +2 -2
- package/lib/cjs/src/calldata/data/HttpCalldataDescriptorDataSource.js +1 -1
- package/lib/cjs/src/calldata/data/HttpCalldataDescriptorDataSource.js.map +2 -2
- package/lib/cjs/src/calldata/data/HttpCalldataDescriptorDataSource.test.js.map +1 -1
- package/lib/cjs/src/config/di/configModuleFactory.js +1 -1
- package/lib/cjs/src/config/di/configModuleFactory.js.map +2 -2
- package/lib/cjs/src/config/model/ContextModuleConfig.js +1 -1
- package/lib/cjs/src/config/model/ContextModuleConfig.js.map +1 -1
- package/lib/cjs/src/di.js +1 -1
- package/lib/cjs/src/di.js.map +3 -3
- package/lib/cjs/src/dynamic-network/data/HttpDynamicNetworkDataSource.js +1 -1
- package/lib/cjs/src/dynamic-network/data/HttpDynamicNetworkDataSource.js.map +2 -2
- package/lib/cjs/src/dynamic-network/data/HttpDynamicNetworkDataSource.test.js.map +2 -2
- package/lib/cjs/src/dynamic-network/domain/DynamicNetworkContextLoader.js +1 -1
- package/lib/cjs/src/dynamic-network/domain/DynamicNetworkContextLoader.js.map +3 -3
- package/lib/cjs/src/dynamic-network/domain/DynamicNetworkContextLoader.test.js.map +1 -1
- package/lib/cjs/src/external-plugin/data/HttpExternalPluginDataSource.js +1 -1
- package/lib/cjs/src/external-plugin/data/HttpExternalPluginDataSource.js.map +2 -2
- package/lib/cjs/src/external-plugin/data/HttpExternalPluginDataSource.test.js +1 -1
- package/lib/cjs/src/external-plugin/data/HttpExternalPluginDataSource.test.js.map +1 -1
- package/lib/cjs/src/gated-signing/data/GatedDescriptorDataSource.js +2 -0
- package/lib/cjs/src/gated-signing/data/GatedDescriptorDataSource.js.map +7 -0
- package/lib/cjs/src/gated-signing/data/HttpGatedDescriptorDataSource.js +2 -0
- package/lib/cjs/src/gated-signing/data/HttpGatedDescriptorDataSource.js.map +7 -0
- package/lib/cjs/src/gated-signing/data/HttpGatedDescriptorDataSource.test.js +2 -0
- package/lib/cjs/src/gated-signing/data/HttpGatedDescriptorDataSource.test.js.map +7 -0
- package/lib/cjs/src/gated-signing/data/dto/GatedDappsDto.js +2 -0
- package/lib/cjs/src/gated-signing/data/dto/GatedDappsDto.js.map +7 -0
- package/lib/cjs/src/gated-signing/di/gatedSigningModuleFactory.js +2 -0
- package/lib/cjs/src/gated-signing/di/gatedSigningModuleFactory.js.map +7 -0
- package/lib/cjs/src/gated-signing/di/gatedSigningTypes.js +2 -0
- package/lib/cjs/src/gated-signing/di/gatedSigningTypes.js.map +7 -0
- package/lib/cjs/src/gated-signing/domain/GatedSigningContextLoader.js +2 -0
- package/lib/cjs/src/gated-signing/domain/GatedSigningContextLoader.js.map +7 -0
- package/lib/cjs/src/gated-signing/domain/GatedSigningContextLoader.test.js +2 -0
- package/lib/cjs/src/gated-signing/domain/GatedSigningContextLoader.test.js.map +7 -0
- package/lib/cjs/src/gated-signing/domain/GatedSigningTypedDataContextLoader.js +2 -0
- package/lib/cjs/src/gated-signing/domain/GatedSigningTypedDataContextLoader.js.map +7 -0
- package/lib/cjs/src/gated-signing/domain/GatedSigningTypedDataContextLoader.test.js +2 -0
- package/lib/cjs/src/gated-signing/domain/GatedSigningTypedDataContextLoader.test.js.map +7 -0
- package/lib/cjs/src/index.js +1 -1
- package/lib/cjs/src/index.js.map +2 -2
- package/lib/cjs/src/nft/data/HttpNftDataSource.js +1 -1
- package/lib/cjs/src/nft/data/HttpNftDataSource.js.map +2 -2
- package/lib/cjs/src/nft/data/HttpNftDataSource.test.js +1 -1
- package/lib/cjs/src/nft/data/HttpNftDataSource.test.js.map +1 -1
- package/lib/cjs/src/pki/data/HttpPkiCertificateDataSource.js +1 -1
- package/lib/cjs/src/pki/data/HttpPkiCertificateDataSource.js.map +2 -2
- package/lib/cjs/src/pki/data/HttpPkiCertificateDataSource.test.js.map +1 -1
- package/lib/cjs/src/pki/model/KeyId.js +1 -1
- package/lib/cjs/src/pki/model/KeyId.js.map +2 -2
- package/lib/cjs/src/pki/model/KeyUsage.js +1 -1
- package/lib/cjs/src/pki/model/KeyUsage.js.map +2 -2
- package/lib/cjs/src/proxy/data/HttpProxyDataSource.js +1 -1
- package/lib/cjs/src/proxy/data/HttpProxyDataSource.js.map +2 -2
- package/lib/cjs/src/proxy/data/HttpProxyDataSource.test.js.map +1 -1
- package/lib/cjs/src/proxy/data/HttpSafeProxyDataSource.js +1 -1
- package/lib/cjs/src/proxy/data/HttpSafeProxyDataSource.js.map +2 -2
- package/lib/cjs/src/proxy/data/HttpSafeProxyDataSource.test.js.map +1 -1
- package/lib/cjs/src/proxy/di/proxyModuleFactory.js +1 -1
- package/lib/cjs/src/proxy/di/proxyModuleFactory.js.map +3 -3
- package/lib/cjs/src/proxy/di/proxyModuleFactory.test.js +1 -1
- package/lib/cjs/src/proxy/di/proxyModuleFactory.test.js.map +2 -2
- package/lib/cjs/src/reporter/data/BlindSigningReporterDatasource.js +2 -0
- package/lib/cjs/src/reporter/data/BlindSigningReporterDatasource.js.map +7 -0
- package/lib/cjs/src/reporter/data/HttpBlindSigningReporterDatasource.js +2 -0
- package/lib/cjs/src/reporter/data/HttpBlindSigningReporterDatasource.js.map +7 -0
- package/lib/cjs/src/reporter/data/HttpBlindSigningReporterDatasource.test.js +2 -0
- package/lib/cjs/src/reporter/data/HttpBlindSigningReporterDatasource.test.js.map +7 -0
- package/lib/cjs/src/reporter/data/dto/BlindSigningEventDto.js +2 -0
- package/lib/cjs/src/reporter/data/dto/BlindSigningEventDto.js.map +7 -0
- package/lib/cjs/src/reporter/di/reporterModuleFactory.js +2 -0
- package/lib/cjs/src/reporter/di/reporterModuleFactory.js.map +7 -0
- package/lib/cjs/src/reporter/di/reporterTypes.js +2 -0
- package/lib/cjs/src/reporter/di/reporterTypes.js.map +7 -0
- package/lib/cjs/src/reporter/domain/BlindSigningReporter.js +2 -0
- package/lib/cjs/src/reporter/domain/BlindSigningReporter.js.map +7 -0
- package/lib/cjs/src/reporter/domain/DefaultBlindSigningReporter.js +2 -0
- package/lib/cjs/src/reporter/domain/DefaultBlindSigningReporter.js.map +7 -0
- package/lib/cjs/src/reporter/domain/DefaultBlindSigningReporter.test.js +2 -0
- package/lib/cjs/src/reporter/domain/DefaultBlindSigningReporter.test.js.map +7 -0
- package/lib/cjs/src/reporter/model/BlindSigningEvent.js +2 -0
- package/lib/cjs/src/reporter/model/BlindSigningEvent.js.map +7 -0
- package/lib/cjs/src/reporter/model/BlindSigningModelId.js +2 -0
- package/lib/cjs/src/reporter/model/BlindSigningModelId.js.map +7 -0
- package/lib/cjs/src/safe/data/HttpSafeAccountDataSource.js +1 -1
- package/lib/cjs/src/safe/data/HttpSafeAccountDataSource.js.map +2 -2
- package/lib/cjs/src/safe/data/HttpSafeAccountDataSource.test.js +1 -1
- package/lib/cjs/src/safe/data/HttpSafeAccountDataSource.test.js.map +2 -2
- package/lib/cjs/src/shared/model/ClearSignContext.js +1 -1
- package/lib/cjs/src/shared/model/ClearSignContext.js.map +2 -2
- package/lib/cjs/src/shared/model/SolanaContextTypes.js +1 -1
- package/lib/cjs/src/shared/model/SolanaContextTypes.js.map +1 -1
- package/lib/cjs/src/shared/utils/KeyUsageMapper.js +1 -1
- package/lib/cjs/src/shared/utils/KeyUsageMapper.js.map +2 -2
- package/lib/cjs/src/shared/utils/KeyUsageMapper.test.js +1 -1
- package/lib/cjs/src/shared/utils/KeyUsageMapper.test.js.map +2 -2
- package/lib/cjs/src/solana/data/HttpSolanaOwnerInfoDataSource.js +1 -1
- package/lib/cjs/src/solana/data/HttpSolanaOwnerInfoDataSource.js.map +2 -2
- package/lib/cjs/src/solana/data/HttpSolanaOwnerInfoDataSource.test.js +1 -1
- package/lib/cjs/src/solana/data/HttpSolanaOwnerInfoDataSource.test.js.map +1 -1
- package/lib/cjs/src/solana/domain/DefaultSolanaContextLoader.js +1 -1
- package/lib/cjs/src/solana/domain/DefaultSolanaContextLoader.js.map +3 -3
- package/lib/cjs/src/solana/domain/DefaultSolanaContextLoader.test.js +1 -1
- package/lib/cjs/src/solana/domain/DefaultSolanaContextLoader.test.js.map +1 -1
- package/lib/cjs/src/solana/domain/solanaContextTypes.js.map +1 -1
- package/lib/cjs/src/solanaLifi/data/HttpSolanaLifiDataSource.js +1 -1
- package/lib/cjs/src/solanaLifi/data/HttpSolanaLifiDataSource.js.map +3 -3
- package/lib/cjs/src/solanaLifi/data/HttpSolanaLifiDataSource.test.js +1 -1
- package/lib/cjs/src/solanaLifi/data/HttpSolanaLifiDataSource.test.js.map +3 -3
- package/lib/cjs/src/solanaLifi/data/SolanaLifiDataSource.js +1 -1
- package/lib/cjs/src/solanaLifi/data/SolanaLifiDataSource.js.map +1 -1
- package/lib/cjs/src/solanaLifi/domain/SolanaLifiContextLoader.js +1 -1
- package/lib/cjs/src/solanaLifi/domain/SolanaLifiContextLoader.js.map +3 -3
- package/lib/cjs/src/solanaLifi/domain/SolanaLifiContextLoader.test.js +1 -1
- package/lib/cjs/src/solanaLifi/domain/SolanaLifiContextLoader.test.js.map +3 -3
- package/lib/cjs/src/solanaToken/data/HttpSolanaTokenDataSource.js +1 -1
- package/lib/cjs/src/solanaToken/data/HttpSolanaTokenDataSource.js.map +2 -2
- package/lib/cjs/src/solanaToken/data/HttpSolanaTokenDataSource.test.js +2 -2
- package/lib/cjs/src/solanaToken/data/HttpSolanaTokenDataSource.test.js.map +2 -2
- package/lib/cjs/src/solanaToken/domain/SolanaTokenContextLoader.js +1 -1
- package/lib/cjs/src/solanaToken/domain/SolanaTokenContextLoader.js.map +2 -2
- package/lib/cjs/src/solanaToken/domain/SolanaTokenContextLoader.test.js +1 -1
- package/lib/cjs/src/solanaToken/domain/SolanaTokenContextLoader.test.js.map +1 -1
- package/lib/cjs/src/token/data/HttpTokenDataSource.js +1 -1
- package/lib/cjs/src/token/data/HttpTokenDataSource.js.map +2 -2
- package/lib/cjs/src/token/data/HttpTokenDataSource.test.js.map +1 -1
- package/lib/cjs/src/transaction-check/data/HttpTransactionCheckDataSource.js +1 -1
- package/lib/cjs/src/transaction-check/data/HttpTransactionCheckDataSource.js.map +2 -2
- package/lib/cjs/src/transaction-check/data/HttpTransactionCheckDataSource.test.js.map +1 -1
- package/lib/cjs/src/transaction-check/data/HttpTypedDataCheckDataSource.js.map +2 -2
- package/lib/cjs/src/transaction-check/data/HttpTypedDataCheckDataSource.test.js.map +1 -1
- package/lib/cjs/src/trusted-name/data/HttpTrustedNameDataSource.js +1 -1
- package/lib/cjs/src/trusted-name/data/HttpTrustedNameDataSource.js.map +2 -2
- package/lib/cjs/src/trusted-name/data/HttpTrustedNameDataSource.test.js.map +1 -1
- package/lib/cjs/src/trusted-name/di/trustedNameModuleFactory.js +1 -1
- package/lib/cjs/src/trusted-name/di/trustedNameModuleFactory.js.map +3 -3
- package/lib/cjs/src/typed-data/data/HttpTypedDataDataSource.js +1 -1
- package/lib/cjs/src/typed-data/data/HttpTypedDataDataSource.js.map +3 -3
- package/lib/cjs/src/typed-data/data/HttpTypedDataDataSource.test.js.map +1 -1
- package/lib/cjs/src/typed-data/utils/getSchemaHash.js +2 -0
- package/lib/cjs/src/typed-data/utils/getSchemaHash.js.map +7 -0
- package/lib/cjs/src/typed-data/utils/getSchemaHash.test.js +2 -0
- package/lib/cjs/src/typed-data/utils/getSchemaHash.test.js.map +7 -0
- package/lib/esm/package.json +2 -2
- package/lib/esm/src/ContextModuleBuilder.js +1 -1
- package/lib/esm/src/ContextModuleBuilder.js.map +3 -3
- package/lib/esm/src/ContextModuleBuilder.test.js +1 -1
- package/lib/esm/src/ContextModuleBuilder.test.js.map +3 -3
- package/lib/esm/src/DefaultContextModule.js +1 -1
- package/lib/esm/src/DefaultContextModule.js.map +3 -3
- package/lib/esm/src/DefaultContextModule.test.js +1 -1
- package/lib/esm/src/DefaultContextModule.test.js.map +2 -2
- package/lib/esm/src/calldata/data/HttpCalldataDescriptorDataSource.js +1 -1
- package/lib/esm/src/calldata/data/HttpCalldataDescriptorDataSource.js.map +2 -2
- package/lib/esm/src/calldata/data/HttpCalldataDescriptorDataSource.test.js.map +1 -1
- package/lib/esm/src/config/di/configModuleFactory.js +1 -1
- package/lib/esm/src/config/di/configModuleFactory.js.map +2 -2
- package/lib/esm/src/di.js +1 -1
- package/lib/esm/src/di.js.map +3 -3
- package/lib/esm/src/dynamic-network/data/HttpDynamicNetworkDataSource.js +1 -1
- package/lib/esm/src/dynamic-network/data/HttpDynamicNetworkDataSource.js.map +2 -2
- package/lib/esm/src/dynamic-network/data/HttpDynamicNetworkDataSource.test.js.map +2 -2
- package/lib/esm/src/dynamic-network/domain/DynamicNetworkContextLoader.js +1 -1
- package/lib/esm/src/dynamic-network/domain/DynamicNetworkContextLoader.js.map +3 -3
- package/lib/esm/src/dynamic-network/domain/DynamicNetworkContextLoader.test.js.map +1 -1
- package/lib/esm/src/external-plugin/data/HttpExternalPluginDataSource.js.map +2 -2
- package/lib/esm/src/external-plugin/data/HttpExternalPluginDataSource.test.js.map +1 -1
- package/lib/esm/src/gated-signing/data/GatedDescriptorDataSource.js +1 -0
- package/lib/esm/src/gated-signing/data/GatedDescriptorDataSource.js.map +7 -0
- package/lib/esm/src/gated-signing/data/HttpGatedDescriptorDataSource.js +2 -0
- package/lib/esm/src/gated-signing/data/HttpGatedDescriptorDataSource.js.map +7 -0
- package/lib/esm/src/gated-signing/data/HttpGatedDescriptorDataSource.test.js +2 -0
- package/lib/esm/src/gated-signing/data/HttpGatedDescriptorDataSource.test.js.map +7 -0
- package/lib/esm/src/gated-signing/data/dto/GatedDappsDto.js +1 -0
- package/lib/esm/src/gated-signing/data/dto/GatedDappsDto.js.map +7 -0
- package/lib/esm/src/gated-signing/di/gatedSigningModuleFactory.js +2 -0
- package/lib/esm/src/gated-signing/di/gatedSigningModuleFactory.js.map +7 -0
- package/lib/esm/src/gated-signing/di/gatedSigningTypes.js +2 -0
- package/lib/esm/src/gated-signing/di/gatedSigningTypes.js.map +7 -0
- package/lib/esm/src/gated-signing/domain/GatedSigningContextLoader.js +2 -0
- package/lib/esm/src/gated-signing/domain/GatedSigningContextLoader.js.map +7 -0
- package/lib/esm/src/gated-signing/domain/GatedSigningContextLoader.test.js +2 -0
- package/lib/esm/src/gated-signing/domain/GatedSigningContextLoader.test.js.map +7 -0
- package/lib/esm/src/gated-signing/domain/GatedSigningTypedDataContextLoader.js +2 -0
- package/lib/esm/src/gated-signing/domain/GatedSigningTypedDataContextLoader.js.map +7 -0
- package/lib/esm/src/gated-signing/domain/GatedSigningTypedDataContextLoader.test.js +2 -0
- package/lib/esm/src/gated-signing/domain/GatedSigningTypedDataContextLoader.test.js.map +7 -0
- package/lib/esm/src/index.js +1 -1
- package/lib/esm/src/index.js.map +2 -2
- package/lib/esm/src/nft/data/HttpNftDataSource.js +1 -1
- package/lib/esm/src/nft/data/HttpNftDataSource.js.map +2 -2
- package/lib/esm/src/nft/data/HttpNftDataSource.test.js +1 -1
- package/lib/esm/src/nft/data/HttpNftDataSource.test.js.map +1 -1
- package/lib/esm/src/pki/data/HttpPkiCertificateDataSource.js +1 -1
- package/lib/esm/src/pki/data/HttpPkiCertificateDataSource.js.map +2 -2
- package/lib/esm/src/pki/data/HttpPkiCertificateDataSource.test.js.map +1 -1
- package/lib/esm/src/pki/model/KeyId.js +1 -1
- package/lib/esm/src/pki/model/KeyId.js.map +2 -2
- package/lib/esm/src/pki/model/KeyUsage.js +1 -1
- package/lib/esm/src/pki/model/KeyUsage.js.map +2 -2
- package/lib/esm/src/proxy/data/HttpProxyDataSource.js +1 -1
- package/lib/esm/src/proxy/data/HttpProxyDataSource.js.map +2 -2
- package/lib/esm/src/proxy/data/HttpProxyDataSource.test.js.map +1 -1
- package/lib/esm/src/proxy/data/HttpSafeProxyDataSource.js.map +2 -2
- package/lib/esm/src/proxy/data/HttpSafeProxyDataSource.test.js.map +1 -1
- package/lib/esm/src/proxy/di/proxyModuleFactory.js +1 -1
- package/lib/esm/src/proxy/di/proxyModuleFactory.js.map +3 -3
- package/lib/esm/src/proxy/di/proxyModuleFactory.test.js +1 -1
- package/lib/esm/src/proxy/di/proxyModuleFactory.test.js.map +2 -2
- package/lib/esm/src/reporter/data/BlindSigningReporterDatasource.js +1 -0
- package/lib/esm/src/reporter/data/BlindSigningReporterDatasource.js.map +7 -0
- package/lib/esm/src/reporter/data/HttpBlindSigningReporterDatasource.js +2 -0
- package/lib/esm/src/reporter/data/HttpBlindSigningReporterDatasource.js.map +7 -0
- package/lib/esm/src/reporter/data/HttpBlindSigningReporterDatasource.test.js +2 -0
- package/lib/esm/src/reporter/data/HttpBlindSigningReporterDatasource.test.js.map +7 -0
- package/lib/esm/src/reporter/data/dto/BlindSigningEventDto.js +1 -0
- package/lib/esm/src/reporter/data/dto/BlindSigningEventDto.js.map +7 -0
- package/lib/esm/src/reporter/di/reporterModuleFactory.js +2 -0
- package/lib/esm/src/reporter/di/reporterModuleFactory.js.map +7 -0
- package/lib/esm/src/reporter/di/reporterTypes.js +2 -0
- package/lib/esm/src/reporter/di/reporterTypes.js.map +7 -0
- package/lib/esm/src/reporter/domain/BlindSigningReporter.js +1 -0
- package/lib/esm/src/reporter/domain/BlindSigningReporter.js.map +7 -0
- package/lib/esm/src/reporter/domain/DefaultBlindSigningReporter.js +2 -0
- package/lib/esm/src/reporter/domain/DefaultBlindSigningReporter.js.map +7 -0
- package/lib/esm/src/reporter/domain/DefaultBlindSigningReporter.test.js +2 -0
- package/lib/esm/src/reporter/domain/DefaultBlindSigningReporter.test.js.map +7 -0
- package/lib/esm/src/reporter/model/BlindSigningEvent.js +2 -0
- package/lib/esm/src/reporter/model/BlindSigningEvent.js.map +7 -0
- package/lib/esm/src/reporter/model/BlindSigningModelId.js +2 -0
- package/lib/esm/src/reporter/model/BlindSigningModelId.js.map +7 -0
- package/lib/esm/src/safe/data/HttpSafeAccountDataSource.js +1 -1
- package/lib/esm/src/safe/data/HttpSafeAccountDataSource.js.map +2 -2
- package/lib/esm/src/safe/data/HttpSafeAccountDataSource.test.js +1 -1
- package/lib/esm/src/safe/data/HttpSafeAccountDataSource.test.js.map +2 -2
- package/lib/esm/src/shared/model/ClearSignContext.js +1 -1
- package/lib/esm/src/shared/model/ClearSignContext.js.map +2 -2
- package/lib/esm/src/shared/model/SolanaContextTypes.js.map +1 -1
- package/lib/esm/src/shared/utils/KeyUsageMapper.js +1 -1
- package/lib/esm/src/shared/utils/KeyUsageMapper.js.map +2 -2
- package/lib/esm/src/shared/utils/KeyUsageMapper.test.js +1 -1
- package/lib/esm/src/shared/utils/KeyUsageMapper.test.js.map +2 -2
- package/lib/esm/src/solana/data/HttpSolanaOwnerInfoDataSource.js +1 -1
- package/lib/esm/src/solana/data/HttpSolanaOwnerInfoDataSource.js.map +2 -2
- package/lib/esm/src/solana/data/HttpSolanaOwnerInfoDataSource.test.js.map +1 -1
- package/lib/esm/src/solana/domain/DefaultSolanaContextLoader.js +1 -1
- package/lib/esm/src/solana/domain/DefaultSolanaContextLoader.js.map +3 -3
- package/lib/esm/src/solana/domain/DefaultSolanaContextLoader.test.js +1 -1
- package/lib/esm/src/solana/domain/DefaultSolanaContextLoader.test.js.map +1 -1
- package/lib/esm/src/solanaLifi/data/HttpSolanaLifiDataSource.js +1 -1
- package/lib/esm/src/solanaLifi/data/HttpSolanaLifiDataSource.js.map +3 -3
- package/lib/esm/src/solanaLifi/data/HttpSolanaLifiDataSource.test.js +1 -1
- package/lib/esm/src/solanaLifi/data/HttpSolanaLifiDataSource.test.js.map +3 -3
- package/lib/esm/src/solanaLifi/domain/SolanaLifiContextLoader.js +1 -1
- package/lib/esm/src/solanaLifi/domain/SolanaLifiContextLoader.js.map +3 -3
- package/lib/esm/src/solanaLifi/domain/SolanaLifiContextLoader.test.js +1 -1
- package/lib/esm/src/solanaLifi/domain/SolanaLifiContextLoader.test.js.map +3 -3
- package/lib/esm/src/solanaToken/data/HttpSolanaTokenDataSource.js +1 -1
- package/lib/esm/src/solanaToken/data/HttpSolanaTokenDataSource.js.map +2 -2
- package/lib/esm/src/solanaToken/data/HttpSolanaTokenDataSource.test.js +2 -2
- package/lib/esm/src/solanaToken/data/HttpSolanaTokenDataSource.test.js.map +2 -2
- package/lib/esm/src/solanaToken/domain/SolanaTokenContextLoader.js +1 -1
- package/lib/esm/src/solanaToken/domain/SolanaTokenContextLoader.js.map +2 -2
- package/lib/esm/src/solanaToken/domain/SolanaTokenContextLoader.test.js +1 -1
- package/lib/esm/src/solanaToken/domain/SolanaTokenContextLoader.test.js.map +1 -1
- package/lib/esm/src/token/data/HttpTokenDataSource.js.map +2 -2
- package/lib/esm/src/token/data/HttpTokenDataSource.test.js.map +1 -1
- package/lib/esm/src/transaction-check/data/HttpTransactionCheckDataSource.js +1 -1
- package/lib/esm/src/transaction-check/data/HttpTransactionCheckDataSource.js.map +2 -2
- package/lib/esm/src/transaction-check/data/HttpTransactionCheckDataSource.test.js.map +1 -1
- package/lib/esm/src/transaction-check/data/HttpTypedDataCheckDataSource.js.map +2 -2
- package/lib/esm/src/transaction-check/data/HttpTypedDataCheckDataSource.test.js.map +1 -1
- package/lib/esm/src/trusted-name/data/HttpTrustedNameDataSource.js.map +2 -2
- package/lib/esm/src/trusted-name/data/HttpTrustedNameDataSource.test.js.map +1 -1
- package/lib/esm/src/trusted-name/di/trustedNameModuleFactory.js +1 -1
- package/lib/esm/src/trusted-name/di/trustedNameModuleFactory.js.map +3 -3
- package/lib/esm/src/typed-data/data/HttpTypedDataDataSource.js +1 -1
- package/lib/esm/src/typed-data/data/HttpTypedDataDataSource.js.map +3 -3
- package/lib/esm/src/typed-data/data/HttpTypedDataDataSource.test.js.map +1 -1
- package/lib/esm/src/typed-data/utils/getSchemaHash.js +2 -0
- package/lib/esm/src/typed-data/utils/getSchemaHash.js.map +7 -0
- package/lib/esm/src/typed-data/utils/getSchemaHash.test.js +2 -0
- package/lib/esm/src/typed-data/utils/getSchemaHash.test.js.map +7 -0
- package/lib/types/src/ContextModule.d.ts +2 -0
- package/lib/types/src/ContextModule.d.ts.map +1 -1
- package/lib/types/src/ContextModuleBuilder.d.ts +30 -3
- package/lib/types/src/ContextModuleBuilder.d.ts.map +1 -1
- package/lib/types/src/DefaultContextModule.d.ts +6 -2
- package/lib/types/src/DefaultContextModule.d.ts.map +1 -1
- package/lib/types/src/calldata/data/HttpCalldataDescriptorDataSource.d.ts +2 -2
- package/lib/types/src/calldata/data/HttpCalldataDescriptorDataSource.d.ts.map +1 -1
- package/lib/types/src/config/di/configModuleFactory.d.ts +2 -2
- package/lib/types/src/config/di/configModuleFactory.d.ts.map +1 -1
- package/lib/types/src/config/model/ContextModuleConfig.d.ts +14 -3
- package/lib/types/src/config/model/ContextModuleConfig.d.ts.map +1 -1
- package/lib/types/src/di.d.ts +2 -2
- package/lib/types/src/di.d.ts.map +1 -1
- package/lib/types/src/dynamic-network/data/HttpDynamicNetworkDataSource.d.ts +2 -2
- package/lib/types/src/dynamic-network/data/HttpDynamicNetworkDataSource.d.ts.map +1 -1
- package/lib/types/src/dynamic-network/domain/DynamicNetworkContextLoader.d.ts +4 -2
- package/lib/types/src/dynamic-network/domain/DynamicNetworkContextLoader.d.ts.map +1 -1
- package/lib/types/src/external-plugin/data/HttpExternalPluginDataSource.d.ts +2 -2
- package/lib/types/src/external-plugin/data/HttpExternalPluginDataSource.d.ts.map +1 -1
- package/lib/types/src/gated-signing/data/GatedDescriptorDataSource.d.ts +20 -0
- package/lib/types/src/gated-signing/data/GatedDescriptorDataSource.d.ts.map +1 -0
- package/lib/types/src/gated-signing/data/HttpGatedDescriptorDataSource.d.ts +13 -0
- package/lib/types/src/gated-signing/data/HttpGatedDescriptorDataSource.d.ts.map +1 -0
- package/lib/types/src/gated-signing/data/HttpGatedDescriptorDataSource.test.d.ts +2 -0
- package/lib/types/src/gated-signing/data/HttpGatedDescriptorDataSource.test.d.ts.map +1 -0
- package/lib/types/src/gated-signing/data/dto/GatedDappsDto.d.ts +15 -0
- package/lib/types/src/gated-signing/data/dto/GatedDappsDto.d.ts.map +1 -0
- package/lib/types/src/gated-signing/di/gatedSigningModuleFactory.d.ts +3 -0
- package/lib/types/src/gated-signing/di/gatedSigningModuleFactory.d.ts.map +1 -0
- package/lib/types/src/gated-signing/di/gatedSigningTypes.d.ts +6 -0
- package/lib/types/src/gated-signing/di/gatedSigningTypes.d.ts.map +1 -0
- package/lib/types/src/gated-signing/domain/GatedSigningContextLoader.d.ts +22 -0
- package/lib/types/src/gated-signing/domain/GatedSigningContextLoader.d.ts.map +1 -0
- package/lib/types/src/gated-signing/domain/GatedSigningContextLoader.test.d.ts +2 -0
- package/lib/types/src/gated-signing/domain/GatedSigningContextLoader.test.d.ts.map +1 -0
- package/lib/types/src/gated-signing/domain/GatedSigningTypedDataContextLoader.d.ts +27 -0
- package/lib/types/src/gated-signing/domain/GatedSigningTypedDataContextLoader.d.ts.map +1 -0
- package/lib/types/src/gated-signing/domain/GatedSigningTypedDataContextLoader.test.d.ts +2 -0
- package/lib/types/src/gated-signing/domain/GatedSigningTypedDataContextLoader.test.d.ts.map +1 -0
- package/lib/types/src/index.d.ts +12 -1
- package/lib/types/src/index.d.ts.map +1 -1
- package/lib/types/src/nft/data/HttpNftDataSource.d.ts +2 -2
- package/lib/types/src/nft/data/HttpNftDataSource.d.ts.map +1 -1
- package/lib/types/src/pki/data/HttpPkiCertificateDataSource.d.ts +2 -2
- package/lib/types/src/pki/data/HttpPkiCertificateDataSource.d.ts.map +1 -1
- package/lib/types/src/pki/model/KeyId.d.ts +3 -1
- package/lib/types/src/pki/model/KeyId.d.ts.map +1 -1
- package/lib/types/src/pki/model/KeyUsage.d.ts +3 -1
- package/lib/types/src/pki/model/KeyUsage.d.ts.map +1 -1
- package/lib/types/src/proxy/data/HttpProxyDataSource.d.ts +2 -2
- package/lib/types/src/proxy/data/HttpProxyDataSource.d.ts.map +1 -1
- package/lib/types/src/proxy/data/HttpSafeProxyDataSource.d.ts +2 -2
- package/lib/types/src/proxy/data/HttpSafeProxyDataSource.d.ts.map +1 -1
- package/lib/types/src/proxy/di/proxyModuleFactory.d.ts +2 -2
- package/lib/types/src/proxy/di/proxyModuleFactory.d.ts.map +1 -1
- package/lib/types/src/reporter/data/BlindSigningReporterDatasource.d.ts +23 -0
- package/lib/types/src/reporter/data/BlindSigningReporterDatasource.d.ts.map +1 -0
- package/lib/types/src/reporter/data/HttpBlindSigningReporterDatasource.d.ts +9 -0
- package/lib/types/src/reporter/data/HttpBlindSigningReporterDatasource.d.ts.map +1 -0
- package/lib/types/src/reporter/data/HttpBlindSigningReporterDatasource.test.d.ts +2 -0
- package/lib/types/src/reporter/data/HttpBlindSigningReporterDatasource.test.d.ts.map +1 -0
- package/lib/types/src/reporter/data/dto/BlindSigningEventDto.d.ts +26 -0
- package/lib/types/src/reporter/data/dto/BlindSigningEventDto.d.ts.map +1 -0
- package/lib/types/src/reporter/di/reporterModuleFactory.d.ts +3 -0
- package/lib/types/src/reporter/di/reporterModuleFactory.d.ts.map +1 -0
- package/lib/types/src/reporter/di/reporterTypes.d.ts +5 -0
- package/lib/types/src/reporter/di/reporterTypes.d.ts.map +1 -0
- package/lib/types/src/reporter/domain/BlindSigningReporter.d.ts +6 -0
- package/lib/types/src/reporter/domain/BlindSigningReporter.d.ts.map +1 -0
- package/lib/types/src/reporter/domain/DefaultBlindSigningReporter.d.ts +9 -0
- package/lib/types/src/reporter/domain/DefaultBlindSigningReporter.d.ts.map +1 -0
- package/lib/types/src/reporter/domain/DefaultBlindSigningReporter.test.d.ts +2 -0
- package/lib/types/src/reporter/domain/DefaultBlindSigningReporter.test.d.ts.map +1 -0
- package/lib/types/src/reporter/model/BlindSigningEvent.d.ts +21 -0
- package/lib/types/src/reporter/model/BlindSigningEvent.d.ts.map +1 -0
- package/lib/types/src/reporter/model/BlindSigningModelId.d.ts +12 -0
- package/lib/types/src/reporter/model/BlindSigningModelId.d.ts.map +1 -0
- package/lib/types/src/safe/data/HttpSafeAccountDataSource.d.ts +2 -2
- package/lib/types/src/safe/data/HttpSafeAccountDataSource.d.ts.map +1 -1
- package/lib/types/src/shared/model/ClearSignContext.d.ts +2 -1
- package/lib/types/src/shared/model/ClearSignContext.d.ts.map +1 -1
- package/lib/types/src/shared/model/SolanaContextTypes.d.ts +33 -3
- package/lib/types/src/shared/model/SolanaContextTypes.d.ts.map +1 -1
- package/lib/types/src/shared/utils/KeyUsageMapper.d.ts.map +1 -1
- package/lib/types/src/solana/data/HttpSolanaOwnerInfoDataSource.d.ts +2 -2
- package/lib/types/src/solana/data/HttpSolanaOwnerInfoDataSource.d.ts.map +1 -1
- package/lib/types/src/solana/domain/DefaultSolanaContextLoader.d.ts +4 -1
- package/lib/types/src/solana/domain/DefaultSolanaContextLoader.d.ts.map +1 -1
- package/lib/types/src/solana/domain/solanaContextTypes.d.ts +2 -2
- package/lib/types/src/solana/domain/solanaContextTypes.d.ts.map +1 -1
- package/lib/types/src/solanaLifi/data/HttpSolanaLifiDataSource.d.ts +4 -2
- package/lib/types/src/solanaLifi/data/HttpSolanaLifiDataSource.d.ts.map +1 -1
- package/lib/types/src/solanaLifi/data/SolanaLifiDataSource.d.ts +2 -5
- package/lib/types/src/solanaLifi/data/SolanaLifiDataSource.d.ts.map +1 -1
- package/lib/types/src/solanaLifi/domain/SolanaLifiContextLoader.d.ts +10 -8
- package/lib/types/src/solanaLifi/domain/SolanaLifiContextLoader.d.ts.map +1 -1
- package/lib/types/src/solanaToken/data/HttpSolanaTokenDataSource.d.ts +2 -2
- package/lib/types/src/solanaToken/data/HttpSolanaTokenDataSource.d.ts.map +1 -1
- package/lib/types/src/solanaToken/domain/SolanaTokenContextLoader.d.ts +6 -11
- package/lib/types/src/solanaToken/domain/SolanaTokenContextLoader.d.ts.map +1 -1
- package/lib/types/src/token/data/HttpTokenDataSource.d.ts +2 -2
- package/lib/types/src/token/data/HttpTokenDataSource.d.ts.map +1 -1
- package/lib/types/src/transaction-check/data/HttpTransactionCheckDataSource.d.ts +2 -2
- package/lib/types/src/transaction-check/data/HttpTransactionCheckDataSource.d.ts.map +1 -1
- package/lib/types/src/transaction-check/data/HttpTypedDataCheckDataSource.d.ts +2 -2
- package/lib/types/src/transaction-check/data/HttpTypedDataCheckDataSource.d.ts.map +1 -1
- package/lib/types/src/trusted-name/data/HttpTrustedNameDataSource.d.ts +2 -2
- package/lib/types/src/trusted-name/data/HttpTrustedNameDataSource.d.ts.map +1 -1
- package/lib/types/src/trusted-name/di/trustedNameModuleFactory.d.ts +2 -2
- package/lib/types/src/trusted-name/di/trustedNameModuleFactory.d.ts.map +1 -1
- package/lib/types/src/typed-data/data/HttpTypedDataDataSource.d.ts +2 -3
- package/lib/types/src/typed-data/data/HttpTypedDataDataSource.d.ts.map +1 -1
- package/lib/types/src/typed-data/utils/getSchemaHash.d.ts +12 -0
- package/lib/types/src/typed-data/utils/getSchemaHash.d.ts.map +1 -0
- package/lib/types/src/typed-data/utils/getSchemaHash.test.d.ts +2 -0
- package/lib/types/src/typed-data/utils/getSchemaHash.test.d.ts.map +1 -0
- package/lib/types/tsconfig.prod.tsbuildinfo +1 -1
- package/package.json +7 -7
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Either } from "purify-ts";
|
|
2
|
+
import { type ContextModuleServiceConfig } from "../../config/model/ContextModuleConfig";
|
|
3
|
+
import { type GatedDescriptorDataSource, type GetGatedDescriptorForTypedDataParams, type GetGatedDescriptorParams, type GetGatedDescriptorResponse } from "./GatedDescriptorDataSource";
|
|
4
|
+
export declare class HttpGatedDescriptorDataSource implements GatedDescriptorDataSource {
|
|
5
|
+
private readonly config;
|
|
6
|
+
constructor(config: ContextModuleServiceConfig);
|
|
7
|
+
getGatedDescriptor({ contractAddress, selector, chainId, }: GetGatedDescriptorParams): Promise<Either<Error, GetGatedDescriptorResponse>>;
|
|
8
|
+
getGatedDescriptorForTypedData({ contractAddress, schemaHash, chainId, }: GetGatedDescriptorForTypedDataParams): Promise<Either<Error, GetGatedDescriptorResponse>>;
|
|
9
|
+
private isGatedDappsDto;
|
|
10
|
+
private isGatedDappsResponseItemDto;
|
|
11
|
+
private isGatedDescriptorEntryDto;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=HttpGatedDescriptorDataSource.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HttpGatedDescriptorDataSource.d.ts","sourceRoot":"","sources":["../../../../../src/gated-signing/data/HttpGatedDescriptorDataSource.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAe,MAAM,WAAW,CAAC;AAGhD,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAcrF,OAAO,EACL,KAAK,yBAAyB,EAC9B,KAAK,oCAAoC,EACzC,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAChC,MAAM,6BAA6B,CAAC;AAErC,qBACa,6BACX,YAAW,yBAAyB;IAIlC,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,0BAA0B;IAG/C,kBAAkB,CAAC,EACvB,eAAe,EACf,QAAQ,EACR,OAAO,GACR,EAAE,wBAAwB,GAAG,OAAO,CACnC,MAAM,CAAC,KAAK,EAAE,0BAA0B,CAAC,CAC1C;IAkEK,8BAA8B,CAAC,EACnC,eAAe,EACf,UAAU,EACV,OAAO,GACR,EAAE,oCAAoC,GAAG,OAAO,CAC/C,MAAM,CAAC,KAAK,EAAE,0BAA0B,CAAC,CAC1C;IA4DD,OAAO,CAAC,eAAe;IAYvB,OAAO,CAAC,2BAA2B;IA6BnC,OAAO,CAAC,yBAAyB;CA8BlC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HttpGatedDescriptorDataSource.test.d.ts","sourceRoot":"","sources":["../../../../../src/gated-signing/data/HttpGatedDescriptorDataSource.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type GatedDescriptorEntryDto = {
|
|
2
|
+
network: string;
|
|
3
|
+
chain_id: number;
|
|
4
|
+
address: string;
|
|
5
|
+
selector: string;
|
|
6
|
+
version: string;
|
|
7
|
+
descriptor: string;
|
|
8
|
+
signatures?: Record<string, string>;
|
|
9
|
+
};
|
|
10
|
+
export type GatedDescriptorsByContractDto = Record<string, Record<string, GatedDescriptorEntryDto>>;
|
|
11
|
+
export type GatedDappsResponseItemDto = {
|
|
12
|
+
gated_descriptors: GatedDescriptorsByContractDto;
|
|
13
|
+
};
|
|
14
|
+
export type GatedDappsDto = GatedDappsResponseItemDto[];
|
|
15
|
+
//# sourceMappingURL=GatedDappsDto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GatedDappsDto.d.ts","sourceRoot":"","sources":["../../../../../../src/gated-signing/data/dto/GatedDappsDto.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,uBAAuB,GAAG;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG,MAAM,CAChD,MAAM,EACN,MAAM,CAAC,MAAM,EAAE,uBAAuB,CAAC,CACxC,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IACtC,iBAAiB,EAAE,6BAA6B,CAAC;CAClD,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,yBAAyB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gatedSigningModuleFactory.d.ts","sourceRoot":"","sources":["../../../../../src/gated-signing/di/gatedSigningModuleFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAQ5C,eAAO,MAAM,yBAAyB,uBAWlC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gatedSigningTypes.d.ts","sourceRoot":"","sources":["../../../../../src/gated-signing/di/gatedSigningTypes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB;;;;CAM7B,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DeviceModelId, HexaString } from "@ledgerhq/device-management-kit";
|
|
2
|
+
import { type GatedDescriptorDataSource } from "../../gated-signing/data/GatedDescriptorDataSource";
|
|
3
|
+
import { type PkiCertificateLoader } from "../../pki/domain/PkiCertificateLoader";
|
|
4
|
+
import type { ProxyDataSource } from "../../proxy/data/ProxyDataSource";
|
|
5
|
+
import { ContextLoader } from "../../shared/domain/ContextLoader";
|
|
6
|
+
import { ClearSignContext, ClearSignContextType } from "../../shared/model/ClearSignContext";
|
|
7
|
+
export type GatedSigningContextInput = {
|
|
8
|
+
to: HexaString;
|
|
9
|
+
selector: HexaString;
|
|
10
|
+
chainId: number;
|
|
11
|
+
deviceModelId: DeviceModelId;
|
|
12
|
+
};
|
|
13
|
+
export declare class GatedSigningContextLoader implements ContextLoader<GatedSigningContextInput> {
|
|
14
|
+
private readonly _dataSource;
|
|
15
|
+
private readonly _certificateLoader;
|
|
16
|
+
private readonly _proxyDataSource;
|
|
17
|
+
constructor(_dataSource: GatedDescriptorDataSource, _certificateLoader: PkiCertificateLoader, _proxyDataSource: ProxyDataSource);
|
|
18
|
+
canHandle(input: unknown, expectedTypes: ClearSignContextType[]): input is GatedSigningContextInput;
|
|
19
|
+
load({ to, selector, chainId, deviceModelId, }: GatedSigningContextInput): Promise<ClearSignContext[]>;
|
|
20
|
+
private _loadGatedCertificate;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=GatedSigningContextLoader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GatedSigningContextLoader.d.ts","sourceRoot":"","sources":["../../../../../src/gated-signing/domain/GatedSigningContextLoader.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,UAAU,EAEX,MAAM,iCAAiC,CAAC;AAGzC,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,gDAAgD,CAAC;AAGhG,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAG9E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAEpE,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACrB,MAAM,iCAAiC,CAAC;AAEzC,MAAM,MAAM,wBAAwB,GAAG;IACrC,EAAE,EAAE,UAAU,CAAC;IACf,QAAQ,EAAE,UAAU,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAWF,qBACa,yBACX,YAAW,aAAa,CAAC,wBAAwB,CAAC;IAIhD,OAAO,CAAC,QAAQ,CAAC,WAAW;IAE5B,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IAEnC,OAAO,CAAC,QAAQ,CAAC,gBAAgB;gBAJhB,WAAW,EAAE,yBAAyB,EAEtC,kBAAkB,EAAE,oBAAoB,EAExC,gBAAgB,EAAE,eAAe;IAGpD,SAAS,CACP,KAAK,EAAE,OAAO,EACd,aAAa,EAAE,oBAAoB,EAAE,GACpC,KAAK,IAAI,wBAAwB;IAiB9B,IAAI,CAAC,EACT,EAAE,EACF,QAAQ,EACR,OAAO,EACP,aAAa,GACd,EAAE,wBAAwB,GAAG,OAAO,CAAC,gBAAgB,EAAE,CAAC;IA2EzD,OAAO,CAAC,qBAAqB;CAO9B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GatedSigningContextLoader.test.d.ts","sourceRoot":"","sources":["../../../../../src/gated-signing/domain/GatedSigningContextLoader.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { DeviceModelId } from "@ledgerhq/device-management-kit";
|
|
2
|
+
import { type GatedDescriptorDataSource } from "../../gated-signing/data/GatedDescriptorDataSource";
|
|
3
|
+
import { type PkiCertificateLoader } from "../../pki/domain/PkiCertificateLoader";
|
|
4
|
+
import type { ProxyDataSource } from "../../proxy/data/ProxyDataSource";
|
|
5
|
+
import { ContextLoader } from "../../shared/domain/ContextLoader";
|
|
6
|
+
import { ClearSignContext, ClearSignContextType } from "../../shared/model/ClearSignContext";
|
|
7
|
+
import type { TypedDataSchema } from "../../shared/model/TypedDataContext";
|
|
8
|
+
export type GatedSigningTypedDataContextInput = {
|
|
9
|
+
data: {
|
|
10
|
+
types: TypedDataSchema;
|
|
11
|
+
domain?: {
|
|
12
|
+
verifyingContract?: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
chainId: number;
|
|
16
|
+
deviceModelId: DeviceModelId;
|
|
17
|
+
challenge: string;
|
|
18
|
+
};
|
|
19
|
+
export declare class GatedSigningTypedDataContextLoader implements ContextLoader<GatedSigningTypedDataContextInput> {
|
|
20
|
+
private readonly _dataSource;
|
|
21
|
+
private readonly _certificateLoader;
|
|
22
|
+
private readonly _proxyDataSource;
|
|
23
|
+
constructor(_dataSource: GatedDescriptorDataSource, _certificateLoader: PkiCertificateLoader, _proxyDataSource: ProxyDataSource);
|
|
24
|
+
canHandle(input: unknown, expectedTypes: ClearSignContextType[]): input is GatedSigningTypedDataContextInput;
|
|
25
|
+
load({ data, chainId, deviceModelId, challenge, }: GatedSigningTypedDataContextInput): Promise<ClearSignContext[]>;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=GatedSigningTypedDataContextLoader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GatedSigningTypedDataContextLoader.d.ts","sourceRoot":"","sources":["../../../../../src/gated-signing/domain/GatedSigningTypedDataContextLoader.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EAEd,MAAM,iCAAiC,CAAC;AAGzC,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,gDAAgD,CAAC;AAGhG,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAG9E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAEpE,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACrB,MAAM,iCAAiC,CAAC;AACzC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AAKvE,MAAM,MAAM,iCAAiC,GAAG;IAC9C,IAAI,EAAE;QACJ,KAAK,EAAE,eAAe,CAAC;QACvB,MAAM,CAAC,EAAE;YAAE,iBAAiB,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC;KACzC,CAAC;IACF,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,aAAa,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAqCF,qBACa,kCACX,YAAW,aAAa,CAAC,iCAAiC,CAAC;IAIzD,OAAO,CAAC,QAAQ,CAAC,WAAW;IAE5B,OAAO,CAAC,QAAQ,CAAC,kBAAkB;IAEnC,OAAO,CAAC,QAAQ,CAAC,gBAAgB;gBAJhB,WAAW,EAAE,yBAAyB,EAEtC,kBAAkB,EAAE,oBAAoB,EAExC,gBAAgB,EAAE,eAAe;IAGpD,SAAS,CACP,KAAK,EAAE,OAAO,EACd,aAAa,EAAE,oBAAoB,EAAE,GACpC,KAAK,IAAI,iCAAiC;IAgBvC,IAAI,CAAC,EACT,IAAI,EACJ,OAAO,EACP,aAAa,EACb,SAAS,GACV,EAAE,iCAAiC,GAAG,OAAO,CAAC,gBAAgB,EAAE,CAAC;CAoGnE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GatedSigningTypedDataContextLoader.test.d.ts","sourceRoot":"","sources":["../../../../../src/gated-signing/domain/GatedSigningTypedDataContextLoader.test.ts"],"names":[],"mappings":""}
|
package/lib/types/src/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * from "./calldata/data/CalldataDescriptorDataSource";
|
|
2
2
|
export * from "./calldata/data/HttpCalldataDescriptorDataSource";
|
|
3
3
|
export * from "./calldata/domain/CalldataContextLoader";
|
|
4
|
-
export
|
|
4
|
+
export type { ContextModuleCalBranch, ContextModuleCalConfig, ContextModuleCalMode, ContextModuleConfig, ContextModuleDatasourceConfig, ContextModuleMetadataServiceConfig, ContextModuleReporterConfig, ContextModuleWeb3ChecksConfig, } from "./config/model/ContextModuleConfig";
|
|
5
5
|
export * from "./ContextModule";
|
|
6
6
|
export * from "./ContextModuleBuilder";
|
|
7
7
|
export * from "./DefaultContextModule";
|
|
@@ -12,6 +12,10 @@ export * from "./dynamic-network/model/DynamicNetworkConfiguration";
|
|
|
12
12
|
export * from "./external-plugin/data/ExternalPluginDataSource";
|
|
13
13
|
export * from "./external-plugin/data/HttpExternalPluginDataSource";
|
|
14
14
|
export * from "./external-plugin/domain/ExternalPluginContextLoader";
|
|
15
|
+
export * from "./gated-signing/data/GatedDescriptorDataSource";
|
|
16
|
+
export * from "./gated-signing/data/HttpGatedDescriptorDataSource";
|
|
17
|
+
export * from "./gated-signing/domain/GatedSigningContextLoader";
|
|
18
|
+
export * from "./gated-signing/domain/GatedSigningTypedDataContextLoader";
|
|
15
19
|
export * from "./nft/data/HttpNftDataSource";
|
|
16
20
|
export * from "./nft/data/NftDataSource";
|
|
17
21
|
export * from "./nft/domain/NftContextFieldLoader";
|
|
@@ -28,6 +32,12 @@ export * from "./proxy/data/HttpProxyDataSource";
|
|
|
28
32
|
export * from "./proxy/data/HttpSafeProxyDataSource";
|
|
29
33
|
export * from "./proxy/data/ProxyDataSource";
|
|
30
34
|
export * from "./proxy/domain/ProxyContextFieldLoader";
|
|
35
|
+
export * from "./reporter/data/BlindSigningReporterDatasource";
|
|
36
|
+
export * from "./reporter/data/HttpBlindSigningReporterDatasource";
|
|
37
|
+
export * from "./reporter/domain/BlindSigningReporter";
|
|
38
|
+
export * from "./reporter/domain/DefaultBlindSigningReporter";
|
|
39
|
+
export * from "./reporter/model/BlindSigningEvent";
|
|
40
|
+
export * from "./reporter/model/BlindSigningModelId";
|
|
31
41
|
export * from "./shared/domain/ContextFieldLoader";
|
|
32
42
|
export * from "./shared/domain/ContextLoader";
|
|
33
43
|
export * from "./shared/model/ClearSignContext";
|
|
@@ -53,6 +63,7 @@ export * from "./typed-data/data/HttpTypedDataDataSource";
|
|
|
53
63
|
export * from "./typed-data/data/TypedDataDataSource";
|
|
54
64
|
export * from "./typed-data/domain/DefaultTypedDataContextLoader";
|
|
55
65
|
export * from "./typed-data/domain/TypedDataContextLoader";
|
|
66
|
+
export * from "./typed-data/utils/getSchemaHash";
|
|
56
67
|
export * from "./uniswap/data/AbiDecoderDataSource";
|
|
57
68
|
export * from "./uniswap/data/CommandDecoderDataSource";
|
|
58
69
|
export * from "./uniswap/data/DefaultCommandDecoderDataSource";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,8CAA8C,CAAC;AAC7D,cAAc,kDAAkD,CAAC;AACjE,cAAc,yCAAyC,CAAC;AACxD,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,8CAA8C,CAAC;AAC7D,cAAc,kDAAkD,CAAC;AACjE,cAAc,yCAAyC,CAAC;AACxD,YAAY,EACV,sBAAsB,EACtB,sBAAsB,EACtB,oBAAoB,EACpB,mBAAmB,EACnB,6BAA6B,EAC7B,kCAAkC,EAClC,2BAA2B,EAC3B,6BAA6B,GAC9B,MAAM,oCAAoC,CAAC;AAC5C,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iDAAiD,CAAC;AAChE,cAAc,qDAAqD,CAAC;AACpE,cAAc,sDAAsD,CAAC;AACrE,cAAc,qDAAqD,CAAC;AACpE,cAAc,iDAAiD,CAAC;AAChE,cAAc,qDAAqD,CAAC;AACpE,cAAc,sDAAsD,CAAC;AACrE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,oDAAoD,CAAC;AACnE,cAAc,kDAAkD,CAAC;AACjE,cAAc,2DAA2D,CAAC;AAC1E,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,oCAAoC,CAAC;AACnD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yCAAyC,CAAC;AACxD,cAAc,qCAAqC,CAAC;AACpD,cAAc,0CAA0C,CAAC;AACzD,cAAc,mCAAmC,CAAC;AAClD,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,sCAAsC,CAAC;AACrD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wCAAwC,CAAC;AACvD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,oDAAoD,CAAC;AACnE,cAAc,wCAAwC,CAAC;AACvD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,oCAAoC,CAAC;AACnD,cAAc,sCAAsC,CAAC;AACrD,cAAc,oCAAoC,CAAC;AACnD,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mCAAmC,CAAC;AAClD,cAAc,kCAAkC,CAAC;AACjD,cAAc,0CAA0C,CAAC;AACzD,cAAc,iCAAiC,CAAC;AAChD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,gCAAgC,CAAC;AAC/C,cAAc,4CAA4C,CAAC;AAC3D,cAAc,qCAAqC,CAAC;AACpD,cAAc,oCAAoC,CAAC;AACnD,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wCAAwC,CAAC;AACvD,cAAc,mCAAmC,CAAC;AAClD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qDAAqD,CAAC;AACpE,cAAc,gDAAgD,CAAC;AAC/D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,uCAAuC,CAAC;AACtD,cAAc,mDAAmD,CAAC;AAClE,cAAc,4CAA4C,CAAC;AAC3D,cAAc,kCAAkC,CAAC;AACjD,cAAc,qCAAqC,CAAC;AACpD,cAAc,yCAAyC,CAAC;AACxD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,uCAAuC,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Either } from "purify-ts";
|
|
2
|
-
import { type
|
|
2
|
+
import { type ContextModuleServiceConfig } from "../../config/model/ContextModuleConfig";
|
|
3
3
|
import { GetNftInformationsParams, GetSetPluginPayloadParams, NftDataSource } from "../../nft/data/NftDataSource";
|
|
4
4
|
export declare class HttpNftDataSource implements NftDataSource {
|
|
5
5
|
private readonly config;
|
|
6
|
-
constructor(config:
|
|
6
|
+
constructor(config: ContextModuleServiceConfig);
|
|
7
7
|
getSetPluginPayload({ chainId, address, selector, }: GetSetPluginPayloadParams): Promise<Either<Error, string>>;
|
|
8
8
|
getNftInfosPayload({ chainId, address, }: GetNftInformationsParams): Promise<Either<Error, string>>;
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HttpNftDataSource.d.ts","sourceRoot":"","sources":["../../../../../src/nft/data/HttpNftDataSource.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAe,MAAM,WAAW,CAAC;AAGhD,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"HttpNftDataSource.d.ts","sourceRoot":"","sources":["../../../../../src/nft/data/HttpNftDataSource.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAe,MAAM,WAAW,CAAC;AAGhD,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AACrF,OAAO,EACL,wBAAwB,EACxB,yBAAyB,EACzB,aAAa,EACd,MAAM,0BAA0B,CAAC;AAOlC,qBACa,iBAAkB,YAAW,aAAa;IAGnD,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,0BAA0B;IAGxC,mBAAmB,CAAC,EAC/B,OAAO,EACP,OAAO,EACP,QAAQ,GACT,EAAE,yBAAyB,GAAG,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IA2BhD,kBAAkB,CAAC,EAC9B,OAAO,EACP,OAAO,GACR,EAAE,wBAAwB,GAAG,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;CAsB7D"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Either } from "purify-ts";
|
|
2
|
-
import type {
|
|
2
|
+
import type { ContextModuleServiceConfig } from "../../config/model/ContextModuleConfig";
|
|
3
3
|
import { PkiCertificate } from "../../pki/model/PkiCertificate";
|
|
4
4
|
import { PkiCertificateInfo } from "../../pki/model/PkiCertificateInfo";
|
|
5
5
|
import { type PkiCertificateDataSource } from "./PkiCertificateDataSource";
|
|
6
6
|
export declare class HttpPkiCertificateDataSource implements PkiCertificateDataSource {
|
|
7
7
|
private readonly config;
|
|
8
|
-
constructor(config:
|
|
8
|
+
constructor(config: ContextModuleServiceConfig);
|
|
9
9
|
fetchCertificate(pkiCertificateInfo: PkiCertificateInfo): Promise<Either<Error, PkiCertificate | undefined>>;
|
|
10
10
|
private isValidPkiCertificateResponse;
|
|
11
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HttpPkiCertificateDataSource.d.ts","sourceRoot":"","sources":["../../../../../src/pki/data/HttpPkiCertificateDataSource.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAe,MAAM,WAAW,CAAC;AAGhD,OAAO,KAAK,EAEV,
|
|
1
|
+
{"version":3,"file":"HttpPkiCertificateDataSource.d.ts","sourceRoot":"","sources":["../../../../../src/pki/data/HttpPkiCertificateDataSource.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAe,MAAM,WAAW,CAAC;AAGhD,OAAO,KAAK,EAEV,0BAA0B,EAC3B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAOpE,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAM3E,qBACa,4BAA6B,YAAW,wBAAwB;IAGzE,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,0BAA0B;IAG/C,gBAAgB,CACpB,kBAAkB,EAAE,kBAAkB,GACrC,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,cAAc,GAAG,SAAS,CAAC,CAAC;IAqErD,OAAO,CAAC,6BAA6B;CAoBtC"}
|
|
@@ -9,6 +9,8 @@ export declare enum KeyId {
|
|
|
9
9
|
DomainMetadataKey = "domain_metadata_key",
|
|
10
10
|
CalCalldataKey = "cal_calldata_key",
|
|
11
11
|
CalTrustedNameKey = "cal_trusted_name_key",
|
|
12
|
-
CalNetwork = "cal_network"
|
|
12
|
+
CalNetwork = "cal_network",
|
|
13
|
+
CalGatedSigning = "cal_gated_signing",
|
|
14
|
+
SwapTemplateKey = "swap_template_key"
|
|
13
15
|
}
|
|
14
16
|
//# sourceMappingURL=KeyId.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyId.d.ts","sourceRoot":"","sources":["../../../../../src/pki/model/KeyId.ts"],"names":[],"mappings":"AAAA,oBAAY,KAAK;IACf,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,YAAY,mBAAmB;IAC/B,iBAAiB,wBAAwB;IACzC,cAAc,qBAAqB;IACnC,kBAAkB,yBAAyB;IAC3C,gBAAgB,uBAAuB;IACvC,iBAAiB,wBAAwB;IACzC,cAAc,qBAAqB;IACnC,iBAAiB,yBAAyB;IAC1C,UAAU,gBAAgB;
|
|
1
|
+
{"version":3,"file":"KeyId.d.ts","sourceRoot":"","sources":["../../../../../src/pki/model/KeyId.ts"],"names":[],"mappings":"AAAA,oBAAY,KAAK;IACf,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,YAAY,mBAAmB;IAC/B,iBAAiB,wBAAwB;IACzC,cAAc,qBAAqB;IACnC,kBAAkB,yBAAyB;IAC3C,gBAAgB,uBAAuB;IACvC,iBAAiB,wBAAwB;IACzC,cAAc,qBAAqB;IACnC,iBAAiB,yBAAyB;IAC1C,UAAU,gBAAgB;IAC1B,eAAe,sBAAsB;IACrC,eAAe,sBAAsB;CACtC"}
|
|
@@ -11,6 +11,8 @@ export declare enum KeyUsage {
|
|
|
11
11
|
TxSimulationSigner = "tx_simu_signer",
|
|
12
12
|
Calldata = "calldata",
|
|
13
13
|
Network = "network",
|
|
14
|
-
LESMultisig = "les_multisig"
|
|
14
|
+
LESMultisig = "les_multisig",
|
|
15
|
+
GatedSigning = "gated_signing",
|
|
16
|
+
SwapTemplate = "swap_template"
|
|
15
17
|
}
|
|
16
18
|
//# sourceMappingURL=KeyUsage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyUsage.d.ts","sourceRoot":"","sources":["../../../../../src/pki/model/KeyUsage.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ;IAClB,YAAY,kBAAkB;IAC9B,eAAe,qBAAqB;IACpC,OAAO,aAAa;IACpB,WAAW,iBAAiB;IAC5B,cAAc,oBAAoB;IAClC,mBAAmB,yBAAyB;IAC5C,UAAU,gBAAgB;IAC1B,QAAQ,cAAc;IACtB,UAAU,iBAAiB;IAC3B,kBAAkB,mBAAmB;IACrC,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,WAAW,iBAAiB;
|
|
1
|
+
{"version":3,"file":"KeyUsage.d.ts","sourceRoot":"","sources":["../../../../../src/pki/model/KeyUsage.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ;IAClB,YAAY,kBAAkB;IAC9B,eAAe,qBAAqB;IACpC,OAAO,aAAa;IACpB,WAAW,iBAAiB;IAC5B,cAAc,oBAAoB;IAClC,mBAAmB,yBAAyB;IAC5C,UAAU,gBAAgB;IAC1B,QAAQ,cAAc;IACtB,UAAU,iBAAiB;IAC3B,kBAAkB,mBAAmB;IACrC,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,WAAW,iBAAiB;IAC5B,YAAY,kBAAkB;IAC9B,YAAY,kBAAkB;CAC/B"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Either } from "purify-ts";
|
|
2
|
-
import { type
|
|
2
|
+
import { type ContextModuleServiceConfig } from "../../config/model/ContextModuleConfig";
|
|
3
3
|
import { GetProxyImplementationAddressParam, ProxyDataSource, ProxyImplementationAddress } from "./ProxyDataSource";
|
|
4
4
|
export declare class HttpProxyDataSource implements ProxyDataSource {
|
|
5
5
|
private readonly config;
|
|
6
|
-
constructor(config:
|
|
6
|
+
constructor(config: ContextModuleServiceConfig);
|
|
7
7
|
getProxyImplementationAddress({ proxyAddress, chainId, challenge, calldata, }: GetProxyImplementationAddressParam): Promise<Either<Error, ProxyImplementationAddress>>;
|
|
8
8
|
/**
|
|
9
9
|
* Type guard to validate ProxyDelegateCallDto
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HttpProxyDataSource.d.ts","sourceRoot":"","sources":["../../../../../src/proxy/data/HttpProxyDataSource.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAe,MAAM,WAAW,CAAC;AAGhD,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"HttpProxyDataSource.d.ts","sourceRoot":"","sources":["../../../../../src/proxy/data/HttpProxyDataSource.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAe,MAAM,WAAW,CAAC;AAGhD,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAUrF,OAAO,EACL,kCAAkC,EAClC,eAAe,EACf,0BAA0B,EAC3B,MAAM,mBAAmB,CAAC;AAE3B,qBACa,mBAAoB,YAAW,eAAe;IAGvD,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,0BAA0B;IAG/C,6BAA6B,CAAC,EAClC,YAAY,EACZ,OAAO,EACP,SAAS,EACT,QAAQ,GACT,EAAE,kCAAkC,GAAG,OAAO,CAC7C,MAAM,CAAC,KAAK,EAAE,0BAA0B,CAAC,CAC1C;IAyDD;;OAEG;IACH,OAAO,CAAC,sBAAsB;CAa/B"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Either } from "purify-ts";
|
|
2
|
-
import { type
|
|
2
|
+
import { type ContextModuleServiceConfig } from "../../config/model/ContextModuleConfig";
|
|
3
3
|
import { GetProxyImplementationAddressParam, type ProxyDataSource, ProxyImplementationAddress } from "./ProxyDataSource";
|
|
4
4
|
export declare class HttpSafeProxyDataSource implements ProxyDataSource {
|
|
5
5
|
private readonly config;
|
|
6
|
-
constructor(config:
|
|
6
|
+
constructor(config: ContextModuleServiceConfig);
|
|
7
7
|
getProxyImplementationAddress({ proxyAddress, chainId, challenge, }: GetProxyImplementationAddressParam): Promise<Either<Error, ProxyImplementationAddress>>;
|
|
8
8
|
/**
|
|
9
9
|
* Type guard to validate SafeProxyImplementationAddressDto
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HttpSafeProxyDataSource.d.ts","sourceRoot":"","sources":["../../../../../src/proxy/data/HttpSafeProxyDataSource.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAe,MAAM,WAAW,CAAC;AAGhD,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"HttpSafeProxyDataSource.d.ts","sourceRoot":"","sources":["../../../../../src/proxy/data/HttpSafeProxyDataSource.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAe,MAAM,WAAW,CAAC;AAGhD,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAQrF,OAAO,EACL,kCAAkC,EAClC,KAAK,eAAe,EACpB,0BAA0B,EAC3B,MAAM,mBAAmB,CAAC;AAE3B,qBACa,uBAAwB,YAAW,eAAe;IAG3D,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,0BAA0B;IAG/C,6BAA6B,CAAC,EAClC,YAAY,EACZ,OAAO,EACP,SAAS,GACV,EAAE,kCAAkC,GAAG,OAAO,CAC7C,MAAM,CAAC,KAAK,EAAE,0BAA0B,CAAC,CAC1C;IAgDD;;OAEG;IACH,OAAO,CAAC,mCAAmC;CAsB5C"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ContainerModule } from "inversify";
|
|
2
|
-
import { type
|
|
3
|
-
export declare const proxyModuleFactory: (
|
|
2
|
+
import { type ContextModuleDatasourceConfig } from "../../config/model/ContextModuleConfig";
|
|
3
|
+
export declare const proxyModuleFactory: (datasource?: ContextModuleDatasourceConfig) => ContainerModule;
|
|
4
4
|
//# sourceMappingURL=proxyModuleFactory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"proxyModuleFactory.d.ts","sourceRoot":"","sources":["../../../../../src/proxy/di/proxyModuleFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAE5C,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"proxyModuleFactory.d.ts","sourceRoot":"","sources":["../../../../../src/proxy/di/proxyModuleFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAE5C,OAAO,EAAE,KAAK,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAMxF,eAAO,MAAM,kBAAkB,GAC7B,aAAa,6BAA6B,oBASxC,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type Either } from "purify-ts";
|
|
2
|
+
import { type BlindSigningMethod, type BlindSignReason, type ClearSigningType } from "../../reporter/model/BlindSigningEvent";
|
|
3
|
+
import { type BlindSigningModelId } from "../../reporter/model/BlindSigningModelId";
|
|
4
|
+
export type BlindSigningReportEthContext = {
|
|
5
|
+
clearSigningType: ClearSigningType;
|
|
6
|
+
partialContextErrors: number;
|
|
7
|
+
};
|
|
8
|
+
export type BlindSigningReportParams = {
|
|
9
|
+
signatureId: string;
|
|
10
|
+
signingMethod: BlindSigningMethod;
|
|
11
|
+
isBlindSign: boolean;
|
|
12
|
+
chainId: number | null;
|
|
13
|
+
targetAddress: string | null;
|
|
14
|
+
blindSignReason: BlindSignReason | null;
|
|
15
|
+
modelId: BlindSigningModelId;
|
|
16
|
+
signerAppVersion: string;
|
|
17
|
+
deviceVersion: string | null;
|
|
18
|
+
ethContext: BlindSigningReportEthContext | null;
|
|
19
|
+
};
|
|
20
|
+
export interface BlindSigningReporterDatasource {
|
|
21
|
+
report(params: BlindSigningReportParams): Promise<Either<Error, void>>;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=BlindSigningReporterDatasource.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlindSigningReporterDatasource.d.ts","sourceRoot":"","sources":["../../../../../src/reporter/data/BlindSigningReporterDatasource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,WAAW,CAAC;AAExC,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACtB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAEhF,MAAM,MAAM,4BAA4B,GAAG;IACzC,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,oBAAoB,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,kBAAkB,CAAC;IAClC,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,eAAe,EAAE,eAAe,GAAG,IAAI,CAAC;IACxC,OAAO,EAAE,mBAAmB,CAAC;IAC7B,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,UAAU,EAAE,4BAA4B,GAAG,IAAI,CAAC;CACjD,CAAC;AAEF,MAAM,WAAW,8BAA8B;IAC7C,MAAM,CAAC,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC;CACxE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type Either } from "purify-ts";
|
|
2
|
+
import { type ContextModuleServiceConfig } from "../../config/model/ContextModuleConfig";
|
|
3
|
+
import { type BlindSigningReporterDatasource, type BlindSigningReportParams } from "./BlindSigningReporterDatasource";
|
|
4
|
+
export declare class HttpBlindSigningReporterDatasource implements BlindSigningReporterDatasource {
|
|
5
|
+
private readonly config;
|
|
6
|
+
constructor(config: ContextModuleServiceConfig);
|
|
7
|
+
report(params: BlindSigningReportParams): Promise<Either<Error, void>>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=HttpBlindSigningReporterDatasource.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HttpBlindSigningReporterDatasource.d.ts","sourceRoot":"","sources":["../../../../../src/reporter/data/HttpBlindSigningReporterDatasource.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAe,MAAM,WAAW,CAAC;AAGrD,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAOrF,OAAO,EACL,KAAK,8BAA8B,EACnC,KAAK,wBAAwB,EAC9B,MAAM,kCAAkC,CAAC;AAE1C,qBACa,kCACX,YAAW,8BAA8B;IAIvC,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,0BAA0B;IAG/C,MAAM,CAAC,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;CAqB7E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HttpBlindSigningReporterDatasource.test.d.ts","sourceRoot":"","sources":["../../../../../src/reporter/data/HttpBlindSigningReporterDatasource.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type BlindSigningMethod, type BlindSigningPlatform, type BlindSignReason, type ClearSigningType } from "../../../reporter/model/BlindSigningEvent";
|
|
2
|
+
import { type BlindSigningModelId } from "../../../reporter/model/BlindSigningModelId";
|
|
3
|
+
export type BlindSigningEventEthContextDto = {
|
|
4
|
+
clearSigningType: ClearSigningType;
|
|
5
|
+
partialContextErrors: number;
|
|
6
|
+
};
|
|
7
|
+
export type BlindSigningEventDto = {
|
|
8
|
+
signatureId: string;
|
|
9
|
+
signingMethod: BlindSigningMethod;
|
|
10
|
+
source: string;
|
|
11
|
+
isBlindSign: boolean;
|
|
12
|
+
chainId: number | null;
|
|
13
|
+
targetAddress: string | null;
|
|
14
|
+
blindSignReason: BlindSignReason | null;
|
|
15
|
+
modelId: BlindSigningModelId;
|
|
16
|
+
signerAppVersion: string;
|
|
17
|
+
deviceVersion: string | null;
|
|
18
|
+
ethContext: BlindSigningEventEthContextDto | null;
|
|
19
|
+
platform?: BlindSigningPlatform;
|
|
20
|
+
appVersion?: string;
|
|
21
|
+
platformOS?: string;
|
|
22
|
+
platformVersion?: string;
|
|
23
|
+
liveAppContext?: string | null;
|
|
24
|
+
sessionId?: string | null;
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=BlindSigningEventDto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlindSigningEventDto.d.ts","sourceRoot":"","sources":["../../../../../../src/reporter/data/dto/BlindSigningEventDto.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACtB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAEhF,MAAM,MAAM,8BAA8B,GAAG;IAC3C,gBAAgB,EAAE,gBAAgB,CAAC;IACnC,oBAAoB,EAAE,MAAM,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,kBAAkB,CAAC;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,eAAe,EAAE,eAAe,GAAG,IAAI,CAAC;IACxC,OAAO,EAAE,mBAAmB,CAAC;IAC7B,gBAAgB,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,UAAU,EAAE,8BAA8B,GAAG,IAAI,CAAC;IAClD,QAAQ,CAAC,EAAE,oBAAoB,CAAC;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reporterModuleFactory.d.ts","sourceRoot":"","sources":["../../../../../src/reporter/di/reporterModuleFactory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAM5C,eAAO,MAAM,qBAAqB,uBAM9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reporterTypes.d.ts","sourceRoot":"","sources":["../../../../../src/reporter/di/reporterTypes.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;;;CAGzB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type Either } from "purify-ts";
|
|
2
|
+
import { type BlindSigningReportParams } from "../../reporter/data/BlindSigningReporterDatasource";
|
|
3
|
+
export interface BlindSigningReporter {
|
|
4
|
+
report(params: BlindSigningReportParams): Promise<Either<Error, void>>;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=BlindSigningReporter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlindSigningReporter.d.ts","sourceRoot":"","sources":["../../../../../src/reporter/domain/BlindSigningReporter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,WAAW,CAAC;AAExC,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAE/F,MAAM,WAAW,oBAAoB;IACnC,MAAM,CAAC,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC;CACxE"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type Either } from "purify-ts";
|
|
2
|
+
import { type BlindSigningReporterDatasource, type BlindSigningReportParams } from "../../reporter/data/BlindSigningReporterDatasource";
|
|
3
|
+
import { type BlindSigningReporter } from "./BlindSigningReporter";
|
|
4
|
+
export declare class DefaultBlindSigningReporter implements BlindSigningReporter {
|
|
5
|
+
private readonly dataSource;
|
|
6
|
+
constructor(dataSource: BlindSigningReporterDatasource);
|
|
7
|
+
report(params: BlindSigningReportParams): Promise<Either<Error, void>>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=DefaultBlindSigningReporter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultBlindSigningReporter.d.ts","sourceRoot":"","sources":["../../../../../src/reporter/domain/DefaultBlindSigningReporter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,WAAW,CAAC;AAExC,OAAO,EACL,KAAK,8BAA8B,EACnC,KAAK,wBAAwB,EAC9B,MAAM,gDAAgD,CAAC;AAGxD,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAEnE,qBACa,2BAA4B,YAAW,oBAAoB;IAGpE,OAAO,CAAC,QAAQ,CAAC,UAAU;gBAAV,UAAU,EAAE,8BAA8B;IAGvD,MAAM,CAAC,MAAM,EAAE,wBAAwB,GAAG,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;CAG7E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultBlindSigningReporter.test.d.ts","sourceRoot":"","sources":["../../../../../src/reporter/domain/DefaultBlindSigningReporter.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare const BlindSigningMethod: Readonly<{
|
|
2
|
+
readonly ETH_SIGN_TRANSACTION: "eth_signTransaction";
|
|
3
|
+
readonly ETH_SIGN_TYPED_DATA: "eth_signTypedData";
|
|
4
|
+
}>;
|
|
5
|
+
export type BlindSigningMethod = (typeof BlindSigningMethod)[keyof typeof BlindSigningMethod];
|
|
6
|
+
export declare const BlindSignReason: Readonly<{
|
|
7
|
+
readonly NO_CLEAR_SIGNING_CONTEXT: "no_clear_signing_context";
|
|
8
|
+
readonly DEVICE_REJECTED_CONTEXT: "device_rejected_context";
|
|
9
|
+
}>;
|
|
10
|
+
export type BlindSignReason = (typeof BlindSignReason)[keyof typeof BlindSignReason];
|
|
11
|
+
export declare const ClearSigningType: Readonly<{
|
|
12
|
+
readonly BASIC: "basic";
|
|
13
|
+
readonly EIP7730: "eip7730";
|
|
14
|
+
}>;
|
|
15
|
+
export type ClearSigningType = (typeof ClearSigningType)[keyof typeof ClearSigningType];
|
|
16
|
+
export declare const BlindSigningPlatform: Readonly<{
|
|
17
|
+
readonly DESKTOP: "desktop";
|
|
18
|
+
readonly MOBILE: "mobile";
|
|
19
|
+
}>;
|
|
20
|
+
export type BlindSigningPlatform = (typeof BlindSigningPlatform)[keyof typeof BlindSigningPlatform];
|
|
21
|
+
//# sourceMappingURL=BlindSigningEvent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlindSigningEvent.d.ts","sourceRoot":"","sources":["../../../../../src/reporter/model/BlindSigningEvent.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB;;;EAGpB,CAAC;AACZ,MAAM,MAAM,kBAAkB,GAC5B,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,OAAO,kBAAkB,CAAC,CAAC;AAE/D,eAAO,MAAM,eAAe;;;EAGjB,CAAC;AACZ,MAAM,MAAM,eAAe,GACzB,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAEzD,eAAO,MAAM,gBAAgB;;;EAGlB,CAAC;AACZ,MAAM,MAAM,gBAAgB,GAC1B,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAE3D,eAAO,MAAM,oBAAoB;;;EAGtB,CAAC;AACZ,MAAM,MAAM,oBAAoB,GAC9B,CAAC,OAAO,oBAAoB,CAAC,CAAC,MAAM,OAAO,oBAAoB,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DeviceModelId } from "@ledgerhq/device-management-kit";
|
|
2
|
+
export declare const BlindSigningModelId: Readonly<{
|
|
3
|
+
readonly NANO_S: "nanoS";
|
|
4
|
+
readonly NANO_SP: "nanoSP";
|
|
5
|
+
readonly NANO_X: "nanoX";
|
|
6
|
+
readonly STAX: "stax";
|
|
7
|
+
readonly FLEX: "flex";
|
|
8
|
+
readonly APEX_P: "apexP";
|
|
9
|
+
}>;
|
|
10
|
+
export type BlindSigningModelId = (typeof BlindSigningModelId)[keyof typeof BlindSigningModelId];
|
|
11
|
+
export declare function mapDeviceModelId(id: DeviceModelId): BlindSigningModelId;
|
|
12
|
+
//# sourceMappingURL=BlindSigningModelId.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlindSigningModelId.d.ts","sourceRoot":"","sources":["../../../../../src/reporter/model/BlindSigningModelId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAEhE,eAAO,MAAM,mBAAmB;;;;;;;EAOrB,CAAC;AACZ,MAAM,MAAM,mBAAmB,GAC7B,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAcjE,wBAAgB,gBAAgB,CAAC,EAAE,EAAE,aAAa,GAAG,mBAAmB,CAEvE"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { type Either } from "purify-ts";
|
|
2
|
-
import { type
|
|
2
|
+
import { type ContextModuleServiceConfig } from "../../config/model/ContextModuleConfig";
|
|
3
3
|
import { type GetSafeAccountParams, type GetSafeAccountResponse, type SafeAccountDataSource } from "./SafeAccountDataSource";
|
|
4
4
|
export declare class HttpSafeAccountDataSource implements SafeAccountDataSource {
|
|
5
5
|
private readonly config;
|
|
6
|
-
constructor(config:
|
|
6
|
+
constructor(config: ContextModuleServiceConfig);
|
|
7
7
|
getDescriptors({ safeContractAddress, chainId, challenge, }: GetSafeAccountParams): Promise<Either<Error, GetSafeAccountResponse>>;
|
|
8
8
|
private isSafeAccountDto;
|
|
9
9
|
private isSafeDescriptorDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HttpSafeAccountDataSource.d.ts","sourceRoot":"","sources":["../../../../../src/safe/data/HttpSafeAccountDataSource.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAe,MAAM,WAAW,CAAC;AAGrD,OAAO,EAAE,KAAK,
|
|
1
|
+
{"version":3,"file":"HttpSafeAccountDataSource.d.ts","sourceRoot":"","sources":["../../../../../src/safe/data/HttpSafeAccountDataSource.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,MAAM,EAAe,MAAM,WAAW,CAAC;AAGrD,OAAO,EAAE,KAAK,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAQrF,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC3B,MAAM,yBAAyB,CAAC;AAEjC,qBAAa,yBAA0B,YAAW,qBAAqB;IAGnE,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,0BAA0B;IAG/C,cAAc,CAAC,EACnB,mBAAmB,EACnB,OAAO,EACP,SAAS,GACV,EAAE,oBAAoB,GAAG,OAAO,CAAC,MAAM,CAAC,KAAK,EAAE,sBAAsB,CAAC,CAAC;IAmDxE,OAAO,CAAC,gBAAgB;IAaxB,OAAO,CAAC,mBAAmB;CAY5B"}
|
|
@@ -15,7 +15,8 @@ export declare enum ClearSignContextType {
|
|
|
15
15
|
DYNAMIC_NETWORK_ICON = "dynamicNetworkIcon",
|
|
16
16
|
ERROR = "error",
|
|
17
17
|
SAFE = "safe",
|
|
18
|
-
SIGNER = "signer"
|
|
18
|
+
SIGNER = "signer",
|
|
19
|
+
GATED_SIGNING = "gatedSigning"
|
|
19
20
|
}
|
|
20
21
|
export declare enum ClearSignContextReferenceType {
|
|
21
22
|
TOKEN = "token",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClearSignContext.d.ts","sourceRoot":"","sources":["../../../../../src/shared/model/ClearSignContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAEjE,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,oBAAY,oBAAoB;IAC9B,KAAK,UAAU;IACf,GAAG,QAAQ;IACX,YAAY,gBAAgB;IAC5B,MAAM,WAAW;IACjB,eAAe,mBAAmB;IAClC,gBAAgB,oBAAoB;IACpC,UAAU,cAAc;IACxB,IAAI,SAAS;IACb,6BAA6B,gCAAgC;IAC7D,iBAAiB,qBAAqB;IACtC,eAAe,mBAAmB;IAClC,oBAAoB,uBAAuB;IAC3C,KAAK,UAAU;IACf,IAAI,SAAS;IACb,MAAM,WAAW;
|
|
1
|
+
{"version":3,"file":"ClearSignContext.d.ts","sourceRoot":"","sources":["../../../../../src/shared/model/ClearSignContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAEjE,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD,oBAAY,oBAAoB;IAC9B,KAAK,UAAU;IACf,GAAG,QAAQ;IACX,YAAY,gBAAgB;IAC5B,MAAM,WAAW;IACjB,eAAe,mBAAmB;IAClC,gBAAgB,oBAAoB;IACpC,UAAU,cAAc;IACxB,IAAI,SAAS;IACb,6BAA6B,gCAAgC;IAC7D,iBAAiB,qBAAqB;IACtC,eAAe,mBAAmB;IAClC,oBAAoB,uBAAuB;IAC3C,KAAK,UAAU;IACf,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,aAAa,iBAAiB;CAC/B;AAED,oBAAY,6BAA6B;IACvC,KAAK,UAA6B;IAClC,GAAG,QAA2B;IAC9B,YAAY,gBAAoC;IAChD,IAAI,SAA4B;IAChC,QAAQ,aAAa;CACtB;AAED,KAAK,QAAQ,GAAG;IACd,SAAS,EAAE,WAAW,CAAC;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,QAAQ,CAAC,EAAE,WAAW,CAAC;IACvB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,OAAO,CAAC,EAAE,WAAW,CAAC;CACvB,CAAC;AAEF,KAAK,SAAS,GAAG;IACf,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,KAAK,CAAC;CACnB,CAAC;AAEF,KAAK,WAAW,GAAG,QAAQ,GAAG,SAAS,CAAC;AAGxC,KAAK,iCAAiC,GAAG;IACvC,CAAC,6BAA6B,CAAC,IAAI,CAAC,EAAE;QACpC,SAAS,EAAE,WAAW,CAAC;QACvB,EAAE,EAAE,MAAM,CAAC;KACZ,CAAC;IACF,CAAC,6BAA6B,CAAC,YAAY,CAAC,EAAE;QAC5C,SAAS,EAAE,WAAW,CAAC;QACvB,KAAK,EAAE,MAAM,EAAE,CAAC;QAChB,OAAO,EAAE,MAAM,EAAE,CAAC;KACnB,CAAC;IACF,CAAC,6BAA6B,CAAC,QAAQ,CAAC,EAAE;QACxC,MAAM,EAAE,WAAW,CAAC;QACpB,SAAS,EAAE,WAAW,CAAC;QACvB,QAAQ,CAAC,EAAE,WAAW,CAAC;QACvB,MAAM,CAAC,EAAE,WAAW,CAAC;QACrB,OAAO,CAAC,EAAE,WAAW,CAAC;QACtB,OAAO,CAAC,EAAE,WAAW,CAAC;KACvB,CAAC;IACF,CAAC,6BAA6B,CAAC,KAAK,CAAC,EAAE,WAAW,CAAC;IACnD,CAAC,6BAA6B,CAAC,GAAG,CAAC,EAAE,WAAW,CAAC;CAClD,CAAC;AAGF,KAAK,8BAA8B,GAAG;KACnC,CAAC,IAAI,6BAA6B,GAAG;QACpC,IAAI,EAAE,CAAC,CAAC;KACT,GAAG,iCAAiC,CAAC,CAAC,CAAC;CACzC,CAAC,6BAA6B,CAAC,CAAC;AAEjC,MAAM,MAAM,yBAAyB,CACnC,CAAC,SAAS,6BAA6B,GAAG,6BAA6B,IACrE,OAAO,CAAC,8BAA8B,EAAE;IAAE,IAAI,EAAE,CAAC,CAAA;CAAE,CAAC,CAAC;AAEzD,MAAM,MAAM,2BAA2B,GAAG,OAAO,CAC/C,oBAAoB,EACpB,oBAAoB,CAAC,KAAK,CAC3B,CAAC;AAGF,KAAK,2BAA2B,GAAG;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,cAAc,CAAC;CAC9B,CAAC;AAGF,KAAK,mCAAmC,GAAG;KACxC,CAAC,IAAI,2BAA2B,GAAG,2BAA2B;CAChE,CAAC;AAGF,KAAK,uCAAuC,GAAG;IAC7C,CAAC,oBAAoB,CAAC,IAAI,CAAC,EAAE,2BAA2B,GAAG;QACzD,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,CAAC,oBAAoB,CAAC,6BAA6B,CAAC,EAAE,2BAA2B,GAAG;QAClF,SAAS,CAAC,EAAE,yBAAyB,CAAC;KACvC,CAAC;CACH,CAAC;AAEF,KAAK,+BAA+B,GAAG,IAAI,CACzC,mCAAmC,EACnC,oBAAoB,CAAC,IAAI,GAAG,oBAAoB,CAAC,6BAA6B,CAC/E,GACC,uCAAuC,CAAC;AAG1C,KAAK,4BAA4B,GAAG;KACjC,CAAC,IAAI,2BAA2B,GAAG;QAClC,IAAI,EAAE,CAAC,CAAC;KACT,GAAG,+BAA+B,CAAC,CAAC,CAAC;CACvC,CAAC,2BAA2B,CAAC,CAAC;AAE/B,MAAM,MAAM,uBAAuB,CACjC,CAAC,SAAS,2BAA2B,GAAG,2BAA2B,IACjE,OAAO,CAAC,4BAA4B,EAAE;IAAE,IAAI,EAAE,CAAC,CAAA;CAAE,CAAC,CAAC;AAEvD,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,EAAE,oBAAoB,CAAC,KAAK,CAAC;IACjC,KAAK,EAAE,KAAK,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,uBAAuB,GAAG,qBAAqB,CAAC"}
|