@graph-knowledge/api 0.1.0 → 0.1.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 +7 -7
- package/package.json +4 -6
package/README.md
CHANGED
|
@@ -21,15 +21,15 @@ import { GraphKnowledgeAPI } from "@graph-knowledge/api";
|
|
|
21
21
|
```typescript
|
|
22
22
|
import { GraphKnowledgeAPI } from "@graph-knowledge/api";
|
|
23
23
|
|
|
24
|
-
// Initialize with
|
|
24
|
+
// Initialize with Graph Knowledge production config
|
|
25
25
|
const api = new GraphKnowledgeAPI({
|
|
26
26
|
firebaseConfig: {
|
|
27
|
-
apiKey: "
|
|
28
|
-
authDomain: "
|
|
29
|
-
projectId: "
|
|
30
|
-
storageBucket: "
|
|
31
|
-
messagingSenderId: "
|
|
32
|
-
appId: "1:
|
|
27
|
+
apiKey: "AIzaSyDucPTxS82x-rnChqCnfVAlG-RcBK0sXEE",
|
|
28
|
+
authDomain: "knowledgegraph-72939.firebaseapp.com",
|
|
29
|
+
projectId: "knowledgegraph-72939",
|
|
30
|
+
storageBucket: "knowledgegraph-72939.firebasestorage.app",
|
|
31
|
+
messagingSenderId: "51304440744",
|
|
32
|
+
appId: "1:51304440744:web:7859f2b285bb33afd0339d"
|
|
33
33
|
}
|
|
34
34
|
});
|
|
35
35
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graph-knowledge/api",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"type": "module",
|
|
4
5
|
"description": "Headless Document API for Graph Knowledge - programmatic access to documents, nodes, and elements",
|
|
5
6
|
"license": "MIT",
|
|
6
7
|
"author": "Graph Knowledge Team",
|
|
@@ -18,18 +19,15 @@
|
|
|
18
19
|
"diagram"
|
|
19
20
|
],
|
|
20
21
|
"main": "./src/index.js",
|
|
21
|
-
"module": "./src/index.mjs",
|
|
22
22
|
"types": "./src/index.d.ts",
|
|
23
23
|
"exports": {
|
|
24
24
|
".": {
|
|
25
25
|
"types": "./src/index.d.ts",
|
|
26
|
-
"
|
|
27
|
-
"require": "./src/index.js"
|
|
26
|
+
"default": "./src/index.js"
|
|
28
27
|
}
|
|
29
28
|
},
|
|
30
29
|
"files": [
|
|
31
30
|
"src/**/*.js",
|
|
32
|
-
"src/**/*.mjs",
|
|
33
31
|
"src/**/*.d.ts",
|
|
34
32
|
"README.md"
|
|
35
33
|
],
|
|
@@ -40,5 +38,5 @@
|
|
|
40
38
|
"firebase": ">=10.0.0 <13.0.0"
|
|
41
39
|
},
|
|
42
40
|
"sideEffects": false,
|
|
43
|
-
"
|
|
41
|
+
"module": "./src/index.js"
|
|
44
42
|
}
|