   CryptoServiceLoader   = require 'kryptnostic.crypto-service-loader'
   ObjectApi             = require 'kryptnostic.object-api'
   Logger                = require 'kryptnostic.logger'
-  SearchIndexingService = require 'kryptnostic.search-indexing-service'
 
   logger = Logger.get('StorageClient')
 

        @encrypt({ id, body, cryptoService })
      .then (encrypted) =>
        @submitObjectBlocks(encrypted)
      .then =>
        @searchIndexingService.submit({ id, storageRequest })
      .then ->
        return id


  'kryptnostic.kryptnostic-object'
  'kryptnostic.crypto-service-loader'
  'kryptnostic.pending-object-request'
], (require) ->
  'use strict'

