@@ -56,7 +56,7 @@ export default class GRPCClientConfiguration implements IClientConfiguration {
56
56
const client = await this . client . getClient ( ) ;
57
57
58
58
return new Promise ( ( resolve , reject ) => {
59
- client . getConfigurationAlpha1 ( msg , metadata , ( err , res : GetConfigurationResponse ) => {
59
+ client . getConfiguration ( msg , metadata , ( err , res : GetConfigurationResponse ) => {
60
60
if ( err ) {
61
61
return reject ( err ) ;
62
62
}
@@ -122,7 +122,7 @@ export default class GRPCClientConfiguration implements IClientConfiguration {
122
122
// and will stay open as long as the client is open
123
123
// we will thus create a set with our listeners so we don't
124
124
// break on multi listeners
125
- const stream = client . subscribeConfigurationAlpha1 ( msg , metadata ) ;
125
+ const stream = client . subscribeConfiguration ( msg , metadata ) ;
126
126
let streamId : string ;
127
127
128
128
stream . on ( "data" , async ( data : SubscribeConfigurationResponse ) => {
@@ -149,7 +149,7 @@ export default class GRPCClientConfiguration implements IClientConfiguration {
149
149
req . setStoreName ( storeName ) ;
150
150
req . setId ( streamId ) ;
151
151
152
- client . unsubscribeConfigurationAlpha1 ( req , ( err , res : UnsubscribeConfigurationResponse ) => {
152
+ client . unsubscribeConfiguration ( req , ( err , res : UnsubscribeConfigurationResponse ) => {
153
153
if ( err || ! res . getOk ( ) ) {
154
154
return reject ( res . getMessage ( ) ) ;
155
155
}
0 commit comments