@vibiz/sdk 0.3.16 → 0.3.17
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 +3 -3
- package/dist/index.js +1 -1
- package/dist/one-key.d.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @vibiz/sdk
|
|
2
2
|
|
|
3
|
-
The typed client for the [thelastapi](https://
|
|
3
|
+
The typed client for the [thelastapi](https://thelastapi.dev/docs) API: projects, hosting and
|
|
4
4
|
deploys, databases, sign-in, email, AI, usage, payments and more, with the same calls the `vibiz`
|
|
5
5
|
CLI makes.
|
|
6
6
|
|
|
@@ -11,7 +11,7 @@ npm install @vibiz/sdk
|
|
|
11
11
|
```ts
|
|
12
12
|
import { Vibiz } from '@vibiz/sdk';
|
|
13
13
|
|
|
14
|
-
const vibiz = new Vibiz({ apiKey: process.env.VIBIZ_API_KEY!, baseUrl: 'https://
|
|
14
|
+
const vibiz = new Vibiz({ apiKey: process.env.VIBIZ_API_KEY!, baseUrl: 'https://thelastapi.dev' });
|
|
15
15
|
|
|
16
16
|
const { project } = await vibiz.projects.create({ name: 'Acme Bakery' });
|
|
17
17
|
const projects = await vibiz.projects.list();
|
|
@@ -22,4 +22,4 @@ ESM with TypeScript types, Node 20+. The account key (`vz_sk_…`) is a secret:
|
|
|
22
22
|
in scripts and in CI, never in a browser. For code that runs inside your app, use
|
|
23
23
|
[`@vibiz/app`](https://www.npmjs.com/package/@vibiz/app).
|
|
24
24
|
|
|
25
|
-
Docs: https://
|
|
25
|
+
Docs: https://thelastapi.dev/docs
|
package/dist/index.js
CHANGED
|
@@ -2005,7 +2005,7 @@ function formatMinor(minor, currency) {
|
|
|
2005
2005
|
}
|
|
2006
2006
|
|
|
2007
2007
|
// packages/sdk/src/one-key.ts
|
|
2008
|
-
var APP_SDK_VERSION = "0.3.
|
|
2008
|
+
var APP_SDK_VERSION = "0.3.17";
|
|
2009
2009
|
var ONE_KEY_GIVES = "database, sign-in, email and inbox, AI models, files, payments, analytics with session replays, web data, social, phone and connectors";
|
|
2010
2010
|
function oneKeyMessage(url, host) {
|
|
2011
2011
|
const where = host ?? "your host";
|
package/dist/one-key.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* (`npm install --save-exact @vibiz/app@<this>`). A test keeps it, the skills
|
|
11
11
|
* and the docs equal to packages/app/package.json.
|
|
12
12
|
*/
|
|
13
|
-
export declare const APP_SDK_VERSION = "0.3.
|
|
13
|
+
export declare const APP_SDK_VERSION = "0.3.17";
|
|
14
14
|
/** Everything one app key reaches. */
|
|
15
15
|
export declare const ONE_KEY_GIVES = "database, sign-in, email and inbox, AI models, files, payments, analytics with session replays, web data, social, phone and connectors";
|
|
16
16
|
/**
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibiz/sdk",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.17",
|
|
4
4
|
"description": "Typed client for the thelastapi API: projects, hosting, databases, sign-in, email, AI, payments and more.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vibiz",
|
|
7
7
|
"sdk",
|
|
8
8
|
"api-client"
|
|
9
9
|
],
|
|
10
|
-
"homepage": "https://
|
|
10
|
+
"homepage": "https://thelastapi.dev/docs",
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
13
13
|
"url": "git+https://github.com/Vibiz-ai/vibiz-stack.git",
|