@yorkie-js/react 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.
|
@@ -5,7 +5,7 @@ var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
import { createContext, useMemo, useState, useEffect, useContext, useCallback } from "react";
|
|
7
7
|
const name$1 = "@yorkie-js/react";
|
|
8
|
-
const version$1 = "0.6.
|
|
8
|
+
const version$1 = "0.6.15";
|
|
9
9
|
const pkg$1 = {
|
|
10
10
|
name: name$1,
|
|
11
11
|
version: version$1
|
|
@@ -20746,7 +20746,7 @@ function createAuthInterceptor(apiKey, token) {
|
|
|
20746
20746
|
};
|
|
20747
20747
|
}
|
|
20748
20748
|
const name = "@yorkie-js/sdk";
|
|
20749
|
-
const version = "0.6.
|
|
20749
|
+
const version = "0.6.15";
|
|
20750
20750
|
const pkg = {
|
|
20751
20751
|
name,
|
|
20752
20752
|
version
|
|
@@ -20874,7 +20874,7 @@ class Client {
|
|
|
20874
20874
|
clientKey: this.key,
|
|
20875
20875
|
metadata: this.metadata
|
|
20876
20876
|
},
|
|
20877
|
-
{ headers: { "x-shard-key": this.apiKey } }
|
|
20877
|
+
{ headers: { "x-shard-key": `${this.apiKey}/${this.key}` } }
|
|
20878
20878
|
);
|
|
20879
20879
|
this.id = res.clientId;
|
|
20880
20880
|
this.status = "activated";
|
|
@@ -20908,7 +20908,7 @@ class Client {
|
|
|
20908
20908
|
try {
|
|
20909
20909
|
await this.rpcClient.deactivateClient(
|
|
20910
20910
|
{ clientId: this.id },
|
|
20911
|
-
{ headers: { "x-shard-key": this.apiKey } }
|
|
20911
|
+
{ headers: { "x-shard-key": `${this.apiKey}/${this.key}` } }
|
|
20912
20912
|
);
|
|
20913
20913
|
this.deactivateInternal();
|
|
20914
20914
|
logger.info(`[DC] c"${this.getKey()}" deactivated`);
|