@astralbeam/sdk 0.30.3 → 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.
@@ -1,4 +1,4 @@
1
- //#region ../node_modules/.bun/jose@6.2.15/node_modules/jose/dist/webapi/lib/buffer_utils.js
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
- //#endregion
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
- //#endregion
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
- //#endregion
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 };