@astralbeam/sdk 0.30.4 → 0.30.5
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/README.md +1 -1
- package/dist/{api-CzXKVU8Z.js → api-CHFaeV-i.js} +3 -6
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- package/dist/{badge-Do9jhFNO.js → badge-C5nSyoPM.js} +1 -1
- package/dist/client.d.ts +2 -76
- package/dist/client.js +2 -2
- package/dist/{combobox-xio4DRYl.js → combobox-DXIOk4hb.js} +5 -5
- package/dist/{core-BJ_Td5TR.js → core-DJGoi0HX.js} +72 -138
- package/dist/core.d.ts +1 -1
- package/dist/core.js +1 -1
- package/dist/{index-CI5Jut1h.d.ts → index-BVfd2Jll.d.ts} +0 -4
- package/dist/{index-COWV2LM7.d.ts → index-b-MbK0XS.d.ts} +1 -75
- package/dist/{item-U0ZPJBqA.js → item-D7P71wsB.js} +1 -1
- package/dist/listings-CwKMku_E.js +1 -0
- package/dist/{mcp-servers-B4IbhRo_.js → mcp-servers-CQTKrhfj.js} +1 -1
- package/dist/react.d.ts +1 -7
- package/dist/react.js +8 -9
- package/dist/server.d.ts +1 -3
- package/dist/server.js +8 -15
- package/dist/{styles.generated-BBScqnSk.js → styles.generated-BrC_vo9p.js} +5 -5
- package/dist/{validate-lNXZvCeQ.js → validate-DB08s2p8.js} +4 -8
- package/dist/widget-DoNGl4gQ.js +27 -0
- package/package.json +8 -8
- package/dist/listings-C1-zJbVB.js +0 -1
- package/dist/widget-Bea4OV_z.js +0 -27
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// ../node_modules/.bun/jose@6.2.15/node_modules/jose/dist/webapi/lib/buffer_utils.js
|
|
2
2
|
const encoder = new TextEncoder();
|
|
3
3
|
const decoder = new TextDecoder();
|
|
4
4
|
const strictDecoder = new TextDecoder("utf-8", { fatal: !0 });
|
|
@@ -42,8 +42,7 @@ function decodeBase64(encoded, url = !1) {
|
|
|
42
42
|
for (let i = 0; i < binary.length; i++) bytes[i] = binary.charCodeAt(i);
|
|
43
43
|
return bytes;
|
|
44
44
|
}
|
|
45
|
-
|
|
46
|
-
//#region ../node_modules/.bun/jose@6.2.15/node_modules/jose/dist/webapi/util/errors.js
|
|
45
|
+
// ../node_modules/.bun/jose@6.2.15/node_modules/jose/dist/webapi/util/errors.js
|
|
47
46
|
var JOSEError = class extends Error {
|
|
48
47
|
static code = "ERR_JOSE_GENERIC";
|
|
49
48
|
code = "ERR_JOSE_GENERIC";
|
|
@@ -63,8 +62,7 @@ var JWTInvalid = class extends JOSEError {
|
|
|
63
62
|
static code = "ERR_JWT_INVALID";
|
|
64
63
|
code = "ERR_JWT_INVALID";
|
|
65
64
|
};
|
|
66
|
-
|
|
67
|
-
//#region ../node_modules/.bun/jose@6.2.15/node_modules/jose/dist/webapi/util/base64url.js
|
|
65
|
+
// ../node_modules/.bun/jose@6.2.15/node_modules/jose/dist/webapi/util/base64url.js
|
|
68
66
|
const invalid = "The input to be decoded is not correctly encoded.";
|
|
69
67
|
function decode(input) {
|
|
70
68
|
try {
|
|
@@ -76,8 +74,7 @@ function decode(input) {
|
|
|
76
74
|
function encode(input) {
|
|
77
75
|
return encodeBase64(typeof input == "string" ? encoder.encode(input) : input, !0);
|
|
78
76
|
}
|
|
79
|
-
|
|
80
|
-
//#region ../node_modules/.bun/jose@6.2.15/node_modules/jose/dist/webapi/lib/validate.js
|
|
77
|
+
// ../node_modules/.bun/jose@6.2.15/node_modules/jose/dist/webapi/lib/validate.js
|
|
81
78
|
function isObject(input) {
|
|
82
79
|
if (typeof input != "object" || input === null || Object.prototype.toString.call(input) !== "[object Object]") return !1;
|
|
83
80
|
const prototype = Object.getPrototypeOf(input);
|
|
@@ -136,5 +133,4 @@ function serializeJoseHeader(Err, header) {
|
|
|
136
133
|
if (!isObject(parsed)) throw new Err("JOSE Header is not a JSON object");
|
|
137
134
|
return [parsed, serialized];
|
|
138
135
|
}
|
|
139
|
-
//#endregion
|
|
140
136
|
export { strictDecoder as _, serializeJoseHeader as a, validateCritDuplicates as c, JOSENotSupported as d, JWSInvalid as f, encoder as g, encode$1 as h, isObject as i, decode as l, concat as m, assertNotSet as n, validateB64 as o, JWTInvalid as p, isDisjoint as r, validateCrit as s, JWS_RECOGNIZED as t, encode as u };
|