@yorkie-js/sdk 0.6.14 → 0.6.15

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.
@@ -20718,7 +20718,7 @@ function createAuthInterceptor(apiKey, token) {
20718
20718
  };
20719
20719
  }
20720
20720
  const name = "@yorkie-js/sdk";
20721
- const version = "0.6.14";
20721
+ const version = "0.6.15";
20722
20722
  const pkg = {
20723
20723
  name,
20724
20724
  version
@@ -20856,7 +20856,7 @@ class Client {
20856
20856
  clientKey: this.key,
20857
20857
  metadata: this.metadata
20858
20858
  },
20859
- { headers: { "x-shard-key": this.apiKey } }
20859
+ { headers: { "x-shard-key": `${this.apiKey}/${this.key}` } }
20860
20860
  );
20861
20861
  this.id = res.clientId;
20862
20862
  this.status = "activated";
@@ -20890,7 +20890,7 @@ class Client {
20890
20890
  try {
20891
20891
  await this.rpcClient.deactivateClient(
20892
20892
  { clientId: this.id },
20893
- { headers: { "x-shard-key": this.apiKey } }
20893
+ { headers: { "x-shard-key": `${this.apiKey}/${this.key}` } }
20894
20894
  );
20895
20895
  this.deactivateInternal();
20896
20896
  logger.info(`[DC] c"${this.getKey()}" deactivated`);