@pod-os/core 0.11.2-5fc2580.0 → 0.11.2-d3dc448.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.
- package/dist/{chunk-QGLFMQES.js → chunk-K3YKITD7.js} +118 -107
- package/dist/dist-L3AA3UET.js +905 -0
- package/dist/index.js +1751 -42
- package/lib/index.js +2689 -420
- package/package.json +10 -9
- package/types/authentication/index.d.ts +5 -1
- package/types/authentication/observeSession.d.ts +4 -0
- package/types/authentication/observeSession.spec.d.ts +1 -0
- package/types/index.d.ts +11 -2
- package/dist/dist-XSHK7KR5.js +0 -384
|
@@ -5169,6 +5169,62 @@ var require_punycode = __commonJS({
|
|
|
5169
5169
|
}
|
|
5170
5170
|
});
|
|
5171
5171
|
|
|
5172
|
+
// ../node_modules/es-errors/index.js
|
|
5173
|
+
var require_es_errors = __commonJS({
|
|
5174
|
+
"../node_modules/es-errors/index.js"(exports, module2) {
|
|
5175
|
+
"use strict";
|
|
5176
|
+
module2.exports = Error;
|
|
5177
|
+
}
|
|
5178
|
+
});
|
|
5179
|
+
|
|
5180
|
+
// ../node_modules/es-errors/eval.js
|
|
5181
|
+
var require_eval = __commonJS({
|
|
5182
|
+
"../node_modules/es-errors/eval.js"(exports, module2) {
|
|
5183
|
+
"use strict";
|
|
5184
|
+
module2.exports = EvalError;
|
|
5185
|
+
}
|
|
5186
|
+
});
|
|
5187
|
+
|
|
5188
|
+
// ../node_modules/es-errors/range.js
|
|
5189
|
+
var require_range = __commonJS({
|
|
5190
|
+
"../node_modules/es-errors/range.js"(exports, module2) {
|
|
5191
|
+
"use strict";
|
|
5192
|
+
module2.exports = RangeError;
|
|
5193
|
+
}
|
|
5194
|
+
});
|
|
5195
|
+
|
|
5196
|
+
// ../node_modules/es-errors/ref.js
|
|
5197
|
+
var require_ref = __commonJS({
|
|
5198
|
+
"../node_modules/es-errors/ref.js"(exports, module2) {
|
|
5199
|
+
"use strict";
|
|
5200
|
+
module2.exports = ReferenceError;
|
|
5201
|
+
}
|
|
5202
|
+
});
|
|
5203
|
+
|
|
5204
|
+
// ../node_modules/es-errors/syntax.js
|
|
5205
|
+
var require_syntax = __commonJS({
|
|
5206
|
+
"../node_modules/es-errors/syntax.js"(exports, module2) {
|
|
5207
|
+
"use strict";
|
|
5208
|
+
module2.exports = SyntaxError;
|
|
5209
|
+
}
|
|
5210
|
+
});
|
|
5211
|
+
|
|
5212
|
+
// ../node_modules/es-errors/type.js
|
|
5213
|
+
var require_type = __commonJS({
|
|
5214
|
+
"../node_modules/es-errors/type.js"(exports, module2) {
|
|
5215
|
+
"use strict";
|
|
5216
|
+
module2.exports = TypeError;
|
|
5217
|
+
}
|
|
5218
|
+
});
|
|
5219
|
+
|
|
5220
|
+
// ../node_modules/es-errors/uri.js
|
|
5221
|
+
var require_uri = __commonJS({
|
|
5222
|
+
"../node_modules/es-errors/uri.js"(exports, module2) {
|
|
5223
|
+
"use strict";
|
|
5224
|
+
module2.exports = URIError;
|
|
5225
|
+
}
|
|
5226
|
+
});
|
|
5227
|
+
|
|
5172
5228
|
// ../node_modules/has-symbols/shams.js
|
|
5173
5229
|
var require_shams = __commonJS({
|
|
5174
5230
|
"../node_modules/has-symbols/shams.js"(exports, module2) {
|
|
@@ -5250,11 +5306,12 @@ var require_has_proto = __commonJS({
|
|
|
5250
5306
|
"../node_modules/has-proto/index.js"(exports, module2) {
|
|
5251
5307
|
"use strict";
|
|
5252
5308
|
var test = {
|
|
5309
|
+
__proto__: null,
|
|
5253
5310
|
foo: {}
|
|
5254
5311
|
};
|
|
5255
5312
|
var $Object = Object;
|
|
5256
5313
|
module2.exports = function hasProto() {
|
|
5257
|
-
return { __proto__: test }.foo === test.foo && !(
|
|
5314
|
+
return { __proto__: test }.foo === test.foo && !(test instanceof $Object);
|
|
5258
5315
|
};
|
|
5259
5316
|
}
|
|
5260
5317
|
});
|
|
@@ -5360,9 +5417,14 @@ var require_get_intrinsic = __commonJS({
|
|
|
5360
5417
|
"../node_modules/get-intrinsic/index.js"(exports, module2) {
|
|
5361
5418
|
"use strict";
|
|
5362
5419
|
var undefined2;
|
|
5363
|
-
var $
|
|
5420
|
+
var $Error = require_es_errors();
|
|
5421
|
+
var $EvalError = require_eval();
|
|
5422
|
+
var $RangeError = require_range();
|
|
5423
|
+
var $ReferenceError = require_ref();
|
|
5424
|
+
var $SyntaxError = require_syntax();
|
|
5425
|
+
var $TypeError = require_type();
|
|
5426
|
+
var $URIError = require_uri();
|
|
5364
5427
|
var $Function = Function;
|
|
5365
|
-
var $TypeError = TypeError;
|
|
5366
5428
|
var getEvalledConstructor = function(expressionSyntax) {
|
|
5367
5429
|
try {
|
|
5368
5430
|
return $Function('"use strict"; return (' + expressionSyntax + ").constructor;")();
|
|
@@ -5400,6 +5462,7 @@ var require_get_intrinsic = __commonJS({
|
|
|
5400
5462
|
var needsEval = {};
|
|
5401
5463
|
var TypedArray = typeof Uint8Array === "undefined" || !getProto ? undefined2 : getProto(Uint8Array);
|
|
5402
5464
|
var INTRINSICS = {
|
|
5465
|
+
__proto__: null,
|
|
5403
5466
|
"%AggregateError%": typeof AggregateError === "undefined" ? undefined2 : AggregateError,
|
|
5404
5467
|
"%Array%": Array,
|
|
5405
5468
|
"%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined2 : ArrayBuffer,
|
|
@@ -5420,10 +5483,10 @@ var require_get_intrinsic = __commonJS({
|
|
|
5420
5483
|
"%decodeURIComponent%": decodeURIComponent,
|
|
5421
5484
|
"%encodeURI%": encodeURI,
|
|
5422
5485
|
"%encodeURIComponent%": encodeURIComponent,
|
|
5423
|
-
"%Error%": Error,
|
|
5486
|
+
"%Error%": $Error,
|
|
5424
5487
|
"%eval%": eval,
|
|
5425
5488
|
// eslint-disable-line no-eval
|
|
5426
|
-
"%EvalError%": EvalError,
|
|
5489
|
+
"%EvalError%": $EvalError,
|
|
5427
5490
|
"%Float32Array%": typeof Float32Array === "undefined" ? undefined2 : Float32Array,
|
|
5428
5491
|
"%Float64Array%": typeof Float64Array === "undefined" ? undefined2 : Float64Array,
|
|
5429
5492
|
"%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined2 : FinalizationRegistry,
|
|
@@ -5445,8 +5508,8 @@ var require_get_intrinsic = __commonJS({
|
|
|
5445
5508
|
"%parseInt%": parseInt,
|
|
5446
5509
|
"%Promise%": typeof Promise === "undefined" ? undefined2 : Promise,
|
|
5447
5510
|
"%Proxy%": typeof Proxy === "undefined" ? undefined2 : Proxy,
|
|
5448
|
-
"%RangeError%": RangeError,
|
|
5449
|
-
"%ReferenceError%": ReferenceError,
|
|
5511
|
+
"%RangeError%": $RangeError,
|
|
5512
|
+
"%ReferenceError%": $ReferenceError,
|
|
5450
5513
|
"%Reflect%": typeof Reflect === "undefined" ? undefined2 : Reflect,
|
|
5451
5514
|
"%RegExp%": RegExp,
|
|
5452
5515
|
"%Set%": typeof Set === "undefined" ? undefined2 : Set,
|
|
@@ -5463,7 +5526,7 @@ var require_get_intrinsic = __commonJS({
|
|
|
5463
5526
|
"%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined2 : Uint8ClampedArray,
|
|
5464
5527
|
"%Uint16Array%": typeof Uint16Array === "undefined" ? undefined2 : Uint16Array,
|
|
5465
5528
|
"%Uint32Array%": typeof Uint32Array === "undefined" ? undefined2 : Uint32Array,
|
|
5466
|
-
"%URIError%": URIError,
|
|
5529
|
+
"%URIError%": $URIError,
|
|
5467
5530
|
"%WeakMap%": typeof WeakMap === "undefined" ? undefined2 : WeakMap,
|
|
5468
5531
|
"%WeakRef%": typeof WeakRef === "undefined" ? undefined2 : WeakRef,
|
|
5469
5532
|
"%WeakSet%": typeof WeakSet === "undefined" ? undefined2 : WeakSet
|
|
@@ -5500,6 +5563,7 @@ var require_get_intrinsic = __commonJS({
|
|
|
5500
5563
|
return value;
|
|
5501
5564
|
};
|
|
5502
5565
|
var LEGACY_ALIASES = {
|
|
5566
|
+
__proto__: null,
|
|
5503
5567
|
"%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
|
|
5504
5568
|
"%ArrayPrototype%": ["Array", "prototype"],
|
|
5505
5569
|
"%ArrayProto_entries%": ["Array", "prototype", "entries"],
|
|
@@ -5662,34 +5726,20 @@ var require_get_intrinsic = __commonJS({
|
|
|
5662
5726
|
}
|
|
5663
5727
|
});
|
|
5664
5728
|
|
|
5665
|
-
// ../node_modules/
|
|
5666
|
-
var
|
|
5667
|
-
"../node_modules/
|
|
5729
|
+
// ../node_modules/es-define-property/index.js
|
|
5730
|
+
var require_es_define_property = __commonJS({
|
|
5731
|
+
"../node_modules/es-define-property/index.js"(exports, module2) {
|
|
5668
5732
|
"use strict";
|
|
5669
5733
|
var GetIntrinsic = require_get_intrinsic();
|
|
5670
|
-
var $defineProperty = GetIntrinsic("%Object.defineProperty%", true);
|
|
5671
|
-
|
|
5672
|
-
if ($defineProperty) {
|
|
5673
|
-
try {
|
|
5674
|
-
$defineProperty({}, "a", { value: 1 });
|
|
5675
|
-
return true;
|
|
5676
|
-
} catch (e) {
|
|
5677
|
-
return false;
|
|
5678
|
-
}
|
|
5679
|
-
}
|
|
5680
|
-
return false;
|
|
5681
|
-
};
|
|
5682
|
-
hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
|
|
5683
|
-
if (!hasPropertyDescriptors()) {
|
|
5684
|
-
return null;
|
|
5685
|
-
}
|
|
5734
|
+
var $defineProperty = GetIntrinsic("%Object.defineProperty%", true) || false;
|
|
5735
|
+
if ($defineProperty) {
|
|
5686
5736
|
try {
|
|
5687
|
-
|
|
5737
|
+
$defineProperty({}, "a", { value: 1 });
|
|
5688
5738
|
} catch (e) {
|
|
5689
|
-
|
|
5739
|
+
$defineProperty = false;
|
|
5690
5740
|
}
|
|
5691
|
-
}
|
|
5692
|
-
module2.exports =
|
|
5741
|
+
}
|
|
5742
|
+
module2.exports = $defineProperty;
|
|
5693
5743
|
}
|
|
5694
5744
|
});
|
|
5695
5745
|
|
|
@@ -5714,18 +5764,9 @@ var require_gopd = __commonJS({
|
|
|
5714
5764
|
var require_define_data_property = __commonJS({
|
|
5715
5765
|
"../node_modules/define-data-property/index.js"(exports, module2) {
|
|
5716
5766
|
"use strict";
|
|
5717
|
-
var
|
|
5718
|
-
var
|
|
5719
|
-
var $
|
|
5720
|
-
if ($defineProperty) {
|
|
5721
|
-
try {
|
|
5722
|
-
$defineProperty({}, "a", { value: 1 });
|
|
5723
|
-
} catch (e) {
|
|
5724
|
-
$defineProperty = false;
|
|
5725
|
-
}
|
|
5726
|
-
}
|
|
5727
|
-
var $SyntaxError = GetIntrinsic("%SyntaxError%");
|
|
5728
|
-
var $TypeError = GetIntrinsic("%TypeError%");
|
|
5767
|
+
var $defineProperty = require_es_define_property();
|
|
5768
|
+
var $SyntaxError = require_syntax();
|
|
5769
|
+
var $TypeError = require_type();
|
|
5729
5770
|
var gopd = require_gopd();
|
|
5730
5771
|
module2.exports = function defineDataProperty(obj, property, value) {
|
|
5731
5772
|
if (!obj || typeof obj !== "object" && typeof obj !== "function") {
|
|
@@ -5767,6 +5808,28 @@ var require_define_data_property = __commonJS({
|
|
|
5767
5808
|
}
|
|
5768
5809
|
});
|
|
5769
5810
|
|
|
5811
|
+
// ../node_modules/has-property-descriptors/index.js
|
|
5812
|
+
var require_has_property_descriptors = __commonJS({
|
|
5813
|
+
"../node_modules/has-property-descriptors/index.js"(exports, module2) {
|
|
5814
|
+
"use strict";
|
|
5815
|
+
var $defineProperty = require_es_define_property();
|
|
5816
|
+
var hasPropertyDescriptors = function hasPropertyDescriptors2() {
|
|
5817
|
+
return !!$defineProperty;
|
|
5818
|
+
};
|
|
5819
|
+
hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
|
|
5820
|
+
if (!$defineProperty) {
|
|
5821
|
+
return null;
|
|
5822
|
+
}
|
|
5823
|
+
try {
|
|
5824
|
+
return $defineProperty([], "length", { value: 1 }).length !== 1;
|
|
5825
|
+
} catch (e) {
|
|
5826
|
+
return true;
|
|
5827
|
+
}
|
|
5828
|
+
};
|
|
5829
|
+
module2.exports = hasPropertyDescriptors;
|
|
5830
|
+
}
|
|
5831
|
+
});
|
|
5832
|
+
|
|
5770
5833
|
// ../node_modules/set-function-length/index.js
|
|
5771
5834
|
var require_set_function_length = __commonJS({
|
|
5772
5835
|
"../node_modules/set-function-length/index.js"(exports, module2) {
|
|
@@ -5775,7 +5838,7 @@ var require_set_function_length = __commonJS({
|
|
|
5775
5838
|
var define2 = require_define_data_property();
|
|
5776
5839
|
var hasDescriptors = require_has_property_descriptors()();
|
|
5777
5840
|
var gOPD = require_gopd();
|
|
5778
|
-
var $TypeError =
|
|
5841
|
+
var $TypeError = require_type();
|
|
5779
5842
|
var $floor = GetIntrinsic("%Math.floor%");
|
|
5780
5843
|
module2.exports = function setFunctionLength(fn, length) {
|
|
5781
5844
|
if (typeof fn !== "function") {
|
|
@@ -5827,19 +5890,12 @@ var require_call_bind = __commonJS({
|
|
|
5827
5890
|
var bind = require_function_bind();
|
|
5828
5891
|
var GetIntrinsic = require_get_intrinsic();
|
|
5829
5892
|
var setFunctionLength = require_set_function_length();
|
|
5830
|
-
var $TypeError =
|
|
5893
|
+
var $TypeError = require_type();
|
|
5831
5894
|
var $apply = GetIntrinsic("%Function.prototype.apply%");
|
|
5832
5895
|
var $call = GetIntrinsic("%Function.prototype.call%");
|
|
5833
5896
|
var $reflectApply = GetIntrinsic("%Reflect.apply%", true) || bind.call($call, $apply);
|
|
5834
|
-
var $defineProperty =
|
|
5897
|
+
var $defineProperty = require_es_define_property();
|
|
5835
5898
|
var $max = GetIntrinsic("%Math.max%");
|
|
5836
|
-
if ($defineProperty) {
|
|
5837
|
-
try {
|
|
5838
|
-
$defineProperty({}, "a", { value: 1 });
|
|
5839
|
-
} catch (e) {
|
|
5840
|
-
$defineProperty = null;
|
|
5841
|
-
}
|
|
5842
|
-
}
|
|
5843
5899
|
module2.exports = function callBind(originalFunction) {
|
|
5844
5900
|
if (typeof originalFunction !== "function") {
|
|
5845
5901
|
throw new $TypeError("a function is required");
|
|
@@ -6407,7 +6463,7 @@ var require_side_channel = __commonJS({
|
|
|
6407
6463
|
var GetIntrinsic = require_get_intrinsic();
|
|
6408
6464
|
var callBound = require_callBound();
|
|
6409
6465
|
var inspect = require_object_inspect();
|
|
6410
|
-
var $TypeError =
|
|
6466
|
+
var $TypeError = require_type();
|
|
6411
6467
|
var $WeakMap = GetIntrinsic("%WeakMap%", true);
|
|
6412
6468
|
var $Map = GetIntrinsic("%Map%", true);
|
|
6413
6469
|
var $weakMapGet = callBound("WeakMap.prototype.get", true);
|
|
@@ -6417,10 +6473,13 @@ var require_side_channel = __commonJS({
|
|
|
6417
6473
|
var $mapSet = callBound("Map.prototype.set", true);
|
|
6418
6474
|
var $mapHas = callBound("Map.prototype.has", true);
|
|
6419
6475
|
var listGetNode = function(list, key) {
|
|
6420
|
-
|
|
6476
|
+
var prev = list;
|
|
6477
|
+
var curr;
|
|
6478
|
+
for (; (curr = prev.next) !== null; prev = curr) {
|
|
6421
6479
|
if (curr.key === key) {
|
|
6422
6480
|
prev.next = curr.next;
|
|
6423
|
-
curr.next = list.next
|
|
6481
|
+
curr.next = /** @type {NonNullable<typeof list.next>} */
|
|
6482
|
+
list.next;
|
|
6424
6483
|
list.next = curr;
|
|
6425
6484
|
return curr;
|
|
6426
6485
|
}
|
|
@@ -6435,8 +6494,9 @@ var require_side_channel = __commonJS({
|
|
|
6435
6494
|
if (node) {
|
|
6436
6495
|
node.value = value;
|
|
6437
6496
|
} else {
|
|
6438
|
-
objects.next = {
|
|
6439
|
-
|
|
6497
|
+
objects.next = /** @type {import('.').ListNode<typeof value>} */
|
|
6498
|
+
{
|
|
6499
|
+
// eslint-disable-line no-param-reassign, no-extra-parens
|
|
6440
6500
|
key,
|
|
6441
6501
|
next: objects.next,
|
|
6442
6502
|
value
|
|
@@ -25777,56 +25837,7 @@ var UpdateManager = /* @__PURE__ */ function() {
|
|
|
25777
25837
|
return UpdateManager2;
|
|
25778
25838
|
}();
|
|
25779
25839
|
|
|
25780
|
-
// ../node_modules/uuid/dist/esm-browser/native.js
|
|
25781
|
-
var randomUUID = typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
25782
|
-
var native_default = {
|
|
25783
|
-
randomUUID
|
|
25784
|
-
};
|
|
25785
|
-
|
|
25786
|
-
// ../node_modules/uuid/dist/esm-browser/rng.js
|
|
25787
|
-
var getRandomValues;
|
|
25788
|
-
var rnds8 = new Uint8Array(16);
|
|
25789
|
-
function rng() {
|
|
25790
|
-
if (!getRandomValues) {
|
|
25791
|
-
getRandomValues = typeof crypto !== "undefined" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto);
|
|
25792
|
-
if (!getRandomValues) {
|
|
25793
|
-
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
25794
|
-
}
|
|
25795
|
-
}
|
|
25796
|
-
return getRandomValues(rnds8);
|
|
25797
|
-
}
|
|
25798
|
-
|
|
25799
|
-
// ../node_modules/uuid/dist/esm-browser/stringify.js
|
|
25800
|
-
var byteToHex = [];
|
|
25801
|
-
for (let i = 0; i < 256; ++i) {
|
|
25802
|
-
byteToHex.push((i + 256).toString(16).slice(1));
|
|
25803
|
-
}
|
|
25804
|
-
function unsafeStringify(arr, offset = 0) {
|
|
25805
|
-
return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]];
|
|
25806
|
-
}
|
|
25807
|
-
|
|
25808
|
-
// ../node_modules/uuid/dist/esm-browser/v4.js
|
|
25809
|
-
function v4(options, buf, offset) {
|
|
25810
|
-
if (native_default.randomUUID && !buf && !options) {
|
|
25811
|
-
return native_default.randomUUID();
|
|
25812
|
-
}
|
|
25813
|
-
options = options || {};
|
|
25814
|
-
const rnds = options.random || (options.rng || rng)();
|
|
25815
|
-
rnds[6] = rnds[6] & 15 | 64;
|
|
25816
|
-
rnds[8] = rnds[8] & 63 | 128;
|
|
25817
|
-
if (buf) {
|
|
25818
|
-
offset = offset || 0;
|
|
25819
|
-
for (let i = 0; i < 16; ++i) {
|
|
25820
|
-
buf[offset + i] = rnds[i];
|
|
25821
|
-
}
|
|
25822
|
-
return buf;
|
|
25823
|
-
}
|
|
25824
|
-
return unsafeStringify(rnds);
|
|
25825
|
-
}
|
|
25826
|
-
var v4_default = v4;
|
|
25827
|
-
|
|
25828
25840
|
export {
|
|
25829
|
-
v4_default,
|
|
25830
25841
|
isLiteral,
|
|
25831
25842
|
isNamedNode,
|
|
25832
25843
|
isBlankNode,
|