@nhost/nhost-js 0.3.10 → 0.3.13
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 +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +4 -4
- package/dist/index.es.js.map +3 -3
- package/package.json +14 -17
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nhost/nhost-js",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.13",
|
|
4
4
|
"description": "Nhost JavaScript SDK",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"keywords": [
|
|
@@ -21,27 +21,15 @@
|
|
|
21
21
|
"url": "git+https://github.com/nhost/nhost.git"
|
|
22
22
|
},
|
|
23
23
|
"main": "dist/index.cjs.js",
|
|
24
|
-
"exports": {
|
|
25
|
-
".": {
|
|
26
|
-
"import": {
|
|
27
|
-
"node": "./dist/index.cjs.js",
|
|
28
|
-
"default": "./dist/index.es.js"
|
|
29
|
-
},
|
|
30
|
-
"require": "./dist/index.cjs.js"
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
24
|
"publishConfig": {
|
|
34
|
-
"access": "public"
|
|
35
|
-
"main": "dist/index.cjs.js",
|
|
36
|
-
"module": "dist/index.es.js",
|
|
37
|
-
"typings": "./dist/index.d.ts"
|
|
25
|
+
"access": "public"
|
|
38
26
|
},
|
|
39
27
|
"files": [
|
|
40
28
|
"dist"
|
|
41
29
|
],
|
|
42
30
|
"dependencies": {
|
|
43
|
-
"@nhost/hasura-auth-js": "0.1.
|
|
44
|
-
"@nhost/hasura-storage-js": "0.0
|
|
31
|
+
"@nhost/hasura-auth-js": "0.1.15",
|
|
32
|
+
"@nhost/hasura-storage-js": "0.1.0",
|
|
45
33
|
"axios": "^0.23.0",
|
|
46
34
|
"jwt-decode": "^3.1.2",
|
|
47
35
|
"query-string": "^7.0.1"
|
|
@@ -59,7 +47,16 @@
|
|
|
59
47
|
"verify": "run-p prettier lint",
|
|
60
48
|
"verify:fix": "run-p prettier:fix lint:fix"
|
|
61
49
|
},
|
|
50
|
+
"exports": {
|
|
51
|
+
".": {
|
|
52
|
+
"import": {
|
|
53
|
+
"node": "./dist/index.cjs.js",
|
|
54
|
+
"default": "./dist/index.es.js"
|
|
55
|
+
},
|
|
56
|
+
"require": "./dist/index.cjs.js"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
62
59
|
"module": "dist/index.es.js",
|
|
63
60
|
"typings": "./dist/index.d.ts",
|
|
64
|
-
"readme": "<h1 align=\"center\">@nhost/nhost-js</h1>\n<h2 align=\"center\">Nhost JavaScript SDK</h2>\n\n<p align=\"center\">\n <img alt=\"npm\" src=\"https://img.shields.io/npm/v/@nhost/nhost-js\">\n <img alt=\"npm\" src=\"https://img.shields.io/npm/dm/@nhost/nhost-js\">\n <a href=\"LICENSE\">\n <img src=\"https://img.shields.io/badge/license-MIT-yellow.svg\" alt=\"license: MIT\" />\n </a>\n <a href=\"https://prettier.io\">\n <img src=\"https://img.shields.io/badge/code_style-prettier-ff69b4.svg\" alt=\"code style: prettier\" />\n </a>\n</p>\n\n## Get Started\n\n### Install\n\n```\nnpm install @nhost/nhost-js\n# or yarn\nyarn add @nhost/nhost-js\n```\n\n### Initialize\n\n```js\nimport { NhostClient } from '@nhost/nhost-js'\n\nconst nhost = new NhostClient({\n backendUrl: 'https://xxx.nhost.run'\n})\n```\n\n## Features\n\n### GraphQL\n\nAccess Nhost
|
|
61
|
+
"readme": "<h1 align=\"center\">@nhost/nhost-js</h1>\n<h2 align=\"center\">Nhost JavaScript SDK</h2>\n\n<p align=\"center\">\n <img alt=\"npm\" src=\"https://img.shields.io/npm/v/@nhost/nhost-js\">\n <img alt=\"npm\" src=\"https://img.shields.io/npm/dm/@nhost/nhost-js\">\n <a href=\"LICENSE\">\n <img src=\"https://img.shields.io/badge/license-MIT-yellow.svg\" alt=\"license: MIT\" />\n </a>\n <a href=\"https://prettier.io\">\n <img src=\"https://img.shields.io/badge/code_style-prettier-ff69b4.svg\" alt=\"code style: prettier\" />\n </a>\n</p>\n\n## Get Started\n\n### Install\n\n```\nnpm install @nhost/nhost-js\n# or yarn\nyarn add @nhost/nhost-js\n```\n\n### Initialize\n\n```js\nimport { NhostClient } from '@nhost/nhost-js'\n\nconst nhost = new NhostClient({\n backendUrl: 'https://xxx.nhost.run'\n})\n```\n\n## Features\n\n### GraphQL\n\nAccess Nhost GraphQL methods using `nhost.graphql`.\n\n### Authentication\n\nAccess Nhost Auth methods using `nhost.auth`.\n\n### Storage\n\nAccess Nhost Storage methods using `nhost.storage`.\n\n### Functions\n\nAccess Nhost Functions methods via `nhost.functions`.\n\n## Documentation\n\n[https://docs.nhost.io/reference/sdk](https://docs.nhost.io/reference/sdk)\n"
|
|
65
62
|
}
|