diff --git a/src/messages.js b/src/messages.js index 55bafea..680496b 100644 --- a/src/messages.js +++ b/src/messages.js @@ -13,7 +13,7 @@ Messages.setProvider = function (providerName, options) { throw new Error('Unknown messages provider'); } - this.currentMessagesName = providerName; + this.currentProviderName = providerName; this.currentMessages = provider; return provider.setProvider(options); diff --git a/src/names.js b/src/names.js index b326ecd..0431e68 100644 --- a/src/names.js +++ b/src/names.js @@ -14,7 +14,7 @@ Names.setProvider = function (providerName, options) { throw new Error('Unknown name system provider'); } - this.currentNameSystemsName = providerName; + this.currentProviderName = providerName; this.currentNameSystems = provider; return provider.setProvider(options); diff --git a/src/storage.js b/src/storage.js index 2cfe672..6e8086e 100644 --- a/src/storage.js +++ b/src/storage.js @@ -58,7 +58,7 @@ Storage.setProvider = function (providerName, options) { throw new Error('Unknown storage provider'); } - this.currentStorageName = providerName; + this.currentProviderName = providerName; this.currentStorage = provider; return provider.setProvider(options);