@soulcraft/sdk 1.5.3 → 1.5.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.
@@ -30,7 +30,7 @@
30
30
  *
31
31
  * // Explicit override (e.g. for testing):
32
32
  * const billing = createBillingModule({
33
- * provider: new PortalBillingProvider('https://portal.soulcraft.com', secret, 'workshop'),
33
+ * provider: new PortalBillingProvider('https://soulcraft.com', secret, 'workshop'),
34
34
  * })
35
35
  * ```
36
36
  */
@@ -49,7 +49,7 @@ export declare class PortalBillingProvider implements BillingProvider {
49
49
  private readonly secret;
50
50
  private readonly product;
51
51
  /**
52
- * @param baseUrl - Portal base URL (e.g. `"https://portal.soulcraft.com"`).
52
+ * @param baseUrl - Portal base URL (e.g. `"https://soulcraft.com"`).
53
53
  * @param secret - The value of `PORTAL_CREDIT_SECRET`.
54
54
  * @param product - The product name sent with consume/batch calls (`'workshop'`, `'venue'`, `'academy'`).
55
55
  */
@@ -30,7 +30,7 @@
30
30
  *
31
31
  * // Explicit override (e.g. for testing):
32
32
  * const billing = createBillingModule({
33
- * provider: new PortalBillingProvider('https://portal.soulcraft.com', secret, 'workshop'),
33
+ * provider: new PortalBillingProvider('https://soulcraft.com', secret, 'workshop'),
34
34
  * })
35
35
  * ```
36
36
  */
@@ -61,7 +61,7 @@ export class PortalBillingProvider {
61
61
  secret;
62
62
  product;
63
63
  /**
64
- * @param baseUrl - Portal base URL (e.g. `"https://portal.soulcraft.com"`).
64
+ * @param baseUrl - Portal base URL (e.g. `"https://soulcraft.com"`).
65
65
  * @param secret - The value of `PORTAL_CREDIT_SECRET`.
66
66
  * @param product - The product name sent with consume/batch calls (`'workshop'`, `'venue'`, `'academy'`).
67
67
  */
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * Validates the product license against the Portal license server. Initialization
7
7
  * is lazy: the first call to `validate()` performs an online check against
8
- * `portal.soulcraft.com` and starts the background heartbeat.
8
+ * `soulcraft.com` and starts the background heartbeat.
9
9
  *
10
10
  * License state is read from the `SOULCRAFT_LICENSE_KEY` environment variable
11
11
  * or a `.soulcraft.json` file in the working directory. On free-tier deployments
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * Validates the product license against the Portal license server. Initialization
7
7
  * is lazy: the first call to `validate()` performs an online check against
8
- * `portal.soulcraft.com` and starts the background heartbeat.
8
+ * `soulcraft.com` and starts the background heartbeat.
9
9
  *
10
10
  * License state is read from the `SOULCRAFT_LICENSE_KEY` environment variable
11
11
  * or a `.soulcraft.json` file in the working directory. On free-tier deployments
@@ -3,7 +3,7 @@
3
3
  * @description Type definitions for sdk.license.* — Soulcraft license validation,
4
4
  * AI credit management, and BYOK API key support.
5
5
  *
6
- * License state is validated against the Portal license server (`portal.soulcraft.com`).
6
+ * License state is validated against the Portal license server (`soulcraft.com`).
7
7
  * Initialization is lazy: the first call to any `sdk.license.*` method triggers an
8
8
  * online validation. Subsequent calls use the cached result and a background heartbeat.
9
9
  *
@@ -3,7 +3,7 @@
3
3
  * @description Type definitions for sdk.license.* — Soulcraft license validation,
4
4
  * AI credit management, and BYOK API key support.
5
5
  *
6
- * License state is validated against the Portal license server (`portal.soulcraft.com`).
6
+ * License state is validated against the Portal license server (`soulcraft.com`).
7
7
  * Initialization is lazy: the first call to any `sdk.license.*` method triggers an
8
8
  * online validation. Subsequent calls use the cached result and a background heartbeat.
9
9
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soulcraft/sdk",
3
- "version": "1.5.3",
3
+ "version": "1.5.4",
4
4
  "description": "The unified Soulcraft platform SDK \u2014 data, auth, AI, billing, and notifications",
5
5
  "type": "module",
6
6
  "publishConfig": {