@telicent-oss/ds 0.27.1 → 0.27.2
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.
- package/dist/ds.js +7 -0
- package/dist/ds.umd.cjs +7 -0
- package/dist/logout-syncer/sw.js +1 -1
- package/dist/src/export.d.ts +2 -1
- package/package.json +2 -2
package/dist/ds.js
CHANGED
|
@@ -80459,6 +80459,11 @@ function onAuthEvent(callback) {
|
|
|
80459
80459
|
listeners.delete(callback);
|
|
80460
80460
|
};
|
|
80461
80461
|
}
|
|
80462
|
+
function broadcastAuthEvent(event) {
|
|
80463
|
+
const b = new BroadcastChannel("auth-events");
|
|
80464
|
+
b.postMessage(event);
|
|
80465
|
+
b.close();
|
|
80466
|
+
}
|
|
80462
80467
|
const AuthModal = ({
|
|
80463
80468
|
signOutUrl,
|
|
80464
80469
|
debounceMs = 5e3
|
|
@@ -84391,10 +84396,12 @@ export {
|
|
|
84391
84396
|
UserStatus,
|
|
84392
84397
|
WipeConfigSchema,
|
|
84393
84398
|
base64Codec,
|
|
84399
|
+
broadcastAuthEvent,
|
|
84394
84400
|
checkOntology,
|
|
84395
84401
|
createApi,
|
|
84396
84402
|
getCodec,
|
|
84397
84403
|
loggerLevelOrder,
|
|
84404
|
+
onAuthEvent,
|
|
84398
84405
|
parseOrThrowWithInput,
|
|
84399
84406
|
renderErrorToHtml,
|
|
84400
84407
|
requestWipe,
|
package/dist/ds.umd.cjs
CHANGED
|
@@ -80477,6 +80477,11 @@ uniform ${i3} ${s4} u_${a3};
|
|
|
80477
80477
|
listeners.delete(callback);
|
|
80478
80478
|
};
|
|
80479
80479
|
}
|
|
80480
|
+
function broadcastAuthEvent(event) {
|
|
80481
|
+
const b = new BroadcastChannel("auth-events");
|
|
80482
|
+
b.postMessage(event);
|
|
80483
|
+
b.close();
|
|
80484
|
+
}
|
|
80480
80485
|
const AuthModal = ({
|
|
80481
80486
|
signOutUrl,
|
|
80482
80487
|
debounceMs = 5e3
|
|
@@ -84413,10 +84418,12 @@ uniform ${i3} ${s4} u_${a3};
|
|
|
84413
84418
|
exports2.UserStatus = UserStatus;
|
|
84414
84419
|
exports2.WipeConfigSchema = WipeConfigSchema;
|
|
84415
84420
|
exports2.base64Codec = base64Codec;
|
|
84421
|
+
exports2.broadcastAuthEvent = broadcastAuthEvent;
|
|
84416
84422
|
exports2.checkOntology = checkOntology;
|
|
84417
84423
|
exports2.createApi = createApi;
|
|
84418
84424
|
exports2.getCodec = getCodec;
|
|
84419
84425
|
exports2.loggerLevelOrder = loggerLevelOrder;
|
|
84426
|
+
exports2.onAuthEvent = onAuthEvent;
|
|
84420
84427
|
exports2.parseOrThrowWithInput = parseOrThrowWithInput;
|
|
84421
84428
|
exports2.renderErrorToHtml = renderErrorToHtml;
|
|
84422
84429
|
exports2.requestWipe = requestWipe;
|
package/dist/logout-syncer/sw.js
CHANGED
package/dist/src/export.d.ts
CHANGED
|
@@ -14,8 +14,9 @@ export * from './v1/theme';
|
|
|
14
14
|
export * from './v1/components/utils/index';
|
|
15
15
|
export * from './component-library/Map';
|
|
16
16
|
export * from './candidate-packages/authorize-flow/AuthModal';
|
|
17
|
+
export * from './candidate-packages/authorize-flow/broadcastChannelService';
|
|
17
18
|
export * from './candidate-packages/authorize-flow';
|
|
18
|
-
export { getCodec, type Codec, base64Codec, uriComponentCodec, ENCODE_SEARCH_PARAMS_MODES_Schema, type ENCODE_SEARCH_PARAMS_MODES_Type, toStringEncoded, type URLSearchParamsInit, GRAPH_APP, type LoggerLevelString, type LoggerLevel, loggerLevelOrder, Logger } from './candidate-packages/utils-lib/src/index';
|
|
19
|
+
export { getCodec, type Codec, base64Codec, uriComponentCodec, ENCODE_SEARCH_PARAMS_MODES_Schema, type ENCODE_SEARCH_PARAMS_MODES_Type, toStringEncoded, type URLSearchParamsInit, GRAPH_APP, type LoggerLevelString, type LoggerLevel, loggerLevelOrder, Logger, } from './candidate-packages/utils-lib/src/index';
|
|
19
20
|
export { setupWipe, WipeConfigSchema, type WipeConfig, } from './candidate-packages/logout-syncer/setupWipe';
|
|
20
21
|
export { requestWipe } from './candidate-packages/logout-syncer/requestWipe';
|
|
21
22
|
export { renderErrorToHtml } from './candidate-packages/renderErrorToHtml/renderErrorToHtml';
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"url": "https://github.com/telicent-oss/telicent-ds.git"
|
|
8
8
|
},
|
|
9
9
|
"type": "module",
|
|
10
|
-
"version": "0.27.
|
|
10
|
+
"version": "0.27.2",
|
|
11
11
|
"private": false,
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@emotion/react": "^11.10.6",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"link-to-local-packages": "./scripts/link-to-local-packages.sh",
|
|
71
71
|
"postinstall": "[ \"$LOCAL_MACHINE\" = \"false\" ] && echo 'Skipping tefe hook-postinstall' || tefe hook-postinstall",
|
|
72
72
|
"local-publish": "git add --all && yarn build && npm publish --registry http://localhost:4873 --prepatch",
|
|
73
|
-
"postlocal-publish": "./scripts/update-deps.mjs ../telicent-user-portal ../catalog ../telicent-access/frontend
|
|
73
|
+
"postlocal-publish": "./scripts/update-deps.mjs ../telicent-user-portal ../catalog ../telicent-access/frontend ../../IO/telicent-graph ../../IO/telicent-search",
|
|
74
74
|
"local-add": "git add --registry http://localhost:4873 ",
|
|
75
75
|
"prepare": "husky install"
|
|
76
76
|
},
|