fireberry-api-client 1.0.0-beta.1 → 1.0.0-beta.2
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 +14 -1
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -16,11 +16,24 @@ A standalone, framework-agnostic TypeScript/JavaScript client for the Fireberry
|
|
|
16
16
|
## Installation
|
|
17
17
|
|
|
18
18
|
```bash
|
|
19
|
-
npm install fireberry-api-client
|
|
19
|
+
npm install fireberry-api-client@latest
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
**Requirements:** Node.js 18+
|
|
23
23
|
|
|
24
|
+
### Import Paths
|
|
25
|
+
|
|
26
|
+
```typescript
|
|
27
|
+
// Main export
|
|
28
|
+
import { FireberryClient } from 'fireberry-api-client';
|
|
29
|
+
|
|
30
|
+
// Utilities export
|
|
31
|
+
import { getObjectIdFieldName } from 'fireberry-api-client/utils';
|
|
32
|
+
|
|
33
|
+
// SDK adapter
|
|
34
|
+
import { createSDKQueryBuilder } from 'fireberry-api-client/sdk';
|
|
35
|
+
```
|
|
36
|
+
|
|
24
37
|
## Quick Start
|
|
25
38
|
|
|
26
39
|
```typescript
|
package/package.json
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fireberry-api-client",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.2",
|
|
4
4
|
"description": "Fireberry CRM API Client for Node.js",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "dist/index.
|
|
7
|
-
"module": "dist/index.
|
|
6
|
+
"main": "dist/index.cjs",
|
|
7
|
+
"module": "dist/index.js",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
11
|
"types": "./dist/index.d.ts",
|
|
12
|
-
"import": "./dist/index.
|
|
13
|
-
"require": "./dist/index.
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
|
+
"require": "./dist/index.cjs"
|
|
14
14
|
},
|
|
15
15
|
"./utils": {
|
|
16
16
|
"types": "./dist/utils/index.d.ts",
|
|
17
|
-
"import": "./dist/utils/index.
|
|
18
|
-
"require": "./dist/utils/index.
|
|
17
|
+
"import": "./dist/utils/index.js",
|
|
18
|
+
"require": "./dist/utils/index.cjs"
|
|
19
19
|
},
|
|
20
20
|
"./sdk": {
|
|
21
21
|
"types": "./dist/sdk/index.d.ts",
|
|
22
|
-
"import": "./dist/sdk/index.
|
|
23
|
-
"require": "./dist/sdk/index.
|
|
22
|
+
"import": "./dist/sdk/index.js",
|
|
23
|
+
"require": "./dist/sdk/index.cjs"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"files": [
|