@tinycloud/sdk-core 2.7.0-beta.2 → 2.7.0-beta.4
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/{capability-Dbx-xqUh.d.cts → capability-BjzXwtNw.d.cts} +2 -1
- package/dist/{capability-Dbx-xqUh.d.ts → capability-BjzXwtNw.d.ts} +2 -1
- package/dist/index.cjs +3271 -358
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +392 -18
- package/dist/index.d.ts +392 -18
- package/dist/index.js +3266 -350
- package/dist/index.js.map +1 -1
- package/dist/policy/index.cjs +1217 -59
- package/dist/policy/index.cjs.map +1 -1
- package/dist/policy/index.d.cts +4 -4
- package/dist/policy/index.d.ts +4 -4
- package/dist/policy/index.js +1208 -54
- package/dist/policy/index.js.map +1 -1
- package/dist/requester/index.cjs +1234 -78
- package/dist/requester/index.cjs.map +1 -1
- package/dist/requester/index.d.cts +1 -1
- package/dist/requester/index.d.ts +1 -1
- package/dist/requester/index.js +1227 -75
- package/dist/requester/index.js.map +1 -1
- package/dist/{signed-object-C9Gur3ZY.d.ts → signed-object-C6mWbTbB.d.ts} +1 -1
- package/dist/{signed-object-Cy_81K45.d.cts → signed-object-IMAm5a32.d.cts} +1 -1
- package/package.json +6 -3
|
@@ -7,7 +7,8 @@ type JsonValue = null | boolean | number | string | JsonValue[] | {
|
|
|
7
7
|
* This local encoder is intentionally stricter than JSON.stringify:
|
|
8
8
|
* it rejects non-plain JSON inputs, sparse arrays, undefined/functions/symbols,
|
|
9
9
|
* non-finite numbers, BigInt, dangerous prototype keys, and lone surrogates.
|
|
10
|
-
* Object keys are sorted by
|
|
10
|
+
* Object keys are sorted lexicographically by their raw UTF-16 code units,
|
|
11
|
+
* as required by RFC 8785 section 3.2.3, before serialization.
|
|
11
12
|
*/
|
|
12
13
|
declare function jcsCanonicalize(input: unknown): string;
|
|
13
14
|
declare function normalizeJson(input: unknown, path?: string): JsonValue;
|
|
@@ -7,7 +7,8 @@ type JsonValue = null | boolean | number | string | JsonValue[] | {
|
|
|
7
7
|
* This local encoder is intentionally stricter than JSON.stringify:
|
|
8
8
|
* it rejects non-plain JSON inputs, sparse arrays, undefined/functions/symbols,
|
|
9
9
|
* non-finite numbers, BigInt, dangerous prototype keys, and lone surrogates.
|
|
10
|
-
* Object keys are sorted by
|
|
10
|
+
* Object keys are sorted lexicographically by their raw UTF-16 code units,
|
|
11
|
+
* as required by RFC 8785 section 3.2.3, before serialization.
|
|
11
12
|
*/
|
|
12
13
|
declare function jcsCanonicalize(input: unknown): string;
|
|
13
14
|
declare function normalizeJson(input: unknown, path?: string): JsonValue;
|