chat-pane 2.4.26-beta → 2.4.26-beta4
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/longChatPane.js +11 -12
- package/dist/longChatPane.js.map +1 -1
- package/dist/main.js +11 -12
- package/dist/main.js.map +1 -1
- package/dist/shortChatPane.js +11 -12
- package/dist/shortChatPane.js.map +1 -1
- package/package.json +4 -4
package/dist/longChatPane.js
CHANGED
|
@@ -24340,7 +24340,7 @@ var Fetcher = /*#__PURE__*/function () {
|
|
|
24340
24340
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
24341
24341
|
var request = _step.value;
|
|
24342
24342
|
var _response = kb.any(request, this.ns.link('response'), null, meta);
|
|
24343
|
-
if (_response
|
|
24343
|
+
if (_response != undefined) {
|
|
24344
24344
|
// ts
|
|
24345
24345
|
var quad = kb.statementsMatching(_response, this.ns.link('outOfDate'), true, meta);
|
|
24346
24346
|
kb.remove(quad);
|
|
@@ -34493,7 +34493,7 @@ var IndexedFormula = /*#__PURE__*/function (_Formula) {
|
|
|
34493
34493
|
}
|
|
34494
34494
|
|
|
34495
34495
|
/**
|
|
34496
|
-
* Removes all statements in a doc, along with the related metadata including request/response
|
|
34496
|
+
* Removes all statements in a doc, along with the related metadata including request/response/status
|
|
34497
34497
|
* @param doc - The document / graph
|
|
34498
34498
|
*/
|
|
34499
34499
|
}, {
|
|
@@ -34505,6 +34505,7 @@ var IndexedFormula = /*#__PURE__*/function (_Formula) {
|
|
|
34505
34505
|
for (var i = 0; i < sts.length; i++) {
|
|
34506
34506
|
this.removeStatement(sts[i]);
|
|
34507
34507
|
}
|
|
34508
|
+
this.removeMatches(doc, null, null);
|
|
34508
34509
|
return this;
|
|
34509
34510
|
}
|
|
34510
34511
|
}, {
|
|
@@ -34512,24 +34513,22 @@ var IndexedFormula = /*#__PURE__*/function (_Formula) {
|
|
|
34512
34513
|
value: function removeMetadata(doc) {
|
|
34513
34514
|
var meta = this.sym('chrome://TheCurrentSession'); // or this.rdfFactory.namedNode('chrome://TheCurrentSession')
|
|
34514
34515
|
var linkNamespaceURI = 'http://www.w3.org/2007/ont/link#'; // alain
|
|
34515
|
-
// remove
|
|
34516
|
+
// remove status/response/request metadata
|
|
34516
34517
|
var requests = this.statementsMatching(undefined, this.sym("".concat(linkNamespaceURI, "requestedURI")), this.rdfFactory.literal(doc.value), meta).map(function (st) {
|
|
34517
34518
|
return st.subject;
|
|
34518
34519
|
});
|
|
34519
34520
|
for (var r = 0; r < requests.length; r++) {
|
|
34520
34521
|
var request = requests[r];
|
|
34521
34522
|
if (request != undefined) {
|
|
34523
|
+
var status = this.any(request, this.sym("".concat(linkNamespaceURI, "status")), null, meta);
|
|
34524
|
+
if (status != undefined) {
|
|
34525
|
+
this.removeMatches(status, this.sym("".concat(linkNamespaceURI, "status")), null, meta);
|
|
34526
|
+
}
|
|
34522
34527
|
var response = this.any(request, this.sym("".concat(linkNamespaceURI, "response")), null, meta);
|
|
34523
34528
|
if (response != undefined) {
|
|
34524
34529
|
// ts
|
|
34525
34530
|
this.removeMatches(response, null, null, meta);
|
|
34526
34531
|
}
|
|
34527
|
-
// may be not needed
|
|
34528
|
-
var status = this.any(request, this.sym("".concat(linkNamespaceURI, "status")), null, meta);
|
|
34529
|
-
if (status != undefined) {
|
|
34530
|
-
// ts
|
|
34531
|
-
this.removeMatches(status, null, null, meta);
|
|
34532
|
-
}
|
|
34533
34532
|
this.removeMatches(request, null, null, meta);
|
|
34534
34533
|
}
|
|
34535
34534
|
}
|
|
@@ -54245,10 +54244,10 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
54245
54244
|
}));
|
|
54246
54245
|
exports.versionInfo = void 0;
|
|
54247
54246
|
var versionInfo = exports.versionInfo = {
|
|
54248
|
-
buildTime: '2024-03-
|
|
54249
|
-
commit: '
|
|
54247
|
+
buildTime: '2024-03-28T17:08:41Z',
|
|
54248
|
+
commit: '4497ebdbab0526ae785adcc2a3db5a765048ec93',
|
|
54250
54249
|
npmInfo: {
|
|
54251
|
-
'solid-ui': '2.4.33-
|
|
54250
|
+
'solid-ui': '2.4.33-beta4',
|
|
54252
54251
|
npm: '8.19.4',
|
|
54253
54252
|
node: '18.19.0',
|
|
54254
54253
|
acorn: '8.10.0',
|