@kintone/rest-api-client 2.0.27 → 2.0.31

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 CHANGED
@@ -3,6 +3,42 @@
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.31 (2021-12-24)
7
+
8
+ **Note:** Version bump only for package @kintone/rest-api-client
9
+
10
+
11
+
12
+
13
+
14
+ ## 2.0.30 (2021-12-24)
15
+
16
+ **Note:** Version bump only for package @kintone/rest-api-client
17
+
18
+
19
+
20
+
21
+
22
+ ## [2.0.29](https://github.com/kintone/js-sdk/compare/@kintone/rest-api-client@2.0.28...@kintone/rest-api-client@2.0.29) (2021-12-21)
23
+
24
+ **Note:** Version bump only for package @kintone/rest-api-client
25
+
26
+
27
+
28
+
29
+
30
+ ## [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)
31
+
32
+
33
+ ### Bug Fixes
34
+
35
+ * **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))
36
+ * **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))
37
+
38
+
39
+
40
+
41
+
6
42
  ## [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
43
 
8
44
 
package/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # kintone-rest-api-client
2
2
 
3
3
  [![npm version](https://badge.fury.io/js/%40kintone%2Frest-api-client.svg)](https://badge.fury.io/js/%40kintone%2Frest-api-client)
4
+ ![Node.js version](https://img.shields.io/badge/dynamic/json.svg?url=https://raw.githubusercontent.com/kintone/js-sdk/master/packages/rest-api-client/package.json&label=node&query=$.engines.node&colorB=blue)
5
+ ![License](https://img.shields.io/npm/l/@kintone/rest-api-client.svg)
4
6
 
5
7
  API client for Kintone REST API.
6
8
  It supports both browser environment (Kintone customization & plugin) and Node.js environment.
@@ -115,34 +117,34 @@ client.record
115
117
 
116
118
  The client supports three authentication methods:
117
119
 
118
- 1. [Password authentication](https://developer.kintone.io/hc/en-us/articles/212495188#passwordAuth)
119
- 2. [API token authentication](https://developer.kintone.io/hc/en-us/articles/212495188#APItokenAuth)
120
- 3. [OAuth authentication](https://developer.kintone.io/hc/en-us/articles/360001562353-How-to-add-OAuth-clients)
121
- 4. [Session authentication](https://developer.kintone.io/hc/en-us/articles/212495188#sessionAuth)
120
+ 1. [Password authentication](https://kintone.dev/en/docs/common/authentication/#password-authentication)
121
+ 2. [API token authentication](https://kintone.dev/en/docs/common/authentication/#api-token-authentication)
122
+ 3. [OAuth authentication](https://kintone.dev/en/docs/common/authentication/how-to-add-oauth-clients/)
123
+ 4. [Session authentication](https://kintone.dev/en/docs/common/authentication/#session-authentication)
122
124
 
123
125
  The required parameters inside `auth` are different by the methods.
124
126
  The client determines which method to use by passed parameters.
125
127
 
126
- #### 1. Parameters for [Password authentication](https://developer.kintone.io/hc/en-us/articles/212495188#passwordAuth)
128
+ #### 1. Parameters for [Password authentication](https://kintone.dev/en/docs/common/authentication/#password-authentication)
127
129
 
128
130
  | Name | Type | Required | Description |
129
131
  | -------- | :----: | :------: | ----------- |
130
132
  | username | String | Yes |
131
133
  | password | String | Yes |
132
134
 
133
- #### 2. Parameters for [API token authentication](https://developer.kintone.io/hc/en-us/articles/212495188#APItokenAuth)
135
+ #### 2. Parameters for [API token authentication](https://kintone.dev/en/docs/common/authentication/#api-token-authentication)
134
136
 
135
137
  | Name | Type | Required | Description |
136
138
  | -------- | :----------------: | :------: | ------------------------------------------------------- |
137
139
  | apiToken | String or String[] | Yes | You can pass multiple api tokens as an array of string. |
138
140
 
139
- #### 3. Parameters for [OAuth authentication](https://developer.kintone.io/hc/en-us/articles/360001562353-How-to-add-OAuth-clients)
141
+ #### 3. Parameters for [OAuth authentication](https://kintone.dev/en/docs/common/authentication/how-to-add-oauth-clients/)
140
142
 
141
- | Name | Type | Required | Description |
142
- | ---------- | :----: | :------: | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
143
- | oAuthToken | String | Yes | An OAuth access token you get through the [OAuth process flow](https://developer.kintone.io/hc/en-us/articles/360001562353-How-to-add-OAuth-clients). |
143
+ | Name | Type | Required | Description |
144
+ | ---------- | :----: | :------: | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
145
+ | 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
146
 
145
- #### 4. [Session authentication](https://developer.kintone.io/hc/en-us/articles/212495188#sessionAuth)
147
+ #### 4. [Session authentication](https://kintone.dev/en/docs/common/authentication/#session-authentication)
146
148
 
147
149
  Supported in browser environment only.
148
150
  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.27",
3
+ "version": "2.0.31",
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.0.6",
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.60.1",
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.2",
76
+ "core-js": "^3.19.3",
77
77
  "form-data": "^4.0.0",
78
78
  "js-base64": "^2.6.4",
79
- "qs": "^6.10.1"
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": "b4dddb5892f97a3fe2f6affbb5cefa9feea930dd"
92
+ "gitHead": "9a7988308b247348ede1acb4cc10c373ca696e96"
93
93
  }