@vibiz/app 0.3.12 → 0.3.14

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # @vibiz/app
2
2
 
3
- One key for your app on [Vibiz Stack](https://app.vibiz.app): its env, AI, email, actions and
3
+ One key for your app on [thelastapi](https://app.vibiz.app): its env, AI, email, actions and
4
4
  server-side events.
5
5
 
6
6
  ```bash
@@ -16,7 +16,7 @@ await vibiz.email.send({ to, subject, text });
16
16
  await vibiz.user(userId).track('Upgraded', { properties: { plan: 'pro' } });
17
17
  ```
18
18
 
19
- `VIBIZ_APP_KEY` is in your app's env already when it runs on Vibiz hosting or a connected host.
19
+ `VIBIZ_APP_KEY` is in your app's env already when it runs on thelastapi hosting or a connected host.
20
20
  It is a server secret: never ship it to a browser.
21
21
 
22
22
  No dependencies. Node 20+, Bun, Deno and edge runtimes; ESM with TypeScript types.
package/dist/index.js CHANGED
@@ -206,7 +206,7 @@ var VibizApp = class _VibizApp {
206
206
  throw new VibizAppError(
207
207
  401,
208
208
  "unauthorized",
209
- "No app key. Set VIBIZ_APP_KEY (Vibiz puts it in your app\u2019s env), or pass { key }."
209
+ "No app key. Set VIBIZ_APP_KEY (thelastapi puts it in your app\u2019s env), or pass { key }."
210
210
  );
211
211
  }
212
212
  return key;
@@ -223,7 +223,7 @@ var VibizApp = class _VibizApp {
223
223
  throw new VibizAppError(
224
224
  400,
225
225
  "invalid_request",
226
- "The app key is a server secret: call Vibiz from your server, not the browser."
226
+ "The app key is a server secret: call thelastapi from your server, not the browser."
227
227
  );
228
228
  }
229
229
  const res = await (this.options.fetch ?? fetch)(`${this.url}/v1${path}`, {
@@ -250,7 +250,7 @@ var VibizApp = class _VibizApp {
250
250
  throw new VibizAppError(
251
251
  res.status,
252
252
  e?.code ?? "error",
253
- e?.message ?? `Vibiz answered ${res.status}.`,
253
+ e?.message ?? `thelastapi answered ${res.status}.`,
254
254
  e?.details
255
255
  );
256
256
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vibiz/app",
3
- "version": "0.3.12",
4
- "description": "One key for your app: env, AI, email, actions and events from Vibiz Stack.",
3
+ "version": "0.3.14",
4
+ "description": "One key for your app: env, AI, email, actions and events from thelastapi.",
5
5
  "keywords": [
6
6
  "vibiz",
7
7
  "env",