@simplysm/solid 13.0.0-beta.51 → 13.0.1
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createComponent as _$createComponent } from "solid-js/web";
|
|
2
2
|
import { onCleanup } from "solid-js";
|
|
3
|
-
import {
|
|
3
|
+
import { createServiceClient } from "@simplysm/service-client";
|
|
4
4
|
import { ServiceClientContext } from "./ServiceClientContext.js";
|
|
5
5
|
import { useConfig } from "./ConfigContext.js";
|
|
6
6
|
import { useNotification } from "../components/feedback/notification/NotificationContext.js";
|
|
@@ -30,7 +30,7 @@ const ServiceClientProvider = (props) => {
|
|
|
30
30
|
port: Number(location.port) || (location.protocol.startsWith("https") ? 443 : 80),
|
|
31
31
|
ssl: location.protocol.startsWith("https")
|
|
32
32
|
};
|
|
33
|
-
const client =
|
|
33
|
+
const client = createServiceClient(config.clientName, {
|
|
34
34
|
...defaultConfig,
|
|
35
35
|
...options
|
|
36
36
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/providers/ServiceClientProvider.tsx"],
|
|
4
|
-
"mappings": ";AAAA,SAA+BA,iBAAiB;AAChD,SAASC,
|
|
5
|
-
"names": ["onCleanup", "
|
|
4
|
+
"mappings": ";AAAA,SAA+BA,iBAAiB;AAChD,SAASC,2BAA6E;AACtF,SAASC,4BAA4D;AACrE,SAASC,iBAAiB;AAC1B,SAASC,uBAAuB;AAEzB,MAAMC,wBAA0CC,WAAU;AAC/D,QAAMC,SAASJ,UAAU;AACzB,QAAMK,eAAeJ,gBAAgB;AAErC,QAAMK,YAAY,oBAAIC,IAA2B;AACjD,QAAMC,iBAAiB,oBAAID,IAAoB;AAC/C,QAAME,iBAAiB,oBAAIF,IAAoB;AAE/CV,YAAU,MAAM;AACd,eAAWa,UAAUJ,UAAUK,OAAO,GAAG;AACvC,WAAKD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AMkD;IAAQ;EAAA,CAAA;AAC5E;",
|
|
5
|
+
"names": ["onCleanup", "createServiceClient", "ServiceClientContext", "useConfig", "useNotification", "ServiceClientProvider", "props", "config", "notification", "clientMap", "Map", "reqProgressMap", "resProgressMap", "client", "values", "close", "clear", "connect", "key", "options", "has", "existing", "get", "connected", "Error", "defaultConfig", "host", "location", "hostname", "port", "Number", "protocol", "startsWith", "ssl", "clientName", "on", "state", "uuid", "id", "info", "set", "percent", "Math", "round", "completedSize", "totalSize", "update", "message", "title", "renotify", "delete", "isConnected", "contextValue", "_$createComponent", "Provider", "value", "children"]
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simplysm/solid",
|
|
3
|
-
"version": "13.0.
|
|
3
|
+
"version": "13.0.1",
|
|
4
4
|
"description": "심플리즘 패키지 - SolidJS 라이브러리",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"solid-tiptap": "^0.8.0",
|
|
50
50
|
"tailwind-merge": "^3.4.0",
|
|
51
51
|
"tailwindcss": "^3.4.19",
|
|
52
|
-
"@simplysm/core-browser": "13.0.
|
|
53
|
-
"@simplysm/core-common": "13.0.
|
|
52
|
+
"@simplysm/core-browser": "13.0.1",
|
|
53
|
+
"@simplysm/core-common": "13.0.1"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@solidjs/testing-library": "^0.8.10"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ParentComponent, onCleanup } from "solid-js";
|
|
2
|
-
import { ServiceClient, type ServiceConnectionConfig } from "@simplysm/service-client";
|
|
2
|
+
import { createServiceClient, type ServiceClient, type ServiceConnectionConfig } from "@simplysm/service-client";
|
|
3
3
|
import { ServiceClientContext, type ServiceClientContextValue } from "./ServiceClientContext";
|
|
4
4
|
import { useConfig } from "./ConfigContext";
|
|
5
5
|
import { useNotification } from "../components/feedback/notification/NotificationContext";
|
|
@@ -35,7 +35,7 @@ export const ServiceClientProvider: ParentComponent = (props) => {
|
|
|
35
35
|
ssl: location.protocol.startsWith("https"),
|
|
36
36
|
};
|
|
37
37
|
|
|
38
|
-
const client =
|
|
38
|
+
const client = createServiceClient(config.clientName, {
|
|
39
39
|
...defaultConfig,
|
|
40
40
|
...options,
|
|
41
41
|
});
|