newt-client-js 1.0.1 → 1.0.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 CHANGED
@@ -91,7 +91,7 @@ client
91
91
  { title: { match: 'update' } },
92
92
  { title: { match: encodeURIComponent('アップデート') } }
93
93
  ],
94
- body: { fmt: 'plain' },
94
+ body: { fmt: 'text' },
95
95
  limit: 10
96
96
  }
97
97
  })
package/dist/types.d.ts CHANGED
@@ -25,7 +25,7 @@ declare type OperatorValue = {
25
25
  lte?: string | number;
26
26
  gt?: string | number;
27
27
  gte?: string | number;
28
- fmt?: 'plain';
28
+ fmt?: 'text';
29
29
  };
30
30
  declare type QueryValue = string | number | boolean | OperatorValue;
31
31
  declare type AtomicQuery = {
@@ -50,7 +50,7 @@ declare type ExceptFormat = {
50
50
  };
51
51
  declare type Format = {
52
52
  [key: string]: {
53
- fmt: 'plain';
53
+ fmt: 'text';
54
54
  };
55
55
  };
56
56
  export declare type GetContentQuery = ExceptFormat | Format;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "newt-client-js",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "JavaScript SDK for Newt's API",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",