docpouch-client 0.8.19 → 0.8.20

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/dist/index.d.ts CHANGED
@@ -299,6 +299,7 @@ export interface I_DataStructure {
299
299
  }
300
300
  export interface I_StructureField {
301
301
  name: string;
302
+ displayName: string;
302
303
  type: string;
303
304
  items?: string;
304
305
  }
package/dist/index.js CHANGED
@@ -100,7 +100,13 @@ export default class docPouchClient {
100
100
  if (this.realTimeSync) {
101
101
  this.initWebSocket();
102
102
  }
103
- return { _id: response._id, token: response.token, isAdmin: response.isAdmin, userName: response.userName, expiresIn: response.expiresIn };
103
+ return {
104
+ _id: response._id,
105
+ token: response.token,
106
+ isAdmin: response.isAdmin,
107
+ userName: response.userName,
108
+ expiresIn: response.expiresIn
109
+ };
104
110
  }
105
111
  return null;
106
112
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "docpouch-client",
3
- "version": "0.8.19",
3
+ "version": "0.8.20",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {