@qqbrowser/openclaw-qbot 0.10.10 → 0.10.11
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/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/node_modules/@line/bot-sdk/node_modules/@types/node/package.json +2 -2
- package/node_modules/@smithy/config-resolver/package.json +3 -2
- package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +12 -0
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.browser.js +37 -36
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +39 -37
- package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.native.js +37 -36
- package/node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js +12 -0
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.browser.js +4 -2
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.js +5 -2
- package/node_modules/@smithy/core/dist-es/submodules/serde/index.native.js +4 -2
- package/node_modules/@smithy/core/dist-es/submodules/serde/uuid/v4.js +30 -29
- package/node_modules/@smithy/core/package.json +1 -1
- package/node_modules/@smithy/credential-provider-imds/package.json +2 -2
- package/node_modules/@smithy/eventstream-codec/package.json +3 -2
- package/node_modules/@smithy/eventstream-serde-browser/package.json +3 -2
- package/node_modules/@smithy/eventstream-serde-config-resolver/package.json +3 -2
- package/node_modules/@smithy/eventstream-serde-node/package.json +3 -2
- package/node_modules/@smithy/fetch-http-handler/package.json +2 -2
- package/node_modules/@smithy/hash-node/package.json +3 -2
- package/node_modules/@smithy/invalid-dependency/package.json +3 -2
- package/node_modules/@smithy/middleware-content-length/package.json +3 -2
- package/node_modules/@smithy/middleware-endpoint/package.json +3 -2
- package/node_modules/@smithy/middleware-retry/package.json +3 -2
- package/node_modules/@smithy/middleware-serde/package.json +3 -2
- package/node_modules/@smithy/middleware-stack/package.json +3 -2
- package/node_modules/@smithy/node-config-provider/package.json +3 -2
- package/node_modules/@smithy/node-http-handler/package.json +2 -2
- package/node_modules/@smithy/property-provider/package.json +3 -2
- package/node_modules/@smithy/protocol-http/package.json +3 -2
- package/node_modules/@smithy/querystring-builder/package.json +3 -2
- package/node_modules/@smithy/shared-ini-file-loader/package.json +3 -2
- package/node_modules/@smithy/signature-v4/package.json +2 -2
- package/node_modules/@smithy/smithy-client/package.json +3 -2
- package/node_modules/@smithy/url-parser/package.json +3 -2
- package/node_modules/@smithy/util-base64/package.json +3 -2
- package/node_modules/@smithy/util-body-length-browser/package.json +3 -2
- package/node_modules/@smithy/util-body-length-node/package.json +3 -2
- package/node_modules/@smithy/util-config-provider/package.json +3 -2
- package/node_modules/@smithy/util-defaults-mode-browser/package.json +3 -2
- package/node_modules/@smithy/util-defaults-mode-node/package.json +3 -2
- package/node_modules/@smithy/util-endpoints/package.json +3 -2
- package/node_modules/@smithy/util-hex-encoding/package.json +3 -2
- package/node_modules/@smithy/util-middleware/package.json +3 -2
- package/node_modules/@smithy/util-retry/package.json +3 -2
- package/node_modules/@smithy/util-stream/package.json +3 -2
- package/node_modules/@smithy/util-utf8/package.json +3 -2
- package/node_modules/yaml/browser/dist/compose/composer.js +4 -2
- package/node_modules/yaml/browser/dist/parse/lexer.js +28 -24
- package/node_modules/yaml/browser/dist/parse/parser.js +12 -4
- package/node_modules/yaml/dist/compose/composer.js +4 -2
- package/node_modules/yaml/dist/parse/lexer.js +28 -24
- package/node_modules/yaml/dist/parse/parser.js +12 -4
- package/node_modules/yaml/package.json +1 -1
- package/package.json +1 -1
- package/node_modules/@smithy/core/dist-es/submodules/serde/generateIdempotencyToken.js +0 -2
- package/node_modules/@smithy/core/dist-es/submodules/serde/uuid/randomUUID.js +0 -3
- package/skills/news-summary/SKILL.md +0 -111
- package/skills/news-summary/_meta.json +0 -6
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
ce0109ed2a2bfb184b8918d5942cbe73551deff354ad44ed425a3736ffc2d0cb
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/node",
|
|
3
|
-
"version": "24.12.
|
|
3
|
+
"version": "24.12.4",
|
|
4
4
|
"description": "TypeScript definitions for node",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
6
6
|
"license": "MIT",
|
|
@@ -150,6 +150,6 @@
|
|
|
150
150
|
"undici-types": "~7.16.0"
|
|
151
151
|
},
|
|
152
152
|
"peerDependencies": {},
|
|
153
|
-
"typesPublisherContentHash": "
|
|
153
|
+
"typesPublisherContentHash": "76f3f21159e10d4dfd4f84eb8376e314b89e0549eccd8d4518ac9b2eca4e55bc",
|
|
154
154
|
"typeScriptVersion": "5.3"
|
|
155
155
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/config-resolver",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.1",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "yarn g:tsc -p tsconfig.cjs.json && yarn g:tsc -p tsconfig.es.json && yarn g:tsc -p tsconfig.types.json",
|
|
6
|
+
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
|
6
7
|
"clean": "rm -rf dist-cjs dist-es dist-types",
|
|
7
8
|
"stage-release": "rm -rf .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz"
|
|
8
9
|
},
|
|
@@ -16,7 +17,7 @@
|
|
|
16
17
|
"license": "Apache-2.0",
|
|
17
18
|
"sideEffects": false,
|
|
18
19
|
"dependencies": {
|
|
19
|
-
"@smithy/core": "^3.24.
|
|
20
|
+
"@smithy/core": "^3.24.1",
|
|
20
21
|
"tslib": "^2.6.2"
|
|
21
22
|
},
|
|
22
23
|
"engines": {
|
|
@@ -622,6 +622,18 @@ class TypeRegistry {
|
|
|
622
622
|
getSchema(shapeId) {
|
|
623
623
|
const id = this.normalizeShapeId(shapeId);
|
|
624
624
|
if (!this.schemas.has(id)) {
|
|
625
|
+
if (!shapeId.includes("#")) {
|
|
626
|
+
const suffix = "#" + shapeId;
|
|
627
|
+
const candidates = [];
|
|
628
|
+
for (const [shapeId, schema] of this.schemas.entries()) {
|
|
629
|
+
if (shapeId.endsWith(suffix)) {
|
|
630
|
+
candidates.push(schema);
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
if (candidates.length === 1) {
|
|
634
|
+
return candidates[0];
|
|
635
|
+
}
|
|
636
|
+
}
|
|
625
637
|
throw new Error(`@smithy/core/schema - schema not found for ${id}`);
|
|
626
638
|
}
|
|
627
639
|
return this.schemas.get(id);
|
|
@@ -3,6 +3,39 @@
|
|
|
3
3
|
var protocols = require('@smithy/core/protocols');
|
|
4
4
|
var endpoints = require('@smithy/core/endpoints');
|
|
5
5
|
|
|
6
|
+
const decimalToHex = Array.from({ length: 256 }, (_, i) => i.toString(16).padStart(2, "0"));
|
|
7
|
+
function bindV4(getRandomValues) {
|
|
8
|
+
if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") {
|
|
9
|
+
return () => crypto.randomUUID();
|
|
10
|
+
}
|
|
11
|
+
return () => {
|
|
12
|
+
const rnds = new Uint8Array(16);
|
|
13
|
+
getRandomValues(rnds);
|
|
14
|
+
rnds[6] = (rnds[6] & 0x0f) | 0x40;
|
|
15
|
+
rnds[8] = (rnds[8] & 0x3f) | 0x80;
|
|
16
|
+
return (decimalToHex[rnds[0]] +
|
|
17
|
+
decimalToHex[rnds[1]] +
|
|
18
|
+
decimalToHex[rnds[2]] +
|
|
19
|
+
decimalToHex[rnds[3]] +
|
|
20
|
+
"-" +
|
|
21
|
+
decimalToHex[rnds[4]] +
|
|
22
|
+
decimalToHex[rnds[5]] +
|
|
23
|
+
"-" +
|
|
24
|
+
decimalToHex[rnds[6]] +
|
|
25
|
+
decimalToHex[rnds[7]] +
|
|
26
|
+
"-" +
|
|
27
|
+
decimalToHex[rnds[8]] +
|
|
28
|
+
decimalToHex[rnds[9]] +
|
|
29
|
+
"-" +
|
|
30
|
+
decimalToHex[rnds[10]] +
|
|
31
|
+
decimalToHex[rnds[11]] +
|
|
32
|
+
decimalToHex[rnds[12]] +
|
|
33
|
+
decimalToHex[rnds[13]] +
|
|
34
|
+
decimalToHex[rnds[14]] +
|
|
35
|
+
decimalToHex[rnds[15]]);
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
6
39
|
const copyDocumentWithTransform = (source, schemaRef, transform = (_) => _) => source;
|
|
7
40
|
|
|
8
41
|
const parseBoolean = (value) => {
|
|
@@ -429,41 +462,6 @@ const stripLeadingZeroes = (value) => {
|
|
|
429
462
|
return value.slice(idx);
|
|
430
463
|
};
|
|
431
464
|
|
|
432
|
-
const randomUUID = typeof crypto !== "undefined" && typeof crypto.randomUUID === "function"
|
|
433
|
-
? crypto.randomUUID.bind(crypto)
|
|
434
|
-
: undefined;
|
|
435
|
-
|
|
436
|
-
const decimalToHex = Array.from({ length: 256 }, (_, i) => i.toString(16).padStart(2, "0"));
|
|
437
|
-
const v4 = () => {
|
|
438
|
-
if (randomUUID) {
|
|
439
|
-
return randomUUID();
|
|
440
|
-
}
|
|
441
|
-
const rnds = new Uint8Array(16);
|
|
442
|
-
crypto.getRandomValues(rnds);
|
|
443
|
-
rnds[6] = (rnds[6] & 0x0f) | 0x40;
|
|
444
|
-
rnds[8] = (rnds[8] & 0x3f) | 0x80;
|
|
445
|
-
return (decimalToHex[rnds[0]] +
|
|
446
|
-
decimalToHex[rnds[1]] +
|
|
447
|
-
decimalToHex[rnds[2]] +
|
|
448
|
-
decimalToHex[rnds[3]] +
|
|
449
|
-
"-" +
|
|
450
|
-
decimalToHex[rnds[4]] +
|
|
451
|
-
decimalToHex[rnds[5]] +
|
|
452
|
-
"-" +
|
|
453
|
-
decimalToHex[rnds[6]] +
|
|
454
|
-
decimalToHex[rnds[7]] +
|
|
455
|
-
"-" +
|
|
456
|
-
decimalToHex[rnds[8]] +
|
|
457
|
-
decimalToHex[rnds[9]] +
|
|
458
|
-
"-" +
|
|
459
|
-
decimalToHex[rnds[10]] +
|
|
460
|
-
decimalToHex[rnds[11]] +
|
|
461
|
-
decimalToHex[rnds[12]] +
|
|
462
|
-
decimalToHex[rnds[13]] +
|
|
463
|
-
decimalToHex[rnds[14]] +
|
|
464
|
-
decimalToHex[rnds[15]]);
|
|
465
|
-
};
|
|
466
|
-
|
|
467
465
|
const LazyJsonString = function LazyJsonString(val) {
|
|
468
466
|
const str = Object.assign(new String(val), {
|
|
469
467
|
deserializeJSON() {
|
|
@@ -1379,6 +1377,9 @@ async function splitStream(stream) {
|
|
|
1379
1377
|
|
|
1380
1378
|
const no = Symbol.for("node-only");
|
|
1381
1379
|
const Hash = no;
|
|
1380
|
+
const _getRandomValues = (array) => crypto.getRandomValues(array);
|
|
1381
|
+
const v4 = bindV4(_getRandomValues);
|
|
1382
|
+
const generateIdempotencyToken = v4;
|
|
1382
1383
|
|
|
1383
1384
|
exports.ChecksumStream = ChecksumStream;
|
|
1384
1385
|
exports.Hash = Hash;
|
|
@@ -1412,7 +1413,7 @@ exports.fromBase64 = fromBase64$1;
|
|
|
1412
1413
|
exports.fromHex = fromHex;
|
|
1413
1414
|
exports.fromString = fromString;
|
|
1414
1415
|
exports.fromUtf8 = fromUtf8;
|
|
1415
|
-
exports.generateIdempotencyToken =
|
|
1416
|
+
exports.generateIdempotencyToken = generateIdempotencyToken;
|
|
1416
1417
|
exports.getAwsChunkedEncodingStream = getAwsChunkedEncodingStream;
|
|
1417
1418
|
exports.getSerdePlugin = getSerdePlugin;
|
|
1418
1419
|
exports.handleFloat = handleFloat;
|
|
@@ -1,11 +1,44 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var node_crypto = require('node:crypto');
|
|
3
4
|
var node_fs = require('node:fs');
|
|
4
5
|
var protocols = require('@smithy/core/protocols');
|
|
5
6
|
var endpoints = require('@smithy/core/endpoints');
|
|
6
|
-
var node_crypto = require('node:crypto');
|
|
7
7
|
var node_stream = require('node:stream');
|
|
8
8
|
|
|
9
|
+
const decimalToHex = Array.from({ length: 256 }, (_, i) => i.toString(16).padStart(2, "0"));
|
|
10
|
+
function bindV4(getRandomValues) {
|
|
11
|
+
if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") {
|
|
12
|
+
return () => crypto.randomUUID();
|
|
13
|
+
}
|
|
14
|
+
return () => {
|
|
15
|
+
const rnds = new Uint8Array(16);
|
|
16
|
+
getRandomValues(rnds);
|
|
17
|
+
rnds[6] = (rnds[6] & 0x0f) | 0x40;
|
|
18
|
+
rnds[8] = (rnds[8] & 0x3f) | 0x80;
|
|
19
|
+
return (decimalToHex[rnds[0]] +
|
|
20
|
+
decimalToHex[rnds[1]] +
|
|
21
|
+
decimalToHex[rnds[2]] +
|
|
22
|
+
decimalToHex[rnds[3]] +
|
|
23
|
+
"-" +
|
|
24
|
+
decimalToHex[rnds[4]] +
|
|
25
|
+
decimalToHex[rnds[5]] +
|
|
26
|
+
"-" +
|
|
27
|
+
decimalToHex[rnds[6]] +
|
|
28
|
+
decimalToHex[rnds[7]] +
|
|
29
|
+
"-" +
|
|
30
|
+
decimalToHex[rnds[8]] +
|
|
31
|
+
decimalToHex[rnds[9]] +
|
|
32
|
+
"-" +
|
|
33
|
+
decimalToHex[rnds[10]] +
|
|
34
|
+
decimalToHex[rnds[11]] +
|
|
35
|
+
decimalToHex[rnds[12]] +
|
|
36
|
+
decimalToHex[rnds[13]] +
|
|
37
|
+
decimalToHex[rnds[14]] +
|
|
38
|
+
decimalToHex[rnds[15]]);
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
|
|
9
42
|
const copyDocumentWithTransform = (source, schemaRef, transform = (_) => _) => source;
|
|
10
43
|
|
|
11
44
|
const parseBoolean = (value) => {
|
|
@@ -432,41 +465,6 @@ const stripLeadingZeroes = (value) => {
|
|
|
432
465
|
return value.slice(idx);
|
|
433
466
|
};
|
|
434
467
|
|
|
435
|
-
const randomUUID = typeof crypto !== "undefined" && typeof crypto.randomUUID === "function"
|
|
436
|
-
? crypto.randomUUID.bind(crypto)
|
|
437
|
-
: undefined;
|
|
438
|
-
|
|
439
|
-
const decimalToHex = Array.from({ length: 256 }, (_, i) => i.toString(16).padStart(2, "0"));
|
|
440
|
-
const v4 = () => {
|
|
441
|
-
if (randomUUID) {
|
|
442
|
-
return randomUUID();
|
|
443
|
-
}
|
|
444
|
-
const rnds = new Uint8Array(16);
|
|
445
|
-
crypto.getRandomValues(rnds);
|
|
446
|
-
rnds[6] = (rnds[6] & 0x0f) | 0x40;
|
|
447
|
-
rnds[8] = (rnds[8] & 0x3f) | 0x80;
|
|
448
|
-
return (decimalToHex[rnds[0]] +
|
|
449
|
-
decimalToHex[rnds[1]] +
|
|
450
|
-
decimalToHex[rnds[2]] +
|
|
451
|
-
decimalToHex[rnds[3]] +
|
|
452
|
-
"-" +
|
|
453
|
-
decimalToHex[rnds[4]] +
|
|
454
|
-
decimalToHex[rnds[5]] +
|
|
455
|
-
"-" +
|
|
456
|
-
decimalToHex[rnds[6]] +
|
|
457
|
-
decimalToHex[rnds[7]] +
|
|
458
|
-
"-" +
|
|
459
|
-
decimalToHex[rnds[8]] +
|
|
460
|
-
decimalToHex[rnds[9]] +
|
|
461
|
-
"-" +
|
|
462
|
-
decimalToHex[rnds[10]] +
|
|
463
|
-
decimalToHex[rnds[11]] +
|
|
464
|
-
decimalToHex[rnds[12]] +
|
|
465
|
-
decimalToHex[rnds[13]] +
|
|
466
|
-
decimalToHex[rnds[14]] +
|
|
467
|
-
decimalToHex[rnds[15]]);
|
|
468
|
-
};
|
|
469
|
-
|
|
470
468
|
const LazyJsonString = function LazyJsonString(val) {
|
|
471
469
|
const str = Object.assign(new String(val), {
|
|
472
470
|
deserializeJSON() {
|
|
@@ -1619,6 +1617,10 @@ async function splitStream(stream) {
|
|
|
1619
1617
|
return [stream1, stream2];
|
|
1620
1618
|
}
|
|
1621
1619
|
|
|
1620
|
+
const _getRandomValues = node_crypto.getRandomValues;
|
|
1621
|
+
const v4 = bindV4(_getRandomValues);
|
|
1622
|
+
const generateIdempotencyToken = v4;
|
|
1623
|
+
|
|
1622
1624
|
exports.ChecksumStream = ChecksumStream$1;
|
|
1623
1625
|
exports.Hash = Hash;
|
|
1624
1626
|
exports.LazyJsonString = LazyJsonString;
|
|
@@ -1651,7 +1653,7 @@ exports.fromBase64 = fromBase64;
|
|
|
1651
1653
|
exports.fromHex = fromHex;
|
|
1652
1654
|
exports.fromString = fromString;
|
|
1653
1655
|
exports.fromUtf8 = fromUtf8;
|
|
1654
|
-
exports.generateIdempotencyToken =
|
|
1656
|
+
exports.generateIdempotencyToken = generateIdempotencyToken;
|
|
1655
1657
|
exports.getAwsChunkedEncodingStream = getAwsChunkedEncodingStream;
|
|
1656
1658
|
exports.getSerdePlugin = getSerdePlugin;
|
|
1657
1659
|
exports.handleFloat = handleFloat;
|
|
@@ -3,6 +3,39 @@
|
|
|
3
3
|
var protocols = require('@smithy/core/protocols');
|
|
4
4
|
var endpoints = require('@smithy/core/endpoints');
|
|
5
5
|
|
|
6
|
+
const decimalToHex = Array.from({ length: 256 }, (_, i) => i.toString(16).padStart(2, "0"));
|
|
7
|
+
function bindV4(getRandomValues) {
|
|
8
|
+
if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") {
|
|
9
|
+
return () => crypto.randomUUID();
|
|
10
|
+
}
|
|
11
|
+
return () => {
|
|
12
|
+
const rnds = new Uint8Array(16);
|
|
13
|
+
getRandomValues(rnds);
|
|
14
|
+
rnds[6] = (rnds[6] & 0x0f) | 0x40;
|
|
15
|
+
rnds[8] = (rnds[8] & 0x3f) | 0x80;
|
|
16
|
+
return (decimalToHex[rnds[0]] +
|
|
17
|
+
decimalToHex[rnds[1]] +
|
|
18
|
+
decimalToHex[rnds[2]] +
|
|
19
|
+
decimalToHex[rnds[3]] +
|
|
20
|
+
"-" +
|
|
21
|
+
decimalToHex[rnds[4]] +
|
|
22
|
+
decimalToHex[rnds[5]] +
|
|
23
|
+
"-" +
|
|
24
|
+
decimalToHex[rnds[6]] +
|
|
25
|
+
decimalToHex[rnds[7]] +
|
|
26
|
+
"-" +
|
|
27
|
+
decimalToHex[rnds[8]] +
|
|
28
|
+
decimalToHex[rnds[9]] +
|
|
29
|
+
"-" +
|
|
30
|
+
decimalToHex[rnds[10]] +
|
|
31
|
+
decimalToHex[rnds[11]] +
|
|
32
|
+
decimalToHex[rnds[12]] +
|
|
33
|
+
decimalToHex[rnds[13]] +
|
|
34
|
+
decimalToHex[rnds[14]] +
|
|
35
|
+
decimalToHex[rnds[15]]);
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
6
39
|
const copyDocumentWithTransform = (source, schemaRef, transform = (_) => _) => source;
|
|
7
40
|
|
|
8
41
|
const parseBoolean = (value) => {
|
|
@@ -429,41 +462,6 @@ const stripLeadingZeroes = (value) => {
|
|
|
429
462
|
return value.slice(idx);
|
|
430
463
|
};
|
|
431
464
|
|
|
432
|
-
const randomUUID = typeof crypto !== "undefined" && typeof crypto.randomUUID === "function"
|
|
433
|
-
? crypto.randomUUID.bind(crypto)
|
|
434
|
-
: undefined;
|
|
435
|
-
|
|
436
|
-
const decimalToHex = Array.from({ length: 256 }, (_, i) => i.toString(16).padStart(2, "0"));
|
|
437
|
-
const v4 = () => {
|
|
438
|
-
if (randomUUID) {
|
|
439
|
-
return randomUUID();
|
|
440
|
-
}
|
|
441
|
-
const rnds = new Uint8Array(16);
|
|
442
|
-
crypto.getRandomValues(rnds);
|
|
443
|
-
rnds[6] = (rnds[6] & 0x0f) | 0x40;
|
|
444
|
-
rnds[8] = (rnds[8] & 0x3f) | 0x80;
|
|
445
|
-
return (decimalToHex[rnds[0]] +
|
|
446
|
-
decimalToHex[rnds[1]] +
|
|
447
|
-
decimalToHex[rnds[2]] +
|
|
448
|
-
decimalToHex[rnds[3]] +
|
|
449
|
-
"-" +
|
|
450
|
-
decimalToHex[rnds[4]] +
|
|
451
|
-
decimalToHex[rnds[5]] +
|
|
452
|
-
"-" +
|
|
453
|
-
decimalToHex[rnds[6]] +
|
|
454
|
-
decimalToHex[rnds[7]] +
|
|
455
|
-
"-" +
|
|
456
|
-
decimalToHex[rnds[8]] +
|
|
457
|
-
decimalToHex[rnds[9]] +
|
|
458
|
-
"-" +
|
|
459
|
-
decimalToHex[rnds[10]] +
|
|
460
|
-
decimalToHex[rnds[11]] +
|
|
461
|
-
decimalToHex[rnds[12]] +
|
|
462
|
-
decimalToHex[rnds[13]] +
|
|
463
|
-
decimalToHex[rnds[14]] +
|
|
464
|
-
decimalToHex[rnds[15]]);
|
|
465
|
-
};
|
|
466
|
-
|
|
467
465
|
const LazyJsonString = function LazyJsonString(val) {
|
|
468
466
|
const str = Object.assign(new String(val), {
|
|
469
467
|
deserializeJSON() {
|
|
@@ -1379,6 +1377,9 @@ async function splitStream(stream) {
|
|
|
1379
1377
|
|
|
1380
1378
|
const no = Symbol.for("node-only");
|
|
1381
1379
|
const Hash = no;
|
|
1380
|
+
const _getRandomValues = (array) => crypto.getRandomValues(array);
|
|
1381
|
+
const v4 = bindV4(_getRandomValues);
|
|
1382
|
+
const generateIdempotencyToken = v4;
|
|
1382
1383
|
|
|
1383
1384
|
exports.ChecksumStream = ChecksumStream;
|
|
1384
1385
|
exports.Hash = Hash;
|
|
@@ -1412,7 +1413,7 @@ exports.fromBase64 = fromBase64$1;
|
|
|
1412
1413
|
exports.fromHex = fromHex;
|
|
1413
1414
|
exports.fromString = fromString;
|
|
1414
1415
|
exports.fromUtf8 = fromUtf8;
|
|
1415
|
-
exports.generateIdempotencyToken =
|
|
1416
|
+
exports.generateIdempotencyToken = generateIdempotencyToken;
|
|
1416
1417
|
exports.getAwsChunkedEncodingStream = getAwsChunkedEncodingStream;
|
|
1417
1418
|
exports.getSerdePlugin = getSerdePlugin;
|
|
1418
1419
|
exports.handleFloat = handleFloat;
|
|
@@ -36,6 +36,18 @@ export class TypeRegistry {
|
|
|
36
36
|
getSchema(shapeId) {
|
|
37
37
|
const id = this.normalizeShapeId(shapeId);
|
|
38
38
|
if (!this.schemas.has(id)) {
|
|
39
|
+
if (!shapeId.includes("#")) {
|
|
40
|
+
const suffix = "#" + shapeId;
|
|
41
|
+
const candidates = [];
|
|
42
|
+
for (const [shapeId, schema] of this.schemas.entries()) {
|
|
43
|
+
if (shapeId.endsWith(suffix)) {
|
|
44
|
+
candidates.push(schema);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
if (candidates.length === 1) {
|
|
48
|
+
return candidates[0];
|
|
49
|
+
}
|
|
50
|
+
}
|
|
39
51
|
throw new Error(`@smithy/core/schema - schema not found for ${id}`);
|
|
40
52
|
}
|
|
41
53
|
return this.schemas.get(id);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { bindV4 } from "./uuid/v4";
|
|
1
2
|
const no = Symbol.for("node-only");
|
|
2
3
|
export { copyDocumentWithTransform } from "./copyDocumentWithTransform";
|
|
3
4
|
export { dateToUtcString, parseRfc3339DateTime, parseRfc3339DateTimeWithOffset, parseRfc7231DateTime, parseEpochTimestamp, } from "./date-utils";
|
|
4
|
-
export { generateIdempotencyToken } from "./generateIdempotencyToken";
|
|
5
5
|
export { LazyJsonString } from "./lazy-json";
|
|
6
6
|
export { logger, parseBoolean, expectBoolean, expectNumber, expectFloat32, expectInt, expectInt32, expectShort, expectByte, expectNonNull, expectObject, expectString, expectUnion, expectLong, strictParseDouble, strictParseFloat, strictParseFloat32, strictParseLong, strictParseInt, strictParseInt32, strictParseShort, strictParseByte, limitedParseDouble, handleFloat, limitedParseFloat, limitedParseFloat32, } from "./parse-utils";
|
|
7
7
|
export { quoteHeader } from "./quote-header";
|
|
@@ -31,4 +31,6 @@ export { headStream } from "./util-stream/headStream.browser";
|
|
|
31
31
|
export { sdkStreamMixin } from "./util-stream/sdk-stream-mixin.browser";
|
|
32
32
|
export { splitStream } from "./util-stream/splitStream.browser";
|
|
33
33
|
export { isReadableStream, isBlob } from "./util-stream/stream-type-check";
|
|
34
|
-
|
|
34
|
+
const _getRandomValues = (array) => crypto.getRandomValues(array);
|
|
35
|
+
export const v4 = bindV4(_getRandomValues);
|
|
36
|
+
export const generateIdempotencyToken = v4;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { getRandomValues } from "node:crypto";
|
|
2
|
+
import { bindV4 } from "./uuid/v4";
|
|
1
3
|
export { copyDocumentWithTransform } from "./copyDocumentWithTransform";
|
|
2
4
|
export { dateToUtcString, parseRfc3339DateTime, parseRfc3339DateTimeWithOffset, parseRfc7231DateTime, parseEpochTimestamp, } from "./date-utils";
|
|
3
|
-
export { generateIdempotencyToken } from "./generateIdempotencyToken";
|
|
4
5
|
export { LazyJsonString } from "./lazy-json";
|
|
5
6
|
export { logger, parseBoolean, expectBoolean, expectNumber, expectFloat32, expectInt, expectInt32, expectShort, expectByte, expectNonNull, expectObject, expectString, expectUnion, expectLong, strictParseDouble, strictParseFloat, strictParseFloat32, strictParseLong, strictParseInt, strictParseInt32, strictParseShort, strictParseByte, limitedParseDouble, handleFloat, limitedParseFloat, limitedParseFloat32, } from "./parse-utils";
|
|
6
7
|
export { quoteHeader } from "./quote-header";
|
|
@@ -30,4 +31,6 @@ export { headStream } from "./util-stream/headStream";
|
|
|
30
31
|
export { sdkStreamMixin } from "./util-stream/sdk-stream-mixin";
|
|
31
32
|
export { splitStream } from "./util-stream/splitStream";
|
|
32
33
|
export { isReadableStream, isBlob } from "./util-stream/stream-type-check";
|
|
33
|
-
|
|
34
|
+
const _getRandomValues = getRandomValues;
|
|
35
|
+
export const v4 = bindV4(_getRandomValues);
|
|
36
|
+
export const generateIdempotencyToken = v4;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { bindV4 } from "./uuid/v4";
|
|
1
2
|
const no = Symbol.for("node-only");
|
|
2
3
|
export { copyDocumentWithTransform } from "./copyDocumentWithTransform";
|
|
3
4
|
export { dateToUtcString, parseRfc3339DateTime, parseRfc3339DateTimeWithOffset, parseRfc7231DateTime, parseEpochTimestamp, } from "./date-utils";
|
|
4
|
-
export { generateIdempotencyToken } from "./generateIdempotencyToken";
|
|
5
5
|
export { LazyJsonString } from "./lazy-json";
|
|
6
6
|
export { logger, parseBoolean, expectBoolean, expectNumber, expectFloat32, expectInt, expectInt32, expectShort, expectByte, expectNonNull, expectObject, expectString, expectUnion, expectLong, strictParseDouble, strictParseFloat, strictParseFloat32, strictParseLong, strictParseInt, strictParseInt32, strictParseShort, strictParseByte, limitedParseDouble, handleFloat, limitedParseFloat, limitedParseFloat32, } from "./parse-utils";
|
|
7
7
|
export { quoteHeader } from "./quote-header";
|
|
@@ -31,4 +31,6 @@ export { headStream } from "./util-stream/headStream.browser";
|
|
|
31
31
|
export { sdkStreamMixin } from "./util-stream/sdk-stream-mixin.browser";
|
|
32
32
|
export { splitStream } from "./util-stream/splitStream.browser";
|
|
33
33
|
export { isReadableStream, isBlob } from "./util-stream/stream-type-check";
|
|
34
|
-
|
|
34
|
+
const _getRandomValues = (array) => crypto.getRandomValues(array);
|
|
35
|
+
export const v4 = bindV4(_getRandomValues);
|
|
36
|
+
export const generateIdempotencyToken = v4;
|
|
@@ -1,31 +1,32 @@
|
|
|
1
|
-
import { randomUUID } from "./randomUUID";
|
|
2
1
|
const decimalToHex = Array.from({ length: 256 }, (_, i) => i.toString(16).padStart(2, "0"));
|
|
3
|
-
export
|
|
4
|
-
if (randomUUID) {
|
|
5
|
-
return randomUUID();
|
|
2
|
+
export function bindV4(getRandomValues) {
|
|
3
|
+
if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") {
|
|
4
|
+
return () => crypto.randomUUID();
|
|
6
5
|
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
decimalToHex[rnds[
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
6
|
+
return () => {
|
|
7
|
+
const rnds = new Uint8Array(16);
|
|
8
|
+
getRandomValues(rnds);
|
|
9
|
+
rnds[6] = (rnds[6] & 0x0f) | 0x40;
|
|
10
|
+
rnds[8] = (rnds[8] & 0x3f) | 0x80;
|
|
11
|
+
return (decimalToHex[rnds[0]] +
|
|
12
|
+
decimalToHex[rnds[1]] +
|
|
13
|
+
decimalToHex[rnds[2]] +
|
|
14
|
+
decimalToHex[rnds[3]] +
|
|
15
|
+
"-" +
|
|
16
|
+
decimalToHex[rnds[4]] +
|
|
17
|
+
decimalToHex[rnds[5]] +
|
|
18
|
+
"-" +
|
|
19
|
+
decimalToHex[rnds[6]] +
|
|
20
|
+
decimalToHex[rnds[7]] +
|
|
21
|
+
"-" +
|
|
22
|
+
decimalToHex[rnds[8]] +
|
|
23
|
+
decimalToHex[rnds[9]] +
|
|
24
|
+
"-" +
|
|
25
|
+
decimalToHex[rnds[10]] +
|
|
26
|
+
decimalToHex[rnds[11]] +
|
|
27
|
+
decimalToHex[rnds[12]] +
|
|
28
|
+
decimalToHex[rnds[13]] +
|
|
29
|
+
decimalToHex[rnds[14]] +
|
|
30
|
+
decimalToHex[rnds[15]]);
|
|
31
|
+
};
|
|
32
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/credential-provider-imds",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.1",
|
|
4
4
|
"description": "AWS credential provider that sources credentials from the EC2 instance metadata service and ECS container metadata service",
|
|
5
5
|
"main": "./dist-cjs/index.js",
|
|
6
6
|
"module": "./dist-es/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"sideEffects": false,
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@smithy/core": "^3.24.
|
|
30
|
+
"@smithy/core": "^3.24.1",
|
|
31
31
|
"@smithy/types": "^4.14.1",
|
|
32
32
|
"tslib": "^2.6.2"
|
|
33
33
|
},
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/eventstream-codec",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.1",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "yarn g:tsc -p tsconfig.cjs.json && yarn g:tsc -p tsconfig.es.json && yarn g:tsc -p tsconfig.types.json",
|
|
6
|
+
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
|
6
7
|
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
7
8
|
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz"
|
|
8
9
|
},
|
|
@@ -16,7 +17,7 @@
|
|
|
16
17
|
"license": "Apache-2.0",
|
|
17
18
|
"sideEffects": false,
|
|
18
19
|
"dependencies": {
|
|
19
|
-
"@smithy/core": "^3.24.
|
|
20
|
+
"@smithy/core": "^3.24.1",
|
|
20
21
|
"tslib": "^2.6.2"
|
|
21
22
|
},
|
|
22
23
|
"devDependencies": {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/eventstream-serde-browser",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.1",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "yarn g:tsc -p tsconfig.cjs.json && yarn g:tsc -p tsconfig.es.json && yarn g:tsc -p tsconfig.types.json",
|
|
6
|
+
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
|
6
7
|
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
7
8
|
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz"
|
|
8
9
|
},
|
|
@@ -16,7 +17,7 @@
|
|
|
16
17
|
"license": "Apache-2.0",
|
|
17
18
|
"sideEffects": false,
|
|
18
19
|
"dependencies": {
|
|
19
|
-
"@smithy/core": "^3.24.
|
|
20
|
+
"@smithy/core": "^3.24.1",
|
|
20
21
|
"tslib": "^2.6.2"
|
|
21
22
|
},
|
|
22
23
|
"devDependencies": {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/eventstream-serde-config-resolver",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.1",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "yarn g:tsc -p tsconfig.cjs.json && yarn g:tsc -p tsconfig.es.json && yarn g:tsc -p tsconfig.types.json",
|
|
6
|
+
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
|
6
7
|
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
7
8
|
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz"
|
|
8
9
|
},
|
|
@@ -16,7 +17,7 @@
|
|
|
16
17
|
"license": "Apache-2.0",
|
|
17
18
|
"sideEffects": false,
|
|
18
19
|
"dependencies": {
|
|
19
|
-
"@smithy/core": "^3.24.
|
|
20
|
+
"@smithy/core": "^3.24.1",
|
|
20
21
|
"tslib": "^2.6.2"
|
|
21
22
|
},
|
|
22
23
|
"devDependencies": {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/eventstream-serde-node",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.1",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "yarn g:tsc -p tsconfig.cjs.json && yarn g:tsc -p tsconfig.es.json && yarn g:tsc -p tsconfig.types.json",
|
|
6
|
+
"build:types": "yarn g:tsc -p tsconfig.types.json",
|
|
6
7
|
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
7
8
|
"stage-release": "premove .release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz"
|
|
8
9
|
},
|
|
@@ -16,7 +17,7 @@
|
|
|
16
17
|
"license": "Apache-2.0",
|
|
17
18
|
"sideEffects": false,
|
|
18
19
|
"dependencies": {
|
|
19
|
-
"@smithy/core": "^3.24.
|
|
20
|
+
"@smithy/core": "^3.24.1",
|
|
20
21
|
"tslib": "^2.6.2"
|
|
21
22
|
},
|
|
22
23
|
"devDependencies": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smithy/fetch-http-handler",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.1",
|
|
4
4
|
"description": "Provides a way to make requests",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es:cjs'",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"module": "./dist-es/index.js",
|
|
28
28
|
"types": "./dist-types/index.d.ts",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@smithy/core": "^3.24.
|
|
30
|
+
"@smithy/core": "^3.24.1",
|
|
31
31
|
"@smithy/types": "^4.14.1",
|
|
32
32
|
"tslib": "^2.6.2"
|
|
33
33
|
},
|