@kintone/rest-api-client 2.0.27 → 2.0.28
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/CHANGELOG.md +12 -0
- package/README.md +11 -11
- package/package.json +6 -6
- package/umd/KintoneRestAPIClient.js +66 -50
- package/umd/KintoneRestAPIClient.min.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.0.28](https://github.com/kintone/js-sdk/compare/@kintone/rest-api-client@2.0.27...@kintone/rest-api-client@2.0.28) (2021-12-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **deps:** update dependency core-js to ^3.19.3 ([#1237](https://github.com/kintone/js-sdk/issues/1237)) ([fdf637b](https://github.com/kintone/js-sdk/commit/fdf637b60dfd3c499259c1e74144fdb8437cc6ef))
|
|
12
|
+
* **deps:** update dependency qs to ^6.10.2 ([#1239](https://github.com/kintone/js-sdk/issues/1239)) ([4505209](https://github.com/kintone/js-sdk/commit/450520989c2e13bcc35a265a754351d76e44fe49))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
6
18
|
## [2.0.27](https://github.com/kintone/js-sdk/compare/@kintone/rest-api-client@2.0.26...@kintone/rest-api-client@2.0.27) (2021-12-01)
|
|
7
19
|
|
|
8
20
|
|
package/README.md
CHANGED
|
@@ -115,34 +115,34 @@ client.record
|
|
|
115
115
|
|
|
116
116
|
The client supports three authentication methods:
|
|
117
117
|
|
|
118
|
-
1. [Password authentication](https://
|
|
119
|
-
2. [API token authentication](https://
|
|
120
|
-
3. [OAuth authentication](https://
|
|
121
|
-
4. [Session authentication](https://
|
|
118
|
+
1. [Password authentication](https://kintone.dev/en/docs/common/authentication/#password-authentication)
|
|
119
|
+
2. [API token authentication](https://kintone.dev/en/docs/common/authentication/#api-token-authentication)
|
|
120
|
+
3. [OAuth authentication](https://kintone.dev/en/docs/common/authentication/how-to-add-oauth-clients/)
|
|
121
|
+
4. [Session authentication](https://kintone.dev/en/docs/common/authentication/#session-authentication)
|
|
122
122
|
|
|
123
123
|
The required parameters inside `auth` are different by the methods.
|
|
124
124
|
The client determines which method to use by passed parameters.
|
|
125
125
|
|
|
126
|
-
#### 1. Parameters for [Password authentication](https://
|
|
126
|
+
#### 1. Parameters for [Password authentication](https://kintone.dev/en/docs/common/authentication/#password-authentication)
|
|
127
127
|
|
|
128
128
|
| Name | Type | Required | Description |
|
|
129
129
|
| -------- | :----: | :------: | ----------- |
|
|
130
130
|
| username | String | Yes |
|
|
131
131
|
| password | String | Yes |
|
|
132
132
|
|
|
133
|
-
#### 2. Parameters for [API token authentication](https://
|
|
133
|
+
#### 2. Parameters for [API token authentication](https://kintone.dev/en/docs/common/authentication/#api-token-authentication)
|
|
134
134
|
|
|
135
135
|
| Name | Type | Required | Description |
|
|
136
136
|
| -------- | :----------------: | :------: | ------------------------------------------------------- |
|
|
137
137
|
| apiToken | String or String[] | Yes | You can pass multiple api tokens as an array of string. |
|
|
138
138
|
|
|
139
|
-
#### 3. Parameters for [OAuth authentication](https://
|
|
139
|
+
#### 3. Parameters for [OAuth authentication](https://kintone.dev/en/docs/common/authentication/how-to-add-oauth-clients/)
|
|
140
140
|
|
|
141
|
-
| Name | Type | Required | Description
|
|
142
|
-
| ---------- | :----: | :------: |
|
|
143
|
-
| oAuthToken | String | Yes | An OAuth access token you get through the [OAuth process flow](https://
|
|
141
|
+
| Name | Type | Required | Description |
|
|
142
|
+
| ---------- | :----: | :------: | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
143
|
+
| oAuthToken | String | Yes | An OAuth access token you get through the [OAuth process flow](https://kintone.dev/en/docs/common/authentication/how-to-add-oauth-clients/#authorization-code-grant-flow). |
|
|
144
144
|
|
|
145
|
-
#### 4. [Session authentication](https://
|
|
145
|
+
#### 4. [Session authentication](https://kintone.dev/en/docs/common/authentication/#session-authentication)
|
|
146
146
|
|
|
147
147
|
Supported in browser environment only.
|
|
148
148
|
If you omit `auth` parameter, the client uses Session authentication.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kintone/rest-api-client",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.28",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -60,11 +60,11 @@
|
|
|
60
60
|
"@rollup/plugin-babel": "^5.3.0",
|
|
61
61
|
"@rollup/plugin-commonjs": "^21.0.1",
|
|
62
62
|
"@rollup/plugin-json": "^4.1.0",
|
|
63
|
-
"@rollup/plugin-node-resolve": "^13.
|
|
63
|
+
"@rollup/plugin-node-resolve": "^13.1.1",
|
|
64
64
|
"@types/core-js": "^2.5.5",
|
|
65
65
|
"@types/js-base64": "^2.3.2",
|
|
66
66
|
"@types/qs": "^6.9.7",
|
|
67
|
-
"rollup": "^2.
|
|
67
|
+
"rollup": "^2.61.1",
|
|
68
68
|
"rollup-plugin-ecma-version-validator": "^0.1.6",
|
|
69
69
|
"rollup-plugin-node-builtins": "^2.1.2",
|
|
70
70
|
"rollup-plugin-node-globals": "^1.4.0",
|
|
@@ -73,10 +73,10 @@
|
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
75
|
"axios": "^0.24.0",
|
|
76
|
-
"core-js": "^3.19.
|
|
76
|
+
"core-js": "^3.19.3",
|
|
77
77
|
"form-data": "^4.0.0",
|
|
78
78
|
"js-base64": "^2.6.4",
|
|
79
|
-
"qs": "^6.10.
|
|
79
|
+
"qs": "^6.10.2"
|
|
80
80
|
},
|
|
81
81
|
"exports": {
|
|
82
82
|
".": {
|
|
@@ -89,5 +89,5 @@
|
|
|
89
89
|
},
|
|
90
90
|
"./package.json": "./package.json"
|
|
91
91
|
},
|
|
92
|
-
"gitHead": "
|
|
92
|
+
"gitHead": "b00f792edbce90c3069a96af7ba4d4e85fb763dc"
|
|
93
93
|
}
|