mirror of
https://github.com/balzack/databag.git
synced 2025-04-22 09:35:16 +00:00
testing sdk import
This commit is contained in:
parent
ec9c139d8d
commit
ad6c73089f
@ -23,6 +23,7 @@
|
||||
"axios": "^0.27.2",
|
||||
"base-64": "^1.0.0",
|
||||
"crypto-js": "^4.1.1",
|
||||
"databag-client-sdk": "^0.0.1",
|
||||
"dompurify": "^3.0.1",
|
||||
"jsencrypt": "^2.3.1",
|
||||
"react": "^18.2.0",
|
||||
|
@ -12,6 +12,8 @@ import { UploadContext } from './UploadContext';
|
||||
import { RingContext } from './RingContext';
|
||||
import { createWebsocket } from 'api/fetchUtil';
|
||||
|
||||
import { foo } from 'databag-client-sdk';
|
||||
|
||||
export function useAppContext(websocket) {
|
||||
const [state, setState] = useState({
|
||||
status: null,
|
||||
@ -169,6 +171,10 @@ export function useAppContext(websocket) {
|
||||
cardContext.actions.setRevision(appRevision.card);
|
||||
channelContext.actions.setRevision(appRevision.channel);
|
||||
}
|
||||
|
||||
console.log("EVENT");
|
||||
foo();
|
||||
|
||||
// eslint-disable-next-line
|
||||
}, [appRevision]);
|
||||
|
||||
|
@ -4192,6 +4192,11 @@ data-urls@^3.0.2:
|
||||
whatwg-mimetype "^3.0.0"
|
||||
whatwg-url "^11.0.0"
|
||||
|
||||
databag-client-sdk@^0.0.1:
|
||||
version "0.0.1"
|
||||
resolved "https://registry.yarnpkg.com/databag-client-sdk/-/databag-client-sdk-0.0.1.tgz#047099cf5c4607fb40a3df4f3896dc62ea342721"
|
||||
integrity sha512-/LVSqxl2y9A70G3jzJgEqchISM2gBDWHBIOVhEnu1CVzZ/0KzI2LAT5YCHZzy520kmciIyQfUVAQ64Pk1g9TGQ==
|
||||
|
||||
dateformat@^2.0.0:
|
||||
version "2.2.0"
|
||||
resolved "https://registry.npmjs.org/dateformat/-/dateformat-2.2.0.tgz"
|
||||
|
Loading…
x
Reference in New Issue
Block a user