@rebilly/instruments 9.77.2 → 9.77.3

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/CHANGELOG.md CHANGED
@@ -1 +1,6 @@
1
- ## [9.77.2](https://github.com/Rebilly/rebilly/compare/instruments/core-v9.77.1...instruments/core-v9.77.2) (2024-09-02)
1
+ ## [9.77.3](https://github.com/Rebilly/rebilly/compare/instruments/core-v9.77.2...instruments/core-v9.77.3) (2024-09-05)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **billing portal:** Fixed unexpected errors when using library ([#7428](https://github.com/Rebilly/rebilly/issues/7428)) ([c60f210](https://github.com/Rebilly/rebilly/commit/c60f210cd57e314b22d64267482eb8f6763154ab))
package/dist/index.js CHANGED
@@ -6220,7 +6220,7 @@ function C$1({ options: t2 }) {
6220
6220
  }
6221
6221
  function o2() {
6222
6222
  const i = {
6223
- "REB-API-CONSUMER": `${["Rebilly", t2.appName, "js-sdk"].filter((g) => g).join("/")}@9ff7468`
6223
+ "REB-API-CONSUMER": `${["Rebilly", t2.appName, "js-sdk"].filter((g) => g).join("/")}@c60f210`
6224
6224
  };
6225
6225
  return t2.apiKey && (i["REB-APIKEY"] = t2.apiKey), i;
6226
6226
  }
@@ -27171,8 +27171,13 @@ const theme = new Proxy(properties, {
27171
27171
  return void 0;
27172
27172
  },
27173
27173
  set: (obj, prop, value) => {
27174
- if (!(prop in obj) || !value) {
27175
- throw new Error(`Invalid theme option provided: ${prop}`);
27174
+ if (!(prop in obj)) {
27175
+ throw new Error(`"${prop}" is not a valid theme option`);
27176
+ }
27177
+ if (!value) {
27178
+ throw new Error(
27179
+ `Invalid property given for theme option "${prop}". Given "${value}"`
27180
+ );
27176
27181
  }
27177
27182
  obj[prop].value = value;
27178
27183
  obj[prop].isProvided = true;