@deephaven/jsapi-bootstrap 0.44.2-provenance.4 → 0.45.1-beta.0
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCreateClient.d.ts","sourceRoot":"","sources":["../src/useCreateClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAIzE,wBAAgB,eAAe,CAC7B,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,
|
|
1
|
+
{"version":3,"file":"useCreateClient.d.ts","sourceRoot":"","sources":["../src/useCreateClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAIzE,wBAAgB,eAAe,CAC7B,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAaZ;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCreateClient.js","names":["useEffect","useMemo","useApi","useCreateClient","serverUrl","options","api","client","CoreClient","disconnect"],"sources":["../src/useCreateClient.ts"],"sourcesContent":["import type { ConnectOptions, CoreClient } from '@deephaven/jsapi-types';\nimport { useEffect, useMemo } from 'react';\nimport useApi from './useApi';\n\nexport function useCreateClient(\n serverUrl: string,\n options?: ConnectOptions\n): CoreClient {\n const api = useApi();\n const client = useMemo(() => new api.CoreClient(serverUrl, options)
|
|
1
|
+
{"version":3,"file":"useCreateClient.js","names":["useEffect","useMemo","useApi","useCreateClient","serverUrl","options","api","client","CoreClient","disconnect"],"sources":["../src/useCreateClient.ts"],"sourcesContent":["import type { ConnectOptions, CoreClient } from '@deephaven/jsapi-types';\nimport { useEffect, useMemo } from 'react';\nimport useApi from './useApi';\n\nexport function useCreateClient(\n serverUrl: string,\n options?: ConnectOptions\n): CoreClient {\n const api = useApi();\n const client = useMemo(\n () => new api.CoreClient(serverUrl, options),\n [api, serverUrl, options]\n );\n useEffect(\n () => () => {\n client.disconnect();\n },\n [client]\n );\n return client;\n}\n\nexport default useCreateClient;\n"],"mappings":"AACA,SAASA,SAAS,EAAEC,OAAO,QAAQ,OAAO;AAAC,OACpCC,MAAM;AAEb,OAAO,SAASC,eAAe,CAC7BC,SAAiB,EACjBC,OAAwB,EACZ;EACZ,IAAMC,GAAG,GAAGJ,MAAM,EAAE;EACpB,IAAMK,MAAM,GAAGN,OAAO,CACpB,MAAM,IAAIK,GAAG,CAACE,UAAU,CAACJ,SAAS,EAAEC,OAAO,CAAC,EAC5C,CAACC,GAAG,EAAEF,SAAS,EAAEC,OAAO,CAAC,CAC1B;EACDL,SAAS,CACP,MAAM,MAAM;IACVO,MAAM,CAACE,UAAU,EAAE;EACrB,CAAC,EACD,CAACF,MAAM,CAAC,CACT;EACD,OAAOA,MAAM;AACf;AAEA,eAAeJ,eAAe"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deephaven/jsapi-bootstrap",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.45.1-beta.0+1f0f10b9",
|
|
4
4
|
"description": "Deephaven JSAPI Bootstrap",
|
|
5
5
|
"author": "Deephaven Data Labs LLC",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"build:sass": "sass --embed-sources --load-path=../../node_modules ./src:./dist"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@deephaven/components": "^0.
|
|
26
|
-
"@deephaven/jsapi-types": "^0.
|
|
27
|
-
"@deephaven/log": "^0.
|
|
28
|
-
"@deephaven/react-hooks": "^0.
|
|
25
|
+
"@deephaven/components": "^0.45.1-beta.0+1f0f10b9",
|
|
26
|
+
"@deephaven/jsapi-types": "^0.45.1-beta.0+1f0f10b9",
|
|
27
|
+
"@deephaven/log": "^0.45.1-beta.0+1f0f10b9",
|
|
28
|
+
"@deephaven/react-hooks": "^0.45.1-beta.0+1f0f10b9"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"react": "^17.x"
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"access": "public"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "1f0f10b9de2fc8a7ff0800115ec3460c0572c016"
|
|
44
44
|
}
|